*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY Screen brightness is low after unlocking session and stays on the dimmed settings. STEPS TO REPRODUCE 1. Session locks 2. Display goes into power saving mode 3. Input password into screen locker 4. External display brightness does not go back to previously selected brightness but stays dimmed. OBSERVED RESULT Screen brightness is low after unlocking session and stays on the dimmed settings. EXPECTED RESULT Screen brightness should revert to value previously selected before the sessions locks and the screen goes into sleep mode. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.90 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.6-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ i5-10500T CPU @ 2.30GHz Memory: 16 Gio of RAM (15.3 Gio usable) Graphics Processor: Intel® UHD Graphics 630 Manufacturer: LENOVO Product Name: 11DQS02700 System Version: ThinkCentre M80q ADDITIONAL INFORMATION
This is with a desktop monitor, right? Can you mention the hardware? Did this start happening with the Plasma 6.4 beta, or did it start happening earlier and you're only just reporting it now?
This happened to me as well recently on a pre-6.4 build from master around early May, with another user session logged in simultaneously with a 6.3.4 build. I was logged into two different user sessions at the time, not sure if that makes a difference. It was the first time that I experienced this, however I had also recently occupied a new location with a different external monitor, so I wasn't sure if it's the code or the setup. (That said, my built-in laptop display was the one that I remember staying darker, not the monitor.) Changing the dimming percentage with kscreen-doctor for the affected display fixed the issue, unfortunately I didn't do any further sleuthing about why this may have happened. Sorry! If this happens again, I'll see if I can find any relevant logs.
Hello Nate, I realize the quality of my bug ticket is very bad. Yes, it is an external monitor connected over DisplayPort. My graphics card is an Intel UHD 630. Monitor is a LG UltraGear QHD. My issue started appearing with Plasma 6.4 beta.
(In reply to Jakob Petsovits from comment #2) > This happened to me as well recently on a pre-6.4 build from master around > early May, with another user session logged in simultaneously with a 6.3.4 > build. I was logged into two different user sessions at the time, not sure > if that makes a difference. Hmm, that probably mean that powerdevil running on the other user account dimmed the screen because the session was idle. Not sure how well we can prevent that, but ideally it wouldn't trigger idle actions if you're on a different tty
Johan, did you also have another user logged in at the time this happened? If not, then probably Jakob's issue is something different. Can you paste the output of running `kscreen-doctor -o | grep -i bright` in a terminal window both before and after the session locks?
(In reply to Nate Graham from comment #5) > Johan, did you also have another user logged in at the time this happened? > If not, then probably Jakob's issue is something different. Hi Nate, no other users logged in. > Can you paste the output of running `kscreen-doctor -o | grep -i bright` in > a terminal window both before and after the session locks? Before: > [01;33m Brightness control: [0;0msupported, set to 100% and dimming to 100% After: > [01;33m Brightness control: [0;0msupported, set to 100% and dimming to 100% Screen is dimmed, and I need to move the brightness cursor down from 100% to any value and back to have the brightness from before the screen lock / power saving mode back.
Ok, so not Jakob's issue. Jakob, can we get another bug report for that one? Based on the kscreen-doctor output, it looks like the actual state is not matching what powerdevil and kscreen think it is.
I believe I experience the same behavior as my fellow Johan with Plasma 6.3.4. My external screen dimming is triggered by anything that disconnects it, such as my PC going to standby or me turning the screen off and on again. I also get "Brightness control: supported, set to 100% and dimming to 100%" both before and after. To see if it is the same, Johan, you could try to see if it happens if you set your screen not to go to sleep when the screen locks. My screen doesn't dim just from locking the screen, as long as it doesn't go to sleep. If it is the same bug, `systemctl --user restart plasma-powerdevil` restores brightness to its desired level.
Note: I have observed 2 variants: - the screen dims but I can change back the brightness with the brightness plasmoid; - the screen dims and disappears from the brightness plasmoid until I restart plasma-powerdevil. When that one happens, I can still change the brightness using VDUcontrols without restarting it. I also noticed this: if I turn off my screen (to standby, not unplugging it), kscreen-doctor doesn't detect any change, until I turn my screen off and on again, at which time it briefly detects as disconnected, then connected again. Claude AI says this is normal because of how my screen behaves. The screen has a built-in KVM dock, and the EDID (`</sys/class/drm/card*/card*-DP*/edid hexdump -C`) remains when I put the screen to standby. (Lenovo P27h-30)
TYPO: if I turn off my screen [...], kscreen-doctor doesn't detect any change, until I turn my screen on* again
systemctl --user restart plasma-powerdevil doesn't bring back the screen brightness I had before my monitor going to sleep. I have to change the toggle of the brightness plasmoid (from 100 % to any value, back to 100%) for the screen brightness to go back to the original value from before the monitor went to sleep.
Disabling the automated brightness lowering while inactive mitigates the issue for now.
Operating System: Arch Linux KDE Plasma Version: 6.4.1 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.3-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 32 ГиБ of RAM (31.2 ГиБ usable) Graphics Processor: AMD Radeon RX 7800 XT Manufacturer: Gigabyte Technology Co., Ltd. Product Name: X570S AORUS ELITE AX System Version: -CF Same problem for me. After screen dimming and sleep, second screen not restore brightness from dimming level.
I too started noticing this recently, most likely after 6.4. External monitor brightness is reset to 30% after unlocking screen.