24
submitted 6 days ago* (last edited 6 days ago) by some_random_nick@lemmy.world to c/linux_gaming@lemmy.ml

Hello,

Recently I was fed up with bad performance in CS2 on Fedora 41 (KDE/Wayland/kernel 6.11.7-300) and started googling around. With my RX6600 I was able to hit 60fps on 1080p/low, but it would often go as low as 40. Trying to change te resolution would cause some strange mouse issues where the game wouldn't let me look to the right or down at all. After reading some posts and getting opposing info, I decided to dnf install plasma-workspaces-x11 and test things out. The X11 session doubled the FPS like it was nothing. A constant 120fps with the possibility to go even higher. Is there something that I could try and fix in Wayland to achieve the same level of performance? As far as I understood, KDE might axe X11 support in the upcomign releases and I wouldn't want to be left behind.

you are viewing a single comment's thread
view the rest of the comments
[-] F04118F@feddit.nl 5 points 6 days ago

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.

[-] ElectroLisa 11 points 6 days ago

Gamescope will add input lag which is something you don't want to have in a game like CS2

[-] F04118F@feddit.nl 1 points 6 days ago* (last edited 6 days ago)

Thanks, TIL

How is SteamOS on the Deck dealing with this? I thought they also used gamescope

[-] ElectroLisa 6 points 6 days ago

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

this post was submitted on 15 Nov 2024
24 points (100.0% liked)

Linux Gaming

15887 readers
2 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