https://bugs.kde.org/show_bug.cgi?id=513809

Sergey B <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #26 from Sergey B <[email protected]> ---
Hello!
Still happens on Plasma 6.6.4 (Kubuntu 26.04, Wayland), with the laptop's
internal panel.
PowerDevil here is a local build: the Ubuntu 6.6.4 source plus the upstream fix
c939ca74
(the 6.6.5 fix from this bug). So the fix for the PowerDevil restart case is
installed,
and the problem still happens.

My trigger is different from most reports here: no suspend and no PowerDevil
restart
(plasma-powerdevil started at boot, NRestarts=0). The screen was dimmed on
idle, I came
back, and it stayed at 30%. It happens about once a month.

Hardware: Intel Raptor Lake UHD (drives the panel, intel_backlight) + NVIDIA
RTX 4070
Mobile, kernel 7.0.0.

State while the screen is dark:

  $ kscreen-doctor -o
    eDP-1  Brightness control: supported, set to 100% and dimming to 30%
  $ cat /sys/class/backlight/intel_backlight/actual_brightness
    28801        (max_brightness 96000, so 30%)
  org.kde.ScreenBrightness /display0: Brightness = 10000, MaxBrightness = 10000

PowerDevil thinks brightness is 100%, so the brightness keys do nothing.

What I found:

1. "kscreen-doctor output.eDP-1.dimming.100" makes the screen bright again, but
only
   until the next brightness change.
2. Any brightness change through PowerDevil sets the KWin dimming back to 30%:

     SetBrightness(9500)  ->  set to 95% and dimming to 30%

   So the old 0.3 dimming ratio is kept inside the running PowerDevil, not only
in KWin.
3. Reset KWin dimming to 100 first, then restart plasma-powerdevil. After that,
   brightness changes keep dimming at 100%:

     SetBrightness(9000)   ->  set to 90% and dimming to 100%
     SetBrightness(10000)  ->  set to 100% and dimming to 100%

Workaround:

  kscreen-doctor output.eDP-1.dimming.100
  systemctl --user restart plasma-powerdevil.service

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to