Bug 480972 - Adaptive sync causes external display to flicker black
Summary: Adaptive sync causes external display to flicker black
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.93.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-06 20:13 UTC by Victor Rijnoveanu
Modified: 2024-02-07 19:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Rijnoveanu 2024-02-06 20:13:39 UTC
SUMMARY

With adaptive sync set to automatic, whenever I would fullscreen any app, whether it would be an xwayland app, a qt app, a gtk app or firefox, it would cause the display to turn itself off as if there was not any output, and shortly come back afterwards, not giving it enough time to consider that there is no signal and try to switch to another input source. Any sudden mouse movements would cause it to flicker again.
I then set the adaptive sync to 'Always', and that has caused the display to have this behaviour constantly, regardless of whether there was a fullscreen window present or not. Switching to 'never' has resulted to this behavior not occurring. The allow screentearing for fullscreen windows option did not affect this whatsoever.

STEPS TO REPRODUCE
1. Connect external display to laptop via HDMI.
2. Close laptop lid.
3. Ensure adaptive sync is set to "Automatic".
4. Fullscreen anything, e.g. a youtube video.

OBSERVED RESULT

Display flickers black.

EXPECTED RESULT

See my content normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.3-x64v3-xanmod1
(available in About System)
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION

Built-in laptop display does not have adaptive sync.
16 × AMD Ryzen 7 5700U with Radeon Graphics
AMD Radeon Graphics
External Display is Acer Nitro VG271U
Comment 1 Zamundaaa 2024-02-07 19:19:36 UTC
This sounds a lot like https://gitlab.freedesktop.org/drm/amd/-/issues/2966 and related issues. Please open a bug report about this there too