-
Notifications
You must be signed in to change notification settings - Fork 15
Setting up a display computer for tasks
John Pearson edited this page Aug 15, 2016
·
7 revisions
Notes on what I did to get the new display computer up and running:
- Disable fast startup on Windows (link)
- Installed Ubuntu from a flash drive
- Under Settings > Appearance, make sure screen never switches off, sleeps, or goes to lock mode automatically.
- Set up Git
- required
apt-get install git
- I generated an ssh key for Pearsonlab-Bot
- Use git to clone task repositories
-
Note: be sure to clean up any hidden files in the
movies
subdirectory of the tasks. Files like._some_movie_name.mp4
are not real movie files, but some tasks try to read these and will crash.
This was an unexpected pain.
- I followed the directions for Ubuntu
- But the NeuroDebian package did not instal MoviePy so...
pip install moviepy
- But the stim movies didn't play so...
- open said movies from default movie player, which prompted me to install gstreamer plugin
- At some point in this sequence, I had to go into settings and change the audio library from
['pyo', 'pygame']
to['pygame', 'pyo']
. Something about a server not booted error.
This issue should be fixed in the next release of PsychoPy (1.84.0)
- I kept getting a funky error about not being able to import
pyglet.base.input
. I think this is because thepyglet
installed by NeuroDebian is too new, and that submodule no longer exists. - So I had to go in and comment out this line
- comments say that the window and joystick backend should match, but I had no problem using a pyglet window