Dear Mario and list,
is there possibly an upper limit for when timestamps used for Screen('Flip', win, when) on (somewhat older) Intel GPUs? When using timestamps more than about 17 seconds in the future we consistently perceive the following error on two different machines:
PTB-ERROR: OpenML timestamping reports that flip completed before its requested target time [Target no earlier than 1531396898.530205 secs, completed at 1531396881.867865 secs]!
PTB-ERROR: Something is wrong with swap scheduling, a misconfiguration or potential graphics driver bug!Check your system setup!
PTB-ERROR: Switching to alternative fallback scheduling method.
This happens on two Linux computers (one PC with Ubuntu 16.04, Sandybridge CPU/GPU, kernel 4.13.0-26-lowlatency, Mesa 17.2.4, PTB build date Oct 3, 2017, Octave 4.0; one laptop with Ubuntu 18.04, Ivybridge CPU/GPU, kernel 4.15.0-23-lowlatency, Mesa 18.0.5, PTB build date Apr 6, 2018, Octave 4.2). It does not happen on a PC with very similar specs but with Nvidia graphics card and Nouveau driver.
Minimal code to reproduce the problem is:
winptr = Screen( 'OpenWindow', 0 )
t0 = Screen( 'Flip', winptr )
t1 = Screen( 'Flip', winptr, t0 + 16.679 )
sca
If I reduce the 16.679 s delay by one ms to 16.678 s no error is perceived (on the laptop; exact limit not tested on the other PC, thus, might be machine specific). The behavior is consistent across reboots and Octave restarts. It did not find any previous mentions of this error on the mailing list. I hope I didn't miss anything obvious.
Any idea? Thank you!
Andreas
is there possibly an upper limit for when timestamps used for Screen('Flip', win, when) on (somewhat older) Intel GPUs? When using timestamps more than about 17 seconds in the future we consistently perceive the following error on two different machines:
PTB-ERROR: OpenML timestamping reports that flip completed before its requested target time [Target no earlier than 1531396898.530205 secs, completed at 1531396881.867865 secs]!
PTB-ERROR: Something is wrong with swap scheduling, a misconfiguration or potential graphics driver bug!Check your system setup!
PTB-ERROR: Switching to alternative fallback scheduling method.
This happens on two Linux computers (one PC with Ubuntu 16.04, Sandybridge CPU/GPU, kernel 4.13.0-26-lowlatency, Mesa 17.2.4, PTB build date Oct 3, 2017, Octave 4.0; one laptop with Ubuntu 18.04, Ivybridge CPU/GPU, kernel 4.15.0-23-lowlatency, Mesa 18.0.5, PTB build date Apr 6, 2018, Octave 4.2). It does not happen on a PC with very similar specs but with Nvidia graphics card and Nouveau driver.
Minimal code to reproduce the problem is:
winptr = Screen( 'OpenWindow', 0 )
t0 = Screen( 'Flip', winptr )
t1 = Screen( 'Flip', winptr, t0 + 16.679 )
sca
If I reduce the 16.679 s delay by one ms to 16.678 s no error is perceived (on the laptop; exact limit not tested on the other PC, thus, might be machine specific). The behavior is consistent across reboots and Octave restarts. It did not find any previous mentions of this error on the mailing list. I hope I didn't miss anything obvious.
Any idea? Thank you!
Andreas