[Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-26 Thread Graham Wideman
Folks: On an installation that had been working, suddenly we're getting fatal errors on starting either tkmedit or tksurfer. These appear to be errors trying to perform X functions. Command lines and responses shown below. I am not aware of recent changes to the environment (new software inst

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-26 Thread Nick Schmansky
Graham, I haven't encountered this particular error. However, tkmedit and tksurfer produce logs called .xdebug_tkmedit and .xdebug_tksurfer which have some startup and debug info. Is the environment variable 'DISPLAY' set to anything unusual? It should be something like ':0.0' Nick On Fri, 200

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-26 Thread Graham Wideman
Nick: Thanks for the quick reply. Relating to the info you added, here's what I see: 1. DISPLAY is set to just ":0" (ie: without the quotes, and no ".0"). Changing it to ":0.0" -- the failures occur as before. 2. The logfiles you mention show the following: ===

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-26 Thread Nick Schmansky
Graham, Does an X app like 'xclock' work? If not, does xclock work if the Freesurfer setup script is not run? Nick On Fri, 2007-01-26 at 16:23 -0800, Graham Wideman wrote: > Nick: > > Thanks for the quick reply. Relating to the info you added, here's what I see: > > 1. DISPLAY is set to just

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-26 Thread Graham Wideman
Nick: At 1/26/2007 11:23 PM, Nick Schmansky wrote: >Graham, > >Does an X app like 'xclock' work? If not, does xclock work if the >Freesurfer setup script is not run? I haven't run xclock, and unfortunately (?) am no longer at work. However, -- Machine is running Centos 4.4 -- KDE works fine

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-29 Thread Graham Wideman
Nick: Still having the same trouble as reported last week. Several more tests to report: 1. I installed 3.0.4 -- same result. 2. In addition to several other GUI apps, I ran xclock as you suggested, looks fine. 3. I ldd'ed tkmedit. To get a realistic output I first did: source tkmedit .

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-29 Thread Nick Schmansky
Graham, Your 'ldd' output from tkmedit looks identical to what I see locally, so that unfortunately does not give me a hint to the problem. Does the utility 'glxgears' run ok? Also, we run v 1.0-8762 of the NVidia driver (and also some v1.0-8178). Version info is found in /proc/driver/nvidia/ver

Re: [Freesurfer] tkmedit/tksurfer fail at startup with X BadValue errors

2007-01-29 Thread Graham Wideman
Nick: Thanks for the suggestions. It's looking like the problem is not specific to FS after all, but I'll recount the latest clues in case you hit this again. 1. NVidia version is 1.0-8765. 2. glxgears actually fails in same way as FS programs. Hmmm. 3. Color depth, as reported by GUI tools