Would it be possible to send us the volume and the surface files? If the volume 
geometric info from the surface is missing or wrong, it would be unlikely to 
align with the volume.

Ruopeng

On Oct 15, 2023, at 11:06 AM, Andrei Bieger 
<andreibie...@gmail.com<mailto:andreibie...@gmail.com>> wrote:


        External Email - Use Caution

Hello! Thank you for the reply.

I created a new VM with a fresh Ubuntu 22.04.3 install, got the OS up to date 
(apt update && upgrade), downloaded and installed the 
"freesurfer_ubuntu22-7.4.1_amd64.deb" via apt-get as you suggested and the 
bert/mri volume was displayed just fine on freeview. Yet when I add the 
subject`s pial surfaces using freeview`s GUI, the same problem happened. 
Please, see below.

<Screenshot from 2023-10-15 11-58-02.png>



Em dom., 15 de out. de 2023 às 00:23, fsbuild 
<fsbu...@contbay.com<mailto:fsbu...@contbay.com>> escreveu:

Freesurfer 7.4.1 on Ubuntu 20 uses its own versions of Qt libraries and not the 
system versions.   So if your setup is looking for or finding system versions 
of those libraries, then freesurfer may be installed incorrectly and/or could 
be finding the wrong Qt libraries via use of environment variables like 
LD_LIBRRY_PATH or Qt*.  (I would try not to set LD_LIBRARY_PATH and Qt 
environment variables in your shell environment before source’ing the 
freesurfer setup script).

I suggest you remove whatever freesurfer distribution you have on the machine 
and do a clean re-install of 7.4.1 using the .deb package installer which you 
can download via the link, MailScanner has detected a possible fraud attempt 
from "secure-web.cisco.com" claiming to 
behttps://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.4.1/freesurfer_ubuntu20-7.4.1_amd64.deb<https://secure-web.cisco.com/1kpuTk9_R5kskmqF_6o6rua0GGLqHxifzAoRK6cMSgrTpPDNhGt713qUWGKL3EcQhDe8khRBY-nUPRwl-nZIMHUALIpOT4_EFjQl4LlfzRrOWfqziqqpbGFKxZZfvVS6E8t14OeXwRIzU40NLKf76swGwMc1jGxxZ7R9MtHrCFMFfHuJ8e7pF9EqWBSlZllSh-q_KNKsqUKa272keCfxL1RX4LPT3q14oK3F2tOTUTFlS28k6CKJlUBq6h23xdOOetk6Cz4-bZhpsBkkEl9ATlzTVrGV8LVPQtuT53Kfs7Vl266wbjQ6vih4dyDzsN03V/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer_ubuntu20-7.4.1_amd64.deb>

If freesurfer was previously installed with the linux package tools then it 
should work to uninstall it with,
$ sudo apt remove freesurfer
… answer y to all prompts ...

If you unarchived the *..tag.gz file somewhere then “rm -rf” should work on the 
root freesurfer directory.

With the previous freesurfer installation removed, cd to where you downloaded 
the freesurfer_ubuntu20-7.4.1_amd64.deb and try,

$ sudo apt-get -y install ./freesurfer_ubuntu20-7-dev_amd64.deb
… wait for install to finish …

$ cd
$ export FREESURFER_HOME=/usr/local/freesurfer/7.4.1
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-linux-ubuntu20_x86_64-7.4.1-20230614-7eb8460 ————
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /usr/local/freesurfer/7.4.1
FSFAST_HOME       /usr/local/freesurfer/7.4.1/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /usr/local/freesurfer/7.4.1/subjects
MNI_DIR           /usr/local/freesurfer/7.4.1/mni


$ which freeview
/usr/local/freesurfer/7.4.1/bin/freeview
$ freeview
… freeview should open an empty window …

… quit freeview and try opening this example volume …

$ freeview $SUBJECTS_DIR/bert/mri/brain.mgz

If you see the attached image, then freeview/Qt is essentially working.

- R.


On Oct 14, 2023, at 14:14, Andrei Bieger 
<andreibie...@gmail.com<mailto:andreibie...@gmail.com>> wrote:


        External Email - Use Caution

Hi, all!

I had to reinstall my VM where I had freesurfer running. Everything was running 
fine before. It is now a VirtualBox VM running Ubuntu 20.04 on my Windows 
laptop, where I'm running the version 7.4.1 of Freesurfer.
When I downloaded freesurfer it wouldn't run freeview, with the following 
output: "Application failed to start because no Qt platform plugin could be 
initialized. Available plugins are: (...)"

After some research, I tried "sudo apt install qt5-default" and freeview 
started running. But the thing is, every time I try loading a subject, the 
surfaces get completely misaligned with the volumes and the following messages 
show on the terminal: "Warning: MatrixInverse failed" and "Did not find any 
volume info". Please, see attached image.

<Screenshot from 2023-10-14 15-06-44.png>


I tried using Ubuntu 22 and previous versions of freesurfer but the problem 
persisted. I also found a message with a similar issue on this list, but the 
user stopped answering so a solution wasn't proposed. There is also a release 
note from v5.3.0 saying that on Fedora this message would come up, but this is 
not the case.
Any help with that?
--
Andrei Bieger
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" 
claiming to 
behttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer<https://secure-web.cisco.com/10qa5i61mRFQjh_bcTHlgVXeRcNyHdVRN5wzqxX-Dbmh5RkvcYYiGcJF01nDEBIrnpY3oqe5R9ReKMqufLOtskKgCr5hVDnFD9_HFYNZxLmJ02lpf-YMOhD4kzvRgaNhA2Cl9fQp5U9IEvDmmpBPRKDAGP8NGU3T210Fge5FWaL47oxXYCXdaph4-fpe9xgI6VWOi09oUffW9oKJ_BMxF7qNKZzRwNfMUjgWoxWkiekAGamFp2_u_jjtSrE2tNoYyuf7N3O3GkMFr52iTpjo_Yb7FQoJrXPtd3QsFoLuQlqSOPJu0pP9mNILTpeHd3KH-/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer>



--
Andrei Bieger
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://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