<?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>688</bug_id>
          
          <creation_ts>2011-01-31 09:48:55 +0000</creation_ts>
          <short_desc>Unable to run OpenGL applications in qemux86 images</short_desc>
          <delta_ts>2011-04-18 10:58:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>kevin.tian</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>11607</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-01-31 09:48:55 +0000</bug_when>
    <thetext>root@qemux86:~# glxgears 
go on...
You maybe forgot to launch QEMU with -enable-gl argument.
Trying TCP/IP communication instead
impossible to connect to server: Connection refused

AFAIK we *do* boot with -enable-gl....

Note for bug investigation glxgears comes from libgl-xprogs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12019</commentid>
    <comment_count>1</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-02-23 16:55:51 +0000</bug_when>
    <thetext>Josh,
I assume we can still run opengl applications without -enable-gl, but the speed is slow.

Can you see the gears running slowly, or it just failed?

Although Jeff and I didn&apos;t test GL after upgrading qemu, I remember one hacked GL library is needed to trigger the GL path. Did you do it?

Thanks,
edwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12020</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2011-02-23 17:00:15 +0000</bug_when>
    <thetext>you can use glxinfo to see whether sw mesa is used</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12237</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-03-03 08:15:16 +0000</bug_when>
    <thetext>I haven&apos;t worked out quite what&apos;s going wrong, but I can say that this bug occurs if you add a gl-using application into your image e.g. by adding mesa-demos to IMAGE_EXTRA_INSTALL; however if you simply install libgl1 and mesa-demos after the fact it works fine (albeit a little slowly). glxinfo in the failing image reports the same error as glxgears above, whereas in the working image it reports the following:

root@qemux86:~# export DISPLAY=0:0
root@qemux86:~# glxinfo 
name of display: 0:0.0
display: 0:0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, 
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_MESA_copy_sub_buffer, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap, 
    GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_INTEL_swap_event
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.10.1-devel
OpenGL shading language version string: 1.20
... (further details omitted)

I still have both images around on my machine if you need further diagnostic information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13332</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-04-18 10:58:56 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=eed3beeec15fe208913c4e73e34868f885fe3867</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>