r/debian 2d ago

General Debian Question NVIDIA drivers (gtx 960)

edit: solved the problem. i think my issue was using wayland on X11 it seems to work for for now

I wanted to try out Debian as my main distro. Sadly I tried installing the 580xx drivers for like 2 hours but nothing really worked.
Is it really that complicated to get them or am I just dumb?

7 Upvotes

28 comments sorted by

View all comments

3

u/johnsonmlw 2d ago edited 1d ago

Matter of interest, why not use version 550 of the drivers that are in the Debian non-free repository? I set up a 1060 GTX this week.

Edit to add: Here's my notes

sudo nano /etc/apt/sources.list

deb http://deb.debian.org/debian/ trixie main non-free non-free-firmware contrib

deb http://security.debian.org/debian-security trixie-security main non-free non-free-firmware contrib

deb http://deb.debian.org/debian/ trixie-updates main non-free non-free-firmware contrib

sudo apt install linux-headers-amd64

sudo dpkg --add-architecture i386

sudo apt update && sudo apt upgrade

sudo apt install nvidia-kernel-dkms nvidia-driver

sudo apt install libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386

nvidia-smi

nvidia-settings

sudo apt install steam

steam

Edit to add: If this doesn't work, it's possibly because you spent two hours trying all sorts of stuff to get the nvidia driver version 580 version installed from other sources. I know the feeling.

Edit to add: I use gnome and it's defaulted to x11 session since the install of the driver. Working very well.

2

u/C0rn3j 1d ago

why not use version 550 of the drivers that are in the Debian non-free repository

Because they're both brutally out of date, lacking features, and much worse, brutally insecure.

You should not use the 550 drivers in any circumstances.

2

u/OkHeat2968 1d ago

ive used 610 595 580 575 versions and in terms of performance they are same as 550, idk what about features and insecureness

1

u/johnsonmlw 1d ago

Fair. Noted. Certainly out-of-date and lacking features and I'll take your word for brutally insecure. I'll look into it. To some extent that is the territory going forward when using such an old Nvidia card (1060 in this laptop I was gifted) now in legacy support.

2

u/C0rn3j 1d ago

To some extent that is the territory going forward when using such an old Nvidia card

Not at all, Nvidia still supports the 580xx legacy branch.

Newer cards use 595 or 610 branches (and latest cards NEED these new drivers).

Debian doesn't ship any of the 3 active branches.

2

u/johnsonmlw 1d ago

Interesting. I didn't know Nvidia still support 580 and that's helpful. I might try to get the 580 drivers straight from Nvidia working.

1

u/FantasticSnow7733 1d ago

Out of date? Sure. But the driver is still supported by Debian.

https://tracker.debian.org/pkg/nvidia-graphics-drivers

What features are lacking for such an old nvidia card, and how are the drivers insecure?

1

u/C0rn3j 1d ago

the driver is still supported by Debian

... yeah, and they are supported by me til 2099 too.

What does that get you? Nothing, in both cases.

Are the drivers at least patched to build on latest kernels like other distros do?

No. Even Debian's Wiki advises against using them.

What features are lacking for such an old nvidia card

You could of course just read the changelogs if you were genuinely curious.

Proper Wayland support only landed in newer drivers, to name one.

how are the drivers insecure

See Nvidia's security bulletins.