Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Package "nvida-tesla-470-driver" causes login infinite loop

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
jaja
Posts: 54
Joined: 2016-01-25 00:20
Has thanked: 1 time

Package "nvida-tesla-470-driver" causes login infinite loop

#1 Post by jaja »

Hello and thanks for the help.

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:
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.
I followed the instructions at "https://wiki.debian.org/NvidiaGraphicsDrivers", with one modification.
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
When I enter the password, the system pauses, then returns asking for my password; an infinite login loop.

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:
ERROR: you appear to be running an X server; please exit X before installing.
Debian-12 uses Wayland, not X11.
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?
Last edited by jaja on 2024-04-24 11:37, edited 3 times in total.

User avatar
alienspy
Posts: 164
Joined: 2023-02-12 15:37
Has thanked: 98 times
Been thanked: 5 times

Re: Package "nvida-tesla-470-driver" causes login infinite loop

#2 Post by alienspy »

jaja wrote: 2024-04-24 07:06 So I don't know how to install this driver into Debian-12 Wayland.
Unfortunately "Any nvidia card that requires the 470 driver or earlier will not work with wayland at all. Only the 495 and newer drivers work with wayland."

https://discussion.fedoraproject.org/t/ ... ia/57840/5

I use tesla-470 with X on Debian 12 Gnome

User avatar
nooblinx
Posts: 36
Joined: 2023-02-03 20:43
Has thanked: 1 time
Been thanked: 1 time

Re: Package "nvida-tesla-470-driver" causes login infinite loop

#3 Post by nooblinx »

cinnamon is also x11

User avatar
@ttila
Posts: 157
Joined: 2017-12-13 16:57
Has thanked: 2 times
Been thanked: 15 times

Re: Package "nvida-tesla-470-driver" causes login infinite loop

#4 Post by @ttila »

jaja wrote: 2024-04-24 07:06 .....................
P.S. How do I access the error logs when I can't login?

Code: Select all

~/.local/share/sddm
if you use sddm.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1421
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 47 times
Been thanked: 68 times

Re: Package "nvida-tesla-470-driver" causes login infinite loop

#5 Post by None1975 »

I use exactly the same video card. I tried both open source and closed source video drivers and didn't notice any difference (I'm not a gamer, I don't play any games) so I use open source software (including video card driver).
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Post Reply