Hi, there,

Could you tell me what I need to unpack to solve the "redraw fails" problem?

Thanks a lot!

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).



> From: sebastian.moeller@lur.rwth-aachen.de
> To: corinnab83@gmail.com
> Subject: Re: [Freesurfer] Freesurfer Digest, Vol 66, Issue 9
> Date: Mon, 10 Aug 2009 11:36:21 -0700
> CC: freesurfer@nmr.mgh.harvard.edu; freesurfer_zg@hotmail.com; nicks@nmr.mgh.harvard.edu
>
> Hi,
>
> it seems that my fix is not universal.. Do you see anything at all? In
> my case I use NX remote controlling on red hat enterprise linux server
> with the described fix. NX on 32 bit windows works as does Macosx,
> only Vista 64bit clients running NX to log into the server fail to use
> double buffering (they do display everything in tksurfer though just
> really slow). Hmm, I have no real idea what might be going on there,
> sorry...
>
> Sebastian
>
> On Aug 10, 2009, at 11:06 AM, corinna bauer wrote:
>
> > 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 <sebastian.moeller@lur.rwth-aachen.de
> > > 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, 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.
> > 2
> > So, how can I solve this problem, any suggestions are highly
> > appreciated.
> >
> > Thanks a lot!
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> >
>


Windows Live: Keep your friends up to date with what you do online. Find out more.