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.