Ubuntu 24.04 audio lost in game
Your system information
-
Steam client version (build number or date): Steam Beta Branch: Stable Client Steam Version: 1721173382 Steam Client Build Date: Tue, Jul 16 6:22 PM UTC -06:00 Steam Web Build Date: Mon, Jun 24 2:16 PM UTC -06:00 Steam API Version: SteamClient021
-
Distribution (e.g. Ubuntu): Ubuntu 24.04
-
Opted into Steam client beta?: [Yes/No] YES
-
Have you checked for system updates?: [Yes/No] YES
-
Steam Logs: [generate by running this command in a terminal
tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs] -
GPU: Nvidia/Intel/AMD AMD
Please describe your issue in as much detail as possible:
I was playing CS2 and suddenly the Audio stop, only for CS2, the other games in my stem lib are ok, I can hear audio.
Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist I want a FIX can't play CS2 without AUDIO lol
Steps for reproducing this issue:
I observed my audio going silent with intermittent subsecond noise bursts the moment a player got killed, whom I was spectating, whose corpse was ragdoll'd into the water in Mills. It's as if the sound was trying to create an underwater effect and that just killed the sound driver. This affected also VLC running in the background with music. Quitting CS2 restored my audio again to a normal working state, and starting CS2 again had sound working normally again. But it was unusable for the time after that corpse went into the water until quitting the game.
System: LMDE 6+flatpak'ed Steam, this was maybe about one to two weeks ago.
EDIT: Correction, the moment the corpse went underwater, not the moment the player was killed.
EDIT2: Sound hardware is 0b05:189d ASUSTek Computer, Inc. Xonar SoundCard, which has a Cmedia 6620A chip and a Realtek S1220A DA/AD according to the manufacturer's website.
In my case, the Audio has still gone, I know it's only CS2 under Ubuntu 24.04, I tested it last night on Fedora 40 and the Audio is ok also the rest of my Steam Libary have no issues only CS2 on Ubuntu
best
On Wed, Jul 17, 2024 at 8:49 AM Andreas Riebesehl @.***> wrote:
I observed my audio going silent with intermittent subsecond noise bursts the moment a player got killed, whom I was spectating, whose corpse was ragdoll'd into the water in Mills. It's as if the sound was trying to create an underwater effect and that just killed the sound driver. This affected also VLC running in the background with music. Quitting CS2 restored my audio again to a normal working state, and starting CS2 again had sound working normally again. But it was unusable for the time after that corpse went into the water until quitting the game.
System: LMDE 6+flatpak'ed Steam, this was maybe about one to two weeks ago.
— Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/3805#issuecomment-2233375030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZA44V2TDYKITEZLPVCWI3ZMZY5DAVCNFSM6AAAAABK7T7F26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGM3TKMBTGA . You are receiving this because you authored the thread.Message ID: @.***>
I just found a solution to this issue, I hope it is something the Valve team can fix, I managed to restore the audio in CS2 using this launch option:
-sdlaudiodriver pulseaudio
and this doesn't make sense to me, because I thought Ubuntu 24.04 the default audio server is " pipewire"!!!
I hope this helps any soul out there.
@juanquy Apparently you found the issue I am having on Ubuntu 24.04 and now 24.10. It is not an Ubuntu problem more of a Steam problem since they are fixed on using pulseaudio instead of dynamically detecting the one the system uses.
And yes, Ubuntu 24.04 is using pipewire, but Steam has pulseaudio hardwired (instead of dynamically done).
Yeah I know, The issue has been gone for a while now, there is a command you can run on steam if your audio is gone but I don't remember it. Everything is ok here, thank you.
On Sat, Oct 5, 2024 at 12:37 PM Luis Alvarado @.***> wrote:
@juanquy https://github.com/juanquy Apparently you found the issue I am having on Ubuntu 24.04 and now 24.10. It is not an Ubuntu problem more of a Steam problem since they are fixed on using pulseaudio instead of dynamically detecting the one the system uses.
And yes, Ubuntu 24.04 is using pipewire, but Steam has pulseaudio hardwired (instead of dynamically done).
— Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/3805#issuecomment-2395127681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZA44VAKGRKSIJY4LGTY6TZ2APU3AVCNFSM6AAAAABK7T7F26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGEZDONRYGE . You are receiving this because you were mentioned.Message ID: @.***>
Ubuntu 24.04 is using pipewire, but Steam has pulseaudio hardwired (instead of dynamically done).
What is that even supposed to mean?
PipeWire has its own implementation and implementations for all the previous backends, including Pulse.
Most applications still only support Pulse, not PipeWire directly.
CS2 has support for both PW and Pulse, but it seems the newer PW default backend is problematic.