I'm trying to get pyglet working on Ubuntu Gutsy (7.10) with the
latest ATI binary drivers.  It will run, but the window just displays
garbage from seemingly random parts of the video buffer (sometimes
just noise, sometimes other parts of the display or other openGL
programs that have ran in the same sessions).  It does this with all
the example programs.  Other openGL programs run without problems, and
glxinfo/fglrxinfo return appropriate results.  I've tried mucking with
my xorg.conf settings and turning on/off compiz, with no effect.  This
problem may be related to the known-to-be-poor ATI drivers, but it
seems to be unique to pyglet.  The output of gl_info.py is:

XlibScreen(screen=0, x=0, y=0, width=1280, height=1024, xinerama=1)
Creating default context...
GL attributes:
double_buffer=1 stereo=0 buffer_size=32 aux_buffers=0 sample_buffers=0
samples=0 red_size=8 green_size=8 blue_size=8 alpha_size=8
depth_size=24 stencil_size=0 accum_red_size=0 accum_green_size=0
accum_blue_size=0 accum_alpha_size=0
GL version: None
GL vendor: None
GL renderer: None
GL extensions:
Traceback (most recent call last):
  File "./gl_info.py", line 69, in <module>
    exts = ' '.join(gl_info.get_extensions())
TypeError

Which clrealy indicates a problem.  I do NOT have xinerama installed,
but apparently Ubuntu Gutsy pretends it is.  (This is known to cause
an issue with Java in fullscreen exculsive mode, for example:
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/154613 )  I
tried a quick and dirty hack by commenting out the loading of the
xinerama files in pyglet/window/xlib/__init__.py; this did stop
gl_info.py from reporting xinerama was active, but otherwise had no
effect.  Does anyone have pyglet working in Gutsy, with or without an
ATI video card?  Any other ideas as to what is going on?  Thanks,

          -Dustin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to