ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Linux] Low FPS and crackling audio with kernel 6.10.4

staticf0x opened this issue · comments

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.

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.

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

commented

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

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

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.

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.

commented

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

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.