Bug 9482

Summary: glean reports error if LIBGL_ALWAYS_INDIRECT=1
Product: xorg Reporter: Wei Wang <wei.z.wang>
Component: Server/GeneralAssignee: Eric Anholt <eric>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: highest CC: gordon.jin, xorg-team
Version: 7.2 (2007.02)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
xorg's log none

Description Wei Wang 2006-12-29 18:02:26 UTC
On intel platform i945g.
For the purpose of testing AIGLX, I utilize LIBGL_ALWAYS_INDIRECT=1 and bring 
up X and glxinfo reports "direct rendering: No". X starts up successfully 
however glean complains out the following errors:

---------------------------------------
basic:  PASS rgba8, db, win+pmap, id 35
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  35
  Current serial number in output stream:  35
---------------------------------------

Reproduce step:
1. load kernel modules, intel_agp, drm.ko, i915.ko
2. export necessary environment varialbes
3. export LIBGL_ALWAYS_INDIRECT=1
4. bring up X
5. make sure glxinfo reports "direct rendering: No".
6. run glean
7. error happens
(NOTE: step of 3. and 4. can be exchanged, and the behavior is the same).


Misc:
If unset LIBGL_ALWAYS_INDIRECT, glean can run and generate logs and results 
normally.
Comment 1 Wei Wang 2006-12-29 18:03:17 UTC
Created attachment 8241 [details]
xorg.conf
Comment 2 Wei Wang 2006-12-29 18:03:56 UTC
Created attachment 8242 [details]
xorg's log
Comment 3 Michel Dänzer 2006-12-30 02:31:33 UTC
AFAIK rendering to GLXPixmaps just isn't supported yet.

*** This bug has been marked as a duplicate of 9200 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.