Fwd: Re: [PSYCHTOOLBOX] BitsSharp issues in linux. [2 Attachments]

Mystery resolved. Forwarding this answer from CRS: The Bits# only
supports single-link DVI input, not dual-link DVI, and therefore the
video modes that failed, failed because of hardware limitations. Only
video modes with max. 165 Mhz pixel clock are supported.

Thanks to Steve Elliot for the clarification.
-mario

-------- Forwarded Message --------
Subject: Re: [PSYCHTOOLBOX] BitsSharp issues in linux. [2 Attachments]
Date: Thu, 22 Jun 2017 10:41:18 +0000
From: Steve Elliott <steve.elliott@...>
To: justin.ales@... <justin.ales@...>
CC: mario.kleiner.de@... <mario.kleiner.de@...>



Hi Justin

Bits# has a single-link DVI-D input and single link DVI-I output (DVI-I
supports analogue and digital connections to the stimulus display).
Single link DVI has a 165MHz pixel clock limit. That’s sufficient for
1920x1200 @ about 60Hz. This is documented towards the end of the Bits#
Technical Manual. If you want higher frame rates, then you need to
reduce the frame rate. All the resolutions that you report below that
don’t work require dual-link DVI as they need a pixel clock in excess of
165MHz. If you configure a video output from the graphics card that
enables dual-link DVI, then only half the pixels will be received by the
Bits# device.

I hope this explanation helps.

Best regards

Steve

--

Steven Elliott – steve.elliott@...

Managing Director – Cambridge Research Systems Ltd.

Tel DDI: +44 1634 757 791 Tel Office: +44 1634 720 707 Mobile/Cell: +44
7956 579619

From USA & Canada call us toll-free: 1-866-846-2929

http://www.crsltd.com​

On 20/06/2017, 12:01, "PSYCHTOOLBOX@yahoogroups.com
<mailto:PSYCHTOOLBOX@yahoogroups.com> on behalf of Justin Ales
justin.ales@... <mailto:justin.ales@...> [PSYCHTOOLBOX]"
<PSYCHTOOLBOX@yahoogroups.com <mailto:PSYCHTOOLBOX@yahoogroups.com>> wrote:

*[Attachment(s) <#TopText> from Justin Ales included below]*

Hi,

I'm having some issues using a bitsSharp with ptb on a new linux
system I'm setting up. Basically, all video modes pass
BitsPlusImagingPipelineTest(), but many fail the
BitsPlusIdentityClutTest. The failure happens because the display is
weird, similar to the color++ mode, only every other pixel is enabled,
but they are stretched across the screen. When reading back the
raster line I get the requested number of pixels, but the ramp is only
on half the expected length. I.e. the read back linear ramp is: [0 2 4
6 8 (...) 254 0 0 0 0 0 0 0 ... xNrequested].

This causes the LUT encoded to just not work and so the loading of the
color LUT doesn't work.

Also, at least one video mode causes a hard lockup of the system.

In addition there are sometime problems in text rendering in the
GUI/matlab connected display. They cause random rendering issues in
matlab, the text changes background color and renders on top (as if
the window is not clearing the buffer).

I've attached two diaries from runs with Verbosity set to 10. One for
the working setup (showing passing the readback test) and one for the
broken setup.

Installed ptb using neurodebian, ran PsychLinuxConfiguration, and
XorgConfCreator. All of those worked beautifully to setup the system.

Updated all packages as of last friday.

Various System Details:
Ubuntu 16.04 LTS
Matlab 2017a
PTB Version: '3.0.14 - Flavor: Debian package - psychtoolbox-3
(3.0.14.20170611.dfsg1-1~nd16.04+1)
Various System driver versions:
X.Org:Gallium 0.4 on AMD POLARIS10 (DRM 3.3.0 / 4.8.0-54-lowlatency,
LLVM 3.8.0):3.0 Mesa 12.0.6 : Screen 1 : Resolution 1280 x 1024 x 24 :
ScreenVersion = 3.0.14.464087083 : System = Linux Kernel Version
4.8.0-54-lowlatency: #57~16.04.1-Ubuntu SMP PREEMPT Wed May 24
18:53:23 UTC 2017

List of tested video modes below:
Working: Passes all tests, including DIO outputs.
1280x1024 x75 x24
'1600 x 1200 x 60 x 24'
'2048 x 1152 x 60 x 24'
'1920 x 1200 x 60 x 24'
'1920 x 1080 x 60 x 24'

Not Working:

'1600 x 1200 x 85 x 24'
'1600 x 1200 x 75 x 24'
'1600 x 1200 x 70 x 24'
'1600 x 1200 x 65 x 24'
'2048 x 1536 x 85 x 24'
'2048 x 1536 x 60 x 24'
'1920 x 1440 x 85 x 24'
'1920 x 1440 x 75 x 24'
'1920 x 1440 x 60 x 24'
'1856 x 1392 x 75 x 24'
'1856 x 1392 x 60 x 24'
'1792 x 1344 x 75 x 24'
'1792 x 1344 x 60 x 24'
'1920 x 1200 x 85 x 24'
'1920 x 1200 x 75 x 24'
'1680 x 1050 x 120 x 24'

Hard Locks System:
1680 x 1050 x 85 x 24