Skip to content

Ubuntu 24.04 audio lost in game #3805

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

Closed
juanquy opened this issue Jul 17, 2024 · 6 comments
Closed

Ubuntu 24.04 audio lost in game #3805

juanquy opened this issue Jul 17, 2024 · 6 comments

Comments

@juanquy
Copy link

juanquy commented Jul 17, 2024

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:

@kisak-valve kisak-valve transferred this issue from ValveSoftware/steam-for-linux Jul 17, 2024
@ariebesehl
Copy link

ariebesehl commented Jul 17, 2024

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.

@juanquy
Copy link
Author

juanquy commented Jul 18, 2024 via email

@juanquy
Copy link
Author

juanquy commented Jul 18, 2024

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 juanquy closed this as completed Jul 18, 2024
@luisalvarado
Copy link

@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).

@juanquy
Copy link
Author

juanquy commented Oct 7, 2024 via email

@C0rn3j
Copy link

C0rn3j commented Oct 9, 2024

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.

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

No branches or pull requests

5 participants