(While this question may seem like a duplicate, I've tried the solutions laid out in all the other similar questions and none of them did anything for me. In addition, they were asked years ago, so I doubt they were running 20.04 anyway.)
The problem is that when I install any NVIDIA drivers (this means 440, 435, and 390, since they're the ones available from the package manager. I'm willing to try others if you think it would help, but I haven't yet), the system can't boot. I can't drop to terminal or anything either—all of the Ctrl+Alt+Fx keys just show a flashing white cursor and nothing else, and when I try to go back, I can't. The only way to get out of it is to use Sysrq+REISUB. Then I have to boot in recovery mode and execute
apt purge ^nvidia to get rid of the drivers before it will let me boot again. When I am logged in (whether it's recovery mode or just the desktop) my graphics card is shown in
lshw -C video and
lspci as a 3D controller. Here's the exact output:
01:00.0 3D controller: NVIDIA Corporation TU117GLM [Quadro T2000 Mobile / Max-Q] (rev ff)
What I've tried so far:
- Editing the grub boot to add
ppa:graphics-driversand trying to install any of their packages which are listed on launchpad.org—APT is
Unable to locate package nvidia-graphics-drivers-<version>.
- As I said, I've tried using all of the drivers available to me from APT, including the ones mentioned above and 340. When I tried 340, the computer was completely unresponsive after boot—I couldn't even use SysRq to reboot, so I had to hold the power button.
- As suggested in the comments, I tried to remove
ppa:graphics-drivers/ppa, then add it again and install the driver. The same issue occurred as when I hadn't done it.
Previously to this I've actually been able to use the GPU fully. I think it initially broke because I tried to use LightDM, but now that I've uninstalled it, the drivers still don't work.
Some new information: I am able to log in if I use kernel version 5.3.0-51-generic. However, the graphics card is still not available for use (
[ERROR]Cannot access secondary GPU - error: Could not load GPU driver, for example).
Ubuntu 20.04, updated from 19.10
Kernel version 5.4.0-29-generic
Dell Precision 5540
NVIDIA Quadro T2000 (the bane of my existence with Ubuntu)
512GB NVMe SSD (I changed the BIOS to AHCI to accommodate this, in case that's important)