Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Low FPS with kernel 6.10 #3829

Closed
SniksBjorn opened this issue Aug 30, 2024 · 6 comments
Closed

[Linux] Low FPS with kernel 6.10 #3829

SniksBjorn opened this issue Aug 30, 2024 · 6 comments

Comments

@SniksBjorn
Copy link

Your system information

If on Linux, please include Steam: https://gist.github.com/SniksBjorn/ada645cb79b34b59e9a3dbeb7c6206bc

  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

When using the 6.10.3 or 6.10.4 kernel the game has significantly lower fps unless rebar is enabled this was not an issue in 6.9.x
People have reported a similar issue in Dota 2 making me believe it's a problem with the source engine
ValveSoftware/Dota-2#2782

Steps for reproducing this issue:

  1. use version 6.10.3 or 6.10.4 of the linux kernal
  2. open cs2
@kisak-valve
Copy link
Member

kisak-valve commented Aug 30, 2024

Tracked upstream at https://gitlab.freedesktop.org/drm/amd/-/issues/3538.

@SQalliT
Copy link

SQalliT commented Sep 4, 2024

Tracked upstream at https://gitlab.freedesktop.org/drm/amd/-/issues/3538.

I do believe that the issue you have linked is the incorrect issue and is related to the recent AMDGPU clear page change as mentioned here: https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2524205

(The report that was opened was initially thought to be the same issue hence the overlap in the comments)

And does not seem to be the same issue that is causing the performance issues when resizeable bar is not working correctly which is shown by https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2517761 and the patches reverting the GPU clear page changes not impacting the performance.

@MaxXor
Copy link

MaxXor commented Sep 4, 2024

Damn, right after the latest update which fixes the CS2 freezes, now this... I've had ReBAR already enabled and can confirm it's working. However I'm having the same issue on Arch Linux with linux-zen-6.10.7. Interestingly the low FPS issue didn't occur before the latest update from 9/3/2024. When I got into a game, I had the usual FPS of 250. Now I'm max at 80. No system updates happened in between my tests.

*edit: nvm, had a different issue. My GPU was set to low performance mode:

$ cat /sys/class/drm/card0/device/power_dpm_force_performance_level
low
$ echo "high" > /sys/class/drm/card0/device/power_dpm_force_performance_level

@losuler
Copy link

losuler commented Sep 22, 2024

I saw a fix for this was merged into 6.10.101 and I can personally confirm having upgraded to that version now on Fedora 40, that it's fixed the fps issues I was having in cs2 with earlier releases of 6.10.x. Where I was getting 40-80 fps with constant jitter 6.10.9, now on 6.10.10 I'm back to 200 fps with no jitter whatsoever.

Footnotes

  1. https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2567641

@henrinie
Copy link

Issue was removed for me too with Fedora and kernel 6.10.10-200.fc40.x86_64

@kisak-valve
Copy link
Member

Closing as fixed upstream. If anyone else is seeing a similar drop in performance immediately after a kernel update, then follow up with your video driver vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants
@losuler @MaxXor @henrinie @kisak-valve @SQalliT @SniksBjorn and others