-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi,
I have installed FSL 6.0.5 on our university HPC cluster (Ubuntu 22.04 LTS) and when starting FSLeyes through X11, then it crashes with an error:
[sfux@eu-login-25 ~]$ fsleyes
ERROR main.py 582: initialise - Unable to initialise OpenGL!
wx._core.wxAssertionError: C++ assertion "ok" failed at /home/conda/feedstock_root/build_artifacts/wxpython_1585592665613/work/ext/wxWidgets/src/unix/glx11.cpp(589) in GetGLXVersion(): GLX version not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/cluster/software/manual/fsl/6.0.5/x86_64/fslpython/envs/fslpython/lib/python3.8/site-packages/fsleyes/gl/__init__.py", line 823, in __createWXGLCanvas
self.__canvas = wxgl.GLCanvas(self.__parent, **attrs)
SystemError: <class 'wx._glcanvas.GLCanvas'> returned a result with an error set
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/cluster/software/manual/fsl/6.0.5/x86_64/fslpython/envs/fslpython/lib/python3.8/site-packages/fsleyes/main.py", line 579, in initialise
fslgl.getGLContext(ready=realCallback)
File "/cluster/software/manual/fsl/6.0.5/x86_64/fslpython/envs/fslpython/lib/python3.8/site-packages/fsleyes/gl/__init__.py", line 503, in getGLContext
thismod._glContext = GLContext(**kwargs)
File "/cluster/software/manual/fsl/6.0.5/x86_64/fslpython/envs/fslpython/lib/python3.8/site-packages/fsleyes/gl/__init__.py", line 671, in __init__
self.__createWXGLCanvas()
File "/cluster/software/manual/fsl/6.0.5/x86_64/fslpython/envs/fslpython/lib/python3.8/site-packages/fsleyes/gl/__init__.py", line 833, in __createWXGLCanvas
self.__canvas.SetSize((0, 0))
wx._core.wxAssertionError: C++ assertion "m_widget" failed at /home/conda/feedstock_root/build_artifacts/wxpython_1585592665613/work/ext/wxWidgets/src/gtk/window.cpp(2888) in DoSetSize(): invalid window
I already tried the following things, based on other issues reported in this repo:
- turning off hardware and software acceleration in my X11 server (MobaXterm)
- starting the software with: fsleyes -gl 1 4
- starting the software with: fsleyes -gl 2 1
- starting the software with: GDK_BACKEND=x11 fsleyes
- starting the software with: GDK_BACKEND=x11 fsleyes -gl 1 4
- starting the software with: GDK_BACKEND=x11 fsleyes -gl 2 1
But in all cases I get the same error. Is this a known problem and if yes, is there any workaround known to fix this?
Any help is appreciated.
Best regards
Sam
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels