HGL
causal-orange

Audio "crackling" during gaming, both in Steam and Heroic.

I am very new to Linux, installed Pop_OS, and for the most part every game I tried runs really well, but there is this constant "Crackling" noise in-game. Haven't really tried anything except for following the pinned common fixes. Any help is appreciated. (This is not a game specific issue, should I still post the game report thingy?)
Solution:
This time you would do this way tho: Right click to game in steam library, properties, launch options: PULSE_LATENCY_MSEC=60 %command%...
Jump to solution
14 Replies
unwilling-turquoise
unwilling-turquoise2mo ago
does it happen in all games? or just one game? I used pop_os once many years ago and I remember having sound issue all the time (it kept "forgetting" my selected audio device),
causal-orange
causal-orangeOP2mo ago
All games, but only tested on 4 Steam: Tabletop Simulator and Deep Rock Galactic GOG/Heroic: Blasphemous and Pathfinder WotR
xenial-black
xenial-black2mo ago
Did you try other audio outputs? Eg headphones instead of monitor speakers
causal-orange
causal-orangeOP2mo ago
I only have headphones I could try the other ports, didnt try that didnt work :v
xenial-black
xenial-black2mo ago
Can you post a log from one of those problematic games? And also inxi -Fxz
causal-orange
causal-orangeOP2mo ago
Seems like I don't have inxi
xenial-black
xenial-black2mo ago
sudo apt install inxi It should be saying that in terminal even
causal-orange
causal-orangeOP2mo ago
System: Kernel: 6.16.3-76061603-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.9 Distro: Pop!_OS 22.04 LTS base: Ubuntu 22.04 LTS Jammy Machine: Type: Desktop Mobo: Gigabyte model: B450M GAMING v: x.x serial: <superuser required> UEFI: American Megatrends LLC. v: F62 date: 01/24/2022 CPU: Info: quad core model: AMD Ryzen 5 1400 bits: 64 type: MT MCP arch: Zen rev: 1 cache: L1: 384 KiB L2: 2 MiB L3: 8 MiB Speed (MHz): avg: 1432 high: 1547 min/max: 1550/3200 boost: enabled cores: 1: 1375 2: 1375 3: 1489 4: 1376 5: 1375 6: 1547 7: 1547 8: 1374 bogomips: 51100 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 Graphics: Device-1: AMD Baffin [Radeon RX 550 640SP / 560/560X] vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 09:00.0 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu resolution: 1920x1080 OpenGL: renderer: AMD Radeon RX 560 Series (radeonsi polaris11 ACO DRM 3.64 6.16.3-76061603-generic) v: 4.6 Mesa 25.1.5-1pop0~1756399231~22.04~b84bab8 direct render: Yes Audio: Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X] vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 09:00.1 Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 0b:00.3 Sound Server-1: ALSA v: k6.16.3-76061603-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: no Sound Server-3: PipeWire v: 1.0.3 running: yes Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel port: f000 bus-ID: 08:00.0 IF: enp8s0 state: up speed: 100 Mbps duplex: full mac: <filter> IF-ID-1: ham0 state: unknown speed: 10000 Mbps duplex: full mac: <filter> Drives: Local Storage: total: 1.13 TiB used: 284.9 GiB (24.7%) ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-00WN4A0 size: 931.51 GiB ID-2: /dev/sdb vendor: Kingston model: SA400S37240G size: 223.57 GiB Partition: ID-1: / size: 210.14 GiB used: 44.21 GiB (21.0%) fs: ext4 dev: /dev/sdb3 ID-2: /boot/efi size: 1020 MiB used: 213.6 MiB (20.9%) fs: vfat dev: /dev/sdb1 Swap: ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) dev: /dev/dm-0 mapped: cryptswap ID-2: swap-2 type: zram size: 7.68 GiB used: 3.36 GiB (43.8%) dev: /dev/zram0 Sensors: System Temperatures: cpu: 44.0 C mobo: 33.0 C gpu: amdgpu temp: 47.0 C Fan Speeds (RPM): N/A gpu: amdgpu fan: 1204 Info: Processes: 443 Uptime: 1d 3h 37m Memory: 7.68 GiB used: 5.97 GiB (77.7%) Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 1951 Shell: Bash v: 5.1.16 inxi: 3.3.13 ----- For some reason I can't past the launch.log here
xenial-black
xenial-black2mo ago
PULSE_LATENCY_MSEC=60 In Heroic game settings- Advanced Environment variables First part is key, 60 is value No need for = there
causal-orange
causal-orangeOP2mo ago
It drastically decreased the volume and frequency of the "crackles" But still happen I would say it's good enough to not be super annoying lol I also assume this won't help with games on Steam, correct?
xenial-black
xenial-black2mo ago
It will help if problem is same.
Solution
xenial-black
xenial-black2mo ago
This time you would do this way tho: Right click to game in steam library, properties, launch options: PULSE_LATENCY_MSEC=60 %command%
causal-orange
causal-orangeOP2mo ago
This fixed it, thank you so much
xenial-black
xenial-black2mo ago
Yw

Did you find this page helpful?