Matching Windows screen numbers
If you fill out the information below, we will be able to help you better. 😎 You can also consider asking SigmundAI.eu, our AI assistant with expert knowledge of OpenSesame.
OpenSesame version
4.0.36
If you are running an online experiment, also provide the version of OSWeb, which is shown when you launch an experiment in a browser. We regularly fix bugs, so always make sure that you are running the latest version of OpenSesame and other relevant packages.
Operating system
Windows 11
If you are running an online experiment, also provide the browser version.
Backend
Psycho
You can find the backend under "General Properties / Run experiment".
Expected behavior
The item "Screen" in the Back-end settings should match the actual number of the screen as defined in Windows dispay parameters.
Clearly explain what you would like to happen.
Actual behavior (what goes wrong)
In a 2-screen setting, the display of OpenSesame takes place on the other screen. For instance, if the screen parameter of the back-end setting of OpenSesame is 1, the display appears on screen number 2 as defined by Windows. This behavior can vary from one computer to another, which makes it difficult to move an experiment between computers.
Clearly explain what happens, and in what way this deviates from what you would like to happen.
Error messages (if any)
No error message
Copy-paste the full error message from the console output at the bottom of the OpenSesame window (for the desktop version) or from the browser console (for OSWeb). You can also attach a screenshot.
What did you try already?
I tryed all possible issues, with no success.
Did you already reinstall OpenSesame, change the backend, check for similar issues on the forum, ask SigmundAI, or try anything else.?
Experiment file (optional)
Consider attaching attaching your .osexp file. If you do not want to share your experiment file, you can also attach a minimal version of the experiment that illustrates the issue.
Comments
Hi @gerhono
It looks like a similar issue has been discussed here: [open] How to select monitor for displaying experiment? — Forum. You might find useful comments in there.
From what I understand, PsychoPy uses 0-based indexing for screens — meaning that the primary monitor is screen 0, the secondary monitor is screen 1, and so on. You can see this in their documentation for the screen parameter of the Window class:
So you might want to try setting this screen parameter to 0 and see if that solves the problem?
Now the fact that this behaviour varies between computers may be due to differences in hardware configurations and the way the operating system numbers the screens. In practice, this means that you'll probably need to check the screen numbering for each computer you use (in your Windows parameters) and adjust it if necessary.
Hope this helps,
Claire
Check out SigmundAI.eu for our OpenSesame AI assistant! 🤖
Hello Claire,
Thank you for your fast reply. That information makes sense, I have tried to set the display of the back-end to different values for a two-screen setup with the following Windows numbering: 2 is the control screen and 1 the expected display screen for the subject of the experiment. The results :
0 -> display on screen 2 - not correct
1 -> display on screen 1 - OK
2 and upper values -> display on screen 2 - not correct
It means that if I want to display on Windows screen 2, I must set the screen number in the back-end to 1.
Hello Claire,
I have to correct my previous post. You probably noticed that the last line is not correct because the goal is to display on screen 1. The error comes from the fact that the Windows screen numbering changes from one session to another !! It is probably related to the special setup of display that I use, going through a video mixer. So I still have to investigate and try to find by myself a way to get out of this nighmare ...
Thank you for your help.
Gérard