Summary: | Adaptive sync = always causes animations to get stuck | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Max <max> |
Component: | performance | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leonardo, nate, xaver.hugl |
Priority: | NOR | ||
Version: | 6.1.5 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/f490e1fee7c38bf0613d80a065db6028e58c2977 | Version Fixed In: | 6.2.0 |
Sentry Crash Report: | |||
Attachments: |
stuck animation.png Screenshot of the frozen animation (Prt sc)
adaptive sync = always - MOBILE.webm A recording of the bug with my phone. This shows the bug clearly and consistently. adaptivesync=always - spectacle.webm spectacle recording failing to show the bug. Taken at the same time as the mobile recording expected (adaptivesync=automatic).webm Shows how it should look (lower framerate since spectacle recording) |
Description
Max
2024-10-01 20:01:38 UTC
Created attachment 174304 [details]
adaptive sync = always - MOBILE.webm
A recording of the bug with my phone. This shows the bug clearly and consistently.
Created attachment 174305 [details]
adaptivesync=always - spectacle.webm spectacle recording failing to show the bug. Taken at the same time as the mobile recording
Created attachment 174306 [details]
expected (adaptivesync=automatic).webm Shows how it should look (lower framerate since spectacle recording)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6556 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6557 Git commit 371879a9f9c22a36d987e7a9c61bc4f8583c1f82 by Xaver Hugl. Committed on 02/10/2024 at 15:03. Pushed by zamundaaa into branch 'master'. core/renderloop: only delay scheduling repaints while vrr is active, don't entirely drop them Otherwise, the following situation can happen - effect tries to schedule a repaint, which gets ignored because the window has at least 30fps - the window stops updating - the effect's last frame is stuck on the screen, until something else triggers a repaint M +7 -0 src/core/renderloop.cpp M +2 -0 src/core/renderloop_p.h https://invent.kde.org/plasma/kwin/-/commit/371879a9f9c22a36d987e7a9c61bc4f8583c1f82 Git commit f490e1fee7c38bf0613d80a065db6028e58c2977 by Xaver Hugl. Committed on 02/10/2024 at 15:41. Pushed by zamundaaa into branch 'Plasma/6.2'. core/renderloop: only delay scheduling repaints while vrr is active, don't entirely drop them Otherwise, the following situation can happen - effect tries to schedule a repaint, which gets ignored because the window has at least 30fps - the window stops updating - the effect's last frame is stuck on the screen, until something else triggers a repaint (cherry picked from commit 371879a9f9c22a36d987e7a9c61bc4f8583c1f82) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +7 -0 src/core/renderloop.cpp M +2 -0 src/core/renderloop_p.h https://invent.kde.org/plasma/kwin/-/commit/f490e1fee7c38bf0613d80a065db6028e58c2977 Wow you guys are awesome! Thank you! I just found that I might have missed an existing bug for this: https://bugs.kde.org/show_bug.cgi?id=483429 To me it looks like my bug report is a duplicate, should I mark it as such now when its resolved? *** Bug 483429 has been marked as a duplicate of this bug. *** |