Screen function does not seem to work properly.

30 visualizaciones (últimos 30 días)
Nihan ALP
Nihan ALP el 15 de Jun. de 2019
Comentada: Walter Roberson el 16 de Jun. de 2019
Hi all,
I use macOS Mojave 10.14.5 and MATLAB 2018b. The Screen function of Psychtoolbox does not seem to work.
This line of code "[window, windowRect] = PsychImaging('OpenWindow', screenNumber, black);" generates following error. Do you came across this error before? What is the solution?
PTB-INFO: Retina display. Enabling panel fitter for scaled Retina compatibility mode.
PTB-INFO: This is Psychtoolbox-3 for Apple OS X, under Matlab 64-Bit (Version 3.0.15 - Build date: Oct 19 2018).
PTB-INFO: Support status on this operating system release: OSX version 10.14 is not officially supported or tested at all for this release.
PTB-INFO: Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
PTB-INFO: some restrictions. See file 'License.txt' in the Psychtoolbox root folder for the exact licensing conditions.
PTB-INFO: OpenGL-Renderer is Intel Inc. :: Intel(R) Iris(TM) Plus Graphics 655 :: 2.1 INTEL-12.9.22
PTB-INFO: Renderer has 1536 MB of VRAM and a maximum 3072 MB of texture memory.
PTB-INFO: VBL startline = 1800 , VBL Endline = -1
PTB-INFO: Beamposition queries unsupported or defective on this system. Using basic timestamping as fallback.
PTB-INFO: Timestamps returned by Screen('Flip') will be therefore less robust and accurate.
PTB-INFO: Measured monitor refresh interval from VBLsync = 16.658424 ms [60.029687 Hz]. (300 valid samples taken, stddev=0.694253 ms.)
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
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.
Error using Screen
See error message printed above.
Error in PsychImaging (line 2077)
[win, winRect] = Screen('OpenWindow', screenid, clearcolor, winRect,
pixelSize, numbuffers, stereomode, multiSample, imagingMode, specialFlags,
clientRect, fbOverrideRect);
Error in ssveptrain (line 16)
[window, windowRect] = PsychImaging('OpenWindow', screenNumber, black);
  4 comentarios
Jan
Jan el 16 de Jun. de 2019
@Nithan ALP: Does this mean that you have:
  1. read help SyncTrouble carefully? What does it tell you?
  2. added Screen('Preference', 'SkipSyncTests', 1); to your code? And you still get exactly the same error message?
  3. "Every possible solution" includes asking the authors of this software for help. Remember, that the PsychToolbox does not belong to Matlab, but it is a 3rd party tool. What did the authors asnwer?
Nihan ALP
Nihan ALP el 16 de Jun. de 2019
except the writing to the authors, I tried all that is written on help SynchTrouble.
I of course tried ading Screen('Preference', 'SkipSyncTests', 1); and also adding Screen('Preference','VisualDebugLevel', 0); Screen('Preference','SuppressAllWarnings', 1); It gives black screen and crushes. I am not even able to see an error.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Jun. de 2019
Editada: Walter Roberson el 16 de Jun. de 2019
Timing is not going to work on Mojave, ever, for reasons completely outside the control of anyone other than Apple.
  2 comentarios
Nihan ALP
Nihan ALP el 16 de Jun. de 2019
Thanks, Walter! I have came across to that too. I hoped things have changed.
Walter Roberson
Walter Roberson el 16 de Jun. de 2019
What has changed is that Apple has accelerated their move away from OpenGL, and has stonewalled approving NVIDIA drivers for Mojave. Apple has said that the only changes for OpenGL after this will be security fixes.

Iniciar sesión para comentar.

Categorías

Más información sobre Timing and presenting 2D and 3D stimuli en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by