blog

MRIcroGL Troubleshooting

This page describes how to resolve issues with MRIcroGL. This page wwas originally created several years ago, at a time when graphics cards were generally less poserful. Most modern computers should support this software without issue.

joe

Windows
Linux

abdomen

macOS Macintosh
Setting Graphics Quality

If you experience probelms with MRIcroGL, start the program while depressing the SHIFT key (or Control if you are using Linux). You will be asked if you want to reset the program to the default settings – press ‘Yes’. This restores the generic settings for the program.

By default, MRIcroGL attempts to show the images in their native resolution. However, this strategy may not work well in two situations: with older video cards the rendering may be very slow, whereas with video cards with little texture memory the images may appear scrambled. To combat either effect, launch MRIcroGL with while holding the shift key down (or control key if you are using Linux). A dialog will appear asking you if you wish to restore the default settings – press “Yes”. Next, a dialog appears ‘Set graphics card (0 = old, 1 = poor, 2 = OK, 3 = great’, providing you with four options:

Finally, a dialog appears ‘Set gradient calculation (0=slow[CPU], 1=fast[GPU])’, providing you with two options:

Virtualized Environments

MRIcroGL can run on some virtualized systems using the right versions of VirtualBox (including with ‘Enable 3D acceleration’), Mesa (Mesa (version 7.6, check using glxinfo) and VirtualGL (vglrun). MacOS and Linux users can type ‘glxinfo’ at the command line for details about your OpenGL support: glxinfo should report “OpenGL version string: 2.1” (or later). Further, the glxinfo Visuals Table should report Red (r), Green (g), blue (b) of at least 8-bits each and a depth (dpth) of at least 24 bits. Linux users who do not meet these requirements will may see the error message ‘gdk_gl_context_share_new_usefpglx context creation failed’ when they attempt to run MRIcroGL. You can remedy this by upgrading your graphics driver or hardware.

If your virtualized environment uses X11, be aware that X11’s indirect rendering mode is limited to OpenGL 1.4 and earlier. Since MRIcroGL requires OpenGL 2.1, you will need to use direct rendering. SCM provides a terrific page describing the options for running modern OpenGL on remote machines.

Advanced Notes