I have installed Ubuntu 20.04 (kernel 5.8.0-40) on a Lenovo Legion 7i with GeForce RTX 2070 with Max-Q design. With nouveau driver Ubuntu works fine. But once I installed nvidia-460 driver and restarted the computer, it booted into black screen. The laptop also has an Intel GPU, but I did prime-select nvidia. On my system there were no /etc/X11/xorg.conf, /lib/modprobe.d/blacklist-nvidia.conf, /etc/modprobe.d/blacklist-nvidia.conf, so earlier solutions didn’t quite apply to my case. Attached please find the bug report. Thanks so much for the help!
The notebook doesn’t have an intel gpu, only the discrete nvidia. Might be switched off in bios. Doesn’t matter, though.
The nvidia kernel driver is loading fine but Xorg doesn’t start, maybe it’s trying to run Wayland but can’t because you set ‘nomodeset’.
Please try to disable wayland: https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-20-04-desktop
Thanks for the help! Because the previous bug report was generated under the recovery mode, it had ‘nomodeset’ (normal boot doesn’t have nomodeset). This time I removed ‘nomodeset’ when booting into the recovery mode, followed the link to disable Wayland, and typed ‘startx’. Then it gets to the black screen again. Normal reboot also goes into black screen.
It’s good to know that the driver is loading fine. Could it be that the driver installation changed some Xorg settings so that Xorg doesn’t start properly? Would you please gives me some suggestions what to look for? I saw on a post suggested below and I wonder that applies to my settings. Thank you again!
The log from when you used startx was caught and the xserver started just fine, detected the internal screen and switched to 1920x1080 resolution. So it’s odd you just saw a black screen. My guesses would be either a brightness problem, some weird incompatibility between the nvidia driver and your display or the display being disabled for unknown reasons.
Please check 1) if you can turn up the brightness using the keyboard and 2) connect an external monitor or TV.
Exciting!! When the laptop was connected to an external monitor, Ubuntu booted into GUI successfully! I can unplug the external monitor (no reboot) and adjust screen brightness just fine.
However, if I boot the laptop without external monitor connected, it booted into black screen and screen brightness cannot be adjusted. Then I plug in the external monitor, the external monitor shows the 2nd ubuntu desktop, while the laptop screen is still black.
Is there something can be done to boot it normally without the external monitor connected? Here I attached the bug report after I unplugged the external monitor, while booting with the external monitor connected. Thanks! nvidia-bug-report.log.gz (389.4 KB)
When boot to black screen, I wasn’t allowed to switch to vt3 (ctrl+alt+f3 no response; same for other terminals). Can I do that under normal boot or recovery mode?
I followed this instruction to switch to lightdm, but still booted into black screen. Still cannot switch to vt3 or others. Also, not sure whether this info helps. When I booted into black screen, it doesn’t respond to keyboard (so ctrl-art-del doesn’t work), and I had to press the power button to shutdown the computer. It was like this from the beginning.
Btw, thanks so much to stay with me and help me out. Really appreciated!
I’m following this closely as I have this exact situation and I confirm my 7i’s monitor turns on when I plug in a HDMI cable. Without a second screen I go from the Grub boot menu to pitch black and I cannot switch to text terminal nor reboot via Ctrl+Alt+Del. Turning the luminosity up via Fn+Up combo has no effect. I haven’t tried the monitors.xml trick yet but I see other people saying it didn’t work.
Looks like some really weird incompatibility of the nvidia driver with the panel built into this notbook model, so only nvidia can fix it. Maybe send your nvidia-bug-reports.log to linux-bugs[at]nvidia.com for increased attention. Also check for a bios update available.
Will do that. I’m posting here a new bug report (which I’ll send to mentioned email) I obtained while connected via ssh into the dark machine with the issue.
I launched the 7i with no 2nd screens, made sure the issue happened (screen is black) connected and launched nvidia-bug-report.sh; finally pulled the file. Here it is. nvidia-bug-report.log.gz (282.5 KB)