External Email - Use Caution        

 Try downloading and installing the development build for the silicon Mac 
from,https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/dev/freesurfer-macOS-darwin_arm64-dev.pkgWe
 don’t really support running/debugging X-Windows applications like freeview 
thru docker back to the host.  For the case where freeview does not run 
natively, many people choose a VM image with its own built in X-server, e.g., 
run VirtualBox on Windows.
There are however ubuntu debian package installers located in the same 
directory as the mac package listed above, i,.e., there is an Ubuntu 22 .deb 
installer.  If you don't use the linux install tools to install the .deb 
package, then you will likely be missing system libraries.
- R.

On Sep 20, 2024, at 14:36, Belakovski, Nickolai 
<nickolai.belakov...@mssm.edu> 
wrote:        External Email - Use 
Caution        Hello all,
I'm just getting started with Freesurfer so please forgive me if I'm missing 
something basic, but basically my setup is like this:
I'm on an M3 Mac and I'd like to run FreeSurfer. Since there's arm/x86 
compatibility issues I'm trying to run it inside of an x86_64 docker image of 
Ubuntu 22.04. I've downloaded the relevant .tar.gz, mounted it inside my docker 
and I've installed all the various packages I need to run freeview (basically I 
tried to run freeview and every time it complained about a shared lib not found 
I'd install the relevant package), but now I've gotten to a point where I try 
to run freeview and it just says "Aborted" and that's it.
I have a license.txt at FREESURFER_HOME and I've run source SetUpFreeSurfer.sh, 
but basically I'm stuck at this point. I can run freeview -h and get the help 
message. I can run freeview --verbose, but this also just results in an 
"Aborted" message and that's it.
Is there anything else I can do to debug? The "Aborted" message unfortunately 
doesn't give me much to go on 🙁
For the sake of completeness I'll just make a note that I should be able to run 
this through Docker. I've installed x11-apps and run xeyes in the same 
container in which I'm trying to run freeview and it works, so I don't think 
that's the part it's choking on. Also for completeness here's a list of the 
packages I had to apt-get install: libgomp1, libgl1, libglib2.0-0, libqt5gui5, 
and I also had to export LIBGL_ALWAYS_INDIRECT=1 for some reason.
Thanks very much for your help,Nickolai BelakovskiBiomedical Software 
EngineerBioMedical Engineering and Imaging Institute (BMEII)Icahn School of 
Medicine at Mount Sinai
_______________________________________________Freesurfer mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed.  If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to