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 and crackling audio with kernel 6.10.4 #2782

Open
staticf0x opened this issue Aug 17, 2024 · 11 comments
Open

[Linux] Low FPS and crackling audio with kernel 6.10.4 #2782

staticf0x opened this issue Aug 17, 2024 · 11 comments

Comments

@staticf0x
Copy link

Your system information

  • System Information
  • Have you checked for system updates?: Yes
  • Are you using the latest stable video driver available for your system? Yes
  • Have you verified the game files?: Yes
  • Launch options: %command% -sdl_displayindex 0 dota_mouse_window_lock 0 -sdlaudiodriver pulse

Please describe your issue in as much detail as possible:

Since today when I updated my system, my FPS dropped to ~30 from >60 and I hear a crackling sound. The low FPS can be seen both in menu and in game.
Tried without -sdlaudiodriver pulse, same issue. Tried restarting PC, no apps opened, still happens. Tried disabling second monitor, still same.
Possible culprits during the system update: kernel 6.9.12 -> 6.10.4, libwayland* 1.22 -> 1.23, mutter 46.3 -> 46.4

Steps for reproducing this issue:

Just start DotA2 with a similar setup, it happens every time straight from startup.

@staticf0x staticf0x changed the title Low FPS and crackling audio [Linux] Low FPS and crackling audio Aug 17, 2024
@staticf0x
Copy link
Author

I tried booting up kernel 6.9.12 back and I have 120 FPS like usually. So the problem is kernel 6.10.4 but I don't know why.

@staticf0x staticf0x changed the title [Linux] Low FPS and crackling audio [Linux] Low FPS and crackling audio with kernel 6.10.4 Aug 17, 2024
@kisak-valve
Copy link
Member

Hello @staticf0x, this issue should also be reported to your video driver vendor if it hasn't been already.

@jn64
Copy link

jn64 commented Aug 18, 2024

Possibly related:
https://gitlab.freedesktop.org/drm/amd/-/issues/3528

The thread is quite long, you can start around here and try similar steps (disable CSM, enable rebar).
https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2517761

@esubalol
Copy link

Some of us managed to solve the performance issues on 6.10.4 by disabling CSM support in the BIOS, as documented in this issue: #2749

@staticf0x
Copy link
Author

Thank you, I tried disabling CSM support, but it helps only a little bit:

Kernel CSM FPS
6.10.4 Enabled ~30
6.10.4 Disabled ~40
6.9.12 - 120

I'll keep an eye on the linked amd gitlab issues.

@eeceebee
Copy link

Thank you, I tried disabling CSM support, but it helps only a little bit:
Kernel CSM FPS
6.10.4 Enabled ~30
6.10.4 Disabled ~40
6.9.12 - 120

I'll keep an eye on the linked amd gitlab issues.

This is very similar to what I'm experiencing. Disabling CSM helps a bit, but FPS is still much worse (and less stable) than with the previous kernel.

@jn64
Copy link

jn64 commented Aug 19, 2024

Is Xwayland using a lot of CPU when you experience this low FPS?

There may be a 2nd issue compounding with the CSM/rebar issue.

https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2524173
https://gitlab.freedesktop.org/drm/amd/-/issues/3538

@SniksBjorn
Copy link

SniksBjorn commented Aug 26, 2024

Not sure if this is helpful but will add my experience.
I don't play Dota 2 but do play CS2 and am having the same problem there. I have installed Dota 2 to test both for this comment.
To start with the problem for me is with all 6.10 kernals using xorg or wayland. I previously had rebar disabled due to a crash it caused in RDR2 so I have just turned it back on and it seems to have fixed the low fps.
To me this shows the problem could be independent to CSM disabling rebar and instead be something else causing rebar to be needed for the games to run smoothly.

I don't know how to check if rebar is working but I think it would be good to see if CSM was disabling rebar in previous kernal versions.

@staticf0x
Copy link
Author

Since linux 6.10.10 the FPS got slightly better up to around 60 FPS, but the performance is still noticeably better on 6.9.x with 120 FPS.

@MaCroX95
Copy link

I can confirm this issue, and since https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2517761 is already closed and people there are saying that the issue is fixed I reiterate - IT IS NOT! I'm getting barely 60fps on 6.11.4 compared to 120fps on 6.9 series... This needs to be looked into by the devs of the source engine for a workaround or at least work from valve to help with the upstream fix... Dota 2 is basically one of the most played games on steam and the situation right now is horrible...

@baaannnaaannn
Copy link

I can confirm this issue, and since https://gitlab.freedesktop.org/drm/amd/-/issues/3528#note_2517761 is already closed and people there are saying that the issue is fixed I reiterate - IT IS NOT! I'm getting barely 60fps on 6.11.4 compared to 120fps on 6.9 series... This needs to be looked into by the devs of the source engine for a workaround or at least work from valve to help with the upstream fix... Dota 2 is basically one of the most played games on steam and the situation right now is horrible...

I can confirm,issue still exist but video driver vendors says that its fixed.What the hell....

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

No branches or pull requests

8 participants