[solved] opensesamerun.exe -f gives OpenGL error (runs OK in a window)
Why would an experiment pop a window containing the error OpenGL mode is not supported on this machine! when run in fullscreen mode but not in a window?
Windows 7 batch file:
"c:\Program Files (x86)\OpenSesame\opensesamerun.exe" "c:\experiment\experiment.opensesame.tar.gz" -f -s 0 -l "c:\experiment\0.csv"
Debug output:
Traceback (most recent call last):
File "opensesamerun", line 93, in <module>
File "dist\libopensesame\experiment.py", line 338, in run
File "dist\libopensesame\experiment.py", line 723, in init_display
File "dist\openexp\canvas.py", line 66, in init_display
File "dist\openexp\_canvas\xpyriment.py", line 320, in init_display
File "dist\expyriment\control\_experiment_control.py", line 393, in initialize
File "dist\expyriment\io\_screen.py", line 96, in __init__
RuntimeError: OpenGL mode is not supported on this machine!
Traceback (most recent call last):
Comments
Resolved. Are there any timing consequences associated with this?
GUI
Back-end settings > Settings for xpyriment > Use OpenGL: nosource
It probably worked in the GUI because you ran the experiment in a window, in case which case the
xpyrimentbackend automatically disables OpenGL.And yes, there are timing issues involved in disabling OpenGL, although this needn't necessarily be problematic. Without OpenGL, the xpyriment will be comparable to the legacy backend. You can find out more about that here:
Check out SigmundAI.eu for our OpenSesame AI assistant!