I use sway in Wayland, and tend to keep games on a separate workspace.

In X11, with i3, I’d frequently switch away from the game and leave it running when something was loading or progression was required, and do something else while waiting. In Wayland, pretty much every game would suspend while viewing another workspace, which drove me bananas. I assumed that this was toggleable functionality, but couldn’t find where the toggle was.

Today, I finally ran across an answer to this and wanted to highlight it for anyone else who dislikes this behavior. By default, if a window is not visible, rendering will block. Setting the vk_xwayland_wait_ready=false environment variable will disable this functionality.

  • Semperverus@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 days ago

    Im having what seems like the exact same problem with Satisfactory and other idler games. I’ll come back and it seems like nothing happened when I left.

    The other weird one is guild wars 2. If I lock my screen long enough, ill come back and itll render every frame I didnt see for that time at like 20x speed. Its super bizarre.