I'm new to Linux, so I use Linux on dualboot. At the first time of installing Ubuntu, the brightness slider was working fine but when I made some updates + installed an Nvidia driver the slider is not doing anything anymore. Tried adding GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor to /etc/default/grub but didn't work. Tried to install Brightness Control as a temporary solution but even that wasn't working.
The /sys/class/backlight folder has two folder in it; amdgpu_bl0 and ideapad, brightness slider only effect the files included in ideapad folder. What should I do?
System specs:
Ryzen 5 4600H
GTX 1650 Ti
- 231
9 Answers
I had the same issue and the same fix as the accepted answer, but I just wanted to clarify the steps because it was confusing when I tried to follow them.
1). Open /etc/default/grub in a text editor with sudo permissions for example sudoedit /etc/default/grub
2). Add amdgpu.backlight=0 to the line GRUB_CMDLINE_LINUX="..."
2). Run sudo update-grub
3). Reboot
- 331
In my case:
Operating System: Ubuntu 22.04.3 LTS
Kernel: Linux 6.2.0-31-generic
Architecture: x86-64
Hardware Vendor: ASUSTeK COMPUTER INC.
Hardware Model: Vivobook_ASUSLaptop M7600QC_M7600QC
nvidia/525.125.06
dkms-2.8.7
On the contrary, I've removed the command acpi_backlight=vendor from GRUB_CMDLINE_LINUX_DEFAULT and it helps.
- 121
https://github.com/F-i-f/soft-brightness seems to be the only solution that works for (AM)OLED screens running on Wayland with Intel processor.
After installing soft-brightness, brightness gets adjusted via both Ubuntu control and keyboard.
UPDATE 2024
soft-brightness package is not maintained and does not work for newer version of Gnome. https://extensions.gnome.org/extension/5943/soft-brightness-plus/ is a fork of that project it works on Ubuntu 24.04.
- 11
Tried the solutions above, but none of them working on my Nvidia GPU/intel core i.7 CPU, Ubuntu 22.04 machine with wayland.
After updating the module nvidia-dkms the brightness control worked again:
sudo apt install nvidia-dkms-525
- 11,502
- 14
- 97
- 142
- 11
Hope I'll still be in help. The best solution is to install a gnome shell extension called "Soft Brightness Plus", which allow you to change the screen brightness with both you keyboards and the slider.
sudo apt update
sudo apt install gnome-shell-extensions
Then you may go into the browse tab, find the extension and install it. Then return to the "Installed" tab, select the gear icon on the extension and turn on "Use backlight control" Extension github page: https://github.com/jkitching/soft-brightness-plus.git
- 11
- 1
I deleted the nvidia drivers. Then I installed the nvidia drivers. Then, hey presto, the sliders in brightness-control started working again.
Just wanted to share that I tried a plethora of methods related to the grub configurations without any success, but I managed to solve this issue by simply updating the linux kernel. I had linux 22.04 LTS kernel 5.15 and updated it to 5.19.11-051911-generic.
My machine had 2 directories under /sys/class/backlight: amdgpu_bl0 and nvidia_0 and I was able to manually change the brightness value in the /sys/class/backlight/amdgpu_bl0/brightness with sudo. At first I thought it was because of the NVIDIA drivers but after uninstalling them the problem persisted. After the kernel update I no longer had the nvidia_0 folder in the /sys/class/backlight.
- 1
- 1
I installed an application called brightness-controller following the steps mentioned in the articel and it worked on Ubuntu 24.04.1 LTS: https://www.geeksforgeeks.org/how-to-control-screen-brightness-in-ubuntu-22-04/
Commands:
sudo apt update
sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt update
sudo apt install brightness-controller
Launch the application
brightness-controller
- 1