Ever since adding a second monitor to my PC, I’ve been intermittently experiencing two issues that I haven’t been able to fix.
Issue 1 — 2nd monitor is not recognized
Sometimes my second monitor will not be recognized and will just stay black. This can be triggered by restarting or suspending the computer. However, these sometimes do not trigger this issue. To mitigate the issue I usually need to turn the monitors on and off and sometimes even unplug them while the computer is off, before restarting the computer.
When the second screen is black, the second monitor does not show up under Display Settings, Nvidia settings, or with
xrandr. I can’t 100% confirm this, but I suspect this issue occurs when the 2nd monitor has an opportunity to enter into Power Saving mode.
Importantly, this is very flaky. Most of the time it is fine, but every once and awhile this happens and I struggle to fix it.
Issue 2 — Resolution of 2nd monitor is ruined
Sometimes when running certain software the resolution of my 2nd monitor will be changed from the correct
1920x1080 to something much smaller. Moreover, Display Settings and
xrandr no longer provide the
1920x1080 option. To fix this, I need to restart the computer and often have to physically disconnect and reconnect the monitors. Sometimes, I am able to open Nvidia X Server Settings and reset the resolution to
The two things that most regularly trigger this issue are: Viewing a video locally or running the emulator in Android Studio. Importantly, these do not always trigger this issue — just occasionally.
I’m running stock Ubuntu 20.04 dual boot with Windows 10 on my PC. I do use some Gnome and Grub themes if that is relevant. Windows does not encounter issue #2 but will occasionally run into issue #1.
GPU is a GTX 760. Both monitors are connected to the GPU ports.
The primary monitor is a BenQ. It is connected to the GPU through the following sequence: DVI-I (GPU Port) -> DVI-A to VGA Adapter -> VGA (Monitor Port)
The secondary monitor is an LG. It is connected to the GPU through the following sequence: DVI-D (GPU Port) -> DVI-D to HDMI cord -> HDMI to DVI-D adapter -> DVI-D (Monitor Port)
If I know my connectors right, then this means that the BenQ is running on an analog signal and the LG on a digital signal. Not sure if this is an issue.
Fixes I’ve Tried
- Using Noveau GPU drivers
- Using a variety of Nvida GPU driver versions
- Using LightDM instead of GDM
- Upgrading from Ubuntu 18.04 to 20.04, both have the same issues for me
- Turning modesetting on and off within Grub and Nvidia configuration files
- Giving root rights to Xwrapper config
- Multiple fresh installs.
- Making sure that secure boot is off in the BIOS
- Multiple other random fixes I found in Stack Overflow posts that lead nowhere
At whit’s end and have no clue how to solve these issues. Any help would be appreciated.