Bug 497794 - Powerdevil randomly changes brightness by 10% instead of 5% using brightness keys after waking the system
Summary: Powerdevil randomly changes brightness by 10% instead of 5% using brightness ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (show other bugs)
Version: 6.2.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-22 20:23 UTC by PQCraft
Modified: 2025-03-07 07:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PQCraft 2024-12-22 20:23:40 UTC
SUMMARY

When pressing the brightness up or down keys, the brightness changes by 10% instead of 5% most of the time.
Sometimes, it changes by 5% but there doesn't seem to be a pattern to when it decides to correctly change by 5 instead of incorrectly changing by 10.

Changing the shortcut to something without the brightness keys (like Meta+Shift+U or Meta+Shift+D) will not exhibit this behavior.
Any shortcut that *does* use the brightness keys (like Ctrl+Monitor Brightness Up or Ctrl+Monitor Brightness Down) *will* exhibit this behavior.

STEPS TO REPRODUCE
1. Press the brightness up or brightness down key

OBSERVED RESULT
The OSD will pop up and indicate a change of 10% instead of 5% most of the time. Sometimes it correctly changes by 5 but that seems to happen randomly.

EXPECTED RESULT
The brightness should consistently change by 5%.

SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64, Kernel 6.12.4-arch1-1
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Machine (laptop): Dell Inspiron 15 3525 (0B6B)
I couldn't get much info about the display itself other than it's a 120Hz 1920x1080 panel made by BOE.
Comment 1 PQCraft 2024-12-28 20:13:57 UTC
Update: It seems to go after I put the machine to sleep and wake it up? I don't really know what could be causing this.
Comment 2 TraceyC 2025-03-06 21:34:05 UTC
There have been a lot of improvements and bug fixes to brightness control since this report was opened. 
I'm not currently able to reproduce this on Plasma 6.3.2 or git-master. If this is still happening on your system, can you please copy and paste the output of `kscreen-doctor -o`?

Thanks.
Comment 3 PQCraft 2025-03-07 05:52:41 UTC
Hi, it's still happening and still goes away after I put the laptop into sleep and wake it up.
Here's the output of 'kscreen-doctor -o' (I currently have the brightness set to 5% (I typically do around 5 to 15%) which I obtained by fiddling around with the brightness up/down keys until one of them changed by the correct 5% instead of the incorrect 10%):

Output: 1 eDP-1
        enabled
        connected
        priority 1
        Panel
        Modes:  1:1920x1080@120*!  10:640x480@120  11:1280x1024@60  12:1024x768@60  13:1280x800@60  14:1920x1080@60  15:1600x900@60  16:1368x768@60  17:1280x720@60  2:1920x1080@60  3:1680x1050@120  4:1280x1024@120  5:1440x900@120  6:1280x800@120  7:1280x720@120  8:1024x768@120  9:800x600@120 
        Geometry: 0,0 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 5% and dimming to 100%