Created attachment 187974 [details] Logs SUMMARY Powerdevil dims all displays to 30% prior to sleep and randomly fails to restore the dimming setting on secondary monitors when the system wakes. This occurs on around half of wakes. Waiting for the idle timer to trigger a dimming and then cancelling it with an input will restore brightness on all monitors. This is a desktop system with 3 monitors connected, all to the discreet graphics card. The primary monitor is an Alienware AW3423DW, the two secondaries are both Asus VG248QE. The Alienware has HDR enabled, the other two do not. STEPS TO REPRODUCE 1. In System Settings -> Power Management, ensure Dim automatically is on 2. Wait for the system to sleep 3. Wake the system and log in OBSERVED RESULT Around half of the time, secondary monitors will retain a 30% dimming setting. EXPECTED RESULT Dimming value should be restored to 100% across all monitors. SOFTWARE/OS VERSIONS Below is the output of kinfo. Unsure why the 4090 is listed twice, there is only one installed and I'd expect the second graphics processor to be the AMD integrated one. Operating System: Arch Linux KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.21.0 Qt Version: 6.10.1 Kernel Version: 6.18.2-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor Memory: 64 GiB of RAM (60.4 GiB usable) Graphics Processor 1: NVIDIA GeForce RTX 4090/PCIe/SSE2 Graphics Processor 2: NVIDIA GeForce RTX 4090/PCIe/SSE2 ADDITIONAL INFORMATION This bug has existed since at least plasma version 6.5.2 - the earliest version I tried powerdevil logs & kscreen-doctor output included in attachments
The symptoms seem related to bug 510483 - where the brightness is dimmed to 30% incorrectly It's possible that the brightness is changing by itself because of a crash in powerdevil. I also see traces in the logs you provided. e.g. Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: Traced function stack on entry to i2c_check_open_bus_alive() Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: Traced function stack 0x7fbf54008e40 for current thread [187478] Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: i2c_check_open_bus_alive Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: ddc_write_read_with_retry Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: ddc_get_nontable_vcp_value Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: read_unsupported_feature Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: check_how_unsupported_reported Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: ddc_initial_checks_by_dh Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: ddc_initial_checks_by_dref Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: dw_add_display_by_businfo Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: dw_hotplug_change_handler Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: process_screen_change_event Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: dw_watch_display_connections Can you please run this and see if there are coredumps for powerdevil? sudo coredumpctl --reverse Thanks.
(In reply to TraceyC from comment #1) > The symptoms seem related to bug 510483 - where the brightness is dimmed to > 30% incorrectly > > It's possible that the brightness is changing by itself because of a crash > in powerdevil. I also see traces in the logs you provided. e.g. > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: Traced function stack > on entry to i2c_check_open_bus_alive() > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: Traced function stack > 0x7fbf54008e40 for current thread [187478] > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > i2c_check_open_bus_alive > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > ddc_write_read_with_retry > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > ddc_get_nontable_vcp_value > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > read_unsupported_feature > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > check_how_unsupported_reported > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > ddc_initial_checks_by_dh > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > ddc_initial_checks_by_dref > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > dw_add_display_by_businfo > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > dw_hotplug_change_handler > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > process_screen_change_event > Dec 25 10:46:39 aj-desktop org_kde_powerdevil[1213]: > dw_watch_display_connections > > Can you please run this and see if there are coredumps for powerdevil? > > sudo coredumpctl --reverse > > Thanks. coredumpctl doesn't show any crashes related to powerdevil or anything else around times where the monitor brightness has failed to properly reset. I was able to find that running kscreen-doctor output.DP-4.dimming.100; kscreen-doctor output.DP-5.dimming.100 will restore the brightness without having to wait for the idle timer to dim the screens
Thanks for confirming. Those who are more knowledgeable will have to take it from here.
I can confirm this issue. For me, both displays of my desktop computer stay dimmed after waking the system up from sleep/standby. Using "kscreen-doctor output.DP-x.dimming.100 output.DP-x.dimming.100" as a workaround to undim works nicely. Also, might be related or not: when waking up the system via Wake-On-LAN, oftentimes the displays are turned on (backlight is clearly visible), but stay black. The bad thing about this is that this state persists until a key is pressed or the mouse is moved, i.e. the displays will never be sent back to sleep automatically (waited for over an hour to test, nothing ever happens). KDE Plasma Version: 6.5.5 KDE Frameworks Version: 6.22.0 Qt Version: 6.10.1 Kernel Version: 6.18.8 Graphics Platform: Wayland Processors: AMD Ryzen 7 5800X Graphics Processor: NVIDIA GeForce RTX 3060
Same here, except it only started after the update to Plasma 6.6.0. My workaround for now is: kscreen-doctor output.DP-1.dimming.100
I'm going to mark this confirmed, since a few people have the same bug (In reply to Fonic from comment #4) > Also, might be related or not: when waking up the system via Wake-On-LAN, > oftentimes the displays are turned on (backlight is clearly visible), but > stay black. That sounds like a different bug that needs a different report. If there isn't one for it already, feel free to create a new one. Thanks!
(In reply to TraceyC from comment #6) > (In reply to Fonic from comment #4) > > Also, might be related or not: when waking up the system via Wake-On-LAN, > > oftentimes the displays are turned on (backlight is clearly visible), but > > stay black. > > That sounds like a different bug that needs a different report. If there > isn't one for it already, feel free to create a new one. Thanks! After posting here, I discovered bug #511118, which seems to cover that very same issue.
Maybe Bug 516407?
This one is about software dimming, not DDC/CI brightness
I'm on the same boat and I noticed the "Dim automatically" is missing in Plasma 6.6.
Git commit be28578dbb750b64dd48a90b07d8225ff4de4d85 by Xaver Hugl, on behalf of Patryk Ludwikowski. Committed on 02/05/2026 at 00:27. Pushed by zamundaaa into branch 'master'. Fix screen brightness stuck at 30% after PowerDevil restart PowerDevil's KWinDisplayBrightness constructor was inheriting KWin's runtime dimming state at startup. If KWin was running with a stale dimming=0.3 from a previous PowerDevil session, the new instance would inherit and permanently apply that value, causing the screen to stay dimmed despite moving the brightness slider. The dimming multiplier is exclusively managed by PowerDevil's DimDisplay action and is not persisted to disk. On startup, DimDisplay::m_dimmed is always false, so there's no way to know if KWin's runtime dimming state is valid or stale. The correct approach is to always initialize to 1.0 (no dimming), and let DimDisplay set it when the idle timeout fires. Co-Authored-By: Claude Sonnet <noreply@anthropic.com> M +1 -1 daemon/controllers/kwinbrightness.cpp https://invent.kde.org/plasma/powerdevil/-/commit/be28578dbb750b64dd48a90b07d8225ff4de4d85
Git commit c939ca749913894f9e6973ddb8db5f6a82be3a0f by Xaver Hugl. Committed on 02/05/2026 at 11:36. Pushed by zamundaaa into branch 'Plasma/6.6'. Fix screen brightness stuck at 30% after PowerDevil restart PowerDevil's KWinDisplayBrightness constructor was inheriting KWin's runtime dimming state at startup. If KWin was running with a stale dimming=0.3 from a previous PowerDevil session, the new instance would inherit and permanently apply that value, causing the screen to stay dimmed despite moving the brightness slider. The dimming multiplier is exclusively managed by PowerDevil's DimDisplay action and is not persisted to disk. On startup, DimDisplay::m_dimmed is always false, so there's no way to know if KWin's runtime dimming state is valid or stale. The correct approach is to always initialize to 1.0 (no dimming), and let DimDisplay set it when the idle timeout fires. Co-Authored-By: Claude Sonnet <noreply@anthropic.com> (cherry picked from commit be28578dbb750b64dd48a90b07d8225ff4de4d85) Co-authored-by: Patryk Ludwikowski <patryk.ludwikowski.7@gmail.com> M +1 -1 daemon/controllers/kwinbrightness.cpp https://invent.kde.org/plasma/powerdevil/-/commit/c939ca749913894f9e6973ddb8db5f6a82be3a0f
Unfortunately I'm still seeing this after updating to 6.6.5. I did notice https://invent.kde.org/plasma/powerdevil/-/merge_requests/613 which hopefully contains a solution. Operating System: Arch Linux KDE Plasma Version: 6.6.5 KDE Frameworks Version: 6.26.0 Qt Version: 6.11.0 Kernel Version: 7.0.5-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor Memory: 64 GiB of RAM (60.4 GiB usable) Graphics Processor 1: NVIDIA GeForce RTX 4090 Graphics Processor 2: AMD Ryzen 7 9800X3D 8-Core Processor
I've been having this issue as well! I noticed that it mainly happens when my PC is left on and it goes to sleep automatically. Operating System: CachyOS Linux KDE Plasma Version: 6.6.5 KDE Frameworks Version: 6.26.0 Qt Version: 6.11.1 Kernel Version: 7.0.8-1-cachyos (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 3950X 16-Core Processor Memory: 32 GiB of RAM (31.2 GiB usable) Graphics Processor: NVIDIA GeForce RTX 4070
*** Bug 516631 has been marked as a duplicate of this bug. ***
*** Bug 520486 has been marked as a duplicate of this bug. ***
Since there are duplicates, I'm setting this to confirmed.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/654
Still reproducible on Plasma/KWin/PowerDevil **6.7.4** (Fedora 44, Wayland, NVIDIA proprietary, three monitors), so the fix in 6.6.5 did not resolve this. Two details in my case differ from the existing reports and I think they narrow the cause. **1. No suspend was involved.** The screen stayed dimmed indefinitely while I was actively using the machine — continuous keyboard and mouse input never undimmed it. That makes the `KIdleTime::catchNextResumeEvent()` theory in MR !613 an unlikely explanation for this instance. The trigger here was restarting PowerDevil while a dim was applied (I restarted `plasma-powerdevil.service` with `POWERDEVIL_NO_DDCUTIL=1` set, while the display was idle-dimmed). **2. It is the KWin software-dimming path, not DDC.** One output only: ``` $ kscreen-doctor -o Output: 2 DP-1 ... Brightness control: supported, set to 100% and dimming to 30% ``` The other two outputs report `Brightness control: unsupported`. DP-1 is the only one with `"allowSdrSoftwareBrightness": true` in `~/.config/kwinoutputconfig.json`, which is what gives it `Capability::BrightnessControl` via `drm_output.cpp:233`. The monitor's own hardware brightness (DDC VCP 0x10) read 100/100 throughout, so the panel was never touched — consistent with `DrmOutput::updateBrightness()` deliberately keeping dimming in software. **What did not clear it:** - `systemctl --user restart plasma-powerdevil.service` (twice) - `kscreen-doctor --dpms off` then `--dpms on` - `kscreen-doctor output.DP-1.brightness.99` then `.brightness.100` **What did clear it instantly** (dimming back to 100%): ``` busctl --user call org.kde.ScreenBrightness /org/kde/ScreenBrightness/display0 \ org.kde.ScreenBrightness.Display SetBrightness iu 7000 0 busctl --user call org.kde.ScreenBrightness /org/kde/ScreenBrightness/display0 \ org.kde.ScreenBrightness.Display SetBrightness iu 10000 0 ``` `kscreen-doctor output.DP-1.dimming.100` also works as a workaround. **Why commit be28578d ("Fix screen brightness stuck at 30% after PowerDevil restart") looks incomplete.** It changed the constructor to `m_desiredDimming(1.0)` (`daemon/controllers/kwinbrightness.cpp:137`), but nothing then *writes* that 1.0 to KWin at startup. The only write is `m_output->setDimming(m_desiredDimming)` in `applyPendingBrightness()` (`kwinbrightness.cpp:198`), reachable only via `scheduleSetConfig()`. `setDimmingMultiplier()` early-returns on equality (`kwinbrightness.cpp:216-218`), so when `DimDisplay` later calls `setDimmingRatio(DIMMING_ID, 1.0)` the value already matches locally and no config push happens. Meanwhile KWin still holds `dimming = 0.3`: that state is in-memory only in `BackendOutput::State::dimming`, is never serialized to `kwinoutputconfig.json`, and KWin has no path that resets it when the brightness client disconnects. `DimDisplay::m_dimmed` also defaults to `false` after a restart, so the guard at `dimdisplay.cpp:41-43` short-circuits the restore before it reaches the controller. So PowerDevil's cache and KWin's actual state desynchronize, and the equality guard means they can never resynchronize. `SetBrightness` fixes it only incidentally, because `applyPendingBrightness()` pushes brightness and dimming together and `setBrightness()` has no equality guard. There is a second, non-restart route to the same desync: when `KWinDisplayDetector::checkOutputs()` re-creates a `KWinDisplayBrightness` (`kwinbrightness.cpp:84-87`), the replacement starts at 1.0, and the only code that would re-push the active ratio (`screenbrightnesscontroller.cpp:221-223`) sits behind the `readded` branch, which requires an `m_rememberedDisplayState` entry — and that map is populated only in the `else` branch at `:506-512`, i.e. only for displays that do *not* support a dimming multiplier. KWin displays always do, so that re-push is unreachable for them. MR !654 looks like it addresses exactly this (reconciling stale dimming on init, plus migrating the ratio across display-map rebuilds). Alternatively, having the constructor or PowerDevil startup unconditionally *write* `dimming = 1.0` rather than merely assume it would close the restart path on its own.
Still reproducible on Plasma/KWin/PowerDevil 6.7.5 (Arch/CachyOS), one version past the 6.7.4 reproduction in comment 19. Trigger: PowerDevil's automatic "dim after inactivity" idle timer, followed by system suspend — display comes back stuck at the dimmed level after resume. Workaround: kscreen-doctor output.<name>.dimming.100. Setup: dual AMD GPU (discrete Navi 48 RX 9070-series driving the display), monitor connected through a KVM switch, Wayland session.
After update to plasma 6.8 on CachyOS the bug happens very frequently to me. It's also very random which display doesn't undim. Sometimes its main, sometimes secondary, sometimes both. I used to have it very rarely and not at all in the last few months, but after the update it happens almost every single time I wake up the system.
Setting back to CONFIRMED since the related merge request was closed without being merged
Still active in 6.8.2. Fixed by running: kscreen-doctor output.DP-1.dimming.100 by hand. A small user systemd service generated by Claude that checks for the problem and runs the above is at https://github.com/v1ld/kde-undim-on-unlock
Can confirm this is still active and reproducible every time after sleep on Fedora 45 with Plasma 6.8.2 (`powerdevil-6.8.2-1.fc45`, `kwin-6.8.2-3.fc45`). Environment: - OS: Fedora Linux 45 (x86_64), Wayland session - GPU: AMD Radeon (amdgpu) - Displays: Dual external (DP-1: Samsung SMS24A850, DP-2: LG 27GL850), both DDC/CI capable with "Control hardware brightness via DDC/CI" enabled. ___ workaround: `kscreen-doctor output.DP-1.dimming.100 output.DP-2.dimming.100` after sleep
I found one cause of this on a desktop monitor: if every display with brightness control disappears while dimmed, which happens on resume for me, PowerDevil deletes the DimDisplay action and nothing undoes the dim. Fix: https://invent.kde.org/plasma/powerdevil/-/merge_requests/739. It would help to hear whether it fixes your setup, especially with several monitors. If yours happens, PowerDevil's debug log should show "No suitable displays detected" between the dim and the wake-up.
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
Reproduced on Arch Linux, Plasma/PowerDevil 6.8.3, Wayland, with an internal eDP panel driven by Intel graphics and an NVIDIA dGPU. After leaving the laptop idle, it automatically suspended. After waking it and unlocking the session, the display remained dim: Brightness control: supported, set to 30% and dimming to 30% On 2026-11-17 (EET, UTC+2), suspend began at 09:54:01, resume occurred at 10:26:17, and dimming was still 30% at 10:29. PowerDevil had the same PID before and after suspend. Previously verified: - Setting output.eDP-1.dimming.100 restores normal brightness. - Moving the brightness slider afterwards reapplies dimming 30%. - Resetting dimming to 100%, then restarting plasma-powerdevil.service, clears that state; slider changes then retain dimming 100%. - Manual lock/unlock and DPMS off/on did not reproduce it. - Manual suspend sometimes worked normally after restarting PowerDevil. Automatic idle dimming before suspend is suspected, but was not independently observed in this reproduction.
Additional confirmation on Fedora 45 KDE, Plasma/PowerDevil 6.8.3: After resuming from suspend, the HDR-enabled DisplayPort monitor remained dimmed. kscreen-doctor -o reported: Brightness control: supported, set to 100% and dimming to 30% Running: systemctl --user restart plasma-powerdevil.service changed the reported state to: Brightness control: supported, set to 100% and dimming to 100% HDR remained enabled and SDR brightness remained at 417 nits. No HDR toggle or display mode change was needed to reset the dimming state. This suggests stale dimming state rather than HDR being the established cause; we have not compared reproduction with HDR disabled. Environment: - Fedora Linux 45, KDE Plasma Desktop Edition - KWin, plasma-workspace and PowerDevil: 6.8.3-1.fc45 - Wayland - Kernel: 7.3.3-300.fc45.x86_64 - NVIDIA GeForce RTX 5070, driver 620.70.06 - Two DisplayPort displays: primary 2560x1440 at 180 Hz with HDR/WCG enabled; secondary 2560x1440 at approximately 60 Hz without HDR support A temporary systemd user service has been installed that listens for logind PrepareForSleep(false), waits five seconds, and runs systemctl --user try-restart plasma-powerdevil.service. The delayed handler was tested with a locally simulated callback and successfully restarted PowerDevil. Automatic recovery after an actual subsequent suspend/resume cycle has not yet been verified. This is an observation and workaround, not a confirmed root cause or permanent fix.