You may want to install and use gamescope
if you’re using X11. Another option is to install a Wayland compositor, like Hyprland, and play games in that session, or use Budgie’s Wayland session, if it has one.
For a good number of my games, in the last few months, they eventually crash on X11 if I’m not using Gamescope, and for some, even with Gamescope they crash on X11.
In contrast, using either my Cinnamon Wayland session or Hyprland, without Gamescope, my games run just fine like they used to.
Some reference/experience: [SOLVED] Steam Games Work on Wayland, But Not X11