I was able to resolve my issue related to OpenGL causing tksurfer and tkmedit
to have problems, and the solution may be helpful to others.
The problem was that the kernel had been updated (e.g. yum update), causing
problems for the nvidia display driver. The solution was to uninstall the
nvidia driver (e.g. yum erase dell-nvidia) and then to reinstall the nvidia
driver downloaded from support.dell.com (e.g. rpm -ihv
dell-nvidia-180.29-1dkms_rhel5.3.a01.x86_64.rpm). The uninstall and reinstall
should be done as root in init mode 3 (e.g. Ctl-Alt-F1).
From: dhagle...@hotmail.com
To: freesurfer@nmr.mgh.harvard.edu
Date: Fri, 9 Oct 2009 17:29:32 -0700
Subject: [Freesurfer] glut
I recently started getting this error message when running tkmedit:
GLUT: Fatal Error in tkmedit.bin: failed to create OpenGL rendering context.
This is with v4.4 on a machine running RHE5. Recent updates to RHE5 may be to
blame.
I get this error when running v3.0.5:
freeglut
(/space/monkeys/1/pubsw/packages/freesurfer/RH4-x86_64-R305/bin/tkmedit.bin):
Unable to create direct context rendering for window 'Medit: '
This may hurt performance.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 37
Current serial number in output stream: 37
I see that there have been previous posts about similar errors, but I haven't
found any replies with solutions.
tkmedit does work when I use a different user account than the one I log into
the xserver with. In that case, I get these messages:
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
freeglut
(/space/monkeys/1/pubsw/packages/freesurfer/RH4-x86_64-R305/bin/tkmedit.bin):
Unable to create direct context rendering for window 'Medit: '
This may hurt performance.
Does anyone know of a solution for this problem?
Hotmail: Trusted email with powerful SPAM protection. Sign up now.
_________________________________________________________________
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:102009
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer