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
472 stars 38 forks source link

[Linux] 7.37 has caued audio issues to worsen. #2775

Open MissPotato opened 3 months ago

MissPotato commented 3 months ago

Your system information

Sound Server: PulseAudio (on PipeWire 1.2.1) Server Version: 15.0.0 Audio is playing through a soundblaster 3 USB dongle

Please describe your issue in as much detail as possible:

Back in May I reported an issue https://github.com/ValveSoftware/Dota-2/issues/2707 related to audio on linux. There was a lot of progress in solving it, but there was still an issue of audio not booting with the game occasionally. Simply solved by rebooting the game. However after the newest patch the audio has been cutting out.

So far it has happened booting the game, tabbing out, upon connecting to a match, and just being idle at the main menu in the background the audio cut out after 30 minutes. There seems to be no steps to reproduce it.

EDIT: I wanted to add on that both the dev console and journctl both do not show any errors when the audio gives up.

ong-andrew commented 3 months ago

EDIT: I wanted to add on that both the dev console and journctl both do not show any errors when the audio gives up.

As a temporary measure, can the devs get the console to print something on the steam logs when audio borks? Thank you.

Takehiko2k commented 3 months ago

Adding -xaudio to launch options fixed it for me completely. Im on wayland tho, didnt test it on x11. Nobara distro

filipejunqueira commented 3 months ago

I'm on popos latest version and -xaudio did not fix it. I'm on X11. Vanilla pop os.

C0rn3j commented 1 month ago

As a temporary measure, can the devs get the console to print something on the steam logs when audio borks? Thank you.

You can probably see errors accumulate in pw-top.

See the sister CS2 issue for workarounds in the case you're running into the same PW issue - https://github.com/ValveSoftware/csgo-osx-linux/issues/3832