-
Notifications
You must be signed in to change notification settings - Fork 69
Sound keeps cutting off requiring me to disable and enable the device constantly #3832
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
Comments
I think we might have the same issue mentioned in here not a day ago |
Which HyperX do you have because I'm having a similar issue with HyperX Cloud II(2) (Kingston Version(HP bought HyperX off of Kingston so we have "'HyperX Cloud II' by Kingston"(from before they got bought) and "'HyperX Cloud II' by HP". I know it's a mess) |
Exact same one, using the USB sound card. Pro Audio seems to be a 100% workaround so far. |
I have no idea what Pro Audio is😂😂 |
Profile for the USB sound card, set it in pwvucontrol. |
This seems to have fixed it for me at least #3805 (comment) |
That'd be a workaround, not a fix. That suggests it's just the PW backend implementation that is affected, not the Pulse backend. Maybe there's an SDL report about it upstream. |
I tried the "Pro" profile and it's even buggier than the regular profiles, the "Pro" profile keeps changing randomly to the "non-Pro" profiles, I've given up with the profiles at this point |
Latest Wireplumber? Disable Bluetooth HSP/HFP autoswitch. |
I'm on Arch Linux so it most likely has everything to the latest version(last updated yesterday) |
Also Bluetooth is always disabled on my PC |
You can edit your posts. That is precisely why that comment you're replying to has EDIT: Fixes for multiple BT issues merged, available in WP 0.5.7 which will hopefully release soon. |
Same issue, sound sometimes cuts off, I also commented this on #3852 since Pop!_OS uses PipeWire as well. |
I can confirm that the solution to disable the soundcard in pavucontrol and then re-enable it works when losing sound in CS2. I usually lose sound in CS2 due to desktop notification sounds during game or alt+tab'ing to desktop at times. Now I don't have to restart the entire game just to get the sound back! slackware64-current |
I've reset my PW config to default and I had this issue come back, turns out my quantum overrides were working around it (I don't think I changed anything else) default.clock.quantum = 2048 # 1024
default.clock.min-quantum = 1024 # 32
default.clock.max-quantum = 4096 Dumping the entire |
weirdly i don't have that directory |
It's an override directory, it does not exist by default. |
I wrote a bash script to reset the card profile and assigned the script to a custom keyboard shortcut (for Cinnamon Desktop Environment), then I can reset the card profile without leaving the game.
'alsa_card.pci-0000_00_1f.3' is the 'name' of the card found in the output of Now if I'm in-game and some external software triggers a sound event that causes CS2 to lose sound, I press Ctrl+Shift+S to reset the card profile. Easy-peasy! |
Uh oh!
There was an error while loading. Please reload this page.
Workarounds:
Switching to the Pro Audio profile seems to prevent this. Possibly due to its IRQ scheduler.
api.alsa.disable-tsched = true
in wireplumber on the right alsa node: https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/alsa.html#propertiesForce SDL to use Pulse backend instead of the PipeWire backend with game parameters
-sdlaudiodriver pulseaudio
System information
I keep losing sound randomly in the game, seems the sound lags/spikes mildly before doing so.
The workaround is to DISABLE and ENABLE the device in
pavucontrolpwvucontrol, pavu has bugs making everything worse when it's kept running in the background.I've had this issue for months at minimum.
This is the only way to get the sound back besides restarting the game, no audio settings in the game will re-enable the audio.
This sometimes happens very often until I reboot my entire system, once every couple minutes.
I am on Arch Linux and using pipewire-pulse and the game is being ran with
%command% -nojoy
parameters.The text was updated successfully, but these errors were encountered: