Debain nvidia driver issue tried installing nvidia drivers gives alot of error's

Hi there, i am new to linux and using Debian for 5 days now and i was trying to install nvidia drivers for gaming. I followed the guide in debain wiki by how to install nvidia drivers and i changed my sources to sid and try to install nvidia driver’s the command used is “apt install nvidia-driver firmware-misc-nonfree” . The issue i am getting after reboot i get this error

“[FAILED] Failed to start nvidia-persistenced.service - NVIDIA Persistence Daemon. See ‘systemctl status nvidia-persistenced.service’ for details”

after this i purged my nvidia drivers using this command “sudo apt purge nvidia-*”
then i tried reinstalling my nvidia drivers again the i realize that i got error why installing the drivers this are all the error

“W: Possible missing firmware /lib/firmware/nvidia/ad107/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad107/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad107/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad107/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad106/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad106/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad106/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad106/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad104/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad104/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad104/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad104/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad103/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad103/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad103/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad103/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad102/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad102/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad102/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ad102/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga102/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga102/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga102/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga102/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga100/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga100/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga100/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga100/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu117/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu117/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu117/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu117/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu116/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu116/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu116/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu116/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu106/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu106/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu106/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu106/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu104/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu104/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu104/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu104/gsp/booter_load-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu102/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu102/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu102/gsp/booter_unload-535.113.01.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu102/gsp/booter_load-535.113.01.bin for module nouveau”

using nvidia gt 1030

In my experience the persistenced service is not required. From the driver documents page it does not seem to be necessary for all systems to work properly. Chapter 30. Using the nvidia-persistenced Utility You should check the status with systemctl to see if it gives you any suggestions. ‘sudo systemctl enable nvidia-persistenced’ should enable the service and give it auto-start privileges.

The GT1030 does not use the GSP firmware nor are you attempting to use the nouveau module so those errors should not necessarily indicate a problem.

Can you confirm whether or not you have a working graphical environment.
Using ‘lsmod | grep nvidia’ you should see an output which includes nvidia_drm, nvidia_modeset, nvidia_uvm, and nvidia. Using ‘lsmod | grep nouveau’ you should get no output confirming that the nouveau modules are not loading.

This info will hopefully help :)

1 Like

You’re using the bookworm version of debian and tried to install nvidia drivers from the sid version to get the latest which is why you’re having problems.

https://www.debian.org/releases/

Bookworm is the current stable release of debian, version 12, sid is experimental/unstable, and trixie or testing refers to the testing branch for new packages and the next release 13, which has to undergo a lot of testing before it is considered stable.

The packages provided for each release or version are meant to work together, so people using debian stable, or bookworm, or 12… are using the 525 driver for nvidia right now which is built in order to work with the other packages on your system, specifically the kernel. They’re using 525 instead of the absolute latest release because of how they choose to build the operating system. And that’s not a big deal since many of the new features for later nvidia versions aren’t actually beneficial unless you specifically want to take advantage of them. Often times older drivers and even older kernels actually perform better than the newer ones. Debian is one of the best gaming distributions right now for that reason…

First of all the nvidia-driver package is not in firmware-misc-nonfree, it’s in non-free I believe. You basically have to edit your sources to the old format, and there’s no indication on the forums or website generally that this is necessary to get nvidia-drivers…

https://wiki.debian.org/SourcesList

First you edit your /etc/apt/sources.list

adding non-free and contrib to look like this…

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

then if you want to do gaming, you need 32bit libraries
which you add support for like this…

$ sudo dpkg --add-architecture i386

then update

$ sudo apt update

then you can install the driver normally

$ sudo apt install nvidia-driver

that will pull in all the libraries you need for gaming, and typically if there’s no problem for the driver building against your kernel, youre good to go at this point, and can reboot to use your new driver.

The simplest thing for you might be simply to reinstall your operating system and to correctly install the vital system components like your graphics driver, then you’ll have a nice clean system without any issues.

You want to upgrade properly to the latest packages for stable, then edit your sources, add 32ibit library support if you want to game, then apt update, and install the nvidia-driver meta package: for a pain free experience…

One thing I don’t understand is this why 32 bit and not 64 bit. And actually the reason behind of me going to debain sid is this tutorial "https://youtu.be/tGdnG86EBjs " i followed this tutorial and got this error while booting
“[failed] failed to start nvidia-persistenced.service - nvidia persistence daemon. see ‘systemctl status nvidia-persistenced.service’ for details”

I think the assumption is that your system is already set up to pull 64bit libraries and the previous post instructed adding 32bit to the requirements as well since for gaming steam and a fair number of older games are still 32bit.

A few different prominent gaming programs, that you’ll want to use, lutris, and steam mainly, expect you to have 32bit libraries along side 64 bit libraries to game appropriately or use their software.

It sounds like nvidia-persistenced didn’t build appropriately in your install, so your driver is still working, but you dont have all of it’s components installed. You can keep using your system like that, but what happens when you change sources to sid or trixie/testing is that you’ll pull in other packages from there that will conflict or eventually conflict with the stable package set.

The best thing to do is to stick with the stable package base from debian…that means only using deb http://deb.debian.org/debian bookworm main non-free contrib non-free-firmware and avoiding the sid and trixie/testing repo’s for now. Some stuff gets backported into deb http://deb.debian.org/debian bookworm-backports main non-free contrib non-free-firmware

and you install that stuff like this

$ sudo apt install -t bookworm-backports package

Unless nvidia provides a debian repository for their packages we are stuck with this situation. Right now a few providers of prominent packages have their own repositories so people can use the latest versions of different software with debian-stable, that will work properly with their package base.

Firefox, wine, and the xanmod kernel(made for gaming/performance) all have their own debian repository so you can get the latest stuff from there incorporated in your install, and receive future support using their repositories which are built to work with debian-stable.

Again, what happens is, that over time things change, and different things can break if you don’t stick to using the bookworm package base, which is why it’s called stable.

https://wiki.winehq.org/Debian

https://xanmod.org/