beproudstandupcom / pyglet

Automatically exported from code.google.com/p/pyglet
0 stars 0 forks source link

gl_info crashes on Linux/ATI #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run tools/gl_info.py

Paste in the traceback or error message:
Platform instance is <pyglet.window.xlib.XlibPlatform object at 0x833a4ac>
Display instance is <pyglet.window.xlib.XlibDisplayDevice object at 0xb7d589ac>
Screens:
  XlibScreen(screen=0, x=0, y=0, width=1280, height=800, xinerama=0)
Creating default context...
GL attributes:
Traceback (most recent call last):
  File "gl_info.py", line 28, in <module>
    attrs = w.config.get_gl_attributes()
  File "/usr/lib/python2.5/site-packages/pyglet/gl/__init__.py", line 216,
in get_gl_attributes
    return [(name, getattr(self, name)) for name in self._attribute_names]
AttributeError: 'XlibGLConfig10ATI' object has no attribute 'stereo'
foone@mobile:~/Desktop/pyglet-1.0alpha2/tools$ vim gl_info.py 
foone@mobile:~/Desktop/pyglet-1.0alpha2/tools$ python gl_info.py 
Platform instance is <pyglet.window.xlib.XlibPlatform object at 0x833a4ac>
Display instance is <pyglet.window.xlib.XlibDisplayDevice object at 0xb7d449ac>
Screens:
  XlibScreen(screen=0, x=0, y=0, width=1280, height=800, xinerama=0)
Creating default context...
GL attributes:
Traceback (most recent call last):
  File "gl_info.py", line 28, in <module>
    attrs = w.config.get_gl_attributes()
  File "/usr/lib/python2.5/site-packages/pyglet/gl/__init__.py", line 216,
in get_gl_attributes
    return [(name, getattr(self, name)) for name in self._attribute_names]
AttributeError: 'XlibGLConfig10ATI' object has no attribute 'stereo'

Paste in the output of tools/gl_info.py:
N/A

Any additional info (platform/language/hardware) that may be relevant?
Python 2.5.1, pyglet 1.0 alpha 2, fglrx ATI driver on a ATI Technologies
Inc RS485 [Radeon Xpress 1100 IGP]. Ubuntu 7.04

Original issue reported on code.google.com by pdbo...@gmail.com on 23 Aug 2007 at 11:32

GoogleCodeExporter commented 9 years ago
I forgot to mention, pyglet works (tested with astraea) on this driver, only the
gl_info file has crashed so far. 

Original comment by pdbo...@gmail.com on 23 Aug 2007 at 11:34

GoogleCodeExporter commented 9 years ago
Ok, should be fixed in r1194 (untested).

Original comment by Alex.Hol...@gmail.com on 24 Aug 2007 at 7:55

GoogleCodeExporter commented 9 years ago
Confirmed, it works now. Thanks!

Original comment by pdbo...@gmail.com on 8 Sep 2007 at 6:50