Bug 483429

Summary: Screen freezes with Adaptive Sync enabled
Product: [Plasma] kwin Reporter: Leonardo Neumann <leonardo>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fabian.arndt, jack, max, nate, xaver.hugl
Priority: NOR Keywords: qt6
Version: 6.0.2   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Output from glxinfo

Description Leonardo Neumann 2024-03-13 11:20:27 UTC
Created attachment 167093 [details]
Output from glxinfo

SUMMARY

The screen seems to freeze during certain animations with Adaptive Sync / VRR enabled. For instance, when opening the launcher, the screen freezes for a few seconds until I interact with the menu or other screen update happens, like taking a screenshot.

STEPS TO REPRODUCE

1. Enable Adaptive Sync (set to always);
2. Open the application launcher.

OBSERVED RESULT

The animation freezes until any screen update happens.

EXPECTED RESULT

The animation finishes in time, without any noticeable increase in frame times.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
OS: NixOS 24.05 (Wakari)

ADDITIONAL INFORMATION

Output from glxinfo attached.
Comment 1 Jack Greiner 2024-05-11 23:38:18 UTC
This is also visible in Plasma 6.0.4, in Fedora 40.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
OS: Fedora KDE 40
Comment 2 Fabian Arndt 2024-05-21 21:59:27 UTC
I can confirm that issue on Nobara (AMD GPU) and Manjaro (Intel/Nvidia), both Plasma 6.0.4.

It sometimes freezes for a longer period, until you move the cursor or the screen refreshes. So it seems to be a timing / refresh issue.
Comment 3 Max 2024-10-04 09:55:50 UTC
I missed this bug when I created https://bugs.kde.org/show_bug.cgi?id=493940
For me these look like duplicates, could you check if you agree? I have some recordings of the bug added.
Zamundaaa swept in an quickly fixed it, therefore maybe this is also resolved?
Comment 4 Zamundaaa 2024-10-04 11:24:54 UTC

*** This bug has been marked as a duplicate of bug 493940 ***