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, freesurfer-request@nmr.mgh.harvard.edu wrote:
Date: Wed, 5 Aug 2009 08:49:15 -0500 From: Guang Zeng freesurfer_zg@hotmail.com Subject: [Freesurfer] "redraw failed: no gl window open" problem To: freesurfer@nmr.mgh.harvard.edu Message-ID: SNT112-W300BF5F653E2F82B84CEA29C0D0@phx.gbl 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.
So, how can I solve this problem, any suggestions are highly appreciated.
Thanks a lot!