using nvidia gpus in devuan

context

  • devuan releases table @
  • wikipedia / nvidia gpu list @
  • @ nvidia / unix drivers
  • debian wiki / NvidiaGraphicsDrivers@
  • nouveau/codenames @
  • Devuan forum / Nouveua vs Nvidia benchmarks on GM206 @
  • @ envytools / nvidia gpu docs

installation of nouveau driver

Installing devuan on a pc with a nvidia gpu will result in installation of nouveau driver. How that happens? What packages are involved ?

installation of priopriatory driver

gather related info

devuan version and it's corresponding debian version

That could be usefull for accessing and using related info available in the debian wiki. ref : devuan releases table @

identify installed gpu card

install non-free/x11 nvidia-detect and execute nvidia-detect

disable secure boot

According to the debian wiki :

If you have SecureBoot enabled: you need to enroll your machine owner's key (MOK) to use DKMS modules.

$ sudo mokutil --sb-state // check secure boot state

In Daedalus i didnt succeed in enrolling my machine keys so i disabled secure boot in the uefi bios. How that is done is not standard across uefi-bioses.

Add contib and non-free apt sources

Add "contrib", "non-free" components to /etc/apt/sources.list, for example:

  1. deb http://deb.devuan.org/merged daedalus main contrib non-free
  2. apt update

linux headers

Do we need linux headers ? What is linux headers? linux-headers-amd64

install non-free firmware

 firmware-nvidia 

install nvidia-driver

issues

persistance daemon

$ sudo apt-cache show nvidia-driver Recommends: nvidia-settings (>= 535), libnvidia-cfg1 (= 535.216.01-1~deb12u1), nvidia-persistenced (>= 535) During installation in Daedalus

utilities

nvdia-settings

nvidia-detect

nvidia-smi

nvidia-detect recommends a driver version.

nvidia-smi

 nvidia-smi (also NVSMI) provides monitoring and management capabilities for each of
 NVIDIA's Tesla, Quadro, GRID and GeForce devices from Fermi and higher architecture families

$ nvidia-smi -q -d TEMPERATURE

benchmarks

programs

in devuan

glmark2

third parties

Unigine Benchmarks

benchmarking GM206

 Unigine Valley Benchmark 1.0
-nouveaunvidia
FPS10.899.8
Score4524176
Min FPS7.543.3
Max FPS7.5167.8

glmark2 Score: 842 glmark2 Score: 17719

secured boot

If secureboot is enabled the nvidia driver must be signed and the key used to sign it must be enrolled to the uefi's keys using either mokutil or from the uefi setup.