So both Sway and Hyprland now support Waylands’ tearing protocol. I was wondering whether it is possible to create window rules for these WMs that allow tearing in all games launched via Steam. Something like: For Sway for_window [class=“steam_app_*”] allow_tearing yes

and for Hyprland windowrulev2 = immediate, class:^(steam_app_*)$

Does anybody know whether something like this would work? You know, instead of having to create an entry for every single game.

Edit: As mranderson17 said, allow tearing isn’t in the latest release versions of Sway or Hyprland at the time of writing.

Edit2: mranderson17 gave what could possibly be the right answer:

For Sway for_window [class=“steam_app_.*”] allow_tearing yes

For Hyprland (maybe) windowrulev2 = immediate, class:^(steam_app_.*)$

I haven’t tested it yet. But unless you think he’s wrong give him your “thumbs up”.

This reminds me of the time I got my first 160hz monitor. Games felt buttery smooth. Like there was some friction that I never thought was present was magically gone. Days later I found out that the monitor was set at a whooping 60Hz in the settings.

Zenzio
creator
link
fedilink
12M

I agree. It’s not only placebo, though. I will gladly admit that I’m not very sensitive to these things and can’t immediately tell if something is wrong. I had this experience and I even had it in reverse. After days of playing very badly I realised Sway all of the sudden was running my monitor at 60Hz. After fixing it with kanshi (which I didn’t have to use prior to that) everything in game was so much easier.

You really put it well: A friction that you didn’t even know was there.

Create a post

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

  • 0 users online
  • 18 users / day
  • 139 users / week
  • 381 users / month
  • 1.43K users / 6 months
  • 1 subscriber
  • 864 Posts
  • 9.23K Comments
  • Modlog