You are not logged in.
Disclaimer: "This tutorial only focuses on the second way to install Nvidia's proprietary drivers, if the "apt install nvidia-driver" way does not work on your installation, you can rely on this tutorial.To all those who use Plymouth with various scripts, there is a high risk of startup problems because Plymouth behaves badly with nvidia's proprietary drivers, so please do not follow this How-to. You can, however, find out more on the Plymouth Debian Wiki."
Prerequisites:
- make a backup with Timeshift (safety first)
- check graphics card compatibility
(if your graphics card does not appear in the list, it is not necessary to install the latest driver, the one installed by default will suffice)
- command line as root to check which GPU is installed:
lshw -numeric -C display
If the prerequisites are satisfied, you can continue with the tutorial below.
First step add non-free-firmware sources befor install Linux Headers and compilation dependencies:
nano /etc/apt/sources.list
Add the lines below behind each debian source and enabling the backports:
non-free-firmware
deb http://deb.devuan.org/merged daedalus-backports main non-free-firmware
Then update and install Linux Headers and compilation dependencies:
apt update && apt install linux-headers-$(uname -r) build-essential libglvnd-dev pkg-config dkms -y
Second step blacklist the nouveau driver, create a blacklist file:
nano /etc/modprobe.d/blacklist-nouveau.conf
In the file add the following lines and save the file:
blacklist nouveau
options nouveau modeset=0
Then regenerate the kernel initramfs:
update-initramfs -u
Third step install the latests NvidiaGraphicsDrivers:
apt install -t daedalus-backports firmware-misc-nonfree nvidia-kernel-dkms nvidia-driver nvidia-cuda-toolkit nvidia-cuda-dev nvidia-settings nvidia-smi nvidia-xconfig nvidia-opencl-icd nvidia-opencl-common nvidia-detect -y
Reboot.
To view how version you have installed, just open an terminal and enter follow:
nvidia-smi
Enjoy!
Last edited by wingcommander1999 (2025-01-12 19:11:54)
AMD Ryzen 7 5700X - Gigabyte B550 AORUS ELITE V2 - 32Gb Vengeance Pro RGB White - NVME/SSD 2,5To - RTX4060TI 6Gb White - PSU Corsair 750w White - Case Corsair 5000D AirFlox Case fan x7 White - AIO 240 Corssair RGB White
Daedalus / W11
Offline
Nice! But don't you need to make a xorg.conf if you install the Nvidia drivers? Been years since I ran an Nvidia machine.
Another easy way to identify your chip is to install nvidia-detect then run that in terminal, it will also attempt to suggest what packages you might need to install for your chip.
https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded January 2025!
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.
New Devuan-mate-mini isos too!
Please donate to support Devuan and init freedom! https://devuan.org/os/donate
Offline
mostly for future thread visitors, since nvidia-detect was mentioned:
Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!
Offline