You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
On a machine whose only Vulkan device is a software one, render with OpenGL #140
On this Debian VM (virtio GPU, no hardware Vulkan driver) wgpu picks Mesa's lavapipe, which renders on the CPU through an LLVM JIT: xodt's resident memory is 145 MB with an empty window at 136 MB, about 75 MB of it libLLVM, gallium, lavapipe and their buffers, measured 2026-11-11. The same release build on the Mac mini (Metal) is a 31 MB footprint. A machine like this one may well have an accelerated OpenGL driver (virgl) while its Vulkan is software, and the same holds for some older GPUs and remote desktops, where lavapipe also costs CPU on every frame.
eframe's wgpu setup can be told which backends to try and can be handed an adapter; preferring wgpu's GL backend when the only Vulkan adapter reports DeviceType::Cpu would keep a hardware path where one exists. Measure on this VM before and after.
Activity