I basically tried everything I can on the “help SyncTrouble” and it still doesn’t work. So I am asking for help here to see if anyone knows what I can do.
The problem is simple - I connect my laptop to an external monitor, run Psychtoolbox with sample script which will display a fixation cross. and then, I get this warning:
WARNING: Couldn’t compute a reliable estimate of monitor refresh interval! Trouble with VBL syncing?!?
----- ! 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.PTB-ERROR: Screen(‘Flip’); beamposition timestamping computed an impossible stimulus onset value of 262864.733515 secs, which would indicate that
PTB-ERROR: stimulus onset happened before it was actually requested! (Earliest theoretically possible 262864.744653 secs).PTB-ERROR: Some more diagnostic values (only for experts): rawTimestamp = 262864.746721, scanline = 601
PTB-ERROR: Some more diagnostic values (only for experts): line_pre_swaprequest = 503, line_post_swaprequest = 517, time_post_swaprequest = 262864.744948
PTB-ERROR: Some more diagnostic values (only for experts): preflip_vblcount = 0, preflip_vbltimestamp = 262864.734139
PTB-ERROR: Some more diagnostic values (only for experts): postflip_vblcount = 0, postflip_vbltimestamp = -1.000000, vbltimestampquery_retrycount = 0PTB-ERROR: This error can be due to either of the following causes:
PTB-ERROR: Very unlikely: Something is broken in your systems beamposition timestamping. I’ve disabled high precision
PTB-ERROR: timestamping for now. Returned timestamps will be less robust and accurate.PTB-ERROR: The most likely cause would be that Synchronization of stimulus onset (buffer swap) to the
PTB-ERROR: vertical blank interval VBL is not working properly, or swap completion signalling to PTB is broken.
PTB-ERROR: Please run the script PerceptualVBLSyncTest to check this. With non-working sync to VBL, all stimulus timing
PTB-ERROR: is futile. Also run OSXCompositorIdiocyTest on macOS. Also read ‘help SyncTrouble’ !
Somehow I need to use this laptop as it is attached to another stimulator and it will only work with this laptop. I am now planning to use Matlab to control this stimulator to deliver stimulation, together with Psychtoolbox which will help me display visual stimuli and send markers to the TriggerBox. In this way, I can’t just skip Psychtoolbox.
My system:
Intel(R) Core™ i7-8565U CPU @ 1.80GHz 1.99 GHz
Intel(R) UHD Graphics 620
Windows 10 Home
External Monitor: Dell E2417H
What I have done so far:
-
Graphics card “Synchronize bufferswaps to the vertical retrace” option has been set to
“Application controlled” (for matlab) -
Triple buffering doesn’t exist, Intel told me that I cannot set it.
-
No “Buffer swap mode” found
-
Assigned external monitor (the one supposed to display stimuli to subjects) is set to be the primary monitor.
-
refresh rate (60Hz) and bit depth (8-bit) are set to be the same for bother laptop and external monitor. Desktop resolution are also the same (1366 x 768). There is only one difference - the “Active signal resolution” for the laptop monitor is 3840 x 2160. I think it only means that the highest resolution is this number, not that I am using this setting.
-
Genlock mode - Intel told me that with this CPU, I don’t have any Genlock mode.
-
This is not a hybrid graphics laptop.
-
updated graphic card driver already
-
If I use “Buffer swap mode” , I can get it run (at least I see the fixation cross, but I know it’s basically skip the points that I have problems).
-
The external monitor is attached to a VGA cable, then a DVI adaptor, then go into a USB dock (since the laptop has only one HDMI port, I can’t connect this monitor to it directly). I wonder if the complicated connection makes everything fails.
If you have any idea what else I can try, please let me know.