pyglet not working on Fedora 12

146 views
Skip to first unread message

Duong Dang

unread,
Apr 21, 2010, 10:00:40 AM4/21/10
to pyglet-users
Hi all,

I recently moved to Fedora 12 but couldn't get pyglet it to work. I
tried both the Fedora's binary and source code from the hg repo.

I had pyglet working on Fedora 10 and 11 and Ubuntu before.

Any sugestion will be greatly appriecated.
Best,

Begin error message:
----

[xx@xx:/usr/share/pyglet]$ unset PYTHONPATH
[xx@xx:/usr/share/pyglet]$ ./events.py
failed to create drawable
Traceback (most recent call last):
File "./events.py", line 41, in <module>
window = pyglet.window.Window(resizable=True)
File "/usr/lib/python2.6/site-packages/pyglet/__init__.py", line
306, in __getattr__
__import__(import_name)
File "/usr/lib/python2.6/site-packages/pyglet/window/__init__.py",
line 1684, in <module>
gl._create_shadow_window()
File "/usr/lib/python2.6/site-packages/pyglet/gl/__init__.py", line
494, in _create_shadow_window
_shadow_window = Window(width=1, height=1, visible=False)
File "/usr/lib/python2.6/site-packages/pyglet/window/xlib/
__init__.py", line 474, in __init__
super(XlibWindow, self).__init__(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/pyglet/window/__init__.py",
line 686, in __init__
self._create()
File "/usr/lib/python2.6/site-packages/pyglet/window/xlib/
__init__.py", line 683, in _create
self.switch_to()
File "/usr/lib/python2.6/site-packages/pyglet/window/xlib/
__init__.py", line 781, in switch_to
self._context.set_current()
File "/usr/lib/python2.6/site-packages/pyglet/gl/__init__.py", line
345, in set_current
self._info.set_active_context()
File "/usr/lib/python2.6/site-packages/pyglet/gl/gl_info.py", line
91, in set_active_context
self.vendor = cast(glGetString(GL_VENDOR), c_char_p).value
File "/usr/lib/python2.6/site-packages/pyglet/gl/lib.py", line 105,
in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: out of memory

------
End error message

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

Tristam MacDonald

unread,
Apr 21, 2010, 9:47:41 PM4/21/10
to pyglet...@googlegroups.com
On Wed, Apr 21, 2010 at 10:00 AM, Duong Dang <dang....@gmail.com> wrote:
Hi all,

I recently moved to Fedora 12 but couldn't get pyglet it to work. I
tried both the Fedora's binary and source code from the hg repo.

I had pyglet working on Fedora 10 and 11 and Ubuntu before.

Any sugestion will be greatly appriecated.
Best,

Begin error message:
---- 
 
In errcheck

   raise GLException(msg)
pyglet.gl.lib.GLException: out of memory

------
End error message

My gut feeling is that something is wrong with your OpenGL drivers. What graphics card are you using, and are you using the open-source or proprietary drivers for your card?

--
Tristam MacDonald
http://swiftcoder.wordpress.com/

Duong Dang

unread,
May 5, 2010, 8:32:46 AM5/5/10
to pyglet...@googlegroups.com
On Thu, Apr 22, 2010 at 3:47 AM, Tristam MacDonald <swift...@gmail.com> wrote:
On Wed, Apr 21, 2010 at 10:00 AM, Duong Dang <dang....@gmail.com> wrote:
Hi all,

I recently moved to Fedora 12 but couldn't get pyglet it to work. I
tried both the Fedora's binary and source code from the hg repo.

I had pyglet working on Fedora 10 and 11 and Ubuntu before.

Any sugestion will be greatly appriecated.
Best,

Begin error message:
---- 
 
In errcheck

   raise GLException(msg)
pyglet.gl.lib.GLException: out of memory

------
End error message

My gut feeling is that something is wrong with your OpenGL drivers. What graphics card are you using, and are you using the open-source or proprietary drivers for your card?
  
--
Tristam MacDonald
http://swiftcoder.wordpress.com/

-
Hi again,

I got the proprietary nvidia driver installed on the Fedora machine (it's was the open source one before) and got this slightly different error message. Any idea?

Best,
Duong


[xx@xx]/tmp/pyglet-1.1.4% export PYTHONPATH=`pwd`                
[xx@xx]/tmp/pyglet-1.1.4% cd examples                           
[xx@xx]/tmp/pyglet-1.1.4/examples% ./events.py                   
Traceback (most recent call last):
  File "./events.py", line 41, in <module>
    window = pyglet.window.Window(resizable=True)
  File "/tmp/pyglet-1.1.4/pyglet/__init__.py", line 306, in __getattr__
    __import__(import_name)
  File "/tmp/pyglet-1.1.4/pyglet/window/__init__.py", line 1684, in <module>
    gl._create_shadow_window()
  File "/tmp/pyglet-1.1.4/pyglet/gl/__init__.py", line 494, in _create_shadow_window

    _shadow_window = Window(width=1, height=1, visible=False)
  File "/tmp/pyglet-1.1.4/pyglet/window/xlib/__init__.py", line 474, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
  File "/tmp/pyglet-1.1.4/pyglet/window/__init__.py", line 641, in __init__
    raise NoSuchConfigException('No standard config is available.')
pyglet.window.NoSuchConfigException: No standard config is available.


Reply all
Reply to author
Forward
0 new messages