Differences between revisions 8 and 9
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
---------------------------------------------------------
----------
Line 6: Line 7:
Line 12: Line 14:
'''Solution:''' You need to install XQuartz (http://xquartz.macosforge.org/landing/) and reboot your system.
Line 13: Line 16:
'''Solution:'''
You need to install XQuartz (http://xquartz.macosforge.org/landing/) and reboot your system.
----------
'''Error message:'''
Line 16: Line 19:
---------------------------------------------------------

'''Error message:'''
Line 22: Line 22:
Line 26: Line 25:
sudo rm -rf /System/Library/Launch*/org.x.*  sudo rm -rf /System/Library/Launch*/org.x.*
Line 32: Line 31:
Line 35: Line 33:
--------------------------------------------------------- ----------
Line 37: Line 35:
Line 42: Line 41:
Line 48: Line 46:
----------
'''Error message:'''
Line 49: Line 49:
---------------------------------------------------------
'''Error message:'''
Line 57: Line 55:
Line 60: Line 57:
---------------------------------------------------------
----------
This is a test edit.
----------

Troubleshooting various qdec, tkmedit, tksurfer,tkregister error messages.

If you get any of the following error messages please try the recommended solution.


Error message:

dyld: Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Applications/freesurfer/bin/qdec.bin
  Reason: image not found
Trace/BPT trap

Solution: You need to install XQuartz (http://xquartz.macosforge.org/landing/) and reboot your system.


Error message:

Bus error

Solution: You are encountering an oft encountered problem when installing XQuartz on top of the existing X11. To solve this you will have to completely remove XQuartz and reinstall. This is done as follows:

sudo rm -rf /System/Library/Launch*/org.x.*
sudo rm -rf /Applications/Utilities/XQuartz.app
sudo rm -rf /opt/X11
sudo rm -rf /usr/X11
sudo rm -rf /usr/X11R6

Then reinstall XQuartz and reboot the system. At this point, if you try to open qdec (or another Freesurfer GUI) and the terminal just hangs, you will need to goto Applications->Utilities and open XQuartz. If opening any of the GUIs still doesnt work, then you might have to logout then login again. XQuartz can be a finicky install, requiring one or more reboot and logout/logins, but once the GUI opens, it should no longer be a problem.


Error message:

Opening window subj
Window type not found
register: tkoinitwindow(name) failed.

Solution: You have a compatibility issue between Exceed OpenGL and Mesa GLX. It turns out if your system's libGL.so library is provided by Mesa 7.1 or later, OpenGL applications may not run remotely. Setting the following environment variable should solve the problem:

export LIBGL_ALWAYS_INDIRECT=y


Error message:

X Error of failed request:  GLXBadContext
  Major opcode of failed request:  0 ()
  Serial number of failed request:  1171
  Current serial number in output stream:  1171

Solution: You have a system with graphics card that is incompatible with qdec. You will have to use another system or get a more powerful graphics card in order to run qdec.


This is a test edit.


Contact zkaufman@nmr.mgh.harvard.edu if you have additional questions.

freesurfer_GUIs_troubleshooting (last edited 2016-10-09 22:17:03 by ZekeKaufman)