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

--- Comment #18 from artem <[email protected]> ---
(In reply to artem from comment #17)
> Still reproducible on Plasma 6.8.3, on a laptop with an internal panel plus
> an external monitor.
> 
> Operating System: Fedora Linux 45 (KDE Plasma Desktop Edition)
> KDE Plasma Version: 6.8.3 (KWin 6.8.3, PowerDevil 6.8.3)
> KDE Frameworks Version: 6.32.0
> Qt Version: 6.11.2
> Kernel Version: 7.3.4-300.fc45.x86_64 (64-bit)
> Graphics Platform: Wayland
> Hardware: Lenovo LOQ 15IRX10 (83JE), hybrid graphics
>   - Intel Raptor Lake-S UHD (i915) drives the internal panel eDP-1
>   - NVIDIA GeForce RTX 5060 Mobile, proprietary driver 620.70.06, drives
> external HDMI-A-3 (Acer SB241Y, DDC/CI)
>   - Backlight device: nvidia_wmi_ec_backlight (max_brightness 800)
> 
> Power settings (AC): dim after 600 s, screen off after 900 s, then
> PowerDevil suspends
> (logind: "suspend requested from client PID 3058 ('org_kde_powerde')").
> I also see the same after hibernation.
> 
> After resume:
> - The brightness slider shows 100%, but the screen is visibly much darker.
> - kscreen-doctor -o shows on BOTH outputs:
>     "Brightness control: supported, set to 100% and dimming to 30%"
> - /sys/class/backlight/nvidia_wmi_ec_backlight/actual_brightness = 241 of 800
> - Setting the slider to 80% writes 193 to sysfs, so the stale 0.3 factor is
> still applied on top of the slider value.
> - Right after resume KWin briefly has no outputs: org_kde_powerdevil and
> plasmashell both log
>   "There are no outputs - creating placeholder screen". Possibly the undim
> gets lost while the outputs are removed and re-added.
> 
> Workaround (works immediately, 241 -> 800):
>   kscreen-doctor output.eDP-1.dimming.100 output.HDMI-A-3.dimming.100

Follow-up: the kscreen-doctor workaround only lasts until the next brightness
change.
As soon as I move the slider, dimming goes back to 30% on both outputs, so the
stale
0.3 ratio seems to be kept in PowerDevil and re-sent to KWin.
"systemctl --user restart plasma-powerdevil.service" fixes it for real:
dimming 100% on both outputs, slider 80% -> 640/800, 100% -> 800/800.

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

Reply via email to