Need some help understanding interaction with games. #681
-
I've been using picom as compton replacement for a few months now, and it is working great. But I need some help with understanding how it does interact with games. Following scenario, Sawfish+picom on nVidia hardware with VSync enabled for the desktop, that works. Many games that I play I want to have VSync enabled for them, because tearing is annoying from time to time. But I've run into some issues with that. First, if the game starts normally (picom VSync and game VSync enabled), it stutters, which is kinda to be expected I guess. So I've created a little helper which allows me to toggle Is that to be expected? Is that because the games are running as "borderless window" instead of "fullscreen" or something like that? Or did I misunderstand how the bypass-flag is supposed to work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Running your game in a "borderless fullscreen window" renders the game inside an X window which is then displayed by the X server (and, as far as I know, consequently no VSync unless your display driver supports it). |
Beta Was this translation helpful? Give feedback.
_NET_WM_BYPASS_COMPOSITOR
stops picom from rendering the screen (so effectively disables VSync on picom's side). Your X server most likely renders without VSync.Running your game in a "borderless fullscreen window" renders the game inside an X window which is then displayed by the X server (and, as far as I know, consequently no VSync unless your display driver supports it).