You are not logged in.
Broken brightness control in gnome 41.3 kernel 5.16.5 and zen-kernel 5.16.5, I remembered that in kernel 5.11 it was necessary to set the level manually in the file /sys/class/backlight/amdgpu_bl1/actual_brightness
But now I dont have permission to write to this file.
# LANG=en_US.UTF-8 tee /sys/class/backlight/amdgpu_bl1/actual_brightness <<< 10
tee: /sys/class/backlight/amdgpu_bl1/actual_brightness: Permission denied
10
My hardware is 82B1 Lenovo Legion 5 15ARH05H with AMD Ryzen 7 4800H and GeForce RTX 2060 Mobile.
Offline
Also, I'm using X11, not wayland.
Offline
See https://bbs.archlinux.org/viewtopic.php?id=260428
But it's probably best to use brightnessctl instead.
Before you post again be sure to read the "Backlight" page in the ArchWiki
EDIT: and if this is a kernel regression then follow https://wiki.archlinux.org/title/Bisect … s_with_Git and/or submit a bug report.
Last edited by Head_on_a_Stick (2022-02-03 19:33:43)
Offline
But it's probably best to use brightnessctl instead.
Thanks, that work
sudo brightnessctl -c backlight -d amdgpu_bl1 s 50
. But for me it's better to use standard control backlight in gnome
Offline
Did you try without sudo? This works for me:
$ brightnessctl s 50
Did the GNOME backlight control work with previous kernel versions?
Did you read the "Backlight" wiki page?
Offline
Did you try without sudo? This works for me:
$ brightnessctl s 50
Did the GNOME backlight control work with previous kernel versions?
Did you read the "Backlight" wiki page?
$ brightnessctl s 50
Updated device 'nvidia_0':
Device 'nvidia_0' of class 'backlight':
Current brightness: 50 (50%)
Max brightness: 100
But this no affected. Need manualy set the device `brightnessctl -c backlight -d amdgpu_bl1 s 100` and this work, without root.
Yes, gnome control works with 5.15.3 or 5.15.4.
I have read the wiki. Sorry, but I do not quite understand what I was supposed to find there. The dimming issue on my laptop was fixed in the 5.11 kernel, everything has been working fine ever since and set up as it should. Today I upgraded the kernel and rebooted the system to make iptables work, found that the brightness control from gnome did not work.
Last edited by mass_t (2022-02-03 21:21:48)
Offline
I have the same Lenovo laptop but with different GPU GTX 1650Ti. It was working before in both kernels 5.16 and LTS 5.15. I had acpi_backlight=none set as kernel parameter just to remove some unnecessary log errors.
Tried KDE and it is working. I think it is related to gnome and nvidia and not the kernel. Probably, not using the right driver for backlight control. I have noticed the same new device nvidia_0 for brightness control which was absent before.
Offline
Actually, it is not working for KDE. It was before installing updates.
It is related to nvidia. I downgraded nvidia to 495 and backlight is working fine.
Offline
Actually, it is not working for KDE. It was before installing updates.
It is related to nvidia. I downgraded nvidia to 495 and backlight is working fine.
What the packages you downgraded?
Offline
nvidia and nvidia-utils to the latest revision of 495 series. You should downgrade nvidia-lts also if you have LTS kernel installed.
Offline
nvidia and nvidia-utils to the latest revision of 495 series. You should downgrade nvidia-lts also if you have LTS kernel installed.
Thanks, that works.
Offline
Looks like a fix for that is coming for KDE users, in Plasma 5.25 (scheduled to be released on June 14): https://invent.kde.org/plasma/powerdevi … 2c94ecf884
Offline