Bug 450280 - Compositor (probably) causes steam proton game to freeze when switching windows
Summary: Compositor (probably) causes steam proton game to freeze when switching windows
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.24.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 03:10 UTC by Abdul
Modified: 2022-02-17 03:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abdul 2022-02-15 03:10:08 UTC
Hello
I came to the conclusion that this is a Kwin bug because I have tried reproducing it in XFCE and I was not able to. Apologies if that is not the case.

SUMMARY
When playing the game Final Fantasy 14 on steam (tested with steam proton and proton-GE-custom) and switching windows, the app freezes and the only way to exit out of it is killing the process.
This happens only in full screen and border less window modes. It does not occur on windowed mode. 
This is probably the same bug as in #415286. But it seems that the workaround for window thumbnails does not work anymore.
Using virtual desktops to change windows seemed to produce the same issue, I do not think it is a problem related to the task switcher but rather to the window focus.

STEPS TO REPRODUCE
1. Open Final fantasy 14 on steam with the latest version of proton
2. Alt+Tab (It might not happen from the first time but keep pressing and it will happen)

OBSERVED RESULT
App freeze.

EXPECTED RESULT
Switching between apps.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 64 bit
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-02-16 20:01:39 UTC
Is this on X11 or Wayland? Can you try it on the other?
Comment 2 Abdul 2022-02-17 03:04:39 UTC
It was on X11, I didn't try it on Wayland.
I have an update on the bug though, I tried testing it today and I could not reproduce. When I came across the bug earlier I was able to reproduce it whenever, I tried restarting my pc and it was still reproducible.

I did update my kde plasma from 5.24.0 to 5.24.1 since then, but I am not sure if I had reproduced it after the update. Did 5.24.1 fix something related to this bug?
It is either that or reproducing it is harder than I thought and I regret not saving more details about the bug.
Comment 3 Nate Graham 2022-02-17 03:09:58 UTC
5.24.1 had many fixes in it, and there is some emerging evidence that 5.24.0 might have been mis-packaged and missed some commits. Let's close it for now; if it happens again, we can re-open it.