Hello there,

I've recently been tinkering around a bit with Osipenko's patchset regarding 
DRM native context. However, it appears that I've encountered a hurdle: When 
running qemu-system-x86_64 with `drm_native_context=on`, I get the error 
message `qemu-system-x86_64: drm requires egl display and virglrenderer > 
1.1.1`.

This is quite curious, as I've version-pinned my virglrenderer version to 
commit 6f4681ff09cb17aa2d6715dbc6034eb3abe5711d 
(https://gitlab.freedesktop.org/virgl/virglrenderer/-/commit/6f4681ff09cb17aa2d6715dbc6034eb3abe5711d),
 which is referenced in the patchset (I've tried version-pinning to the latest 
commit, but sadly to no avail, the error message persists).

I use the standard Linux 6.16 NixOS kernel with Wayland, so EGL shouldn't be an 
issue. Furthermore, my Mesa version should suffice as well.

If it helps, my VM is launched using following command:

qemu-system-x86_64 \
-device virtio-vga-gl,hostmem=4G,blob=on,drm_native_context=on \
-machine q35,accel=kvm,memory-backend=mem1 \
-object memory-backend-memfd,id=mem1,size=8G -m 8G \
-drive if=virtio,format=qcow2,file=/home/budschie/VirtualMachineDisks/vm.qcow2 \
-enable-kvm \
-smp 4 \
-display sdl,gl=on \
-drive if=pflash,format=raw,readonly=on,file="./edk2-x86_64-secure-code.fd" \
-drive if=pflash,format=raw,file="./vm_VARS.fd"

I'd be very grateful if you could aid me in troubleshooting this problem.

Thanks in advance, :)
Budschie

Reply via email to