Comment by haswell

5 months ago

Some of the games I play often that saw improvements: The Finals, Overwatch, Rocket League, Helldivers.

> (i also tried to use Niri but it would launch in 60Hz mode and for some reason wouldn't allow the game to run at a higher framerate with vsync disabled regardless of any option i chose)

I had some issues early on related to refresh rate, and it turned out I didn't have an output defined for the correct display. The steps I took:

1. Run `niri msg outputs` to identify the Display ID and available modes. In my case: "DP-3" and "2560x1440@143.964"

2. Set up an output in niri's confid.kdl as follows:

  output "DP-3" {
    mode "2560x1440@143.964"
    variable-refresh-rate 
  }

Hm, i tried it and i could set up the higher refresh rate but Niri was forcing vsync on the game that capped the framerate to my monitor's refresh rate (165Hz) even though in the game i have vsync disabled. This seems to be an issue with Niri as KDE Plasma Wayland disabling vsync works fine.

At "ultra" settings i got around 115fps which is ~5 fps lower than 117-120fps i got from Xorg/Window Maker and KDE/Wayland, though i'm pretty sure that was just the forced vsync, so in practice it seems that the window system doesn't matter much.

Did you use XFCE's desktop compositor? AFAIK XFCE's compositor isn't particularly great, some years ago when i was working on a custom game engine i had to add an explicit option to use the X11 "override redirect" flag instead of the window hint for fullscreen windows because XFCE's compositor wouldn't disable itself otherwise and the game would feel a bit laggy/inconsistent. Not sure if this has been fixed nowadays but in general it gave me a bad impression for XFCE's compositor as other compositors didn't seem to have the same issue.