Thanks for your reply. Yes, I’m using the standard Ubuntu desktop 20.04.1-LTS. Following you may find the info:
ResolutionTest
SCREEN 0: CURRENT COMBINED RESOLUTION:
width: 1920
height: 1080
pixelSize: 24
hz: 120
SCREEN 0 - Output 0: CURRENT RESOLUTION:
width: 1920
height: 1080
pixelSize: 24
hz: 120
xStart: 0
yStart: 0
name: ‘DisplayPort-1’
outputHandle: 80
displayWidthMM: 597
displayHeightMM: 336
SCREEN 0: AVAILABLE COMBINED RESOLUTIONS:
1920 x 1080
1680 x 1050
1280 x 1024
1440 x 900
1280 x 800
1152 x 864
1280 x 720
1024 x 768
832 x 624
800 x 600
720 x 576
720 x 480
640 x 480
720 x 400
SCREEN 0: AVAILABLE COMBINED DETAILED RESOLUTIONS:
1920 x 1080 60 Hz 24 bits
1920 x 1080 144 Hz 24 bits
1920 x 1080 120 Hz 24 bits
1920 x 1080 100 Hz 24 bits
1920 x 1080 50 Hz 24 bits
1680 x 1050 60 Hz 24 bits
1280 x 1024 75 Hz 24 bits
1440 x 900 60 Hz 24 bits
1280 x 800 60 Hz 24 bits
1152 x 864 75 Hz 24 bits
1280 x 720 60 Hz 24 bits
1280 x 720 50 Hz 24 bits
1024 x 768 75 Hz 24 bits
1024 x 768 60 Hz 24 bits
832 x 624 75 Hz 24 bits
800 x 600 75 Hz 24 bits
800 x 600 60 Hz 24 bits
720 x 576 50 Hz 24 bits
720 x 480 60 Hz 24 bits
640 x 480 75 Hz 24 bits
640 x 480 60 Hz 24 bits
720 x 400 70 Hz 24 bits
SCREEN 0 - OUTPUT 0: AVAILABLE PER OUTPUT DETAILED RESOLUTIONS:
1920 x 1080 60 Hz 32 bits
1920 x 1080 144 Hz 32 bits
1920 x 1080 120 Hz 32 bits
1920 x 1080 100 Hz 32 bits
1920 x 1080 50 Hz 32 bits
1920 x 1080 60 Hz 32 bits
1680 x 1050 60 Hz 32 bits
1280 x 1024 75 Hz 32 bits
1440 x 900 60 Hz 32 bits
1280 x 800 60 Hz 32 bits
1152 x 864 75 Hz 32 bits
1280 x 720 60 Hz 32 bits
1280 x 720 50 Hz 32 bits
1280 x 720 60 Hz 32 bits
1024 x 768 75 Hz 32 bits
1024 x 768 60 Hz 32 bits
832 x 624 75 Hz 32 bits
800 x 600 75 Hz 32 bits
800 x 600 60 Hz 32 bits
720 x 576 50 Hz 32 bits
720 x 480 60 Hz 32 bits
720 x 480 60 Hz 32 bits
640 x 480 75 Hz 32 bits
640 x 480 60 Hz 32 bits
640 x 480 60 Hz 32 bits
720 x 400 70 Hz 32 bits
SCREEN 1: CURRENT COMBINED RESOLUTION:
width: 1920
height: 1080
pixelSize: 24
hz: 120
SCREEN 1 - Output 0: CURRENT RESOLUTION:
width: 1024
height: 768
pixelSize: 24
hz: 120
xStart: 0
yStart: 0
name: ‘HDMI-A-0’
outputHandle: 156
displayWidthMM: 531
displayHeightMM: 298
SCREEN 1: AVAILABLE COMBINED RESOLUTIONS:
1920 x 1080
1680 x 1050
1680 x 945
1400 x 1050
1600 x 900
1280 x 1024
1440 x 900
1280 x 960
1366 x 768
1360 x 768
1280 x 800
1280 x 768
1280 x 720
1024 x 768
1024 x 576
800 x 600
848 x 480
640 x 480
SCREEN 1: AVAILABLE COMBINED DETAILED RESOLUTIONS:
1920 x 1080 60 Hz 24 bits
1680 x 1050 60 Hz 24 bits
1680 x 945 60 Hz 24 bits
1400 x 1050 60 Hz 24 bits
1600 x 900 60 Hz 24 bits
1280 x 1024 60 Hz 24 bits
1440 x 900 60 Hz 24 bits
1280 x 960 60 Hz 24 bits
1366 x 768 60 Hz 24 bits
1360 x 768 60 Hz 24 bits
1280 x 800 60 Hz 24 bits
1280 x 768 60 Hz 24 bits
1280 x 720 60 Hz 24 bits
1024 x 768 120 Hz 24 bits
1024 x 768 60 Hz 24 bits
1024 x 576 60 Hz 24 bits
800 x 600 120 Hz 24 bits
800 x 600 60 Hz 24 bits
800 x 600 56 Hz 24 bits
848 x 480 60 Hz 24 bits
640 x 480 120 Hz 24 bits
640 x 480 60 Hz 24 bits
SCREEN 1 - OUTPUT 0: AVAILABLE PER OUTPUT DETAILED RESOLUTIONS:
1920 x 1080 60 Hz 32 bits
1920 x 1080 60 Hz 32 bits
1680 x 1050 60 Hz 32 bits
1680 x 945 60 Hz 32 bits
1400 x 1050 60 Hz 32 bits
1600 x 900 60 Hz 32 bits
1280 x 1024 60 Hz 32 bits
1440 x 900 60 Hz 32 bits
1280 x 960 60 Hz 32 bits
1366 x 768 60 Hz 32 bits
1360 x 768 60 Hz 32 bits
1280 x 800 60 Hz 32 bits
1280 x 768 60 Hz 32 bits
1280 x 720 60 Hz 32 bits
1024 x 768 120 Hz 32 bits
1024 x 768 60 Hz 32 bits
1024 x 576 60 Hz 32 bits
800 x 600 120 Hz 32 bits
800 x 600 60 Hz 32 bits
800 x 600 56 Hz 32 bits
848 x 480 60 Hz 32 bits
640 x 480 120 Hz 32 bits
640 x 480 60 Hz 32 bits
xrandr --screen 0
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
1920x1080 60.00 + 144.00 119.98* 99.93 50.00 59.94
1680x1050 60.00
1280x1024 75.02
1440x900 60.00
1280x800 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
832x624 74.55
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
xrandr --screen 1
Screen 1: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-A-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
1920x1080 60.00 + 60.00
1680x1050 59.88
1680x945 60.02
1400x1050 59.95
1600x900 60.00
1280x1024 60.02
1440x900 59.90
1280x960 60.00
1366x768 59.79
1360x768 60.02
1280x800 59.91
1280x768 59.99
1280x720 60.00
1024x768 119.99* 60.00
1024x576 59.97
800x600 119.97 60.32 56.25
848x480 60.00
640x480 119.99 59.94
type /etc/X11/xorg.conf.d/90-ptbxorg.conf
Auto generated xorg.conf - Created by Psychtoolbox XOrgConfCreator.
Section “ServerLayout”
Identifier “PTB-Hydra”
Screen 0 “Screen0” 0 0
Screen 1 “Screen1” RightOf “Screen0”
EndSection
Section “Monitor”
Identifier “DisplayPort-1”
EndSection
Section “Monitor”
Identifier “HDMI-A-0”
EndSection
Section “Device”
Identifier “Card0”
Driver “amdgpu”
Option “ZaphodHeads” “DisplayPort-1”
Option “Monitor-DisplayPort-1” “DisplayPort-1”
Screen 0
EndSection
Section “Device”
Identifier “Card1”
Driver “amdgpu”
Option “ZaphodHeads” “HDMI-A-0”
Option “Monitor-HDMI-A-0” “HDMI-A-0”
Screen 1
EndSection
Section “Screen”
Identifier “Screen0”
Device “Card0”
Monitor “DisplayPort-1”
EndSection
Section “Screen”
Identifier “Screen1”
Device “Card1”
Monitor “HDMI-A-0”
EndSection
Output of PerceptualVBLSyncTest
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.8.0-36-generic 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: Connected to Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] GPU with DCE-10.0 display engine [6 heads].
PTB-WARNING: Querying rasterbeam-position doesn’t work on your setup! (Returns a constant value 0)
PTB-WARNING: This can happen if Psychtoolbox gets the mapping of connected displays to graphics card
PTB-WARNING: outputs wrong. See ‘help DisplayOutputMappings’ for tips on how to resolve this problem.
PTB-WARNING: However, this probably doesn’t really matter on your setup for most purposes, as i can use OpenML
PTB-WARNING: timestamping instead, which is even more precise. Only few applications need beampos queries in this case.
PTB-INFO: OpenGL-Renderer is X.Org :: AMD Radeon RX 5700 XT (NAVI10, DRM 3.38.0, 5.8.0-36-generic, LLVM 10.0.0) :: 4.6 (Compatibility Profile) Mesa 20.1.0
PTB-INFO: VBL startline = 768 , 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.334103 ms [119.988923 Hz]. (50 valid samples taken, stddev=0.000332 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.334236 ms [119.987000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
INFO: PTB’s Screen(‘Flip’, 10) command seems to have missed the requested stimulus presentation deadline
INFO: a total of 2 times out of a total of 1197 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.
Output of PerceptualVBLSyncTest
with single monitor
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.8.0-38-generic 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: Connected to Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] GPU with DCE-10.0 display engine [6 heads].
PTB-WARNING: Querying rasterbeam-position doesn’t work on your setup! (Returns a constant value 0)
PTB-WARNING: This can happen if Psychtoolbox gets the mapping of connected displays to graphics card
PTB-WARNING: outputs wrong. See ‘help DisplayOutputMappings’ for tips on how to resolve this problem.
PTB-WARNING: However, this probably doesn’t really matter on your setup for most purposes, as i can use OpenML
PTB-WARNING: timestamping instead, which is even more precise. Only few applications need beampos queries in this case.
PTB-INFO: OpenGL-Renderer is X.Org :: AMD Radeon RX 5700 XT (NAVI10, DRM 3.38.0, 5.8.0-38-generic, LLVM 10.0.0) :: 4.6 (Compatibility Profile) Mesa 20.1.0
PTB-INFO: VBL startline = 768 , 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.334613 ms [119.981578 Hz]. (50 valid samples taken, stddev=0.000562 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.334236 ms [119.987000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
INFO: PTB’s Screen(‘Flip’, 10) command seems to have missed the requested stimulus presentation deadline
INFO: a total of 2 times out of a total of 1200 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.
- In single monitor mode, I get a correct output on the display, but in the dual monitor setup, I can only see a black rectangle on the left side of the monitor and the rest is gray.
For another purpose, I have filmed when screen goes from black to white with a 1000fps camera. I am adding the video here as an additional information:
This shows that refreshing the monitor does not start from top left, but a few inches below the top, and then the rest of the top part gets updated at the end! And that is probably I have that line in my stimulus, but I do not know why this happens.