PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5.

Hi community!

Trying to set up a new system. When I am trying the DriftDemo from the PsychDemos folder I am getting the following error (below the complete log):
PTB-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.

What could be the reason?

My system:
PTB 3.0.9 @ Matlab R2012a 64bit @ Ubuntu 12.04 LTS 64bit @ Dell Precision T3600 with a ATI FirePro V4900
Output: 1) Control screen: LCD: Dell P 2210H and 2) Stimulus Screen: CRT

Thanks a lot in advance.

Best regards, Simon



Here the complete log:
>> DriftDemo
PTB-INFO: Display ':0' : X-Screen 0 : Output 0 [DFP1]: Unknown output priority : Connected : CRTC 0 [XID 243]
PTB-INFO: Display ':0' : X-Screen 0 : Output 1 [DFP2]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 2 [DFP3]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 3 [DFP4]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 4 [DFP5]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 5 [DFP6]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 6 [DFP7]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 7 [DFP8]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 8 [DFP9]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Output 9 [CRT1]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 0 : Assigning primary output as 0 with RandR-CRTC 0 and GPU-CRTC 0.
PTB-INFO: Display ':0' : X-Screen 1 : Output 0 [DFP1]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 1 [DFP2]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 2 [DFP3]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 3 [DFP4]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 4 [DFP5]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 5 [DFP6]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 6 [DFP7]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 7 [DFP8]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 8 [DFP9]: Unknown output priority : Offline : CRTC -1 [XID 0]
PTB-INFO: Display ':0' : X-Screen 1 : Output 9 [CRT1]: Unknown output priority : Connected : CRTC 0 [XID 491]
PTB-INFO: Display ':0' : X-Screen 1 : Assigning primary output as 9 with RandR-CRTC 0 and GPU-CRTC 6.
PTB-Info: A total of 2 physical X-Windows display screens is available for use.


PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab (Version 3.0.9 - Build date: May 20 2012).
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-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.




PTB-INFO: Advanced Micro Devices [AMD] nee ATI - (null) GPU found. Trying to establish low-level access...
PTB-INFO: Connected to Advanced Micro Devices [AMD] nee ATI (null) GPU with DCE-5 display engine. Beamposition timestamping enabled.
PTB-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.
PTB-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.


PTB-INFO: OpenGL-Renderer is ATI Technologies Inc. :: ATI FirePro V (FireGL V) Graphics Adapter :: 4.2.11627 Compatibility Profile Context FireGL
PTB-INFO: VBL startline = 1024 , VBL Endline = -1
PTB-INFO: Beamposition queries unsupported or defective on this system. Using basic timestamping as fallback: Timestamps returned by Screen('Flip') will be less robust and accurate.
PTB-INFO: Measured monitor refresh interval from VBLsync = 11.761609 ms [85.022382 Hz]. (156 valid samples taken, stddev=0.199785 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 11.761523 ms [85.023003 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
PTB-INFO: Support for fast OffscreenWindows enabled.
PTB-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.
PTB-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.

[...] repetition of error

PTB-ERROR: PsychOSKDGetBeamposition: Invalid headId 6 provided! Must be between 0 and 5. Aborted.
Solved!

Dear Mario, dear all!


--- In psychtoolbox@yahoogroups.com, "Mario" <mario.kleiner@...> wrote:
>
> You can override the choice of the heuristic by adding the following line to the top of your script ...
>
> Screen('Preference', 'ScreenToHead', 1, 0, x);
>
> ... with x=1 as my best guess. Otherwise try x=2,3,4 or 5 and see if warnings and errors go away. But a properly functioning heuristic would have guessed 1. The current one guessed x=6 which is out of the valid range 0-5 for your card.
>

x=1 works perfect.
I have tested it with DriftDemo, Driftdemo4 and DriftDemo6.

@Mario: thanks a lot! :-)

Best, Simon