Skip to content

General

3D Stereo on RHEL/CentOS 7 systems

Nvidia 3D stereo typically requires disabling the Composite extension in X.org. Unfortunately, this extension is required to run Gnome 3 and the gdm login manager supplied as the default desktop in CentOS and many other linux distributions.

As of version 337.19 of the nvidia driver, some Quadro configurations can operate with the composite extension enabled, but stereo functionality depends on a stereo-aware composite manager. The Composite manager in CentOS7 Gnome3 is not stereo aware and 3D stereo does not work by default.

In order to use 3D stereo on Gnome3 systems, you can switch from Gnome3/gdm to MATE/lightdm. The MATE Desktop Environment is a continuation of GNOME 2, which was the default desktop in CentOS 5 and 6.

To change to MATE on CentOS / Rocky / AlmaLinux systems, first, install the Extra Packages for Enterprise Linux (EPEL) repository:

yum install epel-release

Then install the Nvidia drivers from EPEL:

yum install kmod-nvidia

You may also need the following packages:

yum install mesa-libGLU-9.0.0-4.el7.x86_64 libXScrnSaver-1.2.2-6.1.el7.x86_64

Next, install lightdm which doesn't require the composite extension.

yum install lightdm

Next, perform a couple of group installs: You may already have these RPMs installed, but it is good to verify:

yum group install  "X Window System"

then

yum groupinstall "MATE Desktop"

Switch from gdm to lightdm in systemd using systemctl. To see what you are using as a 'display manager', check this link

ls -l /etc/systemd/system/display-manager.service

This is likely pointing to gdm and should be changed to point to lightdm. You can change that with systemctl.

systemctl disable gdm
systemctl enable lightdm

This will reload your changes, similar to changing run levels with sysvinit.

systemctl isolate graphical.target

Make sure to select MATE from the drop-down menu as your graphical environment before you log in.

Mac OS X

*- We are not aware of Stereo viewing options for macOS computers at this time.