Skip to content

build(qemu): disable virglrenderer and opengl on Linux - #51

Closed
fengqiaoqu wants to merge 1 commit into
nsaintot:mainfrom
fengqiaoqu:fix/qemu-disable-virgl-opengl-46
Closed

fengqiaoqu wants to merge 1 commit into
nsaintot:mainfrom
fengqiaoqu:fix/qemu-disable-virgl-opengl-46

Conversation

@fengqiaoqu

Copy link
Copy Markdown

Fixes #46.

Linux HOST_FLAGS in qemu/build.sh now pass --disable-virglrenderer --disable-opengl. The guest path is plain virtio-gpu-device, so those configure defaults only added unused host libs and a vhost-user-gpu ninja target when the -dev packages were present.

I did not rebuild QEMU on this box (no full aarch64 softmmu toolchain here). After a Linux qemu/build.sh run, ldd qemu/install/bin/qemu-system-aarch64 should show none of libvirglrenderer / libepoxy / libgbm, and vhost-user-gpu should not be a ninja target.

The emulator only uses virtio-gpu-device. Leaving virgl/opengl on
auto pulled unused libs and built vhost-user-gpu whenever the host
had those -dev packages, so a local Linux build differed from CI.
@nsaintot

nsaintot commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Thanks. This change lands as a maintainer commit for #46, so I'm closing this PR.

@nsaintot nsaintot closed this Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build(qemu): disable virglrenderer and opengl on Linux

2 participants