I'll try to be as short and precise as I can but the problem is complicated.
I updated (clean install) from 16.04 to 20.04 today. I use i3wm with two displays, one being my laptop LCD and the other my HDMI monitor. I use the following command (generated by arandr) to enable the second monitor:
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA-1 --off --output DP-1-1 --off --output HDMI-1-1 --mode 1920x1080i --pos 1920x0 --rotate normal
The second monitor is not recognized and shows a "no signal" message until I run this command. I get no errors or warnings.
I use xbacklight
to adjust the brightness on the main display. By default, it produces : "No outputs have backlight property". I need a custom xorg config to make sure it recognizes the intel backlight. For 16.04, the following sufficed:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight"
EndSection
In 20.04, it causes the second monitor to become blank but it also does not show a "no signal" message. Interestingly enough, the dashes in the device names disappear, e.g. "eDP-1" becomes "eDP1". Therefor the command complains about not finding "eDP-1" and "VGA-1". Correcting the device names still does nothing though.
I changed the xorg.conf
file to also consider my nvidia GPU:
Section "Device"
Identifier "Device0"
Driver "intel"
Option "Backlight" "intel_backlight"
EndSection
Section "Device"
Identifier "Device1"
Driver "nouveau"
EndSection
Now if I run the xrandr command it does enable the second monitor and I can change the brightness but it slows down the system to a halt for 10-15 seconds per brightness change. If I do multiple changes in a row or click something/type, I have to pretty much force restart my PC. I don't think xbacklight
is the problem because the effect lingers a bit, even after xbacklight exits.
I'd appreciate any help or tip.