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?
sudo mokutil --sb-state
tells me, that Secure Boot is already disabled.