Getting error "wglChoosePixelFormatARB is not exported by the available OpenGL driver. ARB_pixel_format is required for this functionality."

705 views
Skip to first unread message

Fabian Achammer

unread,
Mar 30, 2015, 9:47:41 AM3/30/15
to pyglet...@googlegroups.com
Hi there,

I just started using pyglet and came across this error when creating a new Window:

Traceback (most recent call last):
 
File "<pyshell#7>", line 1, in <module>
    window
= pyglet.window.Window()
 
File "C:\Python34\lib\site-packages\pyglet\window\win32\__init__.py", line 131, in __init__
   
super(Win32Window, self).__init__(*args, **kwargs)
 
File "C:\Python34\lib\site-packages\pyglet\window\__init__.py", line 504, in __init__
    config
= screen.get_best_config(template_config)
 
File "C:\Python34\lib\site-packages\pyglet\canvas\base.py", line 161, in get_best_config
    configs
= self.get_matching_configs(template)
 
File "C:\Python34\lib\site-packages\pyglet\canvas\win32.py", line 33, in get_matching_configs
    configs
= template.match(canvas)
 
File "C:\Python34\lib\site-packages\pyglet\gl\win32.py", line 25, in match
   
return self._get_arb_pixel_format_matching_configs(canvas)
 
File "C:\Python34\lib\site-packages\pyglet\gl\win32.py", line 98, in _get_arb_pixel_format_matching_configs
    nformats
, pformats, nformats)
 
File "C:\Python34\lib\site-packages\pyglet\gl\lib_wgl.py", line 82, in __call__
   
return self.func(*args, **kwargs)
 
File "C:\Python34\lib\site-packages\pyglet\gl\lib.py", line 62, in MissingFunction
   
raise MissingFunctionException(name, requires, suggestions)
pyglet
.gl.lib.MissingFunctionException: wglChoosePixelFormatARB is not exported by the available OpenGL driver.  ARB_pixel_format is required for this functionality.


It seems like my graphics card does not support the wglChoosePixelFormatARB function. I'm on Windows and my graphics card is a NVIDIA Quadro FX 880M. I also just installed the latest graphics card driver.

Is there anything I can do to fix or work around this issue?

Best regards
Reply all
Reply to author
Forward
0 new messages