Dear PTB Team,
We have the latest licensed PTB Version (3.0.22.3) installed on Ubuntu 24.04.4 LTS with Matlab 2025b.
The CPU is a AMD Ryzen 9 9950X x 32 and the graphics card is a AMD Radeon RX 9070 XT.
Nevertheless, we are experiencing issues with the use of „pageflipping“ which may result in unreliable visual timing.
Using the DriftDemo for example -
the error messages are:
PTB-INFO: Psychtoolbox license is active on this machine for 358 more days until Sat Aug 14 16:40:55 2027
PTB-INFO: Up to 119 more days of offline use without internet connection, or offline reactivation, are possible until Sat Dec 19 12:36:34 2026
PTB-INFO: The support authentication token would be: 01a023f1-c27d-7f90-a69c-717da2d787c9
…
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit Intel (Version 3.0.22 - Build date: Aug 10 2026).
PTB-INFO: OS support status: Linux 7.0.0-28-generic Supported.
…
PTB-INFO: OpenML OML_sync_control implementation with problematic glXGetSyncValuesOML() function detected. Enabling workaround for ok performance.
PTB-WARNING: Flip 3 for window 10 didn’t use pageflipping for flip. Visual presentation timing and timestamps are likely unreliable!
PTB-WARNING: Something is misconfigured on your system, otherwise pageflipping would have been used by the graphics driver for reliable timing.
PTB-WARNING: However, if you see this message only sporadically, this might be caused by onscreen popup messages a la “You have new mail!” or
PTB-WARNING: “New updates are ready to install” etc. Being low on free system memory can cause this as well, especially on integrated graphics chips.
PTB-WARNING: Read the Linux specific section of ‘help SyncTrouble’ for some other common causes and fixes for this problem.
… until Flip 12, then…
WARNING: VBL Calibration run No. 1 failed. Retrying…
PTB-WARNING: Flip 13 for window 10 didn’t use pageflipping for flip. Visual presentation timing and timestamps are likely unreliable!
PTB-WARNING: Something is misconfigured on your system, otherwise pageflipping would have been used by the graphics driver for reliable timing.
PTB-WARNING: However, if you see this message only sporadically, this might be caused by onscreen popup messages a la “You have new mail!” or
PTB-WARNING: “New updates are ready to install” etc. Being low on free system memory can cause this as well, especially on integrated graphics chips.
PTB-WARNING: Read the Linux specific section of ‘help SyncTrouble’ for some other common causes and fixes for this problem.
… until Flip 19, then…
WARNING: VBL Calibration run No. 2 failed. Retrying…
WARNING: Will enable VBL busywait-workaround before trying final VBL Calibration run No. 3.
WARNING: This will hopefully work-around graphics driver bugs of the GPU sync-to-retrace mechanism. Cross your fingers!
PTB-WARNING: Flip 20 for window 10 didn’t use pageflipping for flip. Visual presentation timing and timestamps are likely unreliable!
PTB-WARNING: Something is misconfigured on your system, otherwise pageflipping would have been used by the graphics driver for reliable timing.
PTB-WARNING: However, if you see this message only sporadically, this might be caused by onscreen popup messages a la “You have new mail!” or
PTB-WARNING: “New updates are ready to install” etc. Being low on free system memory can cause this as well, especially on integrated graphics chips.
PTB-WARNING: Read the Linux specific section of ‘help SyncTrouble’ for some other common causes and fixes for this problem.
… until Flip 26 …
PTB-WARNING: Flip 26 for window 10 didn’t use pageflipping for flip. Visual presentation timing and timestamps are likely unreliable!
PTB-WARNING: Something is misconfigured on your system, otherwise pageflipping would have been used by the graphics driver for reliable timing.
PTB-WARNING: However, if you see this message only sporadically, this might be caused by onscreen popup messages a la “You have new mail!” or
PTB-WARNING: “New updates are ready to install” etc. Being low on free system memory can cause this as well, especially on integrated graphics chips.
PTB-WARNING: Read the Linux specific section of ‘help SyncTrouble’ for some other common causes and fixes for this problem.
PTB-WARNING: Couldn’t even collect one single valid flip interval sample! Sanity range checks failed!
PTB-WARNING: Could be a system bug, or a temporary timing problem. Retrying the procedure might help if
PTB-WARNING: the latter is the culprit.
PTB-INFO: OpenGL-Renderer is AMD :: AMD Radeon RX 9070 XT (radeonsi, gfx1201, LLVM 20.1.2, DRM 3.64, 7.0.0-28-generic) :: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.2
PTB-INFO: Screen 1 : Window 10 : VBL startline = 768 : VBL Endline = -1
PTB-INFO: Will try to use OS-Builtin OpenML sync control support for accurate Flip timestamping.
PTB-INFO: Reported monitor refresh interval from operating system = 16.689197 ms [59.918999 Hz].
WARNING: Couldn’t compute a reliable estimate of monitor refresh interval! Trouble with VBL syncing?!?
WARNING: Mismatch between measured monitor refresh interval and interval reported by operating system.
This indicates massive problems with VBL sync.
----- ! PTB - ERROR: SYNCHRONIZATION FAILURE ! -----
One or more internal checks (see Warnings above) indicate that synchronization
of Psychtoolbox to the vertical retrace (VBL) is not working on your setup.
This will seriously impair proper stimulus presentation and stimulus presentation timing!
Please read ‘help SyncTrouble’ for information about how to solve or work-around the problem.
You can force Psychtoolbox to continue, despite the severe problems, by adding the command
Screen(‘Preference’, ‘SkipSyncTests’, 1); at the top of your script, if you really know what you are doing.
——————————————————————————————————————————————————————————————————
Do you have any ideas what to try next to solve the timing problems?
Best regards,
Till