ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
778 stars 69 forks source link

Sound keeps cutting off requiring me to disable and enable the device constantly #3832

Open C0rn3j opened 1 month ago

C0rn3j commented 1 month ago
System information ```yaml Computer Information: Manufacturer: Gigabyte Technology Co., Ltd. Model: X670 AORUS ELITE AX Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 5 7600X 6-Core Processor CPU Family: 0x19 CPU Model: 0x61 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 5453 MHz 12 logical processors 6 physical processors Hyper-threading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Supported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Supported AVX512VNNI: Supported SHA: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Freedesktop SDK 23.08 (Flatpak runtime) (64 bit) Kernel Name: Linux Kernel Version: 6.10.8-arch1-1 X Server Vendor: The X.Org Foundation X Server Release: 12401002 X Window Manager: KWin Steam Runtime Version: steam-runtime_0.20240806.97925 Video Card: Driver: NVIDIA Corporation NVIDIA GeForce RTX 4090/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 560.35.03 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 239 Hz VendorID: 0x1002 DeviceID: 0x164e Revision Not Detected Number of Monitors: 3 Number of Logical Video Cards: 2 Primary Display Resolution: 2560 x 1440 Desktop Resolution: 8960 x 2160 Primary Display Size: 23.23" x 13.15" (26.65" diag), 59.0cm x 33.4cm (67.7cm diag) Primary VRAM: 24564 MB Sound card: Audio device: Nvidia GPU a3 HDMI/DP Memory: RAM: 63440 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_GB.UTF-8 Total Hard Disk Space Available: 959809 MB Largest Free Hard Disk Block: 49940 MB Storage: Number of SSDs: 13 SSD sizes: 8001G,8001G,6001G,6001G,3000G,2048G,2000G,0B,0B,0B,0B,0B,0B Number of HDDs: 0 Number of removable drives: 0 ```

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 pavucontrol.

I've had this issue for months at minimum.

image

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.

EDIT: Switching to Pro Audio can (sometimes?) also fix the sound, possibly permanently?

NickTheOnlyNeko commented 2 days ago

I think we might have the same issue mentioned in here not a day ago

NickTheOnlyNeko commented 2 days 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)

C0rn3j commented 2 days 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.

NickTheOnlyNeko commented 2 days 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😂😂

C0rn3j commented 2 days ago

Profile for the USB sound card, set it in pwvucontrol.