Cheers :) Just wondering what GPU and driver are you using on the host? Alex
On Fri, 18 Mar 2022 at 20:26, Edgar Mobile <[email protected]> wrote: > > Okay, I finally got it running. What I did: > > > - Upgraded all my host packages from this ppa: > https://launchpad.net/~savoury1/+archive/ubuntu/display > - Built fresh Yocto 3.4, core-image-weston with virgl > - Built 6.2 qemu separately and used that. Added -device > virtio-gpu-gl-pci > > Now I have a comfy Gles 3.2 context! > > Tx > > Display - various (Xenial & newer) : Rob Savoury > <https://launchpad.net/~savoury1/+archive/ubuntu/display> > Display PPA (drm 2.4.109, mesa 21.3.3, xserver 1.20.13) Xenial & > newer. *** Please always check https:/ /launchpad. net/~savoury1 first for > general updates about this ... > launchpad.net > > > > ------------------------------ > *From:* [email protected] <[email protected]> on > behalf of Edgar Mobile <[email protected]> > *Sent:* Thursday, March 17, 2022 2:00 PM > *To:* Alexander Kanavin <[email protected]> > *Cc:* [email protected] <[email protected]> > *Subject:* Re: [yocto] runqemu - ERROR - Failed to run qemu: > qemu-system-aarch64: Virtio VGA not available. > > Ah, that's an interesting information. > The dmesg log gives the impression that virgl starts correctly and in the > normal shell the examples work flawlessly. The problems start once I tell > weston to use the ivi-shell instead of the desktop shell. > > ------------------------------ > *From:* Alexander Kanavin <[email protected]> > *Sent:* Thursday, March 17, 2022 1:51 PM > *To:* Edgar Mobile <[email protected]> > *Cc:* [email protected] <[email protected]> > *Subject:* Re: [yocto] runqemu - ERROR - Failed to run qemu: > qemu-system-aarch64: Virtio VGA not available. > > There is no hardware acceleration with bochs at all, if you want it, > you need to make virtio/virgl driver work. > > Alex > > On Thu, 17 Mar 2022 at 14:02, Edgar Mobile <[email protected]> wrote: > > > > Do you know if bochs driver is available and active for yocto 3.4 or 3.5? > > > > ________________________________ > > From: Alexander Kanavin <[email protected]> > > Sent: Thursday, March 17, 2022 11:26 AM > > To: Edgar Mobile <[email protected]> > > Cc: [email protected] <[email protected]> > > Subject: Re: [yocto] runqemu - ERROR - Failed to run qemu: > qemu-system-aarch64: Virtio VGA not available. > > > > As I told you, we do not support or test this combination. Which means > > that figuring out what the error messages mean and how to fix them is > > on you - patches welcome. > > > > Alex > > > > On Thu, 17 Mar 2022 at 11:41, Edgar Mobile <[email protected]> wrote: > > > > > > I tried that first and it was horribly slow. That's why I try hardware > acceleration now. > > > > > > Do you _know_ it doesn't work? If yes, why? > > > > > > ________________________________ > > > From: Alexander Kanavin <[email protected]> > > > Sent: Thursday, March 17, 2022 10:33 AM > > > To: Edgar Mobile <[email protected]> > > > Cc: [email protected] <[email protected]> > > > Subject: Re: [yocto] runqemu - ERROR - Failed to run qemu: > qemu-system-aarch64: Virtio VGA not available. > > > > > > If you want an aarch guest on x86, then drop the gl option from > > > runqemu. This will fall back to software rendering. > > > > > > Alex > > > > > > On Thu, 17 Mar 2022 at 10:33, Edgar Mobile <[email protected]> > wrote: > > > > > > > > Sorry, but I need an Aarch64 guest. > > > > > > > > Ok, using a newer qemu I now encounter the following problem: > > > > > > > > root@qemuarm64:/usr/bin# XDG_RUNTIME_DIR=/run/user/0 ./eglinfo > > > > EGL client extensions string: > > > > EGL_EXT_client_extensions EGL_EXT_device_base > > > > EGL_EXT_device_enumeration EGL_EXT_device_query > EGL_EXT_platform_base > > > > EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug > > > > EGL_EXT_platform_device EGL_EXT_platform_wayland > > > > EGL_KHR_platform_wayland EGL_EXT_platform_x11 > EGL_KHR_platform_x11 > > > > EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm > > > > EGL_MESA_platform_surfaceless > > > > > > > > GBM platform: > > > > pci id for fd 3: 1234:1111, driver (null) > > > > MESA-LOADER: failed to open bochs-drm: > /usr/lib/dri/bochs-drm_dri.so: cannot open shared object file: No such file > or directory (search paths /usr/lib/dri) > > > > failed to load driver: bochs-drm > > > > ... > > > > > > > > > > > > What is this bochs-drm_dri.so and does Yocto / the Mesa in Yocto > provide it? > > > > > > > > ________________________________ > > > > From: Alexander Kanavin <[email protected]> > > > > Sent: Wednesday, March 16, 2022 2:51 PM > > > > To: Edgar Mobile <[email protected]> > > > > Cc: [email protected] <[email protected]> > > > > Subject: Re: [yocto] runqemu - ERROR - Failed to run qemu: > qemu-system-aarch64: Virtio VGA not available. > > > > > > > > This configuration is not tested. If you want accelerated gl, build > > > > for the qemux86-64 target. > > > > > > > > Alex > > > > > > > > On Wed, 16 Mar 2022 at 12:46, Edgar Mobile <[email protected]> > wrote: > > > > > > > > > > Greetings, > > > > > > > > > > I tried to run an Aarch64 Yocto with qemu on amd 64 Host. For that > purpose, I built core-image-weston from Hardknott following the manual > > > > > > > > > > > https://www.mail-archive.com/[email protected]/msg07306.html > > > > > > > > > > I then try to run > > > > > > > > > > runqemu sdl gl > > > > > > > > > > But it always aborts with > > > > > > > > > > runqemu - ERROR - Failed to run qemu: qemu-system-aarch64: Virtio > VGA not available. > > > > > > > > > > What can I do? > > > > > > > > > > Regards > > > > > > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56497): https://lists.yoctoproject.org/g/yocto/message/56497 Mute This Topic: https://lists.yoctoproject.org/mt/89819473/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
