On 8/10/25 02:28, Budschie wrote: > 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.
Hi, new virglrenderer version hasn't been released yet. Meanwhile, you may bump installed libvirglrenderer-git version yourself with this change to virglrenderer: diff --git a/meson.build b/meson.build index 8e0563e5bc8f..2666fc47c237 100644 --- a/meson.build +++ b/meson.build @@ -23,7 +23,7 @@ project( 'virglrenderer', 'c', - version: '1.1.1', + version: '1.1.2', license : 'MIT', meson_version : '>= 0.55', default_options : ['buildtype=release', 'b_ndebug=if-release', -- Best regards, Dmitry