Is anyone using the same Psychopy version and Ubuntu system as I do? I am currently facing a stimulus display problem where the moving stimulus keeps jerking subtly back and forth during the course of its movement. This doesn’t happen on MATLAB on the same computer with the same kind of stimulus.
I have already set waitBlanking=False since I’m using a Linux system. I have tried updating graphics drivers as well as the latest Ubuntu updates but nothing seems to be fixing this issue.
I have also ran the timeByFrames.py script and the computer isn’t dropping any frames and is running with the correct refresh interval.
A simple script like this is enough to create the problem:-
from psychopy import visual, core
pos_x = -550
pos_y = 0
speed = 2.5
rect_width=1
rect_height=500
win =visual.Window(fullscr=True, screen = 0, allowGUI=False,
bitsMode=None, units='pix', waitBlanking = False, winType='pyglet', monitor = 'testMonitor')
rect = visual.Rect(win, width=rect_width, height=rect_height, lineColor = (1,1,1), fillColor="white", pos = (pos_x,pos_y))
for x in range(500):
pos_x = pos_x + speed
rect.pos= (pos_x,pos_y)
rect.draw()
win.flip()