Sorry, I meant pyglet, not Pyglet. ;) On Nov 9, 2007 10:03 AM, Esteban <[EMAIL PROTECTED]> wrote: > I had the same symptoms, but in my case the problem was that apt-get > upgraded my ATI driver, while the kernel module, which was manually > built, was left behind at an older version (I only had the sources > upgraded). This caused X to fall back on software rendering. > > So, although Pyglet works for you now, it might be using software > rendering, and thus it might be way slower than necessary. Maybe you > want to look into that? > > One (sloppy) test for hardware rendering is running glxgears and see > if the gear movement is smooth (> 1000 FPS if you have a GPU). > > If you don't have glxgears in your system, you can get it like this > (with root privileges): > > apt-get install mesa-utils > > HTH, > > Esteban. > > > On Nov 9, 2007 12:26 AM, al1986 <[EMAIL PROTECTED]> wrote: > > > > Thanks very much. Examples work fine now :) > > > > Allan > > > > On Nov 8, 11:19 pm, Alex Holkner <[EMAIL PROTECTED]> wrote: > > > al1986 wrote: > > > > Thanks, looks like I'm getting somewhere. There's a different error > > > > now though: "NameError: global name 'ContextException' is not > > > > defined". > > > > > > Whoops, sorry about that. Try r1389 or the attached patch. > > > > > > Alex. > > > > > > [r1389.patch]Index: pyglet/window/xlib/__init__.py > > > =================================================================== > > > --- pyglet/window/xlib/__init__.py (revision 1388) > > > +++ pyglet/window/xlib/__init__.py (working copy) > > > @@ -223,7 +223,7 @@ > > > else: > > > try: > > > return [config_class(self, attrib_list)] > > > - except ContextException: > > > + except gl.ContextException: > > > return [] > > > > > > def __repr__(self): > > > > > > > > > > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
