When installing the proprietary nvidia driver recommended by the the official debian page for Debian Bookwork, apt seems to want to install a new kernel. I actually did this before (since this is my second time installing debian on here) and this new kernel messes with the display server somehow, disabeling all monitors but one, limiting the resolution, removing all the UI animations and so on. So I don’t want to do that again. My current kernel is the Debain 12 default: linux-image-6.1.0-18-amd64. Am I doing something terribly wrong, is the website perhaps outdated, or what is going on here?
Thats the bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063675
Will be fixed in the next dot release
SOLUTION:
This is a problem not with the operating system, but rather the nvidia DKMS. It can easily be fixed by replacing some lines in the apt sources located here:
/etc/apt/sources.list. The line update-security has to be replaced by these two:deb http://deb.debian.org/debian/ bookworm-updates main non-free contrib non-free-firmware deb-src http://deb.debian.org/debian/ bookworm-updates main non-free contrib non-free-firmwareHere is a link to where this solution was found: https://forums.developer.nvidia.com/t/debian-12-and-nvidia-driver-nvidia-linux-x86-64-470-223-02-run/282473/2
After updating the sources there, simple run
sudo aptupdate andsudo apt upgrade. Then it should finally compile the drivers for your kernel, the extra kernel in the grub menu (if it appeared on your machine) should disappear, and your original kernel (in my case 6.1.0-18-amd64) will have the module in it. So your monitors and stuff should work as they did before.I had the same issue updating yesterday, apparently it’s bugged. I’m using the previous kernel for now and it’s running fine.
Oh really? That’s quite odd, I thought it’d be a me problem. Guess I’ll get the drivers from nvidias website…
All the symptoms you are describing sound like graphics driver issues, not kernel issues.
If you want the latest Nvidia driver without apt conflicts, you have to use their installer which builds dkms live.
Where would get that installer?
You probably want this one https://www.nvidia.com/Download/driverResults.aspx/217147/en-us/
Installation instructions are under ‘additional information’
Is there a way to download older driver versions? I’ve heard that output to VR displays tends to get blocked by the new drivers.
I’m not sure. This is their main driver archive page, but it looks like the other (non-beta) entries are the newest driver for older cards, not older versions of the same driver
Don’t use the NVIDIA installer, as it conflicts with the package manager. Use the
nvidia-kernel-dkmspackage from the official Debian repositoryTurns out that the repository one is broken. This is an issue with a specific version of the nights driver, which has just been fixed. If you want more info, have a look at the solved content I made on this post.


