A few notes, unfortunately none that directly address your issue:
- As far as I can tell, there are no flags/settings to increase the verbosity of PsychHID, even in the source for Psychtoolbox. Debugging might involve tools like gdb.
- The
XInitThreads()
bit should be harmless-- it’s just part of making sure the host application is set up to do proper multithreading. - I think the install instructions are a little out of date. Psychtoolbox manylinux2010 wheels have been on PyPI since Feb 2020 (https://pypi.org/project/psychtoolbox/#files), and extra dependencies are bundled with the wheel (i.e.
pip install psychtoolbox
should be sufficient?). It would be good to know if that isn’t the case, though. - Unfortunately, I can’t reproduce this issue on my Ubuntu 18.04 laptop with the PyPI wheel + Python 3.7/3.8. I may have the Octave flavor of Psychtoolbox installed though, so not the cleanest testing environment…
- Do other parts of psychtoolbox work, e.g.
PsychPortAudio
&GetSecs()/WaitSecs()
? There are some small demos here: https://github.com/Psychtoolbox-3/Psychtoolbox-3/tree/master/PsychPython/demos