| Summary: | Full Screen Apps Running in Proton Not Registering As Being in Full Screen | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Noah Westervelt <nwestervelt> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | linx.system.adm, nate, nwestervelt |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.2.0 | |
| Sentry Crash Report: | |||
| Attachments: | xprop output proton game | ||
|
Description
Noah Westervelt
2024-06-24 06:13:37 UTC
It just occurred to me that this might be something not specific to apps running in Proton, but apps using XWayland (which I believe Proton uses). Tearing is supported only when using legacy modesetting api. By default, kwin uses atomic modesetting, which doesn't support tearing atm. Regarding blocking compositor, please run xprop and click a game window. Created attachment 171111 [details]
xprop output proton game
This is the xprop output I got after clicking on the game window for "EZ2ON REBOOT: R" while running X11. This is a Windows game, and it is running through Steam using Proton 8.0-5.
I have the same problem. However I can only reproduce it since linux 6.10 and if using atomic modesetting. If I set KWIN_DRM_NO_AMS=1 then issue is gone. If I downgrade linux to 6.9.9 (can still have atomic modesetting), then issue is gone. STEPS TO REPRODUCE 1) Make sure you using linux 6.10 and atomic modesetting is on 2) Set Adaptive sync to Automatic 3) Launch some proton game 4) Turn on display OSD and observe refresh rate. You can see that VRR is working, so KWin successfully detecting full screen. But not for long 5) Alt-tab from game to any application. Then alt-tab back 6) Look at the display OSD, you will see that VRR stopped working. I believe it means that KWin not detecting full screen anymore It looks like it's fixed in 6.2. I could not reproduce the issue anymore Is it also fixed for you in Plasma 6.2, Noah? (In reply to Nate Graham from comment #6) > Is it also fixed for you in Plasma 6.2, Noah? Seems like the issue of games stuttering under Wayland I reported has been resolved, which I suspected was the result of full screen apps not tearing under Wayland. This one is hard to say for sure, it just feels like apps are tearing when they're supposed to now. The issue of Proton / WINE games not blocking compositing automatically under X11 still occurs though. This issue isn't a huge problem though because you can manually stop compositing on X11. Cool, that would actually be an app/game/Proton issue, not a KWin issue. |