feat: enable Linux Bevy UI lab for lavapipe smoke - #56
Conversation
Compile the offscreen HUD capture on Linux so Mesa llvmpipe (CPU Vulkan) can prove the Bevy viewport renders without a GPU. Product GTK/WebKit embed is still jackControls#48.
|
Thanks Jeff — the lavapipe proof is useful. I found one blocker before merging: The Linux Bevy dependency enables Could you remove the PR #57 already includes the Linux module/font setup, and the branches currently conflict in |
Summary
bevy-ui-labHUD (dev-ui-lab) on Linux so Mesa llvmpipe (CPU Vulkan) can capture the production Bevy HUD without a GPU.WGPU_BACKEND=vulkan+VK_ICD_FILENAMES=…/lvp_icd.json: adapterllvmpipe (LLVM 19.1.7), 1440×900 PNG.NativeViewportremains a stub.Refs #48 (Linux rendering / embed) and #37 (viewport compositor smoke; Linux was out of scope there).
What this is not
Product Linux viewport still needs the GTK/WebKit embed described on #48. This PR only lets the existing offscreen HUD lab compile and run on Linux.
Test plan
cargo build --bin bevy-ui-lab --features dev-ui-labon Debian (no GPU)cargo run --bin bevy-ui-lab --features dev-ui-lab -- /workspace/bevy-ui-linux-sw.pngwith lavapipe; adapter is CPU Vulkan; PNG is 1440×900 and non-emptydev-ui-labstill compiles (cfg additive only)@jackControls please review; do not merge until you sign off.