Am Mi, 13. Okt 2021, um 22:56, schrieb Alexander Kanavin: > If you switch to master, it's best if you make a new build directory and dont > reuse the one you have. > > Alex > > On Wed, 13 Oct 2021 at 22:09, Manuel Wagesreither <man...@fastmail.fm> wrote: >> __ >> `export DISPLAY=:0` did the trick. >> >> The following shows when still on poky dunfell: >> >> * I can now boot `runqmu kvm slirp sdl core-image-weston`. But gui is still >> slow. I cannot even type `systemctl poweroff` in weston-terminal, it >> inevitably becomes `wweesssttooo[...]`. >> * `runqemu kvm slirp sdl gl core-image-weston` still fails with `Failed to >> run qemu: qemu-system-x86_64: OpenGL support is disabled`. >> >> Updated to current poky master, but got this: `ERROR: ParseError in >> configuration INHERITs: Could not inherit file classes/image-mklibs.bbclass`. >> >> Switched to hardknott-3.3.3 which is four weeks old and perhaps a little >> riper. It's currently building. >> >> Regards, >> Manuel >> >> >
Here are some updates: Building core-image-weston on hardknott succeeded. Couldn't `runqmu kvm slirp sdl core-image-weston` first because I got an error message about 'dri.pc' being missing. Debian package search told me it's part of 'mesa-commond-dev', so I installed it on my host machine and indeed, that runqemu command above got working again. Not just that, now even OpenGL acceleration with `runqmu kvm slirp sdl gl core-image-weston` worked, altough I didn't change anything OpenGL-wise. core-image-weston feels really snappy now. Great! I got curious and reverted back to dunfell to check if the now-installed dri.pc made a difference, but no, it didn't. `runqemu` with `sdl` started (like it did before), and with `sdl gl` it still said "OpenGL support is disabled". Ok, so then I moved on to get my own image which is on hardknott now working. I `runqemu`d my image with 'sdl' and 'gl' and it started up fine. Weston did no longer start automatically so I did manually. Ran `DISPLAY=:0 glxgears` but it told me "couldn't open display :0". Installed 'weston-xwayland' so I'd get "/usr/lib/libweston-9/xwayland.so" but that didn't change anything. Can't yet say if `DISPLAY=:0 glxgears` works on core-image-weston as it's still building. Regards, Manuel
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55087): https://lists.yoctoproject.org/g/yocto/message/55087 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] -=-=-=-=-=-=-=-=-=-=-=-