Static sound when no sound is played

Hello everyone!

When I stop playing any sound (music, video calls, games) after a few seconds (~30 seconds) a static sound starts sounding and it is really loud but just when I stop playing any sound.

I just have simple speakers connected to AUX of my PC, I've already updated it and reboot it but no solution.

Any help is really appreciated!

System:
Kernel: 6.4.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=9d892093-18dd-4af6-a4fc-9ab572fccea8 rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=d6bfb161-f794-43c4-b539-3ac62c71322b loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Mini-pc System: LENOVO product: 10T8SSLP00 v: ThinkCentre M720q
serial: <superuser required> Chassis: type: 35 serial: <superuser required>
Mobo: LENOVO model: 312D v: SDK0J40697 WIN 3305369183414
serial: <superuser required> UEFI: LENOVO v: M1UKT62A date: 01/04/2021
CPU:
Info: model: Intel Core i5-9500T bits: 64 type: MCP arch: Coffee Lake
gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF2
Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB
desc: 1x9 MiB
Speed (MHz): avg: 3489 high: 3585 min/max: 800/3700 scaling:
driver: intel_pstate governor: powersave cores: 1: 3581 2: 3401 3: 3541
4: 3585 5: 3560 6: 3271 bogomips: 26399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Lenovo
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: HDMI-A-2,HDMI-A-3 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0
chip-ID: 8086:3e92 class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
s-diag: 1055mm (41.54")
Monitor-1: HDMI-A-2 mapped: HDMI-2 pos: primary,left
model: Lenovo LEN S24e-10 serial: <filter> built: 2021 res: 1920x1080 hz: 60
dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
ratio: 16:9 modes: max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-3 mapped: HDMI-3 pos: right model: Lenovo LEN S24e-10
serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL v: 4.6 Mesa 23.1.5 renderer: Mesa Intel UHD Graphics 630 (CFL
GT2) direct-render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
API: ALSA v: k6.4.8-zen1-1-zen status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.1
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:2 chip-ID: 2b89:8761
class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 95.13 GiB (19.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU800 size: 476.94 GiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: SSD
serial: <filter> fw-rev: 1A scheme: GPT
Partition:
ID-1: / raw-size: 450.96 GiB size: 450.96 GiB (100.00%)
used: 95.13 GiB (21.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 450.96 GiB size: 450.96 GiB (100.00%)
used: 95.13 GiB (21.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 450.96 GiB size: 450.96 GiB (100.00%)
used: 95.13 GiB (21.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 450.96 GiB size: 450.96 GiB (100.00%)
used: 95.13 GiB (21.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 23.34 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 25.68 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 67.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 245 Uptime: 8m wakeups: 0 Memory: total: 24 GiB
available: 23.34 GiB used: 5.77 GiB (24.7%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 12
clang: 15.0.7 Packages: pm: pacman pkgs: 1589 libs: 394 tools: octopi,paru
Shell: fish v: 3.6.1 running-in: konsole inxi: 3.3.28
Garuda (2.6.16-1):
System install date:     2023-07-21
Last full system update: 2023-08-07
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Has it always been like this since the installation?
Only later?
With headphones too?
M$ 10/11 shut down properly?

2 Likes

Thanks for the reply!

It has not being always like this, it happened after an update some days ago.

With headphones happens also, the sound it is not that loud on them but a loud click can be heard after a few seconds of stoping any sound.

Shut down multiple times properly.

Check what change some days ago.
Check sound settings.
Try other kernel.
Search the web.
Check log files at the time you stop the sound file, …

2 Likes

This could be HW related.. check your cables, and connections.

AUX outputs that came via cable to the top of the PC case are prone to picking up noise. Again, it depends on a lot of underlying factors. The source of distortion can be both common mode and EMI. In the PC case it could EMI because there are devices that can radiate EMF

Audio issues can come from noisy ground or ungrounded power outlets as well.

Some things to keep in mind.

3 Likes

Try disabling node suspension as described here: PipeWire - ArchWiki

With wireplumber, create a new file to overwrite the default configuration:

~/.config/wireplumber/main.lua.d/51-disable-suspension.lua
(or /etc/wireplumber/main.lua.d/51-disable-suspension.lua)
table.insert (alsa_monitor.rules, {
  matches = {
    {
      -- Matches all sources.
      { "node.name", "matches", "alsa_input.*" },
    },
    {
      -- Matches all sinks.
      { "node.name", "matches", "alsa_output.*" },
    },
  },
  apply_properties = {
    ["session.suspend-timeout-seconds"] = 0,  -- 0 disables suspend
  },
})
3 Likes

Trying a different kernel did it 6.4.5-1-cachyos-bore
Thanks!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.