There is like 70% chance when turning the screen off by either using the "Turn off screen" shortcut or when using > kscreen-doctor --dpms off (and probably also when letting the screen turn itself off after some time) causes the screen to flicker while the screen is dimming. STEPS TO REPRODUCE 1. Use "kscreen-doctor --dpms off" to turn the screen off. OBSERVED RESULT While dimming the screen flickers. EXPECTED RESULT Smooth transition from the screen being on to completely turning off. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.26.1 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Kernel Version: 6.0.2-zen1-1-zen Graphics Platform: Wayland Processors: AMD Ryzen 9 4900HS 8-Core Processor Memory: 16GB of RAM Graphics Processor: Integrated: Vega 8 Dedicated: NVIDIA GeForce RTX 2060 Max-Q Manufacturer: ASUS (Zephyrus G15 GA502IV) ADDITIONAL INFORMATION This is not a new regression, this is at least a few releases old.
Created attachment 153150 [details] Video demonstration.
Can confirm
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3115
Git commit f6d14f1b44024af910718c6d5b4e29939914e871 by Xaver Hugl. Committed on 26/10/2022 at 09:52. Pushed by zamundaaa into branch 'master'. effects/kscreen: don't stop effect when fade out animation is done The screen needs to stay black until it gets enabled again, otherwise slight timing differences can cause the screen to turn on full brightness again immediately before turning off. M +2 -2 src/backends/drm/drm_output.cpp M +3 -1 src/effects/kscreen/kscreen.cpp https://invent.kde.org/plasma/kwin/commit/f6d14f1b44024af910718c6d5b4e29939914e871
I believe this wasn't pushed into the "Plasma/5.26" branch?
Git commit b7f286f12b8e759449858bfa0ead7e2a9714bdf9 by Xaver Hugl. Committed on 21/11/2022 at 16:24. Pushed by zamundaaa into branch 'cherry-pick-f6d14f1b'. effects/kscreen: don't stop effect when fade out animation is done The screen needs to stay black until it gets enabled again, otherwise slight timing differences can cause the screen to turn on full brightness again immediately before turning off. (cherry picked from commit f6d14f1b44024af910718c6d5b4e29939914e871) M +2 -2 src/backends/drm/drm_output.cpp M +3 -1 src/effects/kscreen/kscreen.cpp https://invent.kde.org/plasma/kwin/commit/b7f286f12b8e759449858bfa0ead7e2a9714bdf9
Git commit 45c2530565c209ccbbeeb20b33a8cdc14a48703c by Xaver Hugl. Committed on 21/11/2022 at 17:52. Pushed by zamundaaa into branch 'Plasma/5.26'. effects/kscreen: don't stop effect when fade out animation is done The screen needs to stay black until it gets enabled again, otherwise slight timing differences can cause the screen to turn on full brightness again immediately before turning off. (cherry picked from commit f6d14f1b44024af910718c6d5b4e29939914e871) M +2 -2 src/backends/drm/drm_output.cpp M +3 -1 src/effects/kscreen/kscreen.cpp https://invent.kde.org/plasma/kwin/commit/45c2530565c209ccbbeeb20b33a8cdc14a48703c