Bug 483429 - Screen freezes with Adaptive Sync enabled
Summary: Screen freezes with Adaptive Sync enabled
Status: RESOLVED DUPLICATE of bug 493940
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.2
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-13 11:20 UTC by Leonardo Neumann
Modified: 2024-10-04 11:24 UTC (History)
5 users (show)

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


Attachments
Output from glxinfo (81.33 KB, text/plain)
2024-03-13 11:20 UTC, Leonardo Neumann
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***