Hi,
I have just installed ubuntu 16.04 and the all packages to run PTB. Everything looks fine when I run my stimuli on a VPIXX screen.
My config is ubuntu 16.04 (4.8.0-34-lowlatency kernel), matlab 2015a, ptb-3 installed through neurodebian, and PsychLinuxConfiguration script has been run.
I still need to run ptb3-matlab with sudo to run BitsPlusImagingPipelineTest and BitsPlusCLUTtest, but everything seems to work fine when I call my scripts. However when I try those with -nojvm (I want to display fast stimuli), then I have the following error message:
[...]
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.14 - Build date: Dec 22 2016).
PTB-INFO: Support status on this operating system release: Linux 4.8.0-34-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: NVIDIA Corporation - GF119 [GeForce GT 520] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to NVidia GF119 [GeForce GT 520] GPU of NV-0d0 family with 2 display heads. Beamposition timestamping enabled.
PTB-WARNING: Your graphics driver doesn't allow me to control syncing wrt. vertical retrace!
PTB-WARNING: Please update your display graphics driver as soon as possible to fix this.
PTB-WARNING: Until then, you can manually enable syncing to VBL somehow in a manner that is
PTB-WARNING: dependent on the type of gfx-card and driver. Google is your friend...
PTB-WARNING: Seems that a Mesa OpenGL software renderer is active! This will likely cause miserable
PTB-WARNING: performance, lack of functionality and severe timing and synchronization problems.
[...]
When I run those scripts whith java I have this:
PTB-INFO: NVIDIA Corporation - GF119 [GeForce GT 520] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to NVidia GF119 [GeForce GT 520] GPU of NV-0d0 family with 2 display heads. Beamposition timestamping enabled.
PTB-INFO: Fixed point precision integer framebuffer enabled.
PTB-INFO: OpenGL-Renderer is nouveau :: Gallium 0.4 on NVD9 :: 3.0 Mesa 11.2.0
PTB-INFO: VBL startline = 1080 , VBL Endline = 1242
PTB-INFO: Measured monitor refresh interval from beamposition = 8.333737 ms [119.994194 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.333836 ms [119.992768 Hz]. (50 valid samples taken, stddev=0.000529 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.333472 ms [119.998001 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 -- DataPixx will be able to finally output with 16 bits precision.
PTB - Info: Alpha-blending should be fully supported at this precision by your hardware.
PTB - Info: Aspect ratio preserving half horizontal resolution color conversion for C48
PTB - Info: mode selected. All odd-numbered pixel columns will be ignored/skipped.
LoadIdentityClut: Info: Could not use GPU low-level setup for setup of pixel passthrough. Will use fallback method.
LoadIdentityClut: NVidia gpu detected. Enabling type-III LUT.
Building a fragment shader:Reading shader from file /usr/share/matlab/site/m/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/ICMCLUTCorrectionShader.frag.txt ...
Compiling all shaders matching Bits++_Color++_FormattingShader * into a GLSL program.
Building a fragment shader:Reading shader from file /usr/share/matlab/site/m/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/Bits++_Color++_FormattingShader.frag.txt ...
PsychDatapixx:GPU-Rasterizertest: Warning: glVertex2f() command draws at wrong position (Offset 0, 1)!
LoadIdentityClut: Info: Could not use GPU low-level setup for setup of pixel passthrough. Will use fallback method.
LoadIdentityClut: NVidia gpu detected. Enabling type-III LUT.
PsychColorCorrection: Using a 32 bit float CLUT -> 23 bits effective linear output precision for color correction.
I am missing something? Is there a lib I cannot access to when -nojvm is called?
Thanks for any help you could provide.
Romain Bachy
I have just installed ubuntu 16.04 and the all packages to run PTB. Everything looks fine when I run my stimuli on a VPIXX screen.
My config is ubuntu 16.04 (4.8.0-34-lowlatency kernel), matlab 2015a, ptb-3 installed through neurodebian, and PsychLinuxConfiguration script has been run.
I still need to run ptb3-matlab with sudo to run BitsPlusImagingPipelineTest and BitsPlusCLUTtest, but everything seems to work fine when I call my scripts. However when I try those with -nojvm (I want to display fast stimuli), then I have the following error message:
[...]
PTB-INFO: This is Psychtoolbox-3 for GNU/Linux X11, under Matlab 64-Bit (Version 3.0.14 - Build date: Dec 22 2016).
PTB-INFO: Support status on this operating system release: Linux 4.8.0-34-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: NVIDIA Corporation - GF119 [GeForce GT 520] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to NVidia GF119 [GeForce GT 520] GPU of NV-0d0 family with 2 display heads. Beamposition timestamping enabled.
PTB-WARNING: Your graphics driver doesn't allow me to control syncing wrt. vertical retrace!
PTB-WARNING: Please update your display graphics driver as soon as possible to fix this.
PTB-WARNING: Until then, you can manually enable syncing to VBL somehow in a manner that is
PTB-WARNING: dependent on the type of gfx-card and driver. Google is your friend...
PTB-WARNING: Seems that a Mesa OpenGL software renderer is active! This will likely cause miserable
PTB-WARNING: performance, lack of functionality and severe timing and synchronization problems.
[...]
When I run those scripts whith java I have this:
PTB-INFO: NVIDIA Corporation - GF119 [GeForce GT 520] GPU found. Trying to establish low-level access...
PTB-INFO: Connected to NVidia GF119 [GeForce GT 520] GPU of NV-0d0 family with 2 display heads. Beamposition timestamping enabled.
PTB-INFO: Fixed point precision integer framebuffer enabled.
PTB-INFO: OpenGL-Renderer is nouveau :: Gallium 0.4 on NVD9 :: 3.0 Mesa 11.2.0
PTB-INFO: VBL startline = 1080 , VBL Endline = 1242
PTB-INFO: Measured monitor refresh interval from beamposition = 8.333737 ms [119.994194 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.333836 ms [119.992768 Hz]. (50 valid samples taken, stddev=0.000529 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 8.333472 ms [119.998001 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 -- DataPixx will be able to finally output with 16 bits precision.
PTB - Info: Alpha-blending should be fully supported at this precision by your hardware.
PTB - Info: Aspect ratio preserving half horizontal resolution color conversion for C48
PTB - Info: mode selected. All odd-numbered pixel columns will be ignored/skipped.
LoadIdentityClut: Info: Could not use GPU low-level setup for setup of pixel passthrough. Will use fallback method.
LoadIdentityClut: NVidia gpu detected. Enabling type-III LUT.
Building a fragment shader:Reading shader from file /usr/share/matlab/site/m/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/ICMCLUTCorrectionShader.frag.txt ...
Compiling all shaders matching Bits++_Color++_FormattingShader * into a GLSL program.
Building a fragment shader:Reading shader from file /usr/share/matlab/site/m/psychtoolbox-3/PsychOpenGL/PsychGLSLShaders/Bits++_Color++_FormattingShader.frag.txt ...
PsychDatapixx:GPU-Rasterizertest: Warning: glVertex2f() command draws at wrong position (Offset 0, 1)!
LoadIdentityClut: Info: Could not use GPU low-level setup for setup of pixel passthrough. Will use fallback method.
LoadIdentityClut: NVidia gpu detected. Enabling type-III LUT.
PsychColorCorrection: Using a 32 bit float CLUT -> 23 bits effective linear output precision for color correction.
I am missing something? Is there a lib I cannot access to when -nojvm is called?
Thanks for any help you could provide.
Romain Bachy