Something in your custom setup disables opengl in qemu-system-native.

Can you try core-image-weston with plain poky only?

This is the test we use to ensure it does work, it lists all the settings
that have to be in place
(but in poky they are enabled by default, except the gtk frontend):
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/lib/oeqa/selftest/cases/runtime_test.py?h=master-next#n165
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/lib/oeqa/selftest/cases/runtime_test.py?h=master-next#n206

Alex


On Fri, 8 Oct 2021 at 10:26, Manuel Wagesreither <man...@fastmail.fm> wrote:

> Hello all,
>
> How can I enable graphics acceleration on qemux86-64? My image is using
> wayland with weston and the GUI is not exactly fast.
>
> * When I do `runqemu slirp kvm gtk`, it throws the following error:
> `runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: Display 'gtk' is
> not available.`
> * `runqemu slirp kvm sdl` works, but the weston GUI does not seem to be
> accelerated.
> * `runqemu slirp kvm sdl gl` emits the following: `runqemu - ERROR -
> Failed to run qemu: qemu-system-x86_64: OpenGL support is disabled`
>
> Below I'm posting a snippet of `poky/scripts/runqemu` to have at hand the
> qemu options enabled by the runqemu options mentioned above:
> ```
>             elif arg == 'sdl':
>                 if 'gl' in sys.argv[1:]:
>                     self.qemu_opt_script += ' -vga virtio -display
> sdl,gl=on'
>                 elif 'gl-es' in sys.argv[1:]:
>                     self.qemu_opt_script += ' -vga virtio -display
> sdl,gl=es'
>                 else:
>                     self.qemu_opt_script += ' -display sdl'
>             elif arg == 'gtk':
>                 if 'gl' in sys.argv[1:]:
>                     self.qemu_opt_script += ' -vga virtio -display
> gtk,gl=on'
>                 elif 'gl-es' in sys.argv[1:]:
>                     self.qemu_opt_script += ' -vga virtio -display
> gtk,gl=es'
>                 else:
>                     self.qemu_opt_script += ' -display gtk'
> ```
>
> Kind regards,
> Manuel
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#54993): https://lists.yoctoproject.org/g/yocto/message/54993
Mute This Topic: https://lists.yoctoproject.org/mt/86165780/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to