I've upgraded some time ago my nvidia drivers. The problem is, that the nvidia driver can't handle the laptop screen it self correctly anymore. This means it thinks the screen has a resolution of 640x540, but the screen stays black. All other connected screens work fine. Windows dual-boot works fine. When uninstalling nvidia or switching to nouveau or intel the laptop screen works fine.

As I said, I gave up on the problem, because back than I didn't need nvidia anymore, but now I'm forced by a Project using SteamVR to have it running.

Details Currently installed nvidia driver nvidia-510-current (510.60.02); Currently installed ubuntu 20.04 Kernel 5.13.0-28; GraphicsCard: GP104BM [GeForce GTX 1070 Mobile]

What I have done: Badly I'm not quite sure what I have done initially. I guess, I tried to upgrade nvidia. But I'm not quite sure if I had it installed from the nvidia or from the official repos. In my attempts to fix the problem, I at least reinstalled nvidia using booth ways at least once. Yesterday the I purged nvidia* and reinstalled it. And it did not help.

So what I would guess is: There is a configuration file, which was placed there manually or got orphan, which breaks any installation of nvidia. How do I find it?

  • Install only from the official repositories. You can use Additional drivers for that. Disable Secure Boot in UEFI and everything should work as expected. Apr 25, 2022 at 13:59
  • 1. I installed from official repositories, as I pointed out. 2. I cannot modify Secure Boot settings, as I don't have the password for the UEFI Menu. So is this just a hint or what should secure boot has to do with it?
    – Peter
    Apr 26, 2022 at 12:32
  • If you can't disable Secure Boot then you must use MOKutil to sicn the Nvidia proprietary drivers. Without this step the drivers are installed but Secure Boot prevents them from loading so it's the same as not having them. This are your options. Apr 26, 2022 at 12:34
  • So from what I can tell, sudo mokutil --sb-state​ tells me, that Secure Boot is already disabled.
    – Peter
    Apr 26, 2022 at 13:05
  • I now reinstalled Ubuntu 20.04 fresh and the problem persists. Installed nvidia-driver-515, the screen stays black.
    – Peter
    Aug 29, 2022 at 13:52

1 Answer 1


The problem was finally found in the nvidia forum here: https://forums.developer.nvidia.com/t/laptop-ubuntu-20-04-only-nativ-screen-turns-black-when-nvidia-card-takes-over-missing-edid/226503/5 Problem was that the edid was broken.

The solution was to manually add a configuration file in my home directory here: ~/.config/monitors.xml To make this change to the desktop manager (e.g. gdm3) I added the file also there: /var/lib/gdm3/.config/monitors.xml For me it looks like this.

<monitors version="1">
      <output name="HDMI-0">
      <output name="DP-0">
      <output name="DP-1">
      <output name="DP-2">
      <output name="DP-3">
      <output name="DP-4">

Still from time to time (e.g. at boot) the laptop screen stays black.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.