My final goal is to make use of a Geforce GTX 550 Ti on a modern Linux Gnome desktop. Since recent Ubuntu versions stopped supporting the Nvidia 390 driver that is required for this I instead chose Debian Sid (a.k.a. Unstable), which offers seemingly straightforward install instructions for it.
After trying to install them I'm left with a white "Something has gone wrong" low-resolution GUI error screen instead of the login screen (no buttons, no cursor), and switching to a console doesn't give me a login prompt, but only black screen and non-responsive caret at top left. I then need to restart and do a safe-boot to access the console. Update: After a full-upgrade I now end up with software rendering, which is technically better than having to reboot, but not much.
What I've done
- Installed Debian Testing amd64 weekly DVD build. This was working just fine in Gnome desktop using
nouveauand Wayland. - Filled my
sources.listwith the appropriate content since it was completely empty apart from a reference to the install media (USB iso). Before that I couldn't even do anapt update. I don't know why I was left with an essentially emptysources.listimmediately following a clean install. - Enabled
unstableby adding one line insources.list, according to Debian's instructions to enableunstableon Testing. - Followed the instructions for Nvidia 390 driver for Sid in the above linked wiki page. Yes, I forgot to install the kernel headers before doing this.
- Ended up with a non-working system as described above, so I uninstalled the two driver packages again using safe-boot (
nvidia-legacy-390xx-driverfirmware-misc-nonfree) and removed all three nvidia symlinks inetc/modprobe.d(one of which was blacklistingnouveau). I got a working system back. - I realized my mistake and installed the kernel headers (
linux-headers-amd64) according to instructions. - I again tried installing the driver (
nvidia-legacy-390xx-driverfirmware-misc-nonfree) but ended up with the same result as before after a reboot. - I didn't see much actual build-action going on when installing the driver packages, so I tried to
--reinstallthenvidia-legacy-390xx-kernel-dkmspackage, which finally actually menioned "building" something. - I still ended up in the same situation, i.e. no login screen and no access to console during normal boot.
I'm unsure if I accidentally messed something up and didn't fix it properly, or what the problem could be at this point. What would be the best course of action to troubleshoot this situation?
I also did a full-upgrade for good measure to make sure all packages were up to date.
Observations
- When the system is working (with
nouveau), Gnome desktop works fine on Wayland but gives a fullscreen "Something has gone wrong" GUI error screen when logging in with Gnome on Xorg. It has a button to "log out" which I can click with the space bar (no mouse cursor). MATE desktop works fine though, and it also uses Xorg. I'm fine with Gnome on Xorg temporarily not working — it's Testing + Unstable after all, but I would like to think that at least the login screen (gdm) and console should work if the graphics drivers work (just as withnouveau)? - One reason I have specifically chosen Debian Testing, i.e. Debian 13 Trixie, instead of Debian 12 is that I needed to ensure I had the very latest
nouveaupossible. This is because even on the most up-to-date Ubuntu 24.10 thenouveaudriver will invariably freeze the entire system after some time (I have determined this experimentally; Ubuntu is locking up only whennouveauis loaded and never when running only on Intel integrated graphics). I'm trying to maximize my chances thatnouveauwill work (Windows 10 does not freeze, so I attribute this to thenouveaudrivers, and not to the hardware).
Additional info
sources.list
I had to reconstruct this file immediately after OS install, for some reason, because it only contained the first line (now commented out).
# deb cdrom:[Debian GNU/Linux testing _Trixie_ - Official Snapshot amd64 DVD Binary-1 with firmware 20250310-03:29]/ trixie contrib main non-free-firmware
# unstable
deb http://deb.debian.org/debian unstable main contrib non-free non-free-firmware
deb http://deb.debian.org/debian testing main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian testing main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security/ testing-security main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian-security/ testing-security contrib non-free main non-free-firmware
deb http://deb.debian.org/debian testing-updates contrib non-free main non-free-firmware
deb-src http://deb.debian.org/debian testing-updates contrib non-free main non-free-firmware
Xorg log errors
These might not be relevant since I can't even get to the login screen and console, and since MATE works on Xorg, but I include these for completeness until I know they can be dismissed.
$ grep EE /var/log/Xorg.0.log
[ 74.735] Current Operating System: Linux debian 6.12.17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.17-1 (2025-03-01) x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 75.166] (EE) systemd-logind: failed to take device /dev/dri/card0: Invalid argument
[ 77.033] (EE) Failed to load module "nv" (module does not exist, 0)
[ 77.552] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 77.552] (EE) open /dev/dri/card0: Invalid argument
[ 77.552] (EE) open /dev/dri/card0: Invalid argument
[ 77.562] (EE) Unable to find a valid framebuffer device
[ 77.563] (EE) Screen 0 deleted because of no matching config section.
[ 77.563] (EE) Screen 0 deleted because of no matching config section.
[ 77.653] (II) Initializing extension MIT-SCREEN-SAVER
[ 77.667] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[ 78.331] (EE) systemd-logind: failed to take device /dev/dri/card0: Invalid argument
$ grep EE /var/log/Xorg.0.log.old
[ 23.670] Current Operating System: Linux debian 6.12.17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.17-1 (2025-03-01) x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 23.970] (EE) systemd-logind: failed to take device /dev/dri/card0: Invalid argument
[ 25.852] (EE) Failed to load module "nv" (module does not exist, 0)
[ 26.471] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 26.471] (EE) open /dev/dri/card0: Invalid argument
[ 26.472] (EE) open /dev/dri/card0: Invalid argument
[ 26.490] (EE) Unable to find a valid framebuffer device
[ 26.491] (EE) Screen 0 deleted because of no matching config section.
[ 26.491] (EE) Screen 0 deleted because of no matching config section.
[ 26.522] (II) Initializing extension MIT-SCREEN-SAVER
[ 26.535] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[ 27.025] (EE) systemd-logind: failed to take device /dev/dri/card0: Invalid argument
Feel free to ask for anything else that seems relevant and I'll add it.