Brightness keys stop working

Hello,

I have a problem with the brightness controls on my laptop (Lenovo Yoga Pro 9i). Sometimes, the brightness control keys stop working.

Now, with Gnome versions up to 48, it used to be the case that the reason was that process gsd-power would crash, so I was able to fix it by running nohup /usr/libexec/gsd-power > /dev/null 2>&1 & to restart it in the background. It bothered me a bit but since this was in my shell history I and easy to fix, never paid it much attention.

With Gnome 49, I get this behavior despite the fact that gsd-power has not crashed. Right now I can no longer control the brightness but the process is present:


❯ ps -ef | grep gsd-power
myusern+   63226   62159  0 10:59 ?        00:00:00 /usr/libexec/gsd-power

So it appears something has changed in 49 that has made my workaround break.

Can anyone help with collecting more information on what causes this? I tried:

  • killing and restarting gsd-power but it makes no difference anymore
  • I can still change the brightness via echo 100 > /sys/class/backlight/intel_backlight/brightness as root user
  • On the contrary echo 100 > /sys/class/backlight/nvidia_0/brightness does not seem to do anything

Please note that when I press the brightness up/down keys, the OSD appears with the slider moving in the right direction, but there is no effect in the actual brightness.

I also have a finding, this no longer seems to work:


❯ gdbus call --session \
  --dest org.gnome.SettingsDaemon.Power \
  --object-path /org/gnome/SettingsDaemon/Power \
  --method org.freedesktop.DBus.Properties.Set \
  org.gnome.SettingsDaemon.Power.Screen \
  Brightness \
  "<int32 300>"

Error: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.gnome.SettingsDaemon.Power.Screen”
(According to introspection data, you need to pass 'ssv')

What registers this DBus interface in Gnome 49? What should I try?

This is a Gnome 49 problem and is tracked as issue 4432

For anyone looking, I have found a workaround: check my comment in that issue if you want to be able to restore it after resume.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.