On Wed, Nov 13, 2013 at 2:52 PM, John Ladasky <[email protected]>wrote:

> Hello again,
>
> As you may have read in my previous thread (
> https://groups.google.com/forum/#!topic/pyglet-users/GEo5OxpsFXA), I was
> having trouble with pyglet on a system running Ubuntu 13.04 64-bit AMD,
> Python 3.3.2, and an NVidia GPU with a 310.xx series driver.  Pyglet
> scripts would simply hang after a while, typically 30 seconds after
> starting up.  A few of you reported that you could not reproduce my
> problems, even using my pyglet code.  I found that even code from the
> pyglet examples folder could hang.  These findings pointed suggested
> compatibility problems, possibly with my video driver.
>
> After doing some reading on Ubuntu Forums, I was reluctant to try a video
> driver upgrade just yet.  So I tried another strategy.  I have an old
> laptop that I use infrequently.  It has Ubuntu 12.04 installed on it.  So I
> downloaded pyglet, installed it on Python3.  Code from the pyglet examples
> directory ran beautifully.  After ten minutes, nothing had crashed.  I was
> encouraged.
>
> Since I hand't booted up the laptop for a while, Ubuntu also asked me to
> download 74 updates, most of which were security-related.  I dutifully did
> so, rebooted the machine, and tried to get pyglet running again.  And
> everything is broken, AGAIN!  But in a different way.  When I try to run
> any pyglet script, I get a traceback that is almost identical to the one
> below (with the only difference being near the top, where the import
> statement in the main <module> is invoked):
>
> Xlib:  extension "GLX" missing on display ":0".
> Traceback (most recent call last):
>   File "noisy.py", line 46, in <module>
>     from pyglet.gl import *
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/gl/__init__.py",
> line 235, in <module>
>     import pyglet.window
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/window/__init__.py",
> line 1814, in <module>
>     gl._create_shadow_window()
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/gl/__init__.py",
> line 205, in _create_shadow_window
>     _shadow_window = Window(width=1, height=1, visible=False)
>   File
> "/usr/local/lib/python3.2/dist-packages/pyglet/window/xlib/__init__.py",
> line 166, in __init__
>     super(XlibWindow, self).__init__(*args, **kwargs)
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/window/__init__.py",
> line 504, in __init__
>     config = screen.get_best_config(template_config)
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/canvas/base.py",
> line 147, in get_best_config
>     configs = self.get_matching_configs(template)
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/canvas/xlib.py",
> line 179, in get_matching_configs
>     configs = template.match(canvas)
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/gl/xlib.py", line
> 29, in match
>     have_13 = info.have_version(1, 3)
>   File "/usr/local/lib/python3.2/dist-packages/pyglet/gl/glx_info.py",
> line 83, in have_version
>     raise GLXInfoException('pyglet requires an X server with GLX')
> pyglet.gl.glx_info.GLXInfoException: pyglet requires an X server with GLX
>
> So, it looks like whatever updates Ubuntu had me install have just broken
> my GLX extension.  I have looked through all the packages in the Ubuntu
> standard repository which contain the string "glx" in their names.  There
> are a lot of them.  I don't know which one(s) I should install, nor why a
> security update might have damaged or removed whatever GLX extension was
> already present and functioning on my laptop.  Any advice about how to fix
> this problem would be appreciated.  Of course, I may also ask this question
> on Ubuntu Forums.
>
> Thanks again...
>

You need to reinstall your graphics drivers. The GLX package is tightly
tied to your graphics driver, and isn't trivial to muck with in isolation.

-- 
Tristam MacDonald
Software Development Engineer, Amazon.com
http://swiftcoder.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to