A molecular modeling session can come to a halt before the first structure appears: SAMSON launches with a graphics error, or the molecular viewport stays unavailable. On Linux, the cause may be more specific than “the GPU is unsupported.” SAMSON needs an OpenGL-capable graphics setup, and the required system libraries must also be available.
This checklist helps narrow down the problem in a sensible order. It focuses on Debian-based systems such as Ubuntu; package names and installation steps can differ on other distributions.
1. Identify the graphics hardware
Start by checking which graphics controller Linux detects:
|
1 |
lspci | grep VGA |
You may see an NVIDIA or AMD card, or an integrated GPU such as Intel graphics. This distinction helps you choose the appropriate driver guidance for your system. SAMSON requires a graphics card that supports OpenGL 3.2, so identifying the hardware is a useful first step—but it does not by itself confirm that the right driver and OpenGL libraries are installed.
2. Check whether OpenGL is available
On a Debian-based system, check the OpenGL information and look for the libraries SAMSON depends on:
|
1 2 3 |
glxinfo | grep OpenGL locate libOpenGL.so locate libGL.so |
If glxinfo is not available, the Mesa utilities package may be missing. The locate command relies on a file index, so refresh it first if needed:
|
1 |
sudo updatedb |
SAMSON depends on libOpenGL.so.0 and libGLX.so.0. These libraries are provided by the system, not by SAMSON. If the checks do not find them, investigate the graphics driver and OpenGL packages for your Linux distribution before attempting workarounds.
3. Install Mesa when appropriate
If you are using integrated graphics and Mesa is not installed, the documentation suggests these packages for Debian-based systems:
|
1 |
sudo apt-get install libgl1-mesa-dev mesa-utils |
For a system with an NVIDIA or AMD card, check the driver instructions for your exact GPU and operating-system version. Proprietary drivers may be appropriate, while Mesa may be suitable in other configurations. Installing a package is not a substitute for checking that the driver actually supports the OpenGL version SAMSON requires.
4. Treat missing-library links as a last resort
The troubleshooting guide describes creating symbolic links when particular library names are missing. These examples use specific paths and, in one case, a SAMSON installation directory containing a version number. Your installed files may be elsewhere, and a link should only be created after confirming that the target library exists and is compatible. A link to the wrong file can make diagnosis harder rather than solve the problem. The guide also notes that a link to a library shipped with SAMSON may need to be recreated after an update.
In other words, don’t copy a sample ln -s command blindly. First verify the GPU, driver, OpenGL support, and actual library locations. If the issue remains, share your Linux distribution, GPU model, and the results of the checks when asking for help on the SAMSON Connect Forum.
This order—hardware, driver, OpenGL availability, then library paths—keeps troubleshooting focused and helps distinguish a graphics-driver issue from a missing system dependency.
For the full troubleshooting reference, see SAMSON Troubleshooting.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
