You are not logged in.

#1 2024-09-14 21:04:14

bpetid7
Member
Registered: 2024-05-25
Posts: 7

Games won't render as long as they are in focus on wayland.

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

#2 2024-09-14 21:21:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: Games won't render as long as they are in focus on wayland.

Which GPUs are involved exactly? if dGPU is nvidia, is the nvidia_drm.modeset=1 kernel parameter set?

Offline

#3 2024-09-14 22:04:21

bpetid7
Member
Registered: 2024-05-25
Posts: 7

Re: Games won't render as long as they are in focus on wayland.

AMD Radeon 680M and RX 6700S

Offline

#4 2024-09-17 19:06:17

bpetid7
Member
Registered: 2024-05-25
Posts: 7

Re: Games won't render as long as they are in focus on wayland.

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

#5 2024-12-04 10:36:20

Andesell
Member
Registered: 2016-10-18
Posts: 3

Re: Games won't render as long as they are in focus on wayland.

I have the same issue with X11 and intel/Nvidia. Do you find a solution?

Offline

Board footer

Powered by FluxBB