Dear Mario and all,
We
got the HP ZBook 15 Mobile Workstation. I have installed Ubuntu 14.04
LTS and Psychtoolbox from Neurodebian. I installed GNU Octave and MATLAB
R2016b.
I
experienced several segfaults while testing out some demos shipped with
Psychtoolbox in Octave, and Matlab also didn't work well; DotDemo
didn't work with an error message (included in the information section
below) with Matlab, while it worked without issues with Octave.
We
are mostly interested in getting true 10 bpc performance out of this
machine. I tried some methods to see if we get it by some methods
recommended in psychtoolbox.org,
and I think we not seem to have 10 bpc performance. Specifically, the
output of Screen ReadNormalizedGammaTable showed up as 8, and
AdditiveBlendingForLinearSuper positionTutorial('Native10Bit' )
showed Gabors in Octave then crashed with segmentation fault when I
pressed ESC, while it simply didn't run at Matlab (output from
psychtoolbox included below).
I
am including as much information as I can find in diagnosing 10 bpc
performance out of this laptop. I imagine reading logs from email is not
comfortable, so please copy them into your editor (I didn't want to
attach a file in case this will get archived in the forum) then read
them using your favorite filtering methods. Hopefully, all that is
needed is some tweaks before we can get it.
Below are some outputs coming from OS, Psychtoolbox, XOrg.*.log, get-edid, xrandr and lscpi etc.:
# octave --version
GNU Octave, version 3.8.1
> PsychtoolboxVersion
ans = 3.0.12 - Flavor: Debian package - psychtoolbox-3 (3.0.12.20160514.dfsg1-1~nd14. 04+1)
For more info visit:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
# cat /etc/apt/sources.list.d/ neurodebian.sources.list
deb http://neuro.debian.net/debian data main contrib non-free
#deb-src http://neuro.debian.net/debian data main contrib non-free
deb http://neuro.debian.net/debian trusty main contrib non-free
#deb-src http://neuro.debian.net/debian trusty main contrib non-free
> [a,b] = Screen(' ReadNormalizedGammaTable',0)
a =
0.00000 0.00000 0.00000
0.00392 0.00392 0.00392
0.00784 0.00784 0.00784
0.01176 0.01176 0.01176
0.01569 0.01569 0.01569
0.01961 0.01961 0.01961
0.02353 0.02353 0.02353
0.02745 0.02745 0.02745
0.03137 0.03137 0.03137
0.03529 0.03529 0.03529
0.03922 0.03922 0.03922
0.04314 0.04314 0.04314
0.04706 0.04706 0.04706
0.05098 0.05098 0.05098
0.05490 0.05490 0.05490
0.05882 0.05882 0.05882
0.06275 0.06275 0.06275
0.06667 0.06667 0.06667
0.07059 0.07059 0.07059
0.07451 0.07451 0.07451
0.07843 0.07843 0.07843
0.08235 0.08235 0.08235
0.08627 0.08627 0.08627
0.09020 0.09020 0.09020
0.09412 0.09412 0.09412
0.09804 0.09804 0.09804
0.10196 0.10196 0.10196
0.10588 0.10588 0.10588
0.10980 0.10980 0.10980
0.11373 0.11373 0.11373
0.11765 0.11765 0.11765
0.12157 0.12157 0.12157
0.12549 0.12549 0.12549
0.12941 0.12941 0.12941
0.13333 0.13333 0.13333
0.13725 0.13725 0.13725
0.14118 0.14118 0.14118
0.14510 0.14510 0.14510
0.14902 0.14902 0.14902
0.15294 0.15294 0.15294
0.15686 0.15686 0.15686
0.16078 0.16078 0.16078
0.16471 0.16471 0.16471
0.16863 0.16863 0.16863
0.17255 0.17255 0.17255
0.17647 0.17647 0.17647
0.18039 0.18039 0.18039
0.18431 0.18431 0.18431
0.18824 0.18824 0.18824
0.19216 0.19216 0.19216
0.19608 0.19608 0.19608
0.20000 0.20000 0.20000
0.20392 0.20392 0.20392
0.20784 0.20784 0.20784
0.21176 0.21176 0.21176
0.21569 0.21569 0.21569
0.21961 0.21961 0.21961
0.22353 0.22353 0.22353
0.22745 0.22745 0.22745
0.23137 0.23137 0.23137
0.23529 0.23529 0.23529
0.23922 0.23922 0.23922
0.24314 0.24314 0.24314
0.24706 0.24706 0.24706
0.25098 0.25098 0.25098
0.25490 0.25490 0.25490
0.25882 0.25882 0.25882
0.26275 0.26275 0.26275
0.26667 0.26667 0.26667
0.27059 0.27059 0.27059
0.27451 0.27451 0.27451
0.27843 0.27843 0.27843
0.28235 0.28235 0.28235
0.28627 0.28627 0.28627
0.29020 0.29020 0.29020
0.29412 0.29412 0.29412
0.29804 0.29804 0.29804
0.30196 0.30196 0.30196
0.30588 0.30588 0.30588
0.30980 0.30980 0.30980
0.31373 0.31373 0.31373
0.31765 0.31765 0.31765
0.32157 0.32157 0.32157
0.32549 0.32549 0.32549
0.32941 0.32941 0.32941
0.33333 0.33333 0.33333
0.33725 0.33725 0.33725
0.34118 0.34118 0.34118
0.34510 0.34510 0.34510
0.34902 0.34902 0.34902
0.35294 0.35294 0.35294
0.35686 0.35686 0.35686
0.36078 0.36078 0.36078
0.36471 0.36471 0.36471
0.36863 0.36863 0.36863
0.37255 0.37255 0.37255
0.37647 0.37647 0.37647
0.38039 0.38039 0.38039
0.38431 0.38431 0.38431
0.38824 0.38824 0.38824
0.39216 0.39216 0.39216
0.39608 0.39608 0.39608
0.40000 0.40000 0.40000
0.40392 0.40392 0.40392
0.40784 0.40784 0.40784
0.41176 0.41176 0.41176
0.41569 0.41569 0.41569
0.41961 0.41961 0.41961
0.42353 0.42353 0.42353
0.42745 0.42745 0.42745
0.43137 0.43137 0.43137
0.43529 0.43529 0.43529
0.43922 0.43922 0.43922
0.44314 0.44314 0.44314
0.44706 0.44706 0.44706
0.45098 0.45098 0.45098
0.45490 0.45490 0.45490
0.45882 0.45882 0.45882
0.46275 0.46275 0.46275
0.46667 0.46667 0.46667
0.47059 0.47059 0.47059
0.47451 0.47451 0.47451
0.47843 0.47843 0.47843
0.48235 0.48235 0.48235
0.48627 0.48627 0.48627
0.49020 0.49020 0.49020
0.49412 0.49412 0.49412
0.49804 0.49804 0.49804
0.50196 0.50196 0.50196
0.50588 0.50588 0.50588
0.50980 0.50980 0.50980
0.51373 0.51373 0.51373
0.51765 0.51765 0.51765
0.52157 0.52157 0.52157
0.52549 0.52549 0.52549
0.52941 0.52941 0.52941
0.53333 0.53333 0.53333
0.53725 0.53725 0.53725
0.54118 0.54118 0.54118
0.54510 0.54510 0.54510
0.54902 0.54902 0.54902
0.55294 0.55294 0.55294
0.55686 0.55686 0.55686
0.56078 0.56078 0.56078
0.56471 0.56471 0.56471
0.56863 0.56863 0.56863
0.57255 0.57255 0.57255
0.57647 0.57647 0.57647
0.58039 0.58039 0.58039
0.58431 0.58431 0.58431
0.58824 0.58824 0.58824
0.59216 0.59216 0.59216
0.59608 0.59608 0.59608
0.60000 0.60000 0.60000
0.60392 0.60392 0.60392
0.60784 0.60784 0.60784
0.61176 0.61176 0.61176
0.61569 0.61569 0.61569
0.61961 0.61961 0.61961
0.62353 0.62353 0.62353
0.62745 0.62745 0.62745
0.63137 0.63137 0.63137
0.63529 0.63529 0.63529
0.63922 0.63922 0.63922
0.64314 0.64314 0.64314
0.64706 0.64706 0.64706
0.65098 0.65098 0.65098
0.65490 0.65490 0.65490
0.65882 0.65882 0.65882
0.66275 0.66275 0.66275
0.66667 0.66667 0.66667
0.67059 0.67059 0.67059
0.67451 0.67451 0.67451
0.67843 0.67843 0.67843
0.68235 0.68235 0.68235
0.68627 0.68627 0.68627
0.69020 0.69020 0.69020
0.69412 0.69412 0.69412
0.69804 0.69804 0.69804
0.70196 0.70196 0.70196
0.70588 0.70588 0.70588
0.70980 0.70980 0.70980
0.71373 0.71373 0.71373
0.71765 0.71765 0.71765
0.72157 0.72157 0.72157
0.72549 0.72549 0.72549
0.72941 0.72941 0.72941
0.73333 0.73333 0.73333
0.73725 0.73725 0.73725
0.74118 0.74118 0.74118
0.74510 0.74510 0.74510
0.74902 0.74902 0.74902
0.75294 0.75294 0.75294
0.75686 0.75686 0.75686
0.76078 0.76078 0.76078
0.76471 0.76471 0.76471
0.76863 0.76863 0.76863
0.77255 0.77255 0.77255
0.77647 0.77647 0.77647
0.78039 0.78039 0.78039
0.78431 0.78431 0.78431
0.78824 0.78824 0.78824
0.79216 0.79216 0.79216
0.79608 0.79608 0.79608
0.80000 0.80000 0.80000
0.80392 0.80392 0.80392
0.80784 0.80784 0.80784
0.81176 0.81176 0.81176
0.81569 0.81569 0.81569
0.81961 0.81961 0.81961
0.82353 0.82353 0.82353
0.82745 0.82745 0.82745
0.83137 0.83137 0.83137
0.83529 0.83529 0.83529
0.83922 0.83922 0.83922
0.84314 0.84314 0.84314
0.84706 0.84706 0.84706
0.85098 0.85098 0.85098
0.85490 0.85490 0.85490
0.85882 0.85882 0.85882
0.86275 0.86275 0.86275
0.86667 0.86667 0.86667
0.87059 0.87059 0.87059
0.87451 0.87451 0.87451
0.87843 0.87843 0.87843
0.88235 0.88235 0.88235
0.88627 0.88627 0.88627
0.89020 0.89020 0.89020
0.89412 0.89412 0.89412
0.89804 0.89804 0.89804
0.90196 0.90196 0.90196
0.90588 0.90588 0.90588
0.90980 0.90980 0.90980
0.91373 0.91373 0.91373
0.91765 0.91765 0.91765
0.92157 0.92157 0.92157
0.92549 0.92549 0.92549
0.92941 0.92941 0.92941
0.93333 0.93333 0.93333
0.93725 0.93725 0.93725
0.94118 0.94118 0.94118
0.94510 0.94510 0.94510
0.94902 0.94902 0.94902
0.95294 0.95294 0.95294
0.95686 0.95686 0.95686
0.96078 0.96078 0.96078
0.96471 0.96471 0.96471
0.96863 0.96863 0.96863
0.97255 0.97255 0.97255
0.97647 0.97647 0.97647
0.98039 0.98039 0.98039
0.98431 0.98431 0.98431
0.98824 0.98824 0.98824
0.99216 0.99216 0.99216
0.99608 0.99608 0.99608
1.00000 1.00000 1.00000
b = 8
# octave --eval 'DotDemo'
warning: function ./Speak.m shadows a core library function
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get- involved.html
Read http://www.octave.org/bugs. html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
warning: function /usr/share/octave/packages/ strings-1.1.0/base64decode.m shadows a core library function
warning: function /usr/share/octave/packages/ strings-1.1.0/base64encode.m shadows a core library function
warning: function /usr/share/octave/packages/ strings-1.1.0/strjoin.m shadows a core library function
warning: dx does not seem to be present some functionalities will be disabled
PTB-INFO: Display ':0' : X-Screen 0 : Assigning primary output as 0 with RandR-CRTC 0 and GPU-CRTC 0.
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under GNU/Octave 64-Bit (Version 3.0.12 - Build date: May 16 2016).
PTB-INFO: Support status on this operating system release: Linux 3.13.0-105-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:
Advanced Micro Devices, Inc. [AMD/ATI] - Bonaire XT [Radeon R9 M280X]
GPU found. Trying to establish low-level access...
PTB-INFO:
Connected to Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon
R9 M280X] GPU with DCE-8.0 display engine [2 heads]. Beamposition
timestamping enabled.
PTB-INFO:
OpenGL-Renderer is ATI Technologies Inc. :: AMD Radeon R9 M280X ::
4.5.13399 Compatibility Profile Context FireGL 14.30
PTB-INFO: VBL startline = 1080 , VBL Endline = 1109
PTB-INFO: Measured monitor refresh interval from beamposition = 16.661245 ms [60.019524 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO:
Measured monitor refresh interval from VBLsync = 16.649141 ms
[60.063158 Hz]. (50 valid samples taken, stddev=0.095508 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.661390 ms [60.019001 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
minsmooth = 1
maxsmooth = 8192
INFO: PTB's Screen('Flip', 10) command seems to have missed the requested stimulus presentation deadline
INFO: a total of 3 times out of a total of 36 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.
>> DotDemo % in matlab
PTB-INFO: Display ':0' : X-Screen 0 : Assigning primary output as 0 with RandR-CRTC 0 and GPU-CRTC 0.
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.12 - Build date: May 13 2016).
PTB-INFO: Support status on this operating system release: Linux 3.13.0-105-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:
Advanced Micro Devices, Inc. [AMD/ATI] - Bonaire XT [Radeon R9 M280X]
GPU found. Trying to establish low-level access...
PTB-INFO:
Connected to Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon
R9 M280X] GPU with DCE-8.0 display engine [2 heads]. Beamposition
timestamping enabled.
PTB-INFO:
OpenGL-Renderer is ATI Technologies Inc. :: AMD Radeon R9 M280X :: 2.1
(4.5.13399 Compatibility Profile Context FireGL 14.30)
PTB-INFO: VBL startline = 1080 , VBL Endline = 1109
PTB-INFO: Measured monitor refresh interval from beamposition = 16.661284 ms [60.019384 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO:
Measured monitor refresh interval from VBLsync = 16.647482 ms
[60.069145 Hz]. (50 valid samples taken, stddev=0.186439 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.661390 ms [60.019001 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
minsmooth =
1
maxsmooth =
8192
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
Error in function DrawDots: Usage error
Point smoothing unsupported on your system and our shader based implementation failed as well in Screen('DrawDots').
>>
>> AdditiveBlendingForLinearSuper positionTutorial('Native10Bit' )
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.12 - Build date: May 13 2016).
PTB-INFO: Support status on this operating system release: Linux 3.13.0-105-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:
Advanced Micro Devices, Inc. [AMD/ATI] - Bonaire XT [Radeon R9 M280X]
GPU found. Trying to establish low-level access...
PTB-INFO:
Connected to Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon
R9 M280X] GPU with DCE-8.0 display engine [2 heads]. Beamposition
timestamping enabled.
PTB-INFO: Trying to enable at least 10 bpc fixed point framebuffer.
PTB-INFO: Native 10 bit per color framebuffer requested, but the OS doesn't allow it. It only provides 8 bpc.
PTB-INFO: Will now try to use our own high bit depth setup code as an alternative approach to fullfill your needs.
PTB-INFO: Assuming kernel driver provided color resolution of the GPU framebuffer will be 10 bits per RGB color component.
PTB-INFO:
OpenGL-Renderer is ATI Technologies Inc. :: AMD Radeon R9 M280X :: 2.1
(4.5.13399 Compatibility Profile Context FireGL 14.30)
PTB-INFO: VBL startline = 1080 , VBL Endline = 1109
PTB-INFO: Measured monitor refresh interval from beamposition = 16.661264 ms [60.019454 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO:
Measured monitor refresh interval from VBLsync = 16.649923 ms
[60.060337 Hz]. (50 valid samples taken, stddev=0.169034 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.661390 ms [60.019001 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.
PTB-INFO: System framebuffer switched to ARGB2101010 mode for screen 0 [head 0].
PTB-INFO: Psychtoolbox imaging pipeline starting up for window with requested imagingmode 5125 ...
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-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-WARNING: GPU reports that pageflipping isn't used - or under our control - for Screen('Flip')! [pflip_status = 0]
PTB-WARNING: Returned Screen('Flip') timestamps might be wrong! Please fix this now (read 'help SyncTrouble').
PTB-INFO: System framebuffer switched to standard ARGB8888 mode for screen 0 [head 0].
Error using AssertGLSL (line 37)
Sorry, this M-File cannot execute on your combination of graphics hardware and driver due to complete
lack of GLSL support.
Error in AssertGLSL (line 37)
error('Sorry, this M-File cannot execute on your combination of graphics hardware and driver due to
complete lack of GLSL support.');
Error in LoadShaderFromFile (line 33)
AssertGLSL;
Error in PsychColorCorrection (line 578)
icmShaders = LoadShaderFromFile(' ICMSimpleGammaCorrectionShader .frag.txt', [], debuglevel);
Error in PsychImaging>PostConfiguration (line 3879)
[icmshader icmstring icmconfig icmoverrideMain] =
PsychColorCorrection(' GetCompiledShaders', win, 1);
Error in PsychImaging (line 2161)
PostConfiguration(reqs, win, clearcolor, slavewin);
Error in AdditiveBlendingForLinearSuper positionTutorial (line 357)
[w, wRect]=PsychImaging(' OpenWindow', screenNumber, 0.5, lrect);
# get-edid | parse-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
Performing real mode VBE call
Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
Function supported
Call successful
VBE version 300
VBE string at 0xc0248 "AMD ATOMBIOS"
VBE/DDC service about to be called
Report DDC capabilities
Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
(Message over 64 KB, truncated)
(Message over 64 KB, truncated)