Hi experts,
I have used mrtrix3 for a while. Recently, I tried to install Mrtrix3 in a new PC with Ubuntu 22.04.3. I created a new conda environment with python 3.11 and execute the following code without any errors:
conda install -c mrtrix3 mrtrix3
However, when I opened a new terminal window and type “mrview”, I got the following errors:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: nouveau
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
QOpenGLWidget: Failed to create context
qt.qpa.backingstore: composeAndFlush: QOpenGLContext creation failed
qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
I have installed mrtrix3 in a laptop with Ubuntu 20.04 and a Macbook Pro M1 Pro with Sonoma successfully. But I don’t know how to solve this problem. Could you pls give me some advice. Thanks a lot in advance.
Best,
Roger