Scratching/Screeching Audio Issue

Hi everyone.

I did a fresh reinstall of Garuda XFCE this morning, every now and then when I play videos or games I get this screeching/scratching sound that repeat two or three times during playback. At first I thought it was the videos that i'm playing since they are live-recorded over skype and later edited. I have no idea what could possibly cause this, but I did notice on the garuda-inxi below that I have an Intel audio driver installed for my on-board audio which is actually Realtek. I tried changing the configuration profile on PulseAudio from Analog Stereo Duplex or Analog Stereo Output and Pro Audio, that doesn't help. I'm using an old amplifier but I doubt it's the amplifier cause the screeching/scratching sounds digital, noise goes away when I stop playback.

Any thoughts appreciated. Thanks.

System:
  Kernel: 6.1.37-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=60b8f66e-c676-4631-ba03-30ef04375769 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=d6944b17-9fec-4b14-a018-9f4dded19c56 loglevel=3 ibt=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B450 TOMAHAWK (MS-7C02) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.J1
    date: 05/06/2023
CPU:
  Info: model: AMD Ryzen 3 2200G with Radeon Vega Graphics bits: 64 type: MCP
    arch: Zen level: v3 note: check built: 2017-19 process: GF 14nm
    family: 0x17 (23) model-id: 0x11 (17) stepping: 0 microcode: 0x8101016
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 384 KiB
    desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 3678 high: 3690 min/max: 1600/3500 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3667 2: 3672
    3: 3686 4: 3690 bogomips: 27956
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 ports: active: DVI-D-1 empty: DP-1,DVI-D-2,HDMI-A-1
    bus-ID: 10:00.0 chip-ID: 1002:67df class-ID: 0300 temp: 50.0 C
  Display: x11 server: X.Org v: 21.1.8 compositor: xfwm v: 4.18.0 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37")
    s-diag: 485mm (19.11")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 model: Samsung SyncMaster
    serial: <filter> built: 2009 res: 1600x900 hz: 60 dpi: 92 gamma: 1.2
    size: 443x250mm (17.44x9.84") diag: 509mm (20") ratio: 16:9 modes:
    max: 1600x900 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.3 renderer: AMD Radeon RX 570 Series
    (polaris10 LLVM 15.0.7 DRM 3.49 6.1.37-1-lts) direct-render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 10:00.1 chip-ID: 1002:aaf0
    class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 30:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.1.37-1-lts status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 0.3.72 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:
  Message: No PCI device data found.
  IF-ID-1: enp48s0f4u1 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
  Device-1: vivo 2015 driver: rndis_host v: kernel type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:4 chip-ID: 2d95:600a
    class-ID: 0a00 serial: <filter>
  Report: bt-service: enabled,stopped note: tool can't run
Drives:
  Local Storage: total: 5.69 TiB used: 4.73 TiB (83.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Mushkin model: MKNSSDHL250GB-D8
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: S1111A0L temp: 45.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 5400
    serial: <filter> scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD50NDZW-11BCSS0 size: 4.55 TiB block-size: physical: 4096 B
    logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
    tech: HDD rpm: 4800 serial: <filter> fw-rev: 1034 scheme: GPT
Partition:
  ID-1: / raw-size: 223.79 GiB size: 223.79 GiB (100.00%)
    used: 104.37 GiB (46.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 223.79 GiB size: 223.79 GiB (100.00%)
    used: 104.37 GiB (46.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 223.79 GiB size: 223.79 GiB (100.00%)
    used: 104.37 GiB (46.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 223.79 GiB size: 223.79 GiB (100.00%)
    used: 104.37 GiB (46.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.68 GiB used: 4.52 GiB (58.8%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 51.6 C mobo: N/A gpu: amdgpu temp: 50.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1238
Info:
  Processes: 308 Uptime: 3h 49m wakeups: 0 Memory: available: 7.68 GiB
  used: 6.24 GiB (81.3%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: pacman pkgs: 1530
  libs: 500 tools: gnome-software,octopi,paru Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.27
Garuda (2.6.16-1):
  System install date:     2023-07-02
  Last full system update: 2023-07-02 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            systemd-vconsole-setup.service 

Have you tried switching the profiles to any of the digital ones? (I know you said you switched between analog profiles, is there an option to switch to any digital ones?). Have you tried the Linux kernels specifically aimed at AMD zen 3's? Might make a difference. Have you tried disabling C-state in bios? ( In VERY rare cases, like mine, has been known to cause audio processing issues.)

Just trying different steps here until someone more knowledgeable can chirp-in here.

Also, if you're using EasyEffects, have you tried shutting it down completely or uninstalled it and play audio without it?

3 Likes

Disabling C-state muffled the noise down to a reasonable level. That helped. But then I remembered I was running the latest beta bios (7C02v1J1) on my board so I re-flashed to the latest stable (7C02v1I) and the noise is totally gone. Thank you for your help.

1 Like

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