I recently did an upgrade from ubuntu 16.04 to 20.04. Before the upgrade I could adjust the screen brightness only with a 3rd party program (screen-brightness), but now that doesn't work either. I have/had both with X11.
lspci:
Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1)
00:1f.0 ISA bridge: Intel Corporation HM170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
uname -r: 5.4.0-42-generic
I've tried, to no avail, the following ways to adjust the screen brightness:
- function keys - a GUI indicator popups with an allegedly changed brightness value, not no effect
- changing the brightness from the settings
- f.lux
- redshift
- Editing /etc/default/grub with multiple suggested configurations (with sudo update-grub and reboot after each modification).
- Editing /usr/share/X11/xorg.conf.d/80-backlight.conf and /usr/share/X11/xorg.conf.d/20-intel.conf (with reboots afterwards)
- Editing directly /sys/class/backlight/acpi_video0/brightness and /sys/class/backlight/acpi_video1/brightness (they take values from 1 to 10) - values change, but with no apparent effect
xrandr doesn't work either:
Code:
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 77.00*
$ xrandr --output default --brightness 0.8
xrandr: Gamma size is 0.
$ xrandr --verbose |egrep '(Bright|Gamma)'
xrandr: Failed to get size of gamma for output default
Most of the solutions proposed online include adding acpi_backlight with some value to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub and then updating grub with sudo update-grub2 and finally rebooting. I've tried setting multiple values to it (video1, video, an empty string, nvidia, nouveau, intel, vendor, native), again to no avail.
I've also got bumblebee and both nouveau and proprietary nvidia drivers. Tried changing which drivers load by default in /etc/bumblebee/bumblebee.conf, but that doesn't seem to have any effect.
Finally, I made a bootable USB stick with Xubuntu and tried running that. Out of the box I could adjust screen brightness. I copied over the settings, which I suspect are relevant (GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" in /etc/default/grub and no files for backlight in /usr/share/X11/xorg.conf.d/), but that didn't help either.
Any other ideas?