Mar 29, 2018, 10:26 AM

If you experience some problems installing or running SAMSON on Ubuntu 17.04 or later with Nvidia GPU, it might be due to problems between Nvidia driver and GNOME Display Manager (gdm3). This might be caused by Wayland. You may try to use the Xorg display server instead of Wayland. For that, at the login console choose Xorg server instead of Wayland, or uncomment the line #WaylandEnable=false in the file /etc/gdm3/custom.conf.

Before installing Nvidia driver, check which Nvidia driver version is compatible with your GPU. To check which GPU you have, run this command:

lspci | grep VGA

To install Nvidia driver, run the following command with the version that supports your GPU:

sudo apt-get install nvidia-xxx

If you still experience some problems with Nvidia drivers and GNOME Display Manager with Xorg server, you may try to switch to LightDM display manager (Canonical's solution for a display manager). To switch to lightdm, run the following command:

sudo dpkg-reconfigure lightdm

or if it was not previously installed run:

sudo apt-get install lightdm

and choose lightdm.

To check which display manager is currently being used, run this command:

cat /etc/X11/default-display-manager

If you cannot install or run SAMSON because there is no libOpenGL or libGLX, check if they present in the system by running the following commands:

sudo updatedb
locate libOpenGL.so
locate libGLX.so

If a driver you installed does not provide libOpenGL, you may try to install libopengl0 (a vendor-neutral dispatch layer):

sudo apt-get install libopengl0

If you have no libGLX installed, you may create a symbolic link to libGL provided by Nvidia driver (not by mesa):

locate libGL.so
sudo ln -s /usr/lib/nvidia-xxx/libGL.so /usr/lib/x86_64-linux-gnu/libGLX.so.0