Audio Crackling with some Steam games
Hi,
OS: Gentoo Kernel: 6.12.1 alsa-lib: 1.2.12 Product Name: X670E PG Lightning GPU: [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1)
When using HDMI audio I am having an issue where some Steam games as run using Proton will have audio crackling or static after a short period of time after starting the game. The games that I know do this are 'Tales of Symphonia', 'Ys VIII: Lacrimosa of DANA' and 'Metaphor: Refantazio'. While many other games do not have this problem.
I am not sure if this is a problem specific to the Steam ecosystem, the games, alsa, the kernel or something else? At least in the case of 'Ys VIII' I can only reproduce the problem when running the game in Steam where the same game files when run using the system wine or self compiled proton there are no audio issues.
In the Proton logs it shows many underruns as soon as the issue starts:
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
The problem also appears when using a simple /etc/asound.conf that contains only:
defaults.pcm.card 0 defaults.pcm.device 9 defaults.ctl.card 0
I have also tried asking about this issue on the Proton Github issue tracker and the FAudio issue tracker.
https://github.com/FNA-XNA/FAudio/issues/367 https://github.com/ValveSoftware/Proton/issues/3820#issuecomment-2477846139 https://github.com/ValveSoftware/Proton/issues/822#issuecomment-2326999328
In the FAudio issue it was suggested it was related to protonmediaconverter where the system wine and proton use ffmpeg, but I am not sure how to confirm this.
I attached the alsa-info.txt. Is there anything I can do to further diagnose, resolve or workaround this? Any further info I neglected to provide that can help this?
Thanks!
participants (1)
-
orbea