Sure that seems to be working least with mfix -k
. However I’m still getting these errors even with the latest XQuartz 2.8.2
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
2022-08-24 11:53:12.558 ( 5.062s) [ AAAF0F00]vtkOpenGLRenderWindow.c:499 ERR| vtkXOpenGLRenderWindow (0x55555ceef800): 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.
I did try using a locally installed miniconda & mamba and tested the source install via pip still getting this error:
Traceback (most recent call last):
File "/path/to/mambaforge/bin/mfix", line 5, in <module>
from mfixgui.gui import main
File "/path/to/mambaforge/lib/python3.9/site-packages/mfixgui/gui.py", line 70, in <module>
from .job import JobManager
File "/path/to/mambaforge/lib/python3.9/site-packages/mfixgui/job.py", line 16, in <module>
from qtpy.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
File "/path/to/mambaforge/lib/python3.9/site-packages/qtpy/QtNetwork.py", line 14, in <module>
from PyQt5.QtNetwork import *
ImportError: /lib64/libgssapi_krb5.so.2: symbol krb5_ser_context_init, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
I also tried upgrading XQuartz to 2.8.2 RC1,
2022-08-24 12:12:01.262 ( 23.819s) [ AAAF0F00]vtkOpenGLRenderWindow.c:493 ERR| vtkEGLRenderWindow (0x55555cd84db0): GLEW could not be initialized: Missing GL version
as well as:
mfix - ERROR - restoring graphics: setValue(self, int): argument 1 has unexpected type 'numpy.float64'
Error saving ui state 'BaseGraphicTab' object has no attribute 'monitor_table'
Edit: I’m seeing this log in /var/log/messages every time it tries to open:
kernel: mfix[421820]: segfault at 0 ip (null) sp 00007fffffffafd8 error 14 in ld-2.17.so[2aaaaaaab000+22000]
Edit 2, from Windows MobaXterm see these logs/errors:
mfix
2022-08-24 14:51:16.419 ( 7.155s) [ AACCA400]vtkOpenGLRenderWindow.c:499 ERR| vtkXOpenGLRenderWindow (0x55555cf0d7c0): 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-08-24 14:51:16.419 ( 7.155s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.419 ( 7.155s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.420 ( 7.156s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.420 ( 7.156s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.420 ( 7.156s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.420 ( 7.156s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.420 ( 7.156s) [ AACCA400] vtkOpenGLState.cxx:1795 WARN| Hardware does not support the number of textures defined.
2022-08-24 14:51:16.421 ( 7.157s) [ AACCA400] vtkShaderProgram.cxx:437 ERR| vtkShaderProgram (0x55555ef5c170): 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: vtkPolyData2DVS.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: // all variables that represent positions or directions have a suffix
27: // indicating the coordinate system they are in. The possible values are
28: // MC - Model Coordinates
29: // WC - WC world coordinates
30: // VC - View Coordinates
31: // DC - Display Coordinates
32:
33: in vec4 vertexWC;
34:
35: // material property values
36: in vec4 diffuseColor;
37: out vec4 fcolorVSOutput;
38:
39: // Texture coordinates
40: //VTK::TCoord::Dec
41:
42: // Apple Bug
43: //VTK::PrimID::Dec
44:
45: uniform mat4 WCVCMatrix; // World to view matrix
46:
47: void main()
48: {
49: // Apple Bug
50: //VTK::PrimID::Impl
51:
52: gl_Position = WCVCMatrix*vertexWC;
53: //VTK::TCoord::Impl
54: fcolorVSOutput = diffuseColor;
55: }
2022-08-24 14:51:16.421 ( 7.157s) [ AACCA400] vtkShaderProgram.cxx:438 ERR| vtkShaderProgram (0x55555ef5c170): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES
2022-08-24 14:51:16.422 ( 7.158s) [ AACCA400] vtkShaderProgram.cxx:437 ERR| vtkShaderProgram (0x55555ef6a250): 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: //VTK::PositionVC::Dec
32:
33: // optional normal declaration
34: //VTK::Normal::Dec
35:
36: // extra lighting parameters
37: //VTK::Light::Dec
38:
39: // Texture coordinates
40: //VTK::TCoord::Dec
41:
42: // material property values
43: //VTK::Color::Dec
44:
45: // clipping plane vars
46: //VTK::Clip::Dec
47:
48: // camera and actor matrix values
49: uniform mat4 MCDCMatrix;
50:
51: // Apple Bug
52: //VTK::PrimID::Dec
53:
54: // Value raster
55: //VTK::ValuePass::Dec
56:
57: // picking support
58: //VTK::Picking::Dec
59:
60: void main()
61: {
62: //VTK::CustomBegin::Impl
63:
64: //VTK::Color::Impl
65:
66: //VTK::Normal::Impl
67:
68: //VTK::TCoord::Impl
69:
70: //VTK::Clip::Impl
71:
72: //VTK::PrimID::Impl
73:
74: gl_Position = MCDCMatrix * vertexMC;
75:
76:
77: //VTK::ValuePass::Impl
78:
79: //VTK::Light::Impl
80:
81: //VTK::Picking::Impl
82:
83: //VTK::CustomEnd::Impl
84: }
2022-08-24 14:51:16.422 ( 7.159s) [ AACCA400] vtkShaderProgram.cxx:438 ERR| vtkShaderProgram (0x55555ef6a250): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES
Segmentation fault
edit 3: we do have libGLEW.so here and I’ve tried exporting LD_PRELOAD
with these paths:
/usr/lib64/libGLEW.so
/usr/lib64/libGLEW.so.1.10
/usr/lib64/libGLEW.so.1.10.0
/usr/lib64/libGLEW.so.1.9
/usr/lib64/libGLEW.so.1.9.0