GPU configuration under Linux

Nvidia

Installing Drivers

There are often a number of different driver versions available at any given time, which may not sound weird, but in the world of installing Linux software using apt, you’re usually installing the latest. For Nvidia GPUs under Linux, the latest is not always the greatest, and you may find yourself trying a few versions out for which is most stable on your hardware. When doing this, Nvidia advises that you fully remove a version before installing the next one.

Removing Nvidia drivers

sudo apt remove --purge 'nvidia-*'
sudo apt autoremove
sudo apt clean

Configuration

NVIDIA X Server Settings

LACT

LACT is a tool to make configuring both #Nvidia, #Intel, and #AMD GPUs easier under Linux, including manipulating power states and overclock settings.

Installing LACT

On #Debian derived systems, the .deb installer can be grabbed from the Releases page and installed with `dpkg -i.

Once installed, the service can be started with systemctl

sudo systemctl enable --now lactd

This can be especially helpful if you have deployed a eGPU as a part of a HomeLab computing setup with something like a Lenovo or any system that has a built-in GPU.

References