I just upgraded a Lenovo P51 with a:
01:00.0 VGA compatible controller: NVIDIA Corporation GM206GLM [Quadro M2200 Mobile] (rev a1)
from Debian from 11 to 12 which upgrades the nvidia driver from 470.182.03 to 525.105.17. Upon reboot the screen goes black after some boot messages and I can’t even change into a virtual terminal. dmesg/syslog shows:
2023-06-13T01:32:27.315+00:00 vent kernel: NVRM: GPU 0000:01:00.0:
RmInitAdapter failed! (0x25:0x65:1457)
2023-06-13T01:32:27.315+00:00 vent kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
2023-06-13T01:32:27.315+00:00 vent systemd[1]: lightdm.service: Failed with result 'exit-code'.
2023-06-13T01:32:28.315+00:00 vent kernel: NVRM: GPU at PCI:0000:01:00: GPU-f2c01c85-c8a5-37ff-129f-eba0798a8837
2023-06-13T01:32:28.315+00:00 vent kernel: NVRM: Xid (PCI:0000:01:00): 61, pid='<unknown>', name=<unknown>, 0a99(182c)
00000000 00000000
I tried with the drivers in experimental which is version 530.41.03 which fails in similar fashion:
2023-06-13T02:02:39.056+00:00 vent kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x25:0x65:1462)
2023-06-13T02:02:39.056+00:00 vent kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
2023-06-13T02:02:39.056+00:00 vent systemd[1]: lightdm.service: Failed with result 'exit-code'.
2023-06-13T02:02:40.056+00:00 vent kernel: NVRM: GPU at PCI:0000:01:00: GPU-f2c01c85-c8a5-37ff-129f-eba0798a8837
2023-06-13T02:02:40.056+00:00 vent kernel: NVRM: Xid (PCI:0000:01:00): 61, pid='<unknown>', name=<unknown>, 0a99(1804)
00000000 00000000
This is with linux 6.1.0-9-amd64 but I also tried 5.10 which is what I using prior to the upgrade. No difference.
Upgraded to latest bios 1.60. Verified that display is still set to dedicated.
nvidia-bug-report.sh hangs so I interrupted it after a while with ctrl-c and attached what was written.
Last time I uploaded one of these files your forum marked it as a virus (it’s obviously not). Here is the startx output:
xauth: file /root/.Xauthority does not exist
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
Current Operating System: Linux vent 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-9-amd64 root=UUID=fa6ff053-976a-434c-87ae-2422af36f535 ro nosplash quiet transparent_hugepage=madvise
xorg-server 2:21.1.7-3 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Jun 14 05:23:51 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE)
waiting for X server to begin accepting connections (EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection reset by peer
xinit: server error
The GPU is supported per info supplied but I also tried but it made no difference:
options nvidia NVreg_OpenRmEnableUnsupportedGpus=1
nvidia-bug-report.log.gz (77.4 KB)
The only work-around that I have found is removing the nvidia driver and rely on nouveau which is not great.
README.txt refers to NVIDIA GPU fails to initialize on Red Hat Enterprise Linux 8 - Red Hat Customer Portal but that appears to be behind a paywall.