FSLeyes crashing with windows installation

Summary of what happened:

I followed the directions here: https://fsl.fmrib.ox.ac.uk/fsl/docs/#/install/windows to install fsl on the windows machines in my classroom (I don’t have access to linux or mac classrooms). When I do not install xlaunch, I am able to open the fsl main GUI, and click on that to open the FEAT GUI. However, when I try to open FSLeyes, either through the FSL GUI or the command line, I get an error stating “Segmentation fault (core dumped)”, as soon as I click on anything.

Is there a way for me to make fsleyes usable for visualizing data?

Command used (and if a helper script was used, a link to the helper script or the command generated):

fsl
fsleyes

Version:

FSL v. 6.07.16

Environment (Docker, Singularity / Apptainer, custom installation):

I followed the directions here: https://fsl.fmrib.ox.ac.uk/fsl/docs/#/install/windows to install fsl on the windows 11 machines in my classroom.

Data formatted according to a validatable standard? Please provide the output of the validator:

n/a

Relevant log outputs (up to 20 lines):

/home/cmikkelsen/fsl/share/fsl/bin/fsleyes: line 2: 100949 Segmentation fault (core dumped) /home/cmikkelsen/fsl/bin/python3.12 -I /home/cmikkelsen/fsl/bin/fsleyes “$@”

Screenshots / relevant information:

I then tried installing xlaunch (assuming it was an issue with WSLg) with the suggested modifications (echo “export DISPLAY=$(grep nameserver /etc/resolv.conf | awk ‘{print $2; exit}’):0” >> ~/.bashrc
echo “export LIBGL_ALWAYS_INDIRECT=1” >> ~/.bashrc) for GUI rendering, but this left me unable to call even the main FSL GUI.


Hi @cmikk, can you share the output of running env in a WSL session where FSLeyes is crashing with a segmentation fault?

Also, what error messages do you get when trying to use xlaunch?