Ubuntu 20.04 enter black screen after installing nvidia driver 535

Hello,

I installed nvidia driver in Ubuntu system, after reboot the system enters to a black screen.

Dual system: Windows 11 and Ubuntu 20.01.06
Procesor: i9-14900HX
RAM: 32GB
System type: 64 bit, x64-based processor
GPU: NVIDIA GeForce RTX 4090 32G

I installed nvidia driver with “sudo apt install nvidia-driver-535”
After reboot, the screen is black and I entered tty2 with alt+F2, I printed the nvidia-smi, it has output and seems that the driver is installed correctly.

nvidia-bug-report.log.gz (452.4 KB)

Well, your X server crashes:

[   644.281] (EE) 
[   644.281] (EE) Backtrace:
[   644.281] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x13c) [0x55ac8e9a2fbc]
[   644.282] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x60) [0x7f3382edc420]
[   644.282] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0xcb) [0x7f3382d1700b]
[   644.282] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x12b) [0x7f3382cf6859]
[   644.282] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   644.282] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f3382cf6729]
[   644.283] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__assert_fail+0x46) [0x7f3382d07fd6]
[   644.283] (EE) 6: /usr/lib/xorg/Xorg (dixRegisterPrivateKey+0x239) [0x55ac8e85faf9]
[   644.283] (EE) 7: /usr/lib/xorg/modules/libglamoregl.so (glamor_init+0xcf) [0x7f33784b937f]
[   644.283] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   644.283] (EE) 8: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x7f33826bbcfd]
[   644.283] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   644.283] (EE) 9: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x7f33826b3fb6]
[   644.283] (EE) 10: /usr/lib/xorg/Xorg (AddGPUScreen+0xf5) [0x55ac8e841545]
[   644.283] (EE) 11: /usr/lib/xorg/Xorg (xf86PlatformMatchDriver+0xa44) [0x55ac8e89c494]
[   644.283] (EE) 12: /usr/lib/xorg/Xorg (xf86PlatformDeviceCheckBusID+0xff) [0x55ac8e8a1daf]
[   644.283] (EE) 13: /usr/lib/xorg/Xorg (xf86PlatformMatchDriver+0xdf1) [0x55ac8e89c841]
[   644.283] (EE) 14: /usr/lib/xorg/Xorg (xf86VTEnter+0x193) [0x55ac8e87f0d3]
[   644.283] (EE) 15: /usr/lib/xorg/Xorg (xf86RemoveSIGIOHandler+0xb1e) [0x55ac8e8a3f1e]
[   644.284] (EE) 16: /usr/lib/xorg/Xorg (xf86RemoveSIGIOHandler+0xe35) [0x55ac8e8a4235]
[   644.284] (EE) 17: /lib/x86_64-linux-gnu/libdbus-1.so.3 (dbus_connection_dispatch+0x2cd) [0x7f33837e6a9d]
[   644.284] (EE) 18: /lib/x86_64-linux-gnu/libdbus-1.so.3 (dbus_connection_dispatch+0x6e8) [0x7f33837e6eb8]
[   644.284] (EE) 19: /usr/lib/xorg/Xorg (config_fini+0x489) [0x55ac8e89db19]
[   644.284] (EE) 20: /usr/lib/xorg/Xorg (OsCleanup+0x5c1) [0x55ac8e9a3a11]
[   644.284] (EE) 21: /usr/lib/xorg/Xorg (WaitForSomething+0x193) [0x55ac8e99c7d3]
[   644.284] (EE) 22: /usr/lib/xorg/Xorg (SendErrorToClient+0x117) [0x55ac8e840f07]
[   644.284] (EE) 23: /usr/lib/xorg/Xorg (InitFonts+0x3b4) [0x55ac8e8451f4]
[   644.285] (EE) 24: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf3) [0x7f3382cf8083]
[   644.285] (EE) 25: /usr/lib/xorg/Xorg (_start+0x2e) [0x55ac8e82eace]
[   644.285] (EE) 
[   644.285] (EE) 
Fatal server error:
[   644.285] (EE) Caught signal 6 (Aborted). Server aborting
[   644.285] (EE) 
[   644.285] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   644.285] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   644.285] (EE) 
[   644.313] (EE) Server terminated with error (1). Closing log file.

But why that is the case is hard to tell.
Did you allow the NVIDIA driver to create an initial xorg config file during installation?
And did you try disabling the integrated GPU?

The NVIDIA driver is loaded correctly, you ca see that in the end of the log, search for /usr/bin/nvidia-smi --query

I resolved the problem by entering BIOS and choose dGPU only. Thanks a lot!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.