When SAMSON Won’t Open: A Practical Linux OpenGL Check

A molecular modeling session can come to a sudden stop before it even begins: SAMSON fails to launch, or its graphics window does not display correctly. On Linux, one possible cause is a missing or unavailable OpenGL library or graphics driver. The checks below help you narrow down the issue before changing system files or installing packages.

Start by identifying the graphics hardware

Open a terminal and check which graphics controller your system reports:

You can also use these commands, including for more detail about the video device:

A computer may have an integrated GPU, a dedicated NVIDIA or AMD card, or more than one graphics device. The output is a useful starting point, but it does not by itself confirm that the correct driver is installed or that OpenGL is working.

Check whether OpenGL is available

On Debian-based systems such as Ubuntu, check the OpenGL information and look for the relevant libraries:

If locate returns no results, its file database may need updating. On systems where the command is available, update it and check the library names again:

If glxinfo is not installed, the Mesa utilities package provides it on Debian-based systems. The documentation suggests installing Mesa development files and those utilities with:

For an integrated GPU, Mesa may be the relevant software to check. For a dedicated NVIDIA or AMD card, consult the driver instructions for your specific GPU and Linux distribution. Driver installation steps vary, so avoid treating a command for one system as a universal fix.

Check the libraries SAMSON depends on

On Linux, SAMSON depends on libOpenGL.so.0 and libGLX.so.0. These libraries are supplied by the system rather than by SAMSON. If a library appears to be missing, first confirm that you have checked the right locations and that your system’s library database is current.

The troubleshooting documentation describes creating symbolic links as a possible workaround when a library is absent. This is a system-level change, and the example paths depend on the SAMSON version and the libraries installed on your computer. Do not copy a path blindly: verify that the target file exists and is an appropriate library for your system. A link to the wrong file can make troubleshooting harder. The documentation also notes that a link to a SAMSON-shipped Qt library may need to be recreated after SAMSON is updated.

If SAMSON still does not launch

Keep a record of your Linux distribution, GPU model, driver, command output, and the exact launch error. That information can help distinguish a missing dependency from a driver or graphics configuration issue. For a missing-xcb error on Ubuntu-like systems, the documentation lists libxcb-xinerama0 and libxcb-cursor0; on CentOS-like systems, it suggests checking the xcb-util* packages.

For the full set of platform-specific instructions, see the SAMSON troubleshooting page. You can also review Requirements and platforms and Install SAMSON.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.