Error PsychoPy v2021.2.3 - inappropriate OpenGL version

Dear PsychoPy experts,

I have OS Win 10, PsychoPy version v2021.2.3, standard standalone version.

I try to project a probe; the probe consist of the starting session, then it has a loop; within the loop I have defined an excel file, where it has stored the images which will be read. When I try to run it, it opens the window where the “session” and “participant” names can be saved; after I insert those info, the monitor turns gray, and then the software stops, without doing anything else, and just gives me the following error message:


Generating PsychoPy script…

Running: C:\Users\NNL\Desktop\REN\Sci-Rel\psychopy_SciRel\Proba_SciRel_NRE_1st_run_5Nov2021_lastrun.py

1399.5468 INFO Loaded monitor calibration from [‘2021_11_05 14:33’]
pygame 1.9.6
Hello from the pygame community. Contribute - pygame wiki
53.9475 WARNING Trying to use a framebuffer object but GL_EXT_framebuffer_object is not supported. Disabled
53.9475 WARNING Trying to use a framebuffer object but GL_ARB_texture_float is not supported. Disabling
56.1693 WARNING Couldn’t measure a consistent frame rate.

  • Is your graphics card set to sync to vertical blank?
  • Are you running other processes on your computer?

56.9238 WARNING Couldn’t measure a consistent frame rate.

  • Is your graphics card set to sync to vertical blank?
  • Are you running other processes on your computer?

Traceback (most recent call last):
File “C:\Users\NNL\Desktop\REN\Sci-Rel\psychopy_SciRel\Proba_SciRel_NRE_1st_run_5Nov2021_lastrun.py”, line 106, in
texRes=128.0, interpolate=True, depth=0.0)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\image.py”, line 106, in init
self._updateList() # ie refresh display list
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\basevisual.py”, line 1465, in _updateList
self._updateListNoShaders()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\image.py”, line 200, in _updateListNoShaders
GL.glActiveTexture(GL.GL_TEXTURE1)
File “C:\Program Files\PsychoPy\lib\site-packages\pyglet\gl\lib_wgl.py”, line 107, in call
return self.func(*args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\pyglet\gl\lib.py”, line 64, in MissingFunction
raise MissingFunctionException(name, requires, suggestions)
pyglet.gl.lib.MissingFunctionException: glActiveTexture is not exported by the available OpenGL driver.

Experiment ended.

In order to see what is working wrong, I checked that error ( glActiveTexture is not exported by the available OpenGL driver) on google, and found that the OpenGl should be at least 2.0 version. Using the OpenGL Extensions Viewer 6.3.2.0, I can see that the OpenGL is version 3.1. However, when I open the System Information window from PsychoPy (Help/System Information), I see that within the OpenGL Info session is mention that OpenGL version is 1.1.0., like here:



PsychoPy 2021.2.3

Paths to files on the system:
userPrefsFile: C:\Users\NNL\AppData\Roaming\psychopy3\userPrefs.cfg
appDataFile: C:\Users\NNL\AppData\Roaming\psychopy3\appData.cfg
demos: C:\Program Files\PsychoPy\lib\site-packages\psychopy\demos
appFile: C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\PsychoPy.py

System Info:
Operating System: Windows-10-10.0.19041-SP0
Processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
CPU freq (MHz): 3300.0
CPU cores: 2 (physical), 4 (logical)
Installed memory: 4085395456 (Total), 443944960 (Available)

Python info:
Executable path: C:\Program Files\PsychoPy\pythonw.exe
Version: 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)]
(Selected) Installed Packages:
numpy (1.18.1)
scipy (1.4.1)
matplotlib (3.3.0)
pyglet (1.4.11)
PyGLFW [not installed]
pyo 0.9.7
psychtoolbox (3.0.17.8)
wxPython (4.1.1)

OpenGL Info:
Vendor: Microsoft Corporation
Rendering engine: GDI Generic
OpenGL version: 1.1.0
Shaders supported: False
(Selected) Extensions:
GL_ARB_multitexture: False
GL_EXT_framebuffer_object: False
GL_ARB_fragment_program: False
GL_ARB_shader_objects: False
GL_ARB_vertex_shader: False
GL_ARB_texture_non_power_of_two: False
GL_ARB_texture_float: False
GL_STEREO: False
max vertices in vertex array: 256


I don’t know why PsychoPy sees a different OpenGL version. Could you please let me know what I can do to fix this error?

Looking forward to hearing from you, and thank you in advance for your help!

Yours sincerely,

Ruben Nechifor.

This error is usually caused by the lack of driver support for OpenGL. By default, Windows ships with super basic OpenGL 1.1 support, however PsychoPy requires at least 2.1. Make sure you have the most recent graphics drivers installed on your system to avoid this issue.

If the issue persists, ensure that your video output cable is connected to a port which a supported graphics device is linked to.

I think it is not a Windows driver problem, since the OpenGL Extensions tells that I have the OpenGL version 3.1. I don’t know why PsychoPy sees it only as a version 1.1?

I tried to install manually another/updated driver from the manufacturer page, not what Windows gives me by default, but I already have the latest driver for the hardware…

I will try to see if your suggestion related with the port used for the video output cable will fix the issue, but it looked perfect to me. Other than that I don’t know what would be a solution.

There is not a problem related with the video output cable. I get this error on a Lenovo ThinkCentre M92z All-in-One (ThinkCentre) - Type 3318. PsychoPy still sees the OpenGL as 1.1 version, while the OpenGL Extensions Viewer 6.3.2.0, sees the OpenGL as version 3.1. Do you have some suggestion/solution for this?
Thanks!
Ruben.