Summary: | With multi-monitor setup, a monitor that is disabled does not power off | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | ready2rumbel |
Component: | common | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, notmart, randall, xaver.hugl |
Priority: | NOR | Keywords: | regression |
Version: | 5.24.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=450721 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/3e7223a9af4dec6ebb73a46eae8ba0aeb5a2d657 | Version Fixed In: | 5.24.4 |
Sentry Crash Report: |
Description
ready2rumbel
2022-02-09 18:45:50 UTC
Another side effect of this is that the mouse cursor, in certain game menus, stutters (which may be related to an inherent Wayland multi-screen & VRR quirk; I'm trying to find the link to a thread that described this). (In reply to ready2rumbel from comment #1) > Another side effect of this is that the mouse cursor, in certain game menus, > stutters (which may be related to an inherent Wayland multi-screen & VRR > quirk; I'm trying to find the link to a thread that described this). I mentioned this because this mouse stuttering didn't occur in Plasma 5.23.5, so based off reading that nugget of info + the current symptoms, the monitor may still be registered as active despite Plasma/kwin indicating otherwise. Is some kernel argument set, like amdgpu.dc=0? And are you using any environment variables for KWin? This sounds a lot like the legacy driver bug that https://invent.kde.org/plasma/kwin/-/merge_requests/2019 fixes, but by default your hardware should use the atomic modesetting pathways. (In reply to Zamundaaa from comment #3) > Is some kernel argument set, like amdgpu.dc=0? And are you using any > environment variables for KWin? > > This sounds a lot like the legacy driver bug that > https://invent.kde.org/plasma/kwin/-/merge_requests/2019 fixes, but by > default your hardware should use the atomic modesetting pathways. The kernel running is the version provided by Fedora and I've not edited GRUB to modify any amdgpu related parameters. As for the second question, the only thing I've personally tweaked from the out-of-box experience is adding two scripts to /etc/profile.d , one is to force Firefox to start in Wayland mode (export MOZ_ENABLE_WAYLAND=1) and the other is to set my dGPU as the primary adapter (export KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1). I experience the same. Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.2 Kernel Version: 5.15.0-22-lowlatency (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-8665U CPU @ 1.90GHz Memory: 15.3 GiB of RAM Graphics Processor: AMD Radeon RX 6600 XT I've had a chance to test and setting `amdgpu.dc=0` or `amdgpu.dc=1` makes no difference. Hmm, the BUG keywords seems to not work again :/ This bug is caused by an assumption in KWin, that there's always at least one enabled output... per GPU. This MR should fix it: https://invent.kde.org/plasma/kwin/-/merge_requests/2185 Git commit 658457df5f832b593ec9d1c399a5e29a2e9f4ef8 by Xaver Hugl. Committed on 29/03/2022 at 09:19. Pushed by zamundaaa into branch 'master'. backends/drm: attempt a modeset on output disabling When modesets are necessary, they are attempted when an output on the given GPU gets presented. With multi-gpu setups however, the situation can arise where there is only one disabled output on a GPU; in that case KWin eternally waits and never properly turns off the display. In order to work around this, explicitly call DrmGpu::maybeModeset when an output gets disabled. FIXED-IN: 5.24.4 M +3 -0 src/backends/drm/drm_output.cpp https://invent.kde.org/plasma/kwin/commit/658457df5f832b593ec9d1c399a5e29a2e9f4ef8 Git commit 3e7223a9af4dec6ebb73a46eae8ba0aeb5a2d657 by Xaver Hugl. Committed on 29/03/2022 at 09:35. Pushed by zamundaaa into branch 'Plasma/5.24'. backends/drm: attempt a modeset on output disabling When modesets are necessary, they are attempted when an output on the given GPU gets presented. With multi-gpu setups however, the situation can arise where there is only one disabled output on a GPU; in that case KWin eternally waits and never properly turns off the display. In order to work around this, explicitly call DrmGpu::maybeModeset when an output gets disabled. FIXED-IN: 5.24.4 (cherry picked from commit 658457df5f832b593ec9d1c399a5e29a2e9f4ef8) M +3 -0 src/backends/drm/drm_output.cpp https://invent.kde.org/plasma/kwin/commit/3e7223a9af4dec6ebb73a46eae8ba0aeb5a2d657 |