Invisible window when activating fullscreen on games under Wayland

I have already reported this as a bug here but I’m unsure if its a problem with Kwin or just my OS, hardware, missing a library or something so I’m posting here to see if anyone else has the same issue and try to understand what is causing this.

On Wayland, whenever I try to enable fullscreen for any game (doesn’t matter if it runs natively or under wine/proton, or which graphics API it uses), the window just becomes invisible and I can’t interact with it, forcing me to kill the process. On X11 it works as expected.

This only happens for games. I thought it had something to do with Xwayland but any other application works fine.

I am running with Polonium (tiling WM script) and a custom font DPI setting. I don’t think these affect anything though.

System Info:
Operating System: Solus 4.4
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.12-241.current (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

(Update) So after some testing inside a VM with a fresh install of my distro I have confirmed that fullscreen actually works under wayland, so my installation is most likely broken then.

(Update 2) Or so I thought. I just reinstalled and the issue still persists. At this point I’m guessing its a driver issue.

Some suggestions:

  • Try with a new user. If that works like expected add more and more stuff like your Tiling WM script. Maybe you can hone in on the issue that way.

  • Post logs. Maybe there is something in journald or other logs that might be helpful

A new user had the same issue and nothing appears on jounrnalctl when triggering the bug.
But I found the issue: Apparently they don’t like my resolution. I’m on a 1366x768 laptop and switching to 1280x720 makes everything work immediately.