On Tue, 7 Mar 2023 at 12:39, Böszörményi Zoltán <[email protected]> wrote: > The reasoning for the change is that glvnd is a thing. > Maybe the drivers you mention should just use that. > Recent distros enable glvnd in Mesa out of the box and > NVIDIA also supports that.
qemu unfortunately doesn't work this way. It links directly with libgbm, and libgbm probes directly into the drivers. This are the errors: did not find extension DRI_Mesa version 1 failed to bind extensions did not find extension DRI_Mesa version 1 failed to bind extensions did not find extension DRI_Mesa version 1 failed to bind extensions did not find extension DRI_Mesa version 1 failed to bind extensions qemu-system-x86_64: egl: gbm_create_device failed qemu-system-x86_64: egl: render node init failed And this is where they happen: Thread 1 "qemu-system-x86" hit Breakpoint 1, 0x00007ffff77e6020 in loader_bind_extensions () from /home/alex/development/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/../lib/libgbm.so.1 (gdb) bt #0 0x00007ffff77e6020 in loader_bind_extensions () from /home/alex/development/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/../lib/libgbm.so.1 #1 0x00007ffff77e4fda in dri_screen_create_for_driver () from /home/alex/development/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/../lib/libgbm.so.1 #2 0x00007ffff77e53a8 in dri_device_create () from /home/alex/development/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/../lib/libgbm.so.1 #3 0x00007ffff77e376c in find_backend () from /home/alex/development/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/../lib/libgbm.so.1 #4 0x00007ffff77e3891 in gbm_create_device () from /home/alex/development/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/../lib/libgbm.so.1 #5 0x00005555559a00f8 in egl_rendernode_init (rendernode=<optimized out>, mode=DISPLAYGL_MODE_ON) at ../qemu-7.2.0/ui/egl-helpers.c:177 #6 0x00005555559a04b1 in egl_headless_init (ds=<optimized out>, opts=<optimized out>) at ../qemu-7.2.0/ui/egl-headless.c:203 #7 0x00005555559545f8 in qemu_init_displays () at ../qemu-7.2.0/softmmu/vl.c:2485 #8 qemu_init (argc=<optimized out>, argv=<optimized out>) at ../qemu-7.2.0/softmmu/vl.c:3603 #9 0x00005555557ec369 in main (argc=<optimized out>, argv=<optimized out>) at ../qemu-7.2.0/softmmu/main.c:47 Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#178111): https://lists.openembedded.org/g/openembedded-core/message/178111 Mute This Topic: https://lists.openembedded.org/mt/97421290/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
