Hi, Nick,
I forgot to attach the xorg.cong file, it is here. Thanks!
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Wed Mar 29 15:31:59 PST 2006
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "yes"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.0 - 54.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA Quadro FX 4400"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "NvAGP" "1"
Option "TwinView" "true"
Option "SecondMonitorHorizSync" "31.0 - 80.0"
Option "SecondMonitorVertRefresh" "56.0 - 76.0"
Option "MetaModes" "1600x1200, 1600x1200; 1280x1024, 1280x1024; 1280x1024, 1280x1024;"
Option "TwinViewOrientation" "RightOf"
Option "Xinerama" "on"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
> Subject: Re: [Freesurfer] a "redraw failed: no gl window open" problem
> From: nicks@nmr.mgh.harvard.edu
> To: freesurfer_zg@hotmail.com
> CC: freesurfer@nmr.mgh.harvard.edu
> Date: Tue, 18 Aug 2009 19:27:11 -0400
>
> Guang,
>
> which version of freesurfer are you running?
>
> does glxgears work?
>
> can you send me your /etc/X11/xorg.conf file?
>
> Nick
>
>
> On Tue, 2009-08-18 at 17:53 -0500, Guang Zeng wrote:
> > yeah, it didn't work
> >
> >
> > ______________________________________________________________________
> > From: ppj@netfilter.com.br
> > Date: Tue, 18 Aug 2009 19:46:02 -0300
> > Subject: Re: [Freesurfer] a "redraw failed: no gl window open" problem
> > To: freesurfer_zg@hotmail.com
> >
> > I suppose you have tried the trick bellow
> >
> > setenv doublebuffer_flag 1
> > -----------------------------------------------------------
> > Pedro Paulo de M. Oliveira Junior
> > Diretor de Operações
> > Netfilter & SpeedComm Telecom
> > --- Novo Netfilter 3.0 www.Netfilter.com.br
> > --- New Netfilter Small Business
> >
> >
> >
> > 2009/8/18 Guang Zeng <freesurfer_zg@hotmail.com>
> > Hi, there,
> >
> > I am still facing the problem of "redraw failed: no gl window
> > open", I got another linux machine with Nvidia graphic card,
> > I ran the tksurfer command "tksurfer bert lh inflated", it
> > still gave me the "redraw failed: no gl window open" error.
> >
> > 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
> > 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: double 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 read a previously posted thread by Nick, it looks like we
> > can download a new tksurfer.bin file to solve this problem at
> > ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/fsdev/nicks/stable/centos4_x86_64
> > But I clicked the link, the file has been removed. Does any
> > one can help me get the new link of this file?
> >
> > Thanks a lot!
> >
> > Guang
> >
> >
> >
> > ______________________________________________________________
> > Windows Live: Keep your friends up to date with what you do
> > online. Find out more.
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> >
> >
> >
> > ______________________________________________________________________
> > Hotmail® is up to 70% faster. Now good news travels really fast. Try
> > it now.
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
Hotmail® is up to 70% faster. Now good news travels really fast. Try it now.