| Summary: | Direct scanout fails to activate for a certain game (Ray'z Arcade Chronology) when run using Proton-GE Wayland, but activates when using XWayland. | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | fbranemyr |
| Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | NEEDSINFO WAITINGFORINFO | ||
| Severity: | normal | CC: | xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.5 | ||
| Target Milestone: | --- | ||
| Platform: | EndeavourOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Screenshot of the game running in native Wayland. The white frame is not visible when viewed on the screen.
Screenshot of the game running in XWayland. The white frame is visible even when viewed on the screen. Console output logged by launching with WAYLAND_DEBUG=1 PROTON_ENABLE_WAYLAND=1 %command% |& tee /home/florian/Documents/log.txt |
||
|
Description
fbranemyr
2026-02-09 19:57:39 UTC
The correlation between fullscreen and direct scanout isn't as direct as it might seem. Fullscreen windows just happen to usually cover the whole screen with a single opaque surface, but it's possible that they do more complicated things too. The "white bars" sound like maybe the window isn't fully opaque, and/or is composed of multiple surfaces, which can prevent direct scanout from working. (In reply to fbranemyr from comment #0) > I have attached a screenshot of the game running in native Wayland. What I > noticed is that the screenshot shows white bars around the game. These are > not visible when actually viewing the game on the screen. The fullscreen > implementation is probably weird, but it still works in XWayland. I think you forgot to actually attach it. Created attachment 189428 [details]
Screenshot of the game running in native Wayland. The white frame is not visible when viewed on the screen.
Created attachment 189429 [details]
Screenshot of the game running in XWayland. The white frame is visible even when viewed on the screen.
(In reply to Zamundaaa from comment #1) > I think you forgot to actually attach it. I've now attached screenshots of the game running in Wayland and XWayland. In Wayland it seems to have invisible white borders on all four sides, while in XWayland the borders are visible, but only exist on the top and left sides of the screen. Is there any way to check if the game is using multiple or transparent surfaces? That kind of looks to me like the game is trying to do overscan compensation, and Proton's fullscreen hack for X11 makes it not work correctly. (In reply to fbranemyr from comment #4) > Is there any way to check if the game is using multiple or transparent > surfaces? If you run the game with WAYLAND_DEBUG=1 (just quit it again after it shows up fullscreen) and attach the output of that here, I can check. Created attachment 189444 [details]
Console output logged by launching with WAYLAND_DEBUG=1 PROTON_ENABLE_WAYLAND=1 %command% |& tee /home/florian/Documents/log.txt
(In reply to Zamundaaa from comment #5) > If you run the game with WAYLAND_DEBUG=1 (just quit it again after it shows > up fullscreen) and attach the output of that here, I can check. I've now added a debug log in the attachements. |