Session freezes
Hi everyone,
I've been using OpenSesame now for a couple of studies and it's been working wonderfully so far. The computer I'm using doesn't get updated often because of the lack of internet connection, but recently I updated to the latest version and it happens quite often that the software freezes mid session. Responses are collected using 'mouse response' items, but participants are working on a touchscreen. However, in the past this has never caused any issues. I'm sharing one of the training files here:
I'm pasting below some of messages I receive when starting the session. At the bottom I'm also adding a warning message I receive when the session freezes.
I've been googling + chatgpt-ing around but I haven't found the solution yet. Hoping someone here has some insights!
Many thanks in advance,
Daan
---------- messages when starting session -----------
C:\Program Files (x86)\OpenSesame>python.exe Lib\site-packages\opensesame.py "directory"
[2024-04-09 21:25:58,079:qtopensesame:492:WARNING] no translation file found for [D
[2024-04-09 21:25:58,268:qtplugin_manager:68:INFO] dynamically creating plugin gui class for notepad
qt.webenginecontext:
GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes
Init Parameters:
* application-name python
* browser-subprocess-path C:\Program Files (x86)\OpenSesame\Lib\site-packages\PyQt6\Qt6\bin\QtWebEngineProcess.exe
* create-default-gl-context
* disable-es3-gl-context
* disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-speech-api
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-threaded-compositing
* in-process-gpu
* use-gl desktop
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[2024-04-09 21:26:01,036:qtplugin_manager:68:INFO] dynamically creating plugin gui class for repeat_cycle
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
using conda for updater
----------- warning message when freeze occurs -----------
[2024-04-02 13:04:34,075:process:127:INFO] Starting experiment as ExperimentProcess-7
<frozen importlib._bootstrap>:241: RuntimeWarning: Your system is avx2 capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation.
Comments
Hi @daanw ,
I suspect that what you label as the warning message always appears in the console when you start the experiment, and then the freezing actually happens some time later. Is that correct? I don't think these messages are directly related to the freezing behavior.
It's difficult to say why the experiment freezes, though.
One option is that the experiment doesn't really freeze, but rather that the experiment window (which is like a window even when it is fullscreen) loses focus and therefore doesn't respond to touches anymore. If that's the case, you could use Alt+Tab to refocus the window.
Does the freezing also happen when you run the experiment in a window?
You could also try selecting another back-end in the experiment properties ("Run experiment"). Right now you have selected the xpyriment backend, but you could for example try the psycho or legacy backends.
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!