csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Audio Randomly Stops Working in Linux Arch with Pipewire

Open NickTheOnlyNeko opened this issue 1 year ago • 16 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:
  • System Information: https://gist.github.com/NickTheOnlyNeko/89c1b6d5cd457c85c6fc76f2d15ef49b
  • Linux Steam Runtime Diagnostics: https://gist.github.com/NickTheOnlyNeko/560f3dd6c3702b9a9c5ddbcf3c3ac321
  • Have you checked for system updates?: [Yes]

Please describe your issue in as much detail as possible:

in CS2 the Audio keeps randomly crashing/stopping mid game/match and sometimes not even mid game/match, whenever i connect the game to my Headphones it keeps randomly stopping and all i hear is dead silence from the game(Untill i restart the game) but when i route the game to use my monitor(Through HDMI) and then i mod the loop to go through my headphones it somehow works fine(untill i reboot the game because then it'll connect again to my monitor). Valve Please Fix

Steps for reproducing this issue:

  1. Install Linux Arch(Archinstall) and Grab a HyperX Could 2 gaming headset
  2. Install and Launch CS2
  3. Play CS2 for like 3 or 4 matchmaking rounds and eventually you'll get the audio issue

Steps on how i get around the issue:

  1. Open CS2 go to settings and
  2. set audio settings from: image
  3. to: image
  4. after that open qpwgraph and set the audio from the monitor to the headphones
  5. step 1: image
  6. step 2: image
  7. step 3: image

NickTheOnlyNeko avatar Oct 06 '24 05:10 NickTheOnlyNeko

Happens to me aswell, i just restart the game, but its really annoying. Sometimes i can fiddle with the audio device settings and it might start again. Mine happens on Pop OS though.

burd1 avatar Oct 06 '24 15:10 burd1

This seems to have fixed it for me https://github.com/ValveSoftware/csgo-osx-linux/issues/3805#issuecomment-2235159020

Maltesaa avatar Oct 09 '24 13:10 Maltesaa

This seems to have fixed it for me https://github.com/ValveSoftware/csgo-osx-linux/issues/3805#issuecomment-2235159020

Tried it and it doesn't work, audio still keeps cutting off randomly

NickTheOnlyNeko avatar Oct 09 '24 15:10 NickTheOnlyNeko

Not only on Arch Linux but on Pop!_OS too.

ztjuh avatar Oct 27 '24 00:10 ztjuh

I have had the same issue with cs2, and my wife also has the same issue with dota2.

Both using Arch and pipewire.

rooiratel avatar Oct 29 '24 07:10 rooiratel

I've been having the same problem, happens multiple times a game.

juanakajuan avatar Dec 17 '24 02:12 juanakajuan

Also happens to me after a few rounds, Nobara 40

speatzle avatar Dec 26 '24 20:12 speatzle

Same thing, also for dota2. almost unplayable

Siltnamis avatar Jan 07 '25 18:01 Siltnamis

That bug hit me one week ago the first time and I see this problem about 4-6 times (!) per match and I have to restart my game

OpenSuse Tumbleweed with Pipewire, but Pipewire has been used by the system at least since one year, so I don't know why it now suddenly happened

System: Opensuse Tumbleweed with Pipewire

TheRealBecks avatar Feb 14 '25 07:02 TheRealBecks

That bug hit me one week ago the first time and I see this problem about 4-6 times (!) per match and I have to restart my game

OpenSuse Tumbleweed with Pipewire, but Pipewire has been used by the system at least since one year, so I don't know why it now suddenly happened

try this from @C0rn3j

NickTheOnlyNeko avatar Feb 23 '25 21:02 NickTheOnlyNeko

Issue resolved from my end for the last few months. I didn't change anything on my system, except normal package updates.

rooiratel avatar Jun 04 '25 09:06 rooiratel

The audio issue happens less compared to before, but it still does happen. There are also instances of sped up audio and crackling sound until the game is restarted.

burd1 avatar Jun 04 '25 09:06 burd1

Honestly i am so fed up with Valve Treating the Linux Port of CS2 like cr4p that I might just start a Petition to force Valve to start pushing updates for Linux's CS2 port, CS2 has been walking(not running but walking) like dog sh!t lately.

NickTheOnlyNeko avatar Jun 08 '25 01:06 NickTheOnlyNeko

Happening after Oct 15 update, Debian 13.1 Trixie. Using pipewire.

turrini avatar Oct 19 '25 22:10 turrini

Mint 22.2, pipewire. I just started playing CS2 and have encountered this daily. On at least one occasion, it happened when audio played from another application (Steam specifically). I have never encountered this on TF2.

rtaft avatar Oct 22 '25 23:10 rtaft

I notice that it will tend to happen when the CPU receives a high amount of load (e.g. when compiling shaders). The way I get around this happening in maps is to try to run through every map first before loading into a game. Though I completely forgot to throw at least one grenade, causing shaders to compile, resulting in me losing audio.

LemonHeadOnGit avatar Oct 23 '25 13:10 LemonHeadOnGit