I have a laptop with an Intel processor and integrated graphics (I7), with an Nvidia GeForce gtx 1060. I have windows and Ubuntu 19.04 installed.
I tried installing the Nvidia drivers (418) from the PPA and after disabling secure boot, the drivers seem to work, but I only get output on my second display (connected to HDMI), and the main laptop screen is black. Additionally, if I disconnect the HDMI cable, I still get no output on the laptop display.
I tried uninstalling the Nvidia drivers and go back to the default display drivers, but I still get issues with my dual monitor setup, where I get weird glitches on my second display, or no output at all
Does anybody know how to solve this problem? When I had the Nvidia drivers, I could only see the second display in the Nvidia settings and ubuntu settings.