Ubuntu – Second monitor suddenly can’t be detected (Ubuntu 20.04.1 LTS)

multiple-monitors

I've tried searching for answers but haven't come up with anything useful.

I installed Ubuntu about a month ago on my desktop computer. It has worked great initially, but just the other day my main monitor has now stopped being detected completely. I've read about the monitor maybe being deactivated or such, but I can't find it anywhere.

I've tried unplugging it and plugging it in again after restarting and that didn't work. I've tried installing ARandR but it doesn't detect my other monitor.

I dual boot my computer with Windows and it has no problem detecting my monitor as normal, which is really strange. I didn't do anything in particular before I got this problem, like install an update or such, so it's strange that it just suddenly stopped working.

Pleas help! I use Ubuntu for school and I think it works better than Windows for what I'm doing. It sucks that things just stop working for apparently no reason.

Edit:
Output from xrandr –listmonitors:
xrandr: Failed to get size of gamma for output default
Monitors: 1
0: +*default 1920/508×1080/286+0+0 default

Edit: RESOLVED

Best Answer

I had a similar issue like this. I downloaded and selected the proprietary drivers I needed in software&updates->additional drivers, and did a couple of restarts. You can check which driver you need with:

ubuntu-drivers devices

Select the right one and restart. It should resolve itself. If that doesn't work try this:

sudo apt-get purge 'nvidia*'
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo ubuntu-drivers autoinstall
Related Question