<?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>902</bug_id>
          
          <creation_ts>2011-03-17 20:47:57 +0000</creation_ts>
          <short_desc>Need document known issue: qemu seg fault if nVidia&apos;s libGL installed</short_desc>
          <delta_ts>2011-03-23 19:04:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>1.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Edwin Zhai">edwin.zhai</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>edwin.zhai</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>12796</commentid>
    <comment_count>0</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-03-17 20:47:57 +0000</bug_when>
    <thetext>Scott,
Could you pls. help to add this in our document? You know, different host os need different fix, so we decide to document it as know issue and let end user choose right one for themselves.

Pls. see following background info, and let me know if need further details.

Mark would provide fix for Fedora system...

Thanks,
edwin

=============================================================
nVidia&apos;s proprietary OpenGL libraries are known to have compatibility
issues with qemu, resulting in a segfault. Please uninstall these
drivers or ensure the mesa libGL libraries precede nvidia&apos;s via LD_PRELOAD.

You can detect if nVidia&apos;s libGL precedes mesa&apos;s by(poky-qemu also does this)
user@machine$ ldd qemu-binary | grep -i nvidia
If find something like 
libGL.so.1 =&gt; /usr/lib/nvidia-current/libGL.so.1
libnvidia-tls.so.260.19.06...
Qemu is linked with nVidia&apos;s libGL, and likely to get segfault:(

There are workarounds for different host system. On ubuntu, you can prepend following environment variable before qemu starting command to fall back to mesa&apos;s libGL

LD_PRELOAD=&quot;/usr/lib/libGL.so $LD_PRELOAD&quot; qemu .....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12864</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-21 07:12:14 +0000</bug_when>
    <thetext>The scripts themselves now warn about this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12945</commentid>
    <comment_count>2</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-03-23 19:04:19 +0000</bug_when>
    <thetext>Verified! Bug 649 requires these scripts and got fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>