Bug 510113 - Tearing fallback with adaptive sync breaks, resulting in stuttering, at 240hz (RDNA4)
Summary: Tearing fallback with adaptive sync breaks, resulting in stuttering, at 240hz...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.4.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-01 00:54 UTC by Gemskip
Modified: 2025-11-13 03:47 UTC (History)
2 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 Gemskip 2025-10-01 00:54:12 UTC
SUMMARY
When automatic adaptive sync and tearing are both enabled, legacy modesetting is used, and the monitor is set to 240hz, pushing framerates above the monitor's adaptive sync range causes stuttering instead of a graceful fallback to tearing.

STEPS TO REPRODUCE
1. With atomic modesetting disabled, configure monitor to output in 240hz (actually a fractional value, I can check when I get home, I think it was 239.76), with automatic adaptive sync and tearing enabled.
2. Run a Vulkan game in fullscreen that pushes a framerate that exceeds the monitor's adaptive sync range. I used the enhanced Steam version of Quake running at ~1600fps, but much lower framerates trigger the issue as long as they exceed 240fps.
3. Move the mouse.

OBSERVED RESULT
Stuttery, visibly low-framerate gameplay and cursor movement and dropped frames even when max frametime is very low.

EXPECTED RESULT
Smooth gameplay with tearing.

SOFTWARE/OS VERSIONS
Linux: 6.16.8-arch3-1
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Mesa: 25.2.3-arch1.2

ADDITIONAL INFORMATION
CPU: Ryzen 7 5800XT
GPU: Radeon RX 9060XT 16GB
Output connector: DisplayPort
Environment Variables: KWIN_DRM_NO_AMS=1

The game in question uses Xwayland.

Removing any of the offending variables independently fixes the issue. Lowering the refresh rate to 144hz or disabling adaptive sync both fix the issue and tears, and disallowing tearing removes the stutter but is suboptimal for use case.
Comment 1 Zamundaaa 2025-10-14 15:35:32 UTC
Why are you using legacy modesetting? It's "legacy" for a reason, issues like this aren't entirely unexpected with how legacy works.
Comment 2 Bug Janitor Service 2025-10-29 03:47:51 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-11-13 03:47:47 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.