this post was submitted on 29 Sep 2023
26 points (96.4% liked)

Linux Gaming

15301 readers
13 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

Getting around 130fps avg frames, sometime dipping down into the 80's, when playing CS2. Did a recent system upgrade and presumed performance would be better than this for the build?

Gear:

  • Ryzen 7 5700x 3.4ghz
  • 6750XT 12gb ddr6
  • 16gb 3600mhz ddr4
  • m.2 SSD
  • 144hz , 1440 screen with freesync
  • Running Mint latest version

Have tried in-game settings at lowest, still not managing to get a stable FPS above 144. Mucking with settings doesn't seem to change performance much. Have set game to run with '-vulkan' which helped reduce some stuttering issues, but not much performance gain.

I also only get <100fps with other games like BG3. Figured this kit would be able to handle modern games a bit better. Any ideas what's going on?

EDIT: For future reference, the following changes were made and am now getting ~200fps

  • Enabled asus EZ Tune in BIOS (rather than manually muck with each setting)
  • Updated gpu drivers via 'amdgpu -install'
  • Enable gamemode
all 23 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (1 children)

There are some bugs with recent kernels and 6XXX cards. Try kernel 6.5.X and also look at the workarounds here: https://gitlab.freedesktop.org/drm/amd/-/issues/1500

In addition, make sure "Above 4G decoding" is enabled in BIOS/UEFI so you get resize rebar support.

Beyond that, make sure you're using mesa (and not amdvlk) and that's it a version from this year at least (23.X.X)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Resize Rebar was something that was previously switched off I discovered. Turning this on via the Asus EZ Tuner made a great difference. Found im still on a Mesa 22.x driver for some reason, despite running latest driver update, and my kernal is showing 5.15.x, despite having all OS updates installed.. will need to investigate, perhaps a Mint issue. Thanks!

[–] [email protected] 1 points 1 year ago

5.15.X is the previous LTS kernel. Probably the default when you installed it. I don't use Mint but you should be able to use 6.1.X at the least (the current LTS kernel).

[–] [email protected] 4 points 1 year ago (1 children)

Linux Mint does not use very recent versions of the gfx drivers for that card (IIRC from last time I checked). My RX6600 therefore had some performance hit when I ran Mint (compared to Windows or other Linux distros). Arguably one could bump the installed versions of xserver-xorg-drivers-amdgpu and mesa-vulkan-drivers to more recent versions. You could have a look into the repo with Synaptic Package Manager and see whether there is a more recent version of the relevant stuff available (perhaps you need to allow for "testing" software source.

[–] [email protected] 3 points 1 year ago

Thanks. Following some snooping around the amd site, I’ve run ’amdgpu -install’ and a few additional drivers were installed. Along with some bios power changes I made (enabling asus EZ tune), I am getting above 150 on average now, so suspect this may have had some improvement.

[–] Linus_Torvalds 3 points 1 year ago* (last edited 1 year ago) (1 children)

I can provide nothing specifically to the topic at hand, but a great resource is ProtonDB (here the CS2 specific page). You can see which launch options, workarounds, etc work on which distro, GPU, ...

If you get it working, consider posting there, so others can benefit from your knowledge 😀

[–] [email protected] 2 points 1 year ago

Thanks for sharing, good point, I hadn’t looked there yet but seems like a common issue for some people

[–] [email protected] 3 points 1 year ago

Lots of people are reporting poor performance in CS2 on Linux. It's probably not a problem with your system, and more a problem with CS2.

[–] [email protected] 2 points 1 year ago

You're using an RDNA2 card so it's possible your low FPS is caused by this issue. I would try this fix that was mentioned in the comments under that issue to see if your performance improves.

[–] [email protected] 2 points 1 year ago (1 children)

Yeah i get 250fps in it on Windows and 90-120 on Linux. When the game launched smoke grenades didn't even work so i think its safe to say it was untested. Hopefully improvements soon.

[–] [email protected] 1 points 1 year ago

After changes Ive made mentioned elsewhere, im getting a stable 200+ now, maybe give them a go also? Although, I do have a weird glitch where things have a green sheen to them when running for some reason, but seems like a CS2 only issue at this stage, might be patched out later.

[–] [email protected] 1 points 1 year ago

The Linux version of the game has barely been tested. The frame times are all over the place. Give it a few weeks and the performance should increase through updates, the issue isn't on your end

[–] richardisaguy 1 points 1 year ago (1 children)

Are you using steam native or steam flatpak? I think flatpak might perform better in this case

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Native, from the software manager

[–] richardisaguy 2 points 1 year ago* (last edited 1 year ago)

Well, then try flatpak light be a good option, check if flatpak is installed with flatpak list, it it is, would should see a list of applications and runtimes, if thou don't see steam there, you can easily install it with flatpak install steam

[–] [email protected] 1 points 1 year ago (1 children)

If possible, maybe try dual booting a Windows install just to test if the games run better there. If they do, it's probably a problem with your system or your configuration, but if not, it's likely your hardware. Might also want to look at your BIOS settings and see if something somehow got reset there, like your RAM clock.

[–] [email protected] 1 points 1 year ago

RAM clock in BIOS looks to be set properly, and have checked BIOS latest from motherboard website.

[–] [email protected] 1 points 1 year ago (1 children)

Are you on a laptop using hybrid graphics by chance? Switching to dedicated graphics might help in that case.

[–] [email protected] 1 points 1 year ago

Not sorry, but thanks for trying. Desktop with no on-board graphics.

[–] angrymouse 1 points 1 year ago* (last edited 1 year ago) (1 children)

I can say about CS, I can run on average 150hz in low setting and FSR on performance, the game seems like shit, but you can. On medium, I can run around 120, and I feel that some maps are heavier.
Do you are playing on Xorg? Usually wayland can have some impact on your game.
Are you experiencing too much stuttering in all games? Recently I discovered my MOBO was trolling and I had to disable some energy related features.
Are you running your game with gamemode? It can make a great difference.
You can also try different kernels https://youtu.be/qNzd57b0h08

Operating System: EndeavourOS KDE Plasma Version: 5.27.8 Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 31,3 GiB of RAM iirc it is 3200 Mhz but it should not have a so big impact Graphics Processor: AMD Radeon RX 6700 XT

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Thanks! Yep, Xorg. I mucked with some setting in BIOS, enabling EZ Tune, and have had a slight performance improvement from doing so, so something was throttling it there. Hadn't heard of gamemode before, might give that a go, along with mangohud.

[–] [email protected] 1 points 1 year ago

CS2 runs like garbage. -vulkan is most likely a placebo as Source 2 doesn't offer an OpenGL renderer, so it only runs on Vulkan.