SYSTEM:
Intel Core i7-4770
NVIDIA GK106 (GeForce GTX 650 Ti)
32 GB RAM
KDE Debian 12.5
I have a working Debian-11 system, which I wish to upgrade to Debian-12.
Using the same hardware, I installed a fresh KDE Debian-12 Bookworm using all defaults.
Due to its age, the NVIDIA GPU driver was removed from the Debian-12 DEFAULT NVIDIA graphics package ("nvidia-driver").
So the fresh Debian-12 system defaults to the nouveau driver ("xserver-xorg-video-nouveau").
Unfortunately, the nouveau driver occasionally crashes KDE.
Fortunately, the OLD GPU driver was moved into the package "nvidia-tesla-470-driver".
So I installed the "nvidia-tesla-470-driver" driver.
Unfortunately, after installing this driver, I'm unable to login.
When I enter the password, the system pauses, then returns asking for my password. I'm stuck in an infinite login loop.
What I've tried:
<fresh install of KDE Debian-12 Bookworm using all defaults>
Installed and run "nvidia-detect". Here is its output:
I followed the instructions at "https://wiki.debian.org/NvidiaGraphicsDrivers", with one modification.Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106 [GeForce GTX 650 Ti] [10de:11c6] (rev a1)
Checking card: NVIDIA Corporation GK106 [GeForce GTX 650 Ti] (rev a1)
Your card is supported by the Tesla 470 drivers series.
It is recommended to install the
nvidia-tesla-470-driver
package.
These instructions said to install "firmware-misc-nonfree".
Unfortunately, this package does not exist in Debian-12.
After researching, "firmware-linux-nonfree" appears to be its replacement.
So I installed it instead.
Following the instructions at "https://wiki.debian.org/NvidiaGraphicsDrivers":
Code: Select all
su -l
vi /etc/apt/sources.list
<add "contrib", "non-free" and "non-free-firmware" to all uncommented lines>
apt-get update
apt-get --yes install linux-headers-amd64
apt-get --yes install firmware-linux-nonfree #"firmware-misc-nonfree" does not exists. "firmware-linix-nonfree" seems to be its replacement.
apt-get --yes install nvidia-tesla-470-driver #driver for NVIDIA GeForce GTX 650 Ti
systemctl reboot
Next, I tried downloading the driver directly from the NVIDIA website ("https://www.nvidia.com/Download/driverR ... 198/en-us/") and installing it.
This install failed, stating:
Debian-12 uses Wayland, not X11.ERROR: you appear to be running an X server; please exit X before installing.
Researching the installation instructions ("https://us.download.nvidia.com/XFree86/ ... index.html"), it's clear that they are written for X11, not Wayland.
So I don't know how to install this driver into Debian-12 Wayland.
I'm stuck.
Any guidance appreciated.
Thanks for the help.
P.S. How do I access the error logs when I can't login?