I’ve been playing around with installing psychopy on the raspberry-pi 4b (running raspbian buster). My goal is to try out the timing test and show some simple stimuli. I am facing errors which leads to a Segmentation fault. I am trying to understand what that is about
- raspberry pi 4b with raspbian buster
- updated to latest software
- installed psychopy [see https://github.com/balajisriram/BCore/blob/raspberry/setup_pi.sh I manually installed the dependencies for psychopy and then pip installed psychopy (v 2020.1.0) ]
Importing psychopy works fine
from psychopy.visual.window import Window as w #ok
However, I get a Segmentation fault when I actually open a window:
w() # open a psychopy window results in **Segmentation fault** no error msg
I have been debugging this issue and I have narrowed it down to an error in
Window._setupShaders() called by
Window._setupGL() called by
More specifically, it seems to be failing
gltools.linkProgramObjectARB(prog) for a prog value of 55. gltools seems to call
pyglet.GL.glLinkProgramARB. I have followed the error to pyglet.
I am curious if anyone else has faced this issue. What could be the cause of the error?
Thanks for your time