dual screen

已查看 12 次
跳至第一个未读帖子

Christophe Pallier

未读,
2018年3月22日 12:12:492018/3/22
收件人 expyriment-users
Hello

Always very happy with exypriment. I've just programmed a general purpose audio visual stimulation script (avaliable at https://github.com/chrplr/audiovis for those interested)

Now, I intended to use it in a MRI setting with a dual screen setup (extended screen only, as the system does not work well with cloned screens because of differences in frequency and resolution of the screen in the MRI room and the one in the control room)

My understanding is that, as the current version of pygame does not handle fullscreen on a second screen, expyriment has the same limitation, right?

I wonder if there exists plans to use PySDL2 one day?
I realize that porting to pysdl2 or another library would involve a large amount of work, but are there any plans to move expyriment to  a newer library? Is there any design issue that would prevent that or make it horribly difficult while keeping backward compatibility?

Best,


Christophe Pallier


Christophe Pallier

未读,
2018年3月22日 12:25:192018/3/22
收件人 expyriment-users
Maybe I could run in devvelop mode and set the size of the windows to fill the second screen.

But I do not see how to set the size in  expyriment.control.initialize or in expyriment.control.set_develop_mod

Christophe Pallier

未读,
2018年3月22日 13:20:562018/3/22
收件人 expyriment-users
found expyriment.control.defaults.window_size

Oliver Lindemann

未读,
2018年3月23日 05:55:072018/3/23
收件人 expyrime...@googlegroups.com
Dear Christophe,

yes, you can change the windows size default value (before you initialize the experiment). see also: http://docs.expyriment.org/expyriment.control.defaults.html

Unfortunately, Expyriment is currently not supporting dual screen setups. The major reason is in indeed PyGame, but also our philosophy that the two central objects of Experiment are stability and a fast and time accurate presentation and thus a stable synchronization of the presentations with the refresh rates. This becomes difficult and fuzzy in dual screen mode.

But there would be potential solutions, such as PySDL2. In the long run, we would love to get rid of the PyGame. But that is not easy. Unfortunately, we have only limited amount of time to work on Expyriment and it involves a major rewrite. With the last version, we have now finished the transition to a fully Python2/Python3 compatible environment. We are happy about that, because it ensures the future of Expyriment. The next steps in the evolution of Expyriment can now be taken....if there is time for that...

Thanks for your feedback and greetings,
Oliver
--
You received this message because you are subscribed to the Google Groups "expyriment-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-use...@googlegroups.com.
To post to this group, send email to expyrime...@googlegroups.com.
Visit this group at https://groups.google.com/group/expyriment-users.
For more options, visit https://groups.google.com/d/optout.

Christophe Pallier

未读,
2018年3月26日 04:42:232018/3/26
收件人 expyriment-users
Thank you!

It works: I can indeed open a window that has the same size as the second screen.
回复全部
回复作者
转发
0 个新帖子