When I record or screenshare a fullscreen application, the source application freezes if focused.
I first noticed when trying to stream on vesktop. The game I’m trying to stream freezes. If I go back to vesktop it looks normal, but freezes again once I focus back on the game.
Playing the game in windowed mode prevents this.
But it’s not just games, it’s anything. I shared my browser window and it was fine, but then my browser froze if I forced it to be fullscreen.
And it’s not just vesktop. It happens if I capture a Window with OBS too.
Seems to only happen when using Wayland
Also happens on AMD GPU. This happens to me when only one monitor is connected.
When 2 monitors are connected to the GPU, games do not freeze.
When trying to screenshare in the browser or record using OBS the game freezes when focused. (both the browser and OBS use Screen Sharing Portal).
MangoHud shows 0 FPS.
Game works when I choose the whole screen in Screen Sharing Portal instead of the game.
Game also works if I disable fullscreen using KWin “Make Window Fullscreen” shortcut (in-game fullscreen settings don’t change anything).
2D games work fine for some reason? Only 3D games freeze when focused on my machine. Maybe it’s because the games I’ve tested use different game engines?
The code changes that should resolve that bug were committed to the master repository within the past 24 hours - the KWin folks are working to release that in the upcoming KDE Plasma 6.3