this post was submitted on 15 Nov 2024
22 points (92.3% liked)
Linux Gaming
15849 readers
23 users here now
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.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Use gamescope to run the game under Wayland. Gamescope creates an XWayland window (for which you can specify things like resolution, upscaling, and refresh rate) to run the game in, so the game can pretend it's under X11, and gamescope interacts with Wayland.
Gamescope will add input lag which is something you don't want to have in a game like CS2
TIL
How is SteamOS on the Deck dealing with this? I thought they also used gamescope
Steam Deck runs an embedded session of Gamescope which uses DRM (no not copy protection) to display games.
Running Gamescope as a launch command will run it in a nested session, where it's output is being sent to your display manager, ex. Kwin. That's where the lag can happen, and usually does especially in GPU bound scenarios