When I plug my Dell U3818DW monitor into my MSI GE76-12UGS laptop with 12th gen intel i7 and Nvidia RTX 3070 Ti graphics card the screen remains black and it doesn’t appear in the displays settings of Ubuntu 21.04 running kernel 5.13 and the latest stable Nvidia driver 510.47.03 installed. The same thing happens whether I connect the monitor using a HDMI or usb-c cable.
Surprisingly the monitor does appear in the Nvidia X Server dialog but nevertheless Ubuntu doesn’t seem to detect it.
Thanks for the quick reply. I just ran into another problem, looking at the forum I found a similar problem was solved running sudo prime-select nvidia, which I tried and now I Ubuntu hangs before the login screen. I can only enter recovery mode now…