| Summary: | KWin doesn't redraw the screen after a fullscreened app closes in some cases | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Devin Lin <espidev> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bednarczyk.pawel, bizyaev, nate, xaver.hugl |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/7f9cbbaa98c4cd633319e45e9a1100ea58f12840 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
QML snippet that opens a fullscreen window with a window exit button
Video reproducing the issue |
||
|
Description
Devin Lin
2023-11-18 18:25:57 UTC
Created attachment 163274 [details]
Video reproducing the issue
I can reproduce this as well by launching a game from steam in full screen and then quitting to desktop. The screen seems to be stuck on the last frame. Clicking alt tab seems to trigger a refresh and a screen repaint. Always reproducible with Halls of Torment on AMf hardware. I was able to reproduce this earlier, but no longer can with today's packages/git master. Is anyone else still able to reproduce it when using the latest git commits? 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! I still seem to experience the bug. Yeah I'm sometimes seeing this too. See https://invent.kde.org/plasma/kwin/-/merge_requests/4447 for a potential fix / workaround A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4860 Git commit 7f9cbbaa98c4cd633319e45e9a1100ea58f12840 by Xaver Hugl. Committed on 09/01/2024 at 18:06. Pushed by zamundaaa into branch 'master'. core/renderloop: improve frame scheduling heuristics with VRR Instead of checking for fullscreen windows and deciding whether or not to schedule repaints based on that, check if the active window is refreshing fast enough to be reasonable for vrr. For automatic mode, vrr is also enabled with the active window instead of the direct scanout candidate. Related: bug 478680 M +9 -6 src/compositor.cpp M +1 -0 src/core/output.h M +10 -6 src/core/renderloop.cpp M +1 -6 src/core/renderloop.h M +2 -1 src/core/renderloop_p.h M +21 -0 src/scene/surfaceitem.cpp M +7 -0 src/scene/surfaceitem.h https://invent.kde.org/plasma/kwin/-/commit/7f9cbbaa98c4cd633319e45e9a1100ea58f12840 |