The ENIGMA Toolbox is an open-source repository for accessing 100+ ENIGMA statistical maps, visualizing cortical and subcortical surface data, and relating neuroimaging findings to micro- and macroscale brain organization. 🤠
When trying to use the plot_cortical function on my linux machine, it was not working. It seems that some setup is necessary.
I tried to install opengl libs, but it's still not working. Do you have any suggestions on this issue? Thanks.
2022-06-17 21:38:19.158 ( 5.660s) [ 83139740]vtkOpenGLRenderWindow.c:483 ERR| vtkXOpenGLRenderWindow (0x55e18f3aa470): Unable to find a valid OpenGL 3.2 or later implementation. Please update your video card driver to the latest version. If you are using Mesa please make sure you have version 11.2 or later and make sure your driver in Mesa supports OpenGL 3.2 such as llvmpipe or openswr. If you are on windows and using Microsoft remote desktop note that it only supports OpenGL 3.2 with nvidia quadro cards. You can use other remoting software such as nomachine to avoid this issue.
2022-06-17 21:38:19.158 ( 5.661s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.158 ( 5.661s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.160 ( 5.662s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.160 ( 5.663s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.160 ( 5.663s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.161 ( 5.664s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.161 ( 5.664s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.166 ( 5.668s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.166 ( 5.668s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.166 ( 5.668s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined.
2022-06-17 21:38:19.167 ( 5.669s) [ 83139740] vtkShaderProgram.cxx:437 ERR| vtkShaderProgram (0x55e18feed780): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9:
10:
11: /=========================================================================
12:
13: Program: Visualization Toolkit
14: Module: vtkPolyDataVS.glsl
15:
16: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17: All rights reserved.
18: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19:
20: This software is distributed WITHOUT ANY WARRANTY; without even
21: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22: PURPOSE. See the above copyright notice for more information.
23:
24: =========================================================================/
25:
26: in vec4 vertexMC;
27:
28:
29:
30: // frag position in VC
31: out vec4 vertexVCVSOutput;
32:
33: // optional normal declaration
34: //VTK::Normal::Dec
35: in vec3 normalMC;
36: uniform mat3 normalMatrix;
37: out vec3 normalVCVSOutput;
38:
39: // extra lighting parameters
40: //VTK::Light::Dec
41:
42: // Texture coordinates
43: in vec2 tcoord;
44: out vec2 tcoordVCVSOutput;
45:
46:
47: // material property values
48: //VTK::Color::Dec
49:
50: // clipping plane vars
51: //VTK::Clip::Dec
52:
53: // camera and actor matrix values
54: uniform mat4 MCDCMatrix;
55: uniform mat4 MCVCMatrix;
56:
57: // Apple Bug
58: //VTK::PrimID::Dec
59:
60: // Value raster
61: //VTK::ValuePass::Dec
62:
63: // picking support
64: //VTK::Picking::Dec
65:
66: void main()
67: {
68: //VTK::CustomBegin::Impl
69:
70: //VTK::Color::Impl
71:
72: normalVCVSOutput = normalMatrix normalMC;
73: //VTK::Normal::Impl
74:
75: tcoordVCVSOutput = tcoord;
76:
77:
78: //VTK::Clip::Impl
79:
80: //VTK::PrimID::Impl
81:
82: vertexVCVSOutput = MCVCMatrix vertexMC;
83: gl_Position = MCDCMatrix * vertexMC;
84:
85:
86: //VTK::ValuePass::Impl
87:
88: //VTK::Light::Impl
89:
90: //VTK::Picking::Impl
91:
92: //VTK::CustomEnd::Impl
93: }
2022-06-17 21:38:19.167 ( 5.669s) [ 83139740] vtkShaderProgram.cxx:438 ERR| vtkShaderProgram (0x55e18feed780): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES
When trying to use the plot_cortical function on my linux machine, it was not working. It seems that some setup is necessary. I tried to install opengl libs, but it's still not working. Do you have any suggestions on this issue? Thanks.
2022-06-17 21:38:19.158 ( 5.660s) [ 83139740]vtkOpenGLRenderWindow.c:483 ERR| vtkXOpenGLRenderWindow (0x55e18f3aa470): Unable to find a valid OpenGL 3.2 or later implementation. Please update your video card driver to the latest version. If you are using Mesa please make sure you have version 11.2 or later and make sure your driver in Mesa supports OpenGL 3.2 such as llvmpipe or openswr. If you are on windows and using Microsoft remote desktop note that it only supports OpenGL 3.2 with nvidia quadro cards. You can use other remoting software such as nomachine to avoid this issue. 2022-06-17 21:38:19.158 ( 5.661s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.158 ( 5.661s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.160 ( 5.662s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.160 ( 5.663s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.160 ( 5.663s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.161 ( 5.664s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.161 ( 5.664s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.166 ( 5.668s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.166 ( 5.668s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.166 ( 5.668s) [ 83139740] vtkOpenGLState.cxx:1785 WARN| Hardware does not support the number of textures defined. 2022-06-17 21:38:19.167 ( 5.669s) [ 83139740] vtkShaderProgram.cxx:437 ERR| vtkShaderProgram (0x55e18feed780): 1: #version 150 2: #ifndef GL_ES 3: #define highp 4: #define mediump 5: #define lowp 6: #endif // GL_ES 7: #define attribute in 8: #define varying out 9: 10: 11: /========================================================================= 12: 13: Program: Visualization Toolkit 14: Module: vtkPolyDataVS.glsl 15: 16: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 17: All rights reserved. 18: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 19: 20: This software is distributed WITHOUT ANY WARRANTY; without even 21: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 22: PURPOSE. See the above copyright notice for more information. 23: 24: =========================================================================/ 25: 26: in vec4 vertexMC; 27: 28: 29: 30: // frag position in VC 31: out vec4 vertexVCVSOutput; 32: 33: // optional normal declaration 34: //VTK::Normal::Dec 35: in vec3 normalMC; 36: uniform mat3 normalMatrix; 37: out vec3 normalVCVSOutput; 38: 39: // extra lighting parameters 40: //VTK::Light::Dec 41: 42: // Texture coordinates 43: in vec2 tcoord; 44: out vec2 tcoordVCVSOutput; 45: 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: // picking support 64: //VTK::Picking::Dec 65: 66: void main() 67: { 68: //VTK::CustomBegin::Impl 69: 70: //VTK::Color::Impl 71: 72: normalVCVSOutput = normalMatrix normalMC; 73: //VTK::Normal::Impl 74: 75: tcoordVCVSOutput = tcoord; 76: 77: 78: //VTK::Clip::Impl 79: 80: //VTK::PrimID::Impl 81: 82: vertexVCVSOutput = MCVCMatrix vertexMC; 83: gl_Position = MCDCMatrix * vertexMC; 84: 85: 86: //VTK::ValuePass::Impl 87: 88: //VTK::Light::Impl 89: 90: //VTK::Picking::Impl 91: 92: //VTK::CustomEnd::Impl 93: }
2022-06-17 21:38:19.167 ( 5.669s) [ 83139740] vtkShaderProgram.cxx:438 ERR| vtkShaderProgram (0x55e18feed780): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES