You are not logged in.
The problem is as follows: when a game is in focus, on fullscreen, it will stop displaying new frames. It is just like when you pause a video, but the sound keeps going and you can interact with it you just won't see what's happening. If I set windowed mode it works properly, without issues. Borderless windowed won't work. Some (eg. cyberpunk) will not render new frames on fullscreen mode unless I switch back-forth to another application, but others (zenless zone zero) will display properly as long as the mouse cursor is visible, (in menus etc) but in-game it stops rendering again.
What I've tried: allow/disallow tearing in fullscreen apps, toggle vsync, toggle adaptive sync, limit fps to monitor refresh-rate and below, use gamescope (with/without --expose-wayland) and including every combination of these settings.
I'm on kde plasma, wayland session (though this was happening to me on hyprland too on a different device). Running games from Heroic Launcher. I have a laptop with iGPU and dGPU, and running the games on dGPU in hybrid mode. On xorg this is a non-issue, so that is a possible workaround but I'd prefer to use wayland. How do I go about debugging this?
Offline
Which GPUs are involved exactly? if dGPU is nvidia, is the nvidia_drm.modeset=1 kernel parameter set?
Offline
AMD Radeon 680M and RX 6700S
Offline
Update: when switching to dGPU (mux + disable iGPU) it works properly. This is still not ideal, since I have to reboot every time I want to switch between them.
Offline