External Email - Use Caution        


Hello Andreas,

Freesurfer releases are primarily built to use the generic system (CPU, GPU) hardware and do not include CUDA software/support because not everyone has CUDA devices, it may not work with different CUDA drivers, we should not re-distribute files with some copyrights, etc.  On machines like the arm64 Macs, I think commands will end up using the built-in GPU’s anyway, e.g., with tensorflow-metal.

- R.

On Jun 30, 2026, at 11:35, Andreas Bartsch <bartsch@radvisory.net> wrote:

        External Email - Use Caution        


Hi,

I am trying to run:

20240702165833_t2_spc_flair_sag_34.nii.gz -o brain.nii.gz -m mask.nii.gz -d dist.nii.gz --gpu

but am getting:

Error: -g flag provided but CUDA is not available

on Ubuntu 24.04 LTS Noble Numbat with a 20 × 13th Gen Intel® Core™ i7-13700H, NVIDIA GeForce RTX 3050 6GB Laptop.

CUDA, CUDA-toolkit and cudnn are installed, and fsl-gpu-tools are, in fact, running.

Also, 

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 mri_synthstrip -i 20240702165833_t2_spc_flair_sag_34.nii.gz -o brain.nii.gz -m mask.nii.gz -d dist.nii.gz --gpu

results in the same error.

--gpu=0 does not seem to be the solution, either.

Any ideas why -g does not work and how to get it to work?

Cheers,

Andreas

Am 19.06.26 um 22:09 schrieb Andreas Bartsch:

Hi,

what is the latest Freesurfer version suitable for Ubuntu 24.04 LTS Noble Numbat on Intel

 (20 × 13th Gen Intel® Core™ i7-13700H, NVIDIA GeForce RTX 3050 6GB Laptop GPU)?

Where is the download, and where are installation instructions?

Thanks!

Cheers-

Andreas

_______________________________________________
Freesurfer mailing list -- freesurfer@nmr.mgh..harvard.edu
To unsubscribe send an email to freesurfer-leave@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr..mgh.harvard.edu/