Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3395

[Video] Black screen with Nvidia driver (Debian 12)

$
0
0
Hi

I'm trying to get Nvidia drivers installed on Debian 12 following https://wiki.debian.org/NvidiaGraphicsDrivers. Whenever I reboot after installing the drivers, I see the GRUB screen, hit enter, and then get a black screen with blinking cursor. The system then doesn't respond to any Ctrl+Alt+F3 or any other F keys, but it will reboot with Ctrl+Alt+Del. I then am able to boot into Debian by selecting an older kernel from GRUB, and from there I can purge the Nvidia drivers and boot back into the latest kernel.

What I've done:
Installed linux-headers-amd64
Updated sources.list
Checked nvidia-detect
Installed nvidia-driver
Rebooted
Got black screen
Reboot again, choose old kernel
Purged "*nvidia*"
Rebooted, got functioning system again at least

I've repeated the above a few times, with slight variations from reading other posts on the internet, like it was suggested to apt install linux-headers-$(uname -r) build-essential libglvnd-dev pkg-config but none of my efforts have made a difference.

Code:

~$ cat /etc/apt/sources.list# bookworm maindeb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmwaredeb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware# bookworm-securitydeb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmwaredeb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware# bookworm-updates, to get updates before a point release is made;# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backportsdeb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmwaredeb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware~$ lspci -nn | egrep -i "3d|display|vga"00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1)~$ nvidia-detectDetected NVIDIA GPUs:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1)Checking card:  NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)Your card is supported by all driver versions.Your card is also supported by the Tesla 470 drivers series.It is recommended to install the    nvidia-driverpackage.~$ uname -aLinux debian 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux
When I was testing out Debian a month or two ago, I go the Nvidia driver to install and even played a game from Steam. Made me think maybe the latest kernel conflicts with the driver, so I tried booting with an older kernel and installing the driver, but that did nothing, so I guess I don't understand enough about how the older kernels work, or my hunch was just wrong.

Statistics: Posted by debcat — 2024-07-20 08:52 — Replies 1 — Views 17



Viewing all articles
Browse latest Browse all 3395

Trending Articles