poky commit 3ae1a4ba972cfc17ff3f2fda632da8ecc3414885 HOST: Fedora 17 64bit Build Configuration: BB_VERSION = "1.17.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Unknown" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130212" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "(nobranch):3ae1a4ba972cfc17ff3f2fda632da8ecc3414885" STEPS TO REPRODUCE 1. Configure a qemux86 image by adding the following line in conf/local.conf in order to enable weston compositor in the image: CORE_IMAGE_EXTRA_INSTALL += "wayland weston" 2. $ bitbake core-image-sato 3. Launch the qemu image: $ runqemu tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/core-image-sato-qemux86.ext3 4. Connect to the qemu via ssh and kill xinit: root@qemux86:~# killall xinit 5.a) Run weston: root@qemux86:~# weston EXPECTED RESULT Weston is displayed on top of X without any configurations. ACTUAL RESULT Instead, the following errors appear: root@qemux86:~# weston Date: 2013-02-12 UTC [16:44:54.659] weston 1.0.3 http://wayland.freedesktop.org/ Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=weston Build: 1.4_M3.final-dirty harfbuzz: fix install of version.h (2013-01-31 12:30:13 +0000) [16:44:54.674] OS: Linux, 3.4.26-yocto-standard, #1 SMP PREEMPT Thu Feb 7 10:26:39 EET 2013, i686 [16:44:54.676] warning: XDG_RUNTIME_DIR "/home/root/xdg" is not configured correctly. Unix access mode must be 0700 but is 755, and XDG_RUNTIME_DIR must be owned by the user, but is owned by UID 0. Refer to your distribution on how to get it, or http://www.freedesktop.org/wiki/Specifications/basedir-spec on how to implement it. couldn't open /home/root/.config/weston.ini [16:44:54.691] Loading module '/usr/lib/weston/drm-backend.so' [16:44:54.697] Failed to load module: /usr/lib/weston/drm-backend.so: cannot open shared object file: No such file or directory root@qemux86:~# OTHER COMMENTS: I have changed the permissions from 775 to 0700 for the XDG_RUNTIME_DIR, but I still have the errors regarding the weston.ini file which isn't created and also the missing shared objects files.
There is no DRM/KMS interface/driver for QEMU. As such, Weston-on-hardware isn't expected to work under any QEMU, x86 or not. Alex
Verified as per above comments.