<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3880</bug_id>
          
          <creation_ts>2013-02-12 16:55:52 +0000</creation_ts>
          <short_desc>weston compositor doesn&apos;t start when X is stopped in qemux86</short_desc>
          <delta_ts>2013-03-25 10:00:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29748</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-02-12 16:55:52 +0000</bug_when>
    <thetext>poky commit 3ae1a4ba972cfc17ff3f2fda632da8ecc3414885
HOST: Fedora 17 64bit

Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Unknown&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20130212&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;(nobranch):3ae1a4ba972cfc17ff3f2fda632da8ecc3414885&quot;

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 += &quot;wayland weston&quot;

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 &quot;/home/root/xdg&quot; 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&apos;t open /home/root/.config/weston.ini
[16:44:54.691] Loading module &apos;/usr/lib/weston/drm-backend.so&apos;
[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&apos;t created and also the missing shared objects files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29987</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-02-20 13:03:06 +0000</bug_when>
    <thetext>There is no DRM/KMS interface/driver for QEMU.

As such, Weston-on-hardware isn&apos;t expected to work under any QEMU, x86 or not.

Alex</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31086</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-25 10:00:08 +0000</bug_when>
    <thetext>Verified as per above comments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>