I'm having a tough time installing NVIDIA drivers for my GTX 1070 on Debian 12 Bookworm. This is my first Linux system, and I'm looking to set everything up right. I understand that issues like this can sometimes stem from drivers not being signed, but I've already disabled secure boot.
I've been following the steps on the Debian wiki for NVIDIA drivers closely, but I skipped some steps related to dracut as I haven't installed it. I tried both "apt install nvidia-driver firmware-misc-nonfree" and "apt install nvidia-open-kernel-dkms nvidia-driver firmware-misc-nonfree". When I don't install the open kernel dkms, I can get to the SDDM login screen, but it just flashes black and kicks me back. Installing the open kernel dkms leads to an error with the persistence daemon. I've even reinstalled Linux multiple times and adjusted my BIOS settings to CSM boot, plus I attempted to blacklist Nouveau and regenerate initramfs without success.
2 Answers
Have you tried running `sudo nvidia-xconfig`? It's a step in the guide that you didn't mention doing, and it might help fix the issue. Also, if you're thinking of switching to AMD later, keep in mind that their drivers usually come preinstalled, so that might simplify things for you.
Just to add, I believe you might not need `nvidia-xconfig` since that hasn't been required since Debian 9. Still, it's odd that you're seeing 'unable to find any GPUs' when `nvidia-detect` detects your GTX 1070. It might be worth looking into why that's happening and seeing if there's any additional troubleshooting you can do.
Related Questions
Lenovo Thinkpad Stuck In Update Loop Install FilterDriverU2_Reload