| Reference | Downloads | Github

OpenGL drivers error


I recently decided to take a few days annual leave only to return to discover my code now no longer runs on my Windows 7 machines.

I have started getting the well documented OpenGlL drivers error (something new to me) when running v.1.82.0.

Short of having to buy video cards for these machines is there a work around such as installing a previous version that wont throw this error.

My code runs fine under Windows 10 but my office and lab machines are Windows 7.

I have the most up to date drivers for my Intel G41 chipset.

Mild panic due to impending start of term - so any help gratefully received,



Could you post the actual error please?


Sorry Jon here is an example
File “U:\general-17\teaching-17-18\Pinp-17\PsychoPy\”, line 158, in show_suc
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.82.00-py2.7.egg\psychopy\visual\”, line 583, in draw
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pyglet\gl\”, line 95, in call
result = self.func(*args, **kwargs)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pyglet\gl\”, line 63, in MissingFunction
raise MissingFunctionException(name, requires, suggestions) glActiveTexture is not exported by the available OpenGL driver.

Thanks Philip.



It seems you are using the default Windows graphics driver which is stuck at the OpenGL 1.1 spec. glActiveTexture is part of the core profile as of 2.0. You need to check for supplemental OpenGL drivers for your chipset. I’m not sure, but it might be provided through a separate Intel GMA driver.


I believe I had the same issue in the past. For me the default windows drivers were the issue and not Psychopy. I was able to solve it by downloading and installing the manufacturer provided drivers for my video card (e.g., drivers from ATI’s website or NVidia’s website AND NOT the ones that windows gets as part of the update process or generic device install process).

Hope this helps


Might be worth adding some GL version detection on Window initialization. Something like …

gl_info = self.winHandle.context.get_info()
if not gl_info.have_version(2,0,0):
    raise RuntimeError(
        "PsychoPy requires OpenGL 2.0+, exiting.")


Thanks I havent tried alternative drivers I will do. I am puzzled as to why this just started happening and whether it was something about upgrading to 82. In the meantime I managed to get a graphics card and corresponding driver and this works fine. (Still need to fix my other PCs though!)


Hi Philip, I’m also having the same issue as this. Was the problem resolved by changing drivers? This is my error message:

Traceback (most recent call last):
  File "C:\Users\Bliss-Moreau-Admin\Desktop\dotprobe\", line 89, in <module>
    texRes=128, interpolate=True, depth=0.0)
  File "C:\Users\Bliss-Moreau-Admin\Miniconda3\envs\psypy3\lib\site-packages\psychopy\visual\", line 107, in __init__
    self._updateList()  # ie refresh display list
  File "C:\Users\Bliss-Moreau-Admin\Miniconda3\envs\psypy3\lib\site-packages\psychopy\visual\", line 1184, in _updateList
  File "C:\Users\Bliss-Moreau-Admin\Miniconda3\envs\psypy3\lib\site-packages\psychopy\visual\", line 201, in _updateListNoShaders
  File "C:\Users\Bliss-Moreau-Admin\Miniconda3\envs\psypy3\lib\site-packages\pyglet\gl\", line 106, in __call__
    return self.func(*args, **kwargs)
  File "C:\Users\Bliss-Moreau-Admin\Miniconda3\envs\psypy3\lib\site-packages\pyglet\gl\", line 63, in MissingFunction
    raise MissingFunctionException(name, requires, suggestions) glActiveTextureARB is not exported by the available OpenGL driver.


Hi Anthony

Its been a while since I looked at this but I am pretty sure I hit a brick wall. I suspect the answer is to upgrade to Windows 10 and use the current version of PsychoPy (something I still need to do on my lab PCs).
I nonetheless find PsychoPy to be a bit of a moving target and do worry about how unpredictably the newer updates render older working code obsolete. Hey ho…



Hi @philip.quinlan, PsychoPy is designed to be backwards compatible, so your older code should work on newer versions. Also, there is now an option to choose the version of PsychoPy you would like to use to run your experiment. So even with the latest updates, you can easily roll back to a previous version using Experiment Settings > “Use PsychoPy version”. :slight_smile:


Philip, to clarify a little, this error message is definitely not to do with PsychoPy updating. The need for a graphics card that supports glActiveTextureARB has been there since PsychoPy’s first releases 15 years ago! If this was working and then stopped it must be due to a change on your system, where the driver was updated/reverted to a Microsoft one and that didn’t contain the necessary function.

What puzzles me is why any graphics card would fail to support that function though. One thing that springs to mind is whether we can dodge this particular error though… there was a time when lots of graphics cards supported glActiveTextureARB but not glActiveTexture (the former was an “extension” to OpenGL that then becamse standard). But I wonder whether some drivers might now be doing the opposite, supporting glActiveTexture but NOT glActiveTextureARB.

That could lead to Philip’s computer “updating” its graphics drivers and then breaking?!

@mdc do you have any insight here?


ARB usually means the extension or function is under review to be included into the main OpenGL spec. Graphics vendors are free to drop those extensions and functions once they are approved, and are not interested in providing legacy support.