Hello, I also received the same error message as Guang when trying to run tksurfer. I added the suggested line to $FREESURFER_HOME/bin/tksurfer and unpacked the files, but I still get the following error message:
surfer: current subjects dir: /home/freesurfer4.4.0/subjects/corinna/ADNI surfer: not in "scripts" dir ==> using cwd for session root surfer: session root data dir ($session) set to: surfer: /home/freesurfer4.4.0/subjects/corinna/ADNI/003_S_1057 surfer: Reading header info from /home/freesurfer4.4.0/subjects/corinna/ADNI/003_S_1057/mri/T1.mgz surfer: vertices=116670, faces=233336 Loading /home/freesurfer4.4.0/surface_labels.txt surfer: ### redraw failed: no gl window open surfer: single buffered window surfer: tkoInitWindow(003_S_1057) surfer: using interface /home/freesurfer4.4.0/lib/tcl/tksurfer.tcl Reading /home/freesurfer4.4.0/lib/tcl/tkm_common.tcl Reading /home/freesurfer4.4.0/lib/tcl/tkm_wrappers.tcl Reading /home/freesurfer4.4.0/lib/tcl/fsgdfPlot.tcl Reading /home/freesurfer4.4.0/lib/tcl/tkUtils.tcl Successfully parsed tksurfer.tcl reading white matter vertex locations... I also tried setenv doublebufferflag 0, which also did not work. Thanks, Corinna On Wed, Aug 5, 2009 at 1:05 PM, Sebastian Moeller < [email protected]> wrote: > Hi Guang, > > if I recall correctly "the sliver problem" stems from the use of an > incompatible libGL. I did the following that a colleague found out: > add the following line to ${FREESURFER_HOME}/bin/tksurfer (that is the > script that calls tksurfer.bin): > setenv LD_PRELOAD ${FREESURFER_HOME}bin/libGL.so.1 > > Also unpack the following to reside in your ${FREESURFER_HOME}/bin > directory: > > > > > (Those are GL libraries from a redhat 4 / centos 4 system that seem to work > with tksurfer). > > > Nick, do you think it would be possible to make this change for the > distribution (it was inspired by your inclusion of libGlut to begin with). > > ahoi & good luck > Sebastian > > > On Aug 5, 2009, at 7:22 AM, [email protected] wrote: > > Date: Wed, 5 Aug 2009 08:49:15 -0500 >> From: Guang Zeng <[email protected]> >> Subject: [Freesurfer] "redraw failed: no gl window open" problem >> To: <[email protected]> >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="iso-8859-1" >> >> >> Hi, there, >> >> I am running the tksurfer command to view the cortical surface data as >> tksurfer bert lh inflated. But I met a problem. >> I only can view a sliver part of the brain. This sliver portion can rotate >> and do everything that tksurfer is supposed to do, >> but I can't view any more of the brain than a tiny piece. Tkmedit works >> fine. >> >> When I run the command, it gave me something like this: >> >> surfer: current subjects dir: >> /home/m047599/freesurfer-install/freesurfer/subjects >> surfer: not in "scripts" dir ==> using cwd for session root >> surfer: session root data dir ($session) set to: >> surfer: /home/m047599/freesurfer-install/freesurfer >> surfer: Reading header info from >> /home/m047599/freesurfer-install/freesurfer/subjects/bert/mri/T1.mgz >> surfer: vertices=131369, faces=262734 >> Loading /home/m047599/freesurfer-install/freesurfer/surface_labels.txt >> surfer: ### redraw failed: no gl window open >> surfer: single buffered window >> surfer: tkoInitWindow(bert) >> surfer: using interface >> /home/m047599/freesurfer-install/freesurfer/lib/tcl/tksurfer.tcl >> Reading /home/m047599/freesurfer-install/freesurfer/lib/tcl/tkm_common.tcl >> Reading >> /home/m047599/freesurfer-install/freesurfer/lib/tcl/tkm_wrappers.tcl >> Reading /home/m047599/freesurfer-install/freesurfer/lib/tcl/fsgdfPlot.tcl >> Reading /home/m047599/freesurfer-install/freesurfer/lib/tcl/tkUtils.tcl >> Successfully parsed tksurfer.tcl >> reading white matter vertex locations... >> >> >> I searched the previous posts, it looks like somebody have the same >> problem. >> There is no NVidia and native Linux system on my computer. I run tksurfer >> on a virtual Linux machine using NX 3. 3. 0. 6. >> I ran the xdpyinfo | grep GL, it shows that I have GLX and SGI-GLX. >> I ran the glxgrears, it works, although very slow. >> 2 >> So, how can I solve this problem, any suggestions are highly appreciated. >> >> Thanks a lot! >> > > > _______________________________________________ > Freesurfer mailing list > [email protected] > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer >
_______________________________________________ Freesurfer mailing list [email protected] https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
