Skip to contentSkip to conversation

Garbled sound at start of a playback after some inactivity on said channel with DP/HDMI on RDNA devices

DISCUSSION Bagas Sanjaya 2 participants 3 messages May 13, 2024 – May 21, 2024 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

Mete <[email protected]> reported on Bugzilla
(https://bugzilla.kernel.org/show_bug.cgi?id=218823) garbled sound on AMD

Quoted 24 lines · Rembrandt devices. He

As it is written like there, when said channels wakes up from a suspend state (inactivity) issue occurs as described. While i've applied noted workaround in there as a temp solution now, Nvidia gpus doesn't seem to suffer from it so that makes it a hw specific issue.

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3953

Basic system info:

Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 bus-ID: 03:00.0
Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel

    arch: RDNA-2 bus-ID: 12:00.0 temp: 39.0 C

Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu,amdgpu
resolution: 2560x1440
API: EGL v: 1.5 drivers: radeonsi,swrast platforms:
active: gbm,wayland,x11,surfaceless,device inactive: N/A
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.6-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 17.0.6 DRM 3.57 6.8.9-arch1-2)
API: Vulkan v: 1.3.279 drivers: radv surfaces: xcb,xlib,wayland devices: 2
Audio:
Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel

Quoted 8 lines
    bus-ID: 03:00.1
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 12:00.1
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 12:00.6

API: ALSA v: k6.8.9-arch1-2 status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#1 lore raw
Quoted 4 lines · Bagas Sanjaya
Quoted 4 lines

Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 bus-ID: 03:00.0
Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel

    arch: RDNA-2 bus-ID: 12:00.0 temp: 39.0 C

You've CCed a bunch of Intel and NXP people for some reason but whatever this is it seems to be an AMD issue?

#2 lore raw
Quoted 9 lines · Mark Brown
Quoted 4 lines · Bagas Sanjaya
Quoted 4 lines

Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 bus-ID: 03:00.0
Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel

    arch: RDNA-2 bus-ID: 12:00.0 temp: 39.0 C

You've CCed a bunch of Intel and NXP people for some reason but whatever this is it seems to be an AMD issue?

Yep, I found these addresses by scripts/get_maintainer.pl sound/soc/sof/amd/rembrandt.c since I thought it was rembrandt driver issue.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara