Bug 446992 (hachiko) - Fullscreen animation stutters on wayland
Summary: Fullscreen animation stutters on wayland
Status: RESOLVED FIXED
Alias: hachiko
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.23.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-12-14 20:18 UTC by hachikoha
Modified: 2023-03-27 16:43 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
hachikoha: Wayland+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hachikoha 2021-12-14 20:18:40 UTC
When I go full screen on wayland apps, I see freezes. I cannot say exactly under what circumstances this problem appeared. However, I installed some side effects but removed them soon after. Also, when installing, I didn't have such a problem on kde plasma 5.23.1. Now I have the mesa driver 21.3.1 installed which has been updated too. The rendering quality is OpenGl 2.0, switching to 3.0 does not solve the problem.
However, for unknown reasons, the breakdown disappears when the "Show FPS" effect is turned on. Perhaps the solution to the problem is hidden in the principles of the "Show FPS" effect.
This problem is relevant not only for gwenview, but also for mpv and for the firefox floating window, all these apps run on wayland, not xwayland. There are no such problems on xwayland.
Also, I repeatedly created a new user, while the problem persisted, which indicates that there were no problems with user configs.
Also, there are no problems with the "maximize" effect. 
When running from the terminal, apps do not give errors except for gwenview (QWaylandShmBuffer: mmap failed) 



SOFTWARE:
Linux/KDE Plasma: 
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Comment 1 Nicolas Fella 2021-12-15 20:33:45 UTC
@Xaver this sounds like the direct scanout related issue we discussed the other day
Comment 2 Vlad Zahorodnii 2022-01-19 19:53:20 UTC
It looks like a bug report about the "fullscreen" effect.
Comment 3 Rean 2022-02-12 15:50:09 UTC
This issue still happens in 5.24.0
Comment 4 Rean 2022-02-13 00:46:36 UTC
also happens in some xwayland applications btw
Comment 5 Zamundaaa 2023-03-27 16:43:06 UTC
This was caused by some repaint scheduling issues, which have been resolved some time ago. If you still have this problem in Plasma 5.27, please reopen the bug report