Skip to content

Instantly share code, notes, and snippets.

@iandol
Last active May 31, 2018 20:24
Show Gist options
  • Save iandol/395fa30732619265e40d36ecf4187d02 to your computer and use it in GitHub Desktop.
Save iandol/395fa30732619265e40d36ecf4187d02 to your computer and use it in GitHub Desktop.
Running BitsPlusIdentityClutTest on Ubuntu 17.0.4 & PTB 3.0.14 with a Radeon Pro WX 4100 and Display++ — we first tried diagnostics mode OFF but the built-in 5 CLUTs all gave wrong results (background colour cycled, the grey rotating patch was filled with noise).
>> BitsPlusIdentityClutTest
BitsPlusPlus: Connecting to Bits# device via serial port [/dev/ttyACM0], as provided by configuration file [/home/aristotle/.Psychtoolbox/BitsSharpConfig.txt].
BitsPlusPlus: Device information:
You can run extended diagnostics and fixes if you answer the following question
with yes. However, we recommend first running this script once, answering no. Then
if that at least somewhat succeeds, save the closest to good result via 's' key,
then rerun the script and answer yes, to either fix remaining errors and glitches,
or verify perfect function of your setup. If you don't do it in this order, the
test may hang on some setups.
Run DataPixx/Bits# based diagnostics as well [Time consuming]? [y/n] y
PsychImaging: Will use a connected CRS Bits# device instead of a Bits+ for this session - Connection established.
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.14 - Build date: Oct 3 2017).
PTB-INFO: Support status on this operating system release: Linux 4.10.0-43-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: Advanced Micro Devices, Inc. [AMD/ATI] - Baffin [Radeon Pro WX 4100] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon Pro WX 4100] GPU with DCE-11.0 display engine [6 heads].
PTB-INFO: Fixed point precision integer framebuffer enabled.
PTB-INFO: OpenGL-Renderer is X.Org :: Gallium 0.4 on AMD POLARIS11 (DRM 3.9.0 / 4.10.0-43-lowlatency, LLVM 4.0.0) :: 3.0 Mesa 17.0.7
PTB-INFO: VBL startline = 1080 , VBL Endline = 1123
PTB-INFO: Measured monitor refresh interval from beamposition = 8.332919 ms [120.005965 Hz].
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.332944 ms [120.005608 Hz]. (50 valid samples taken, stddev=0.000442 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.332778 ms [120.008003 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
PTB-INFO: Psychtoolbox imaging pipeline starting up for window with requested imagingmode 1061 ...
PTB-INFO: Will use 32 bits per color component floating point framebuffer for stimulus drawing. Alpha blending should work correctly.
PTB-INFO: Will use 32 bits per color component floating point framebuffer for stimulus post-processing (if any).
PTB - Info: Your framebuffer is configured for maximum precision. All internal processing will be done
PTB - Info: with about 23 bits of linear precision -- Bits# will be able to finally output with 14 bits precision.
PTB - Info: Alpha-blending should be fully supported at this precision by your hardware.
PTB-INFO: SetDitherMode: Trying to disable digital display dithering on display head 1.
PTB-INFO: SetDitherMode: Dithering already disabled. Skipped.
LoadIdentityClut: Info: Used GPU low-level setup code to configure (hopefully) perfect identity pixel passthrough.
Building a fragment shader:Reading shader from file /home/aristotle/Code/Psychtoolbox-3/Psychtoolbox/PsychOpenGL/PsychGLSLShaders/ICMClampedPassThroughShader.frag.txt ...
Compiling all shaders matching Bits++_Mono++_FormattingShader * into a GLSL program.
Building a fragment shader:Reading shader from file /home/aristotle/Code/Psychtoolbox-3/Psychtoolbox/PsychOpenGL/PsychGLSLShaders/Bits++_Mono++_FormattingShader.frag.txt ...
BitsPlusPlus:GPU-Rasterizertest: Warning: glVertex2i() command draws at wrong position (Offset -1, 1)!
BitsPlusPlus:GPU-Rasterizertest: Warning: glVertex2f() command draws at wrong position (Offset -1, 1)!
BitsPlusPlus: INFO: Switching Bits# into diagnostic mode. Will take about 5 seconds...
BitsPlusPlus: INFO: GPU gamma table and display encoder test running. Please be patient...
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 174)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Warning: BitsSharpGetScanline: Empty pixelline returned!
> In BitsPlusPlus>BitsSharpGetScanline (line 1957)
In BitsPlusPlus (line 723)
In PsychGPUTestAndTweakGammaTables (line 193)
In BitsPlusPlus>doCheckGPUSanity (line 1991)
In BitsPlusPlus (line 1528)
In PsychImaging (line 2054)
In BitsPlusIdentityClutTest (line 186)
Error using -
Matrix dimensions must agree.
Error in PsychGPUTestAndTweakGammaTables (line 228)
deltavec = int16(testdata) - int16(realpixels);
Error in BitsPlusPlus>doCheckGPUSanity (line 1991)
rc = PsychGPUTestAndTweakGammaTables(win, xoffset, 1, injectFault, bitsSharpPort);
Error in BitsPlusPlus (line 1528)
if doCheckGPUSanity(win, tlockXOffset, bitsSharpPort)
Error in PsychImaging (line 2054)
[win, winRect] = BitsPlusPlus(bpcom, screenid, clearcolor, winRect, pixelSize, numbuffers,
stereomode, multiSample, imagingMode, specialFlags, clientRect, fbOverrideRect);
Error in BitsPlusIdentityClutTest (line 186)
[win, screenRect] = PsychImaging('OpenWindow', whichScreen, 0.5, winrect);
>>
@jtl999
Copy link

jtl999 commented May 31, 2018

Using amdgpu driver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment