Bug 9482 - glean reports error if LIBGL_ALWAYS_INDIRECT=1
Summary: glean reports error if LIBGL_ALWAYS_INDIRECT=1
Status: RESOLVED DUPLICATE of bug 9200
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: highest normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-29 18:02 UTC by Wei Wang
Modified: 2006-12-30 02:31 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (2.87 KB, text/plain)
2006-12-29 18:03 UTC, Wei Wang
no flags Details
xorg's log (53.76 KB, text/plain)
2006-12-29 18:03 UTC, Wei Wang
no flags Details

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.