GPU no longer detected on Ubuntu

I have a Dell XPS 15 (9560) laptop and recently updated to Ubuntu 22.04.1, and my Nvidia GPU is no longer visible as a VGA Controller, only as a 3D Controller. I’ve re-installed drivers and have played around with xorg conf files to no avail. I’ve used prime-select to select nvidia, and rebooted, and still nothing.

I’ve attached my log file, thanks.
Processing: nvidia-bug-report.log.gz…

My log doesn’t want to upload… so here is some information:

$ lspci
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Subsystem: Dell GP107M [GeForce GTX 1050 Mobile]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at e000 [size=128]
Expansion ROM at ed000000 [disabled] [size=512K]
Capabilities:
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

$ nvidia-smi
No devices were found

$ dmesg | grep NVRM
[ 4.411200] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 515.76 Mon Sep 12 19:21:56 UTC 2022
[ 8.552730] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:2459)
[ 8.552792] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

Might be broken. Which kernel version are you running?

Hi generix

$ uname -r
5.15.0-53-generic

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 520.56.06 Thu Oct 6 21:38:55 UTC 2022
GCC version:

I don’t have much experience in these areas but I’ve read many many of the other issues in the forum and your advice and my current guess is either Ubuntu 22.04 issues or my gpu is broken… I did have windows dual booted but uninstalled it when doing a clean ubuntu install to try and debug this problem. I probably should re-install and check error codes…

I don’t know of a specific issue with that kernel version. I guess installing windows to cross-check might be a good idea, check device manager for “Code 43”
Otherwise, try to upload the bug-report.log again, possibly unzipped.

nvidia-bug-report.log (1.8 MB)

Good call, I don’t know why I didn’t try that… If there’s nothing of note there I’ll try Windows install next, thanks very much

No underlying errors in the logs, you already tried different drivers. I’d say it’s broken.