| Summary: | Kwin: Fractional scaling + adaptive sync @ automatic -> freezes when playing full screen videos | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Simon <simon.adrian> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | bartosz1, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.4 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Output of journald after last crash, filtered for kwin messages. | ||
|
Description
Simon
2023-04-08 11:14:57 UTC
Seems that I was too early to claim “KWIN_DRM_NO_DIRECT_SCANOUT=1” fixes the problem. Indeed, the stuttering is gone, but after 1-2 minutes into the video, I got a freeze. Addendum: Also KWin in X11 is doing fine. So there is some issue with KWin + Wayland Another update: 1) I wrote that the problem also persists with 100 % scaling. This is, at least now, no longer true. The problem does not exist with normal scaling, but only with fractional scaling. 2) It seems to be related to adaptive sync. I had used "automatic" as option, which allowed normal desktop usage, but made the problems with full screen videos. If I select "Always", my desktop basically freezes (at least, when there are some applications open). Deactivating "adaptive sync" seems to fix my problem. I need to do some more long term tests. Please enable drm debug logging (https://invent.kde.org/plasma/kwin/-/wikis/Debugging-DRM-issues), reproduce the freeze and upload the log here Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! Hello, the same thing happens to me. In my case, it is even when the scalling is set to 100%, on an external display connected to my laptop. The display just loses the input audio/video signal when the refresh rate tries to change. For me it happens with every app that tries to work in a full-screen mode. Turning adaptive sync off helps to prevent this issue from happening. When that happens, it's either a display bug (never seen that before) or a driver bug. Please report that to your driver vendor (https://gitlab.freedesktop.org/drm/i915/kernel/-/issues for Intel, https://gitlab.freedesktop.org/drm/amd/-/issues for AMD or https://forums.developer.nvidia.com/c/gpu-graphics/linux for NVidia) |