Hi Mario,
thanks a lot for your quick reply. When setting up, I had run some of the test you suggested and I had mixed results. Now, I rerun everything and I`m copying the console outcome of each test and the figures produced by the scripts.
1. VBLSyncTest
, this seems to work for me only when I run my system at 120Hz. If I try to run it at 144Hz, that the monitor would still allow, I get some error. For this reason, also the other tests were run at 120Hz (figures attached at the end).
Radeon Pro WX 9100 (VEGA10, DRM 3.35.0, 5.4.0-67-lowlatency, LLVM 11.0.0) :: 4.6 (Compatibility Profile) Mesa 20.2.6
PTB-INFO: VBL startline = 1080 , VBL Endline = -1
PTB-INFO: Will try to use OS-Builtin OpenML sync control support for accurate Flip timestamping.
PTB-INFO: Measured monitor refresh interval from VBLsync = 8.333540 ms [119.997025 Hz]. (50 valid samples taken, stddev=0.000547 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.333333 ms [120.000000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
LoadIdentityClut: Could not use GPU low-level setup for pixel passthrough. Will use fallback.
The refresh interval reported by the operating system is 8.33333 ms.
Measured refresh interval, as reported by “GetFlipInterval” is 8.33354 ms. (nsamples = 0, stddev = 0.00000 ms)
ans =
1
Average discrepancy between Flip timestamping and DataPixx is 4162.574541 msecs, stddev = 2406.887698 msecs.
PTB missed 0 out of 1000 stimulus presentation deadlines.
One missed deadline is ok and an artifact of the measurement.
PTB completed 0 stimulus presentations before the requested target time.
Have a look at the plots for more details…
2. BitsPlusImagingPipelineTest
seem to work fine, but I get some warnings:
Test with DataPixx/ViewPixx/ProPixx (d), Bits+ (b) or Bits# (s)? d
Converting test stim to color++ format
PTB-INFO: Failed to map GPU low-level control registers for screenId 0 [Operation not permitted].
PTB-INFO: Beamposition timestamping on NVidia and AMD gpu’s, and other special functions on AMD gpu’s, disabled.
PTB-INFO: You need to run the setup script PsychLinuxConfiguration once, followed by a reboot, for this to work.
PTB-INFO: Additionally, on machines with EFI firmware, EFI secure boot must be disabled, or kernel lockdown lifted.
PTB-INFO: If you are using the open-source graphics drivers, then this usually doesn’t matter for typical use.
PTB-INFO: All display tests and calibrations disabled. Assuming a refresh interval of 120.000000 Hz. Timing will be inaccurate!
PTB - Info: Your framebuffer is configured for maximum precision. All internal processing will be done
PTB - Info: with about 23 bits of linear precision – DataPixx will be able to finally output with 16 bits precision.
PTB - Info: Alpha-blending should be fully supported at this precision by your hardware.
PTB - Info: Classic half horizontal resolution color conversion for C48 mode selected.
PTB - Info: Aspect ratio will be horizontally distorted, ie., 2:1.
LoadIdentityClut: Could not use GPU low-level setup for pixel passthrough. Will use fallback.
Building a fragment shader:Reading shader from file /usr/share/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/ICMClampedPassThroughShader.frag.txt …
Compiling all shaders matching Bits++_Color++_FormattingShader * into a GLSL program.
Building a fragment shader:Reading shader from file /usr/share/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/Bits++_Color++_FormattingShader.frag.txt …
PsychDatapixx:GPU-Rasterizertest: Warning: glVertex2i() command draws at wrong position (Offset -1, 1)!
PsychDatapixx:GPU-Rasterizertest: Warning: glVertex2f() command draws at wrong position (Offset -1, 1)!
ReadbackOffset (0, 0): Maximum raw data difference: red= 0.000000 green = 0.000000 blue = 0.000000
WARNING: This session of your experiment was run by you with the setting Screen(‘Preference’, ‘SkipSyncTests’, 2).
WARNING: This means that some internal self-tests and calibrations were skipped. Your stimulus presentation timing
WARNING: may have been wrong. This is fine for development and debugging of your experiment, but for running the real
WARNING: study, please make sure to set Screen(‘Preference’, ‘SkipSyncTests’, 0) for maximum accuracy and reliability.
------------------- Color++ test success! -------------------------------------
Converting test stim to mono++ format
PTB-INFO: Failed to map GPU low-level control registers for screenId 0 [Operation not permitted].
PTB-INFO: Beamposition timestamping on NVidia and AMD gpu’s, and other special functions on AMD gpu’s, disabled.
PTB-INFO: You need to run the setup script PsychLinuxConfiguration once, followed by a reboot, for this to work.
PTB-INFO: Additionally, on machines with EFI firmware, EFI secure boot must be disabled, or kernel lockdown lifted.
PTB-INFO: If you are using the open-source graphics drivers, then this usually doesn’t matter for typical use.
PTB-INFO: All display tests and calibrations disabled. Assuming a refresh interval of 120.000000 Hz. Timing will be inaccurate!
PTB - Info: Your framebuffer is configured for maximum precision. All internal processing will be done
PTB - Info: with about 23 bits of linear precision – DataPixx will be able to finally output with 16 bits precision.
PTB - Info: Alpha-blending should be fully supported at this precision by your hardware.
LoadIdentityClut: Could not use GPU low-level setup for pixel passthrough. Will use fallback.
Building a fragment shader:Reading shader from file /usr/share/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/ICMClampedPassThroughShader.frag.txt …
Compiling all shaders matching Bits++_Mono++_FormattingShader * into a GLSL program.
Building a fragment shader:Reading shader from file /usr/share/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/Bits++_Mono++_FormattingShader.frag.txt …
PsychDatapixx:GPU-Rasterizertest: Warning: glVertex2i() command draws at wrong position (Offset -1, 1)!
PsychDatapixx:GPU-Rasterizertest: Warning: glVertex2f() command draws at wrong position (Offset -1, 1)!
Maximum raw data difference: red= 0.000000 green = 0.000000 blue = 0.000000
------------------- Mono++ test success! -------------------------------------
SUMMARY: BitsPlusPlus imaging pipeline verified to work correctly. Validation info stored.
You may want to run BitsPlusIdentityClutTest next to test the path from framebuffer to output device.
3. BitsPlusIdentityClutTest([], 1);
seem to work fine but I get a warning:
Run DataPixx/Bits# based diagnostics as well [Time consuming]? [y/n] n
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.17 - Build date: Oct 31 2020).
PTB-INFO: OS support status: Linux 5.4.0-67-lowlatency Supported.
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: For information about paid priority support, community membership and commercial services, please type
PTB-INFO: ‘PsychPaidSupportAndServices’.
PTB-INFO: Failed to map GPU low-level control registers for screenId 0 [Operation not permitted].
PTB-INFO: Beamposition timestamping on NVidia and AMD gpu’s, and other special functions on AMD gpu’s, disabled.
PTB-INFO: You need to run the setup script PsychLinuxConfiguration once, followed by a reboot, for this to work.
PTB-INFO: Additionally, on machines with EFI firmware, EFI secure boot must be disabled, or kernel lockdown lifted.
PTB-INFO: If you are using the open-source graphics drivers, then this usually doesn’t matter for typical use.
PTB-WARNING: Flip 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.
4. DatapixxGPUDitherpatternTest
fails:
BitsPlusPlus: Could not find a Bits# config file under [/.Psychtoolbox/BitsSharpConfig.txt]. Assuming a Bits+ device instead of a Bits# is connected.
BitsPlusPlus: Please create a config file under this name if you have a Bits# and want to use it as Bits# instead of as a Bits+.
BitsPlusPlus: The most simple way is to create an empty file. A more robust way is to store the name of the Bits# serial port
BitsPlusPlus: in the first line of the text file, e.g., COM5 [Windows], or /dev/ttyACM0 [Linux] or similar.
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.17 - Build date: Oct 31 2020).
PTB-INFO: OS support status: Linux 5.4.0-67-lowlatency Supported.
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: For information about paid priority support, community membership and commercial services, please type
PTB-INFO: ‘PsychPaidSupportAndServices’.
PTB-INFO: Failed to map GPU low-level control registers for screenId 0 [Operation not permitted].
PTB-INFO: Beamposition timestamping on NVidia and AMD gpu’s, and other special functions on AMD gpu’s, disabled.
PTB-INFO: You need to run the setup script PsychLinuxConfiguration once, followed by a reboot, for this to work.
PTB-INFO: Additionally, on machines with EFI firmware, EFI secure boot must be disabled, or kernel lockdown lifted.
PTB-INFO: If you are using the open-source graphics drivers, then this usually doesn’t matter for typical use.
PTB-INFO: Trying to enable at least 10 bpc fixed point framebuffer.
PTB-INFO: Linux native 10 bit per color framebuffer requested, and the OS claims it is working fine. Good.
PTB-INFO: Real (OS native, queried) color resolution of the GPU framebuffer is 10 bits per RGB color component.
PTB-INFO: OpenGL-Renderer is X.Org :: Radeon Pro WX 9100 (VEGA10, DRM 3.35.0, 5.4.0-67-lowlatency, LLVM 11.0.0) :: 4.6 (Compatibility Profile) Mesa 20.2.6
PTB-INFO: VBL startline = 1080 , VBL Endline = -1
PTB-INFO: Will try to use OS-Builtin OpenML sync control support for accurate Flip timestamping.
PTB-INFO: Measured monitor refresh interval from VBLsync = 8.333530 ms [119.997162 Hz]. (50 valid samples taken, stddev=0.000609 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.333333 ms [120.000000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
LoadIdentityClut: Could not use GPU low-level setup for pixel passthrough. Will use fallback.
Ref 0: RGB 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Ref 1: RGB 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Ref 2: RGB 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 → TROUBLE! WRONG VALUE
I get all the values wrong and then I get this:
INFO: PTB’s Screen(‘Flip’, 10) command seems to have missed the requested stimulus presentation deadline
INFO: a total of 105 times out of a total of 256 flips during this session.
INFO: This number is fairly accurate (and indicative of real timing problems in your own code or your system)
INFO: if you provided requested stimulus onset times with the ‘when’ argument of Screen(‘Flip’, window [, when]);
INFO: If you called Screen(‘Flip’, window); without the ‘when’ argument, this count is more of a ‘‘mild’’ indicator
INFO: of timing behaviour than a hard reliable measurement. Large numbers may indicate problems and should at least
INFO: deserve your closer attention. Cfe. ‘help SyncTrouble’, the FAQ section at www.psychtoolbox.org and the
INFO: examples in the PDF presentation in PsychDocumentation/Psychtoolbox3-Slides.pdf for more info and timing tips.
WARNING: This session of your experiment was run by you with the setting Screen(‘Preference’, ‘SkipSyncTests’, 1).
WARNING: This means that some internal self-tests and calibrations were skipped. Your stimulus presentation timing
WARNING: may have been wrong. This is fine for development and debugging of your experiment, but for running the real
WARNING: study, please make sure to set Screen(‘Preference’, ‘SkipSyncTests’, 0) for maximum accuracy and reliability.
FAILURE! Many wrong pixels detected! Trouble for 254 separate levels!!!
So it seems that there are some issues going on and I’m struggling to understand where the problem is.
VBLSyncTest figure and DatapixxGPUDitherpatternTest:
About hardware, as monitor I’m using two AOC AG273QX 27" connected to the Datapixx3.
Thanks a lot for your help!
Antimo