[visionegg] Re: pygame.error: Couldn't find matching GLX visual

  • From: Sven Garbade <garbade@xxxxxxxxxxxxxxxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Thu, 15 Apr 2004 09:34:18 +0200

Hi,

that didn't do the trick. Here is the error message:

2004-04-15 09:28:24,101 (672) INFO: Script target.py started Vision Egg
0.9.9 with process id 672. 2004-04-15 09:28:57,870 (672) INFO:
Requesting window 640 x 480 0 bpp (0 0 0 0 RGBA). Xlib:  extension
"XFree86-DRI" missing on display ":0.0". 
2004-04-15 09:28:57,923 (672) INFO: OpenGL 1.3 Mesa 4.0.4, Mesa GLX
Indirect, Mesa project: www.mesa3d.org
2004-04-15 09:28:57,925 (672) INFO: Video system reports 32 bpp (8 8 8 0
RGBA). 
2004-04-15 09:28:57,929 (672) WARNING: Could not import
OpenGL.GL.ARB.multitexture -- some features will be missing. 
2004-04-15 09:28:57,930 (672) WARNING: multitexturing not available
after trying ctypes and the OpenGL ARB extension. Some features will not
be available 
2004-04-15 09:28:57,932 (672) WARNING: Could not sync
buffer swapping to vblank because you are running linux but not
known/supported drivers(only nVidia and recent Mesa DRI Radeon currently
supported). 
2004-04-15 09:28:57,955 (672) CRITICAL: Traceback (most
recent call last):  File"target.py", line 66, in ?    p.go()
  File "/usr/lib/python2.3/site-packages/VisionEgg/FlowControl.py", line
383, in go    viewport.draw()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line 1227,
in draw    self.make_current()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line 1223,
in make_current    p.projection.set_gl_projection()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line 714,
in set_gl_projection    gl.glLoadMatrixf(self.parameters.matrix)
AttributeError: 'module' object has no attribute 'glLoadMatrixf'

Traceback (most recent call last):
  File "target.py", line 66, in ?
    p.go()
  File "/usr/lib/python2.3/site-packages/VisionEgg/FlowControl.py", line
383, in go    viewport.draw()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line 1227,
in draw    self.make_current()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line 1223,
in make_current    p.projection.set_gl_projection()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line 714,
in set_gl_projection    gl.glLoadMatrixf(self.parameters.matrix)
AttributeError: 'module' object has no attribute 'glLoadMatrixf'

Maybe there is something wrong with my Mesa installation?
Thanks, Sven

On Wed, 14 Apr 2004 09:25:58 -0700
Andrew Straw <andrew.straw@xxxxxxxxxxxxxxx> wrote:

> This is a FAQ: http://www.visionegg.org/faq.html
> 
> On Apr 14, 2004, at 1:39 AM, Sven Garbade wrote:
> 
> > Dear all,
> >
> > after installation I tried to run the demo target.py from the
> > website. After the splash screen I got this error message:
> >
> > /home/sfg/src# python target.py
> > 2004-04-14 10:28:14,727 (2027) INFO: Script target.py started Vision
> > Egg
> > 0.9.9 with process id 2027. 2004-04-14 10:28:25,855 (2027) INFO:
> > Requesting fullscreen 640 x 480 32 bpp (8 8 8 0 RGBA). 2004-04-14
> > 10:28:25,919 (2027) CRITICAL: Traceback (most recent call last): 
> > File"target.py", line 21, in ?    screen = get_default_screen()
> >   File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line
> >   674,
> > in get_default_screen    return Screen.create_default()
> >   File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line
> >   597,
> > in create_default   
> > hide_mouse=VisionEgg.config.VISIONEGG_HIDE_MOUSE)
> >   File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line
> >   241,
> > in __init__    pygame.display.set_mode(self.size, flags, try_bpp )
> > error: Couldn't find matching GLX visual
> >
> > Traceback (most recent call last):
> >   File "target.py", line 21, in ?
> >     screen = get_default_screen()
> >   File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line
> >   674,
> > in get_default_screen    return Screen.create_default()
> >   File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line
> >   597,
> > in create_default   
> > hide_mouse=VisionEgg.config.VISIONEGG_HIDE_MOUSE)
> >   File "/usr/lib/python2.3/site-packages/VisionEgg/Core.py", line
> >   241,
> > in __init__    pygame.display.set_mode(self.size, flags, try_bpp )
> > pygame.error: Couldn't find matching GLX visual
> >
> > System: Debian Testing, output of  check-config.py:
> >
> > check-config.py for Vision Egg 0.9.5a2.
> > [2003/09/19 03:54:27 CVS revision 1.19]
> > Beginning configuration check.
> > VisionEgg version 0.9.9
> >
> > VisionEgg modules in /usr/lib/python2.3/site-packages/VisionEgg
> > VisionEgg system directory /usr/VisionEgg
> > VisionEgg user directory /root/VisionEgg
> >
> > Config file found at /usr/VisionEgg/VisionEgg.cfg
> >
> > SYNCLYNC_PRESENT = 0
> > VISIONEGG_ALWAYS_START_LOGGING = 0
> > VISIONEGG_CONFIG_FILE = /usr/VisionEgg/VisionEgg.cfg
> > VISIONEGG_FRAMELESS_WINDOW = 0
> > VISIONEGG_FULLSCREEN = 0
> > VISIONEGG_GAMMA_FILE = custom.ve_gamma
> > VISIONEGG_GAMMA_INVERT_BLUE = 2.1
> > VISIONEGG_GAMMA_INVERT_GREEN = 2.1
> > VISIONEGG_GAMMA_INVERT_RED = 2.1
> > VISIONEGG_GAMMA_SOURCE = none
> > VISIONEGG_GUI_INIT = 1
> > VISIONEGG_GUI_ON_ERROR = 1
> > VISIONEGG_HIDE_MOUSE = 1
> > VISIONEGG_LOG_FILE = VisionEgg.log
> > VISIONEGG_LOG_TO_STDERR = 1
> > VISIONEGG_MAXPRIORITY = 0
> > VISIONEGG_MONITOR_REFRESH_HZ = 60.0
> > VISIONEGG_PREFERRED_BPP = 32
> > VISIONEGG_REQUEST_ALPHA_BITS = 0
> > VISIONEGG_REQUEST_BLUE_BITS = 8
> > VISIONEGG_REQUEST_GREEN_BITS = 8
> > VISIONEGG_REQUEST_RED_BITS = 8
> > VISIONEGG_SCREEN_H = 480
> > VISIONEGG_SCREEN_W = 640
> > VISIONEGG_SYNC_SWAP = 1
> > VISIONEGG_SYSTEM_DIR = /usr/VisionEgg
> > VISIONEGG_TKINTER_OK = 1
> > VISIONEGG_USER_DIR = /root/VisionEgg
> >
> > Version checklist:
> >
> > Python version 2.3.3 (OK)
> > extra Python info: (#2, Feb 24 2004, 09:29:20) [GCC 3.3.3 (Debian)]
> > Numeric version 23.1 (OK)
> > PyOpenGL (package "OpenGL") version 1.5.6b1 (Untested)
> > pygame version 1.6 (OK)
> > Python Imaging Library (package "Image") version 1.1.4 (OK)
> >
> > Optional module(s):
> >
> > Pyro version 3.3 (OK)
> >
> > Thanks for any hints, Sven
> > ======================================
> > The Vision Egg mailing list
> > Archives: //www.freelists.org/archives/visionegg
> > Website: http://www.visionegg.org/mailinglist.html
> 
======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: