Ubuntu 22 & nvidia drivers black screen

Since the 22.04 update I’ve been having problems with nvidia drivers. I was able to run nvidia-bug-report.sh in recovery mode. If i try to boot the screen goes black right with a cursor top left before the log in screen. Nvidia-smi works in recovery mode. If I prime-select intel and boot then prime-select nvidia and run nvidia-smi the screen again goes black. I tried to install 22.10 and it also failed similarly.

grep nvidia /lib/modprobe.d/* /etc/modprobe.d/*
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1
/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:# This file was generated by nvidia-driver-520
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:options nvidia-drm modeset=1

dkms status
nvidia/520.56.06, 5.15.0-43-generic, x86_64: installed
nvidia/520.56.06, 5.15.0-52-generic, x86_64: installed

Hope this helps, thanks.

nvidia-bug-report.log.old.gz (153.3 KB)

Please remove nomodeset kernel parameter.

1 Like

It works! Thank you.