<?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>1886</bug_id>
          
          <creation_ts>2012-01-08 19:30:17 +0000</creation_ts>
          <short_desc>Glxgears failed in qemux86/x86-64 on ubuntu 11.10 x86-64 with nVidia GLX driver</short_desc>
          <delta_ts>2012-04-10 08:04:19 +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.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch out. Apr1, 2012</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M2</target_milestone>
          <dependson>1885</dependson>
          <blocked>2069</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongna Xu">hongnax.xu</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>dvhart</cc>
    
    <cc>edwin.zhai</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>18013</commentid>
    <comment_count>0</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-01-08 19:30:17 +0000</bug_when>
    <thetext>Description:It failed to run glxgears after changing the location of libLG.so in script/runqemu-internal,the host is x86-64,It depends on Bug 1885.The log is followd:
==================================================
go on...
looking for &quot;glXChooseVisual&quot;,
global_glXGetProcAddress request
nbRequestElts=1766
glAddSwapHintRectWIN 1 0
glBeginConditionalRenderNVX 1 0
glBeginDefineVisibilityQueryATI 1 0
glBeginOcclusionQuery 1 0
glBeginSceneEXT 1 0
glBeginUseVisibilityQueryATI 1 0
glBindArraySetARB 1 0
glBinormalArrayEXT 1 0
glBlendEquationSeparateATI 1 0
glBufferRegionEnabled 1 0
glBufferRegionEnabledEXT 1 0
glColor3fVertex3fvSUN 1 0
glColor4fNormal3fVertex3fvSUN 1 0
glColor4ubVertex2fvSUN 1 0
glColor4ubVertex3fvSUN 1 0
glColorPointerListIBM 1 0
glColorPointervINTEL 1 0
glColorTableParameterfvSGI 1 0
glColorTableParameterivSGI 1 0
glColorTableSGI 1 0
glDeformationMap3dSGIX 1 0
glDeformationMap3fSGIX 1 0
glDeleteArraySetsARB 1 0
glDeleteBufferRegion 1 0
glDeleteBufferRegionEXT 1 0
glDeleteFencesAPPLE 1 0
glDeleteOcclusionQueries 1 0
glDeleteVertexArraysAPPLE 1 0
glDeleteVisibilityQueriesATI 1 0
glDisableVertexAttribAPPLE 1 0
glDrawBufferRegion 1 0
glDrawBufferRegionEXT 1 0
glDrawElementsFGL 1 0
glDrawElementsInstancedEXT 1 0
glDrawMeshNV 1 0
glDrawWireTrianglesFGL 1 0
glEdgeFlagPointerListIBM 1 0
glElementPointerAPPLE 1 0
glEnableVertexAttribAPPLE 1 0
glEndConditionalRenderNVX 1 0
glEndDefineVisibilityQueryATI 1 0
glEndOcclusionQuery 1 0
glEndSceneEXT 1 0
glEndUseVisibilityQueryATI 1 0
glFinishAsyncSGIX 1 0
glFinishRenderAPPLE 1 0
glFlushRenderAPPLE 1 0
glFlushVertexArrayRangeAPPLE 1 0
glFogCoordPointerListIBM 1 0
glFogFuncSGIS 1 0
glFragmentColorMaterialEXT 1 0
glFragmentLightfEXT 1 0
glFragmentLightfvEXT 1 0
glFragmentLightiEXT 1 0
glFragmentLightivEXT 1 0
glFragmentLightModelfEXT 1 0
glFragmentLightModelfvEXT 1 0
glFragmentLightModeliEXT 1 0
glFragmentLightModelivEXT 1 0
glFragmentMaterialfEXT 1 0
glFragmentMaterialfvEXT 1 0
glFragmentMaterialiEXT 1 0
glFragmentMaterialivEXT 1 0
glGenArraySetsARB 1 0
glGenFencesAPPLE 1 0
glGenOcclusionQueries 1 0
glGenVertexArraysAPPLE 1 0
glGenVisibilityQueriesATI 1 0
glGetColorTableParameterfvSGI 1 0
glGetColorTableParameterivSGI 1 0
glGetColorTableSGI 1 0
glGetFogFuncSGIS 1 0
glGetFragmentLightfvEXT 1 0
glGetFragmentLightivEXT 1 0
glGetFragmentMaterialfvEXT 1 0
glGetFragmentMaterialivEXT 1 0
glGetImageTransformParameterfvHP 1 0
glGetImageTransformParameterivHP 1 0
glGetListParameterfvSGIX 1 0
glGetListParameterivSGIX 1 0
glGetMapAttribParameterfvNV 1 0
glGetMapAttribParameterivNV 1 0
glGetMapControlPointsNV 1 0
glGetMapParameterfvNV 1 0
glGetMapParameterivNV 1 0
glGetOcclusionQueryiv 1 0
glGetOcclusionQueryuiv 1 0
glGetPixelTexGenParameterfvSGIS 1 0
glGetPixelTexGenParameterivSGIS 1 0
glGetProgramRegisterfvMESA 1 0
glGetQueryObjecti64vEXT 1 0
glGetQueryObjectui64vEXT 1 0
glGetTexFilterFuncSGIS 1 0
glGetTexParameterPointervAPPLE 1 0
glGetUniformOffsetEXT 1 0
glIglooInterfaceSGIX 1 0
glImageTransformParameterfvHP 1 0
glImageTransformParameterivHP 1 0
glIndexPointerListIBM 1 0
glInstrumentsBufferSGIX 1 0
glIsArraySetARB 1 0
glIsOcclusionQuery 1 0
glIsVertexAttribEnabledAPPLE 1 0
glLightEnviEXT 1 0
glListParameterfvSGIX 1 0
glListParameterivSGIX 1 0
glMapControlPointsNV 1 0
glMapParameterfvNV 1 0
glMapParameterivNV 1 0
glMapTexture3DATI 1 0
glMapVertexAttrib1dAPPLE 1 0
glMapVertexAttrib1fAPPLE 1 0
glMapVertexAttrib2dAPPLE 1 0
glMapVertexAttrib2fAPPLE 1 0
glMultiDrawElementArrayAPPLE 1 0
glMultiModeDrawArraysIBM 1 0
glMultiModeDrawElementsIBM 1 0
glPixelTexGenParameterfvSGIS 1 0
glPixelTexGenParameterivSGIS 1 0
glTextureRangeAPPLE 1 0
glVertexAttribIPointerEXT 1 0
glXBindSwapBarrierSGIX 1 0
glXBindTexImageEXT 1 0
glXCopySubBufferMESA 1 0
glXCreateGLXPixmapMESA 1 0
glXCreateGLXPixmapWithConfigSGIX 1 0
glXFreeContextEXT 1 0
glXGetContextIDEXT 1 0
glXGetCurrentDisplayEXT 1 0
glXGetCurrentReadDrawableSGI 1 0
glXGetFBConfigFromVisualSGIX 1 0
glXGetMscRateOML 1 0
glXGetSelectedEventSGIX 1 0
glXGetSyncValuesOML 1 0
glXGetVisualFromFBConfigSGIX 1 0
glXImportContextEXT 1 0
glXJoinSwapGroupSGIX 1 0
glXMakeCurrentReadSGI 1 0
glXQueryContextInfoEXT 1 0
glXQueryMaxSwapBarriersSGIX 1 0
glXReleaseBuffersMESA 1 0
glXReleaseTexImageEXT 1 0
glXSelectEventSGIX 1 0
glXSwapBuffersMscOML 1 0
glXWaitForMscOML 1 0
glXWaitForSbcOML 1 0
looking for &quot;glXChooseVisual&quot;,
Error: couldn&apos;t get an RGB, Double-buffered visual</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18017</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-01-08 23:55:41 +0000</bug_when>
    <thetext>The bug happends with Ubuntu 11.10 x86_64 and is found on Hongna&apos;s machine. Details could be found on bug 1885.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18112</commentid>
    <comment_count>2</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-01-12 18:17:06 +0000</bug_when>
    <thetext>I have tried with latest poky master, and can start glxgears in core-image-sato. I doubt this is specific bug on the machine, so suggest lower its priority. After bug 1885 got fixed, Hongna can try to see if it can fix this bug.

Thanks,
Edwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18958</commentid>
    <comment_count>3</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-03-12 01:26:47 +0000</bug_when>
    <thetext>The same error:&quot;Error:couldn&apos;t get an RGB, Double-buffered visual.&quot; since bug 1885 fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18959</commentid>
    <comment_count>4</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-03-12 01:27:48 +0000</bug_when>
    <thetext>The same error &quot;Error:couldn&apos;t get an RGB, Double-buffered visual&quot; since bug 1885 fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19371</commentid>
    <comment_count>5</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-03-23 01:42:25 +0000</bug_when>
    <thetext>Hongna,
Can you try this on your machine if have time, after bug 1927 got fixed?


Thanks,
Edwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19764</commentid>
    <comment_count>6</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-04-01 02:50:23 +0000</bug_when>
    <thetext>
    
Previous version of nVidia GLX driver in Ubuntu 10 cause qemu segfault, so we fall back to Mesa GLX driver if detecting nVidia driver installed. From Ubuntu 11, nVidia GLX driver works well, while previous work around cause GL apps failure.

This failure may come from unclean GL environment as LD_PRELOAD can not eliminate the nVidia&apos;s driver completely. E.g even runs following command in host, we have same failure:

$&gt; LD_PRELOAD=&quot;$LD_PRELOAD /usr/lib/x86_64-linux-gnu/libGL.so&quot; glxinfo

So I limit this work around in Ubuntu 10 only, and will remove it in future. Patch already out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19840</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-04 00:33:28 +0000</bug_when>
    <thetext>Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=84b7541abc2d7e59c22891219fce97d320d3bb33</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20110</commentid>
    <comment_count>8</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-04-10 08:04:19 +0000</bug_when>
    <thetext>VERIFIED and FIXED with poky/1.2M4 rc2,commint 27aa5489fb40d99c58bb2a4bbf2311e2c502a091.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>