Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] opensesamerun.exe -f gives OpenGL error (runs OK in a window)

edited June 2015 in OpenSesame

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

  • edited 10:07PM

    Resolved. Are there any timing consequences associated with this?

    GUI

    Back-end settings > Settings for xpyriment > Use OpenGL: no

    source

    set expyriment_opengl "no"
    
  • edited 10:07PM

    It probably worked in the GUI because you ran the experiment in a window, in case which case the xpyriment backend 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:

Sign In or Register to comment.