The officially official Devuan Forum!

You are not logged in.

#1 2025-01-12 19:09:53

wingcommander1999
Member
Registered: 2020-04-14
Posts: 28  

[HowTo]Install latests community NvidiaGraphicsDrivers on Daedalus

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

Output

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!

Source

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

#2 2025-01-12 19:21:13

greenjeans
Member
Registered: 2017-04-07
Posts: 707  
Website

Re: [HowTo]Install latests community NvidiaGraphicsDrivers on Daedalus

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

#3 2025-01-13 08:40:46

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 274  

Re: [HowTo]Install latests community NvidiaGraphicsDrivers on Daedalus

mostly for future thread visitors, since nvidia-detect was mentioned:

https://wiki.debian.org/NvidiaGraphicsDrivers


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

Board footer