2024-05-13 08:08:26

by Bagas Sanjaya

[permalink] [raw]
Subject: Fwd: Garbled sound at start of a playback after some inactivity on said channel with DP/HDMI on RDNA devices

Hi,

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

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

--
An old man doll... just what I always wanted! - Clara


Attachments:
(No filename) (1.91 kB)
signature.asc (235.00 B)
Download all attachments

2024-05-21 18:37:34

by Mark Brown

[permalink] [raw]
Subject: Re: Fwd: Garbled sound at start of a playback after some inactivity on said channel with DP/HDMI on RDNA devices

On Mon, May 13, 2024 at 03:08:02PM +0700, Bagas Sanjaya wrote:

> > 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?


Attachments:
(No filename) (452.00 B)
signature.asc (499.00 B)
Download all attachments

2024-05-21 23:10:09

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: Fwd: Garbled sound at start of a playback after some inactivity on said channel with DP/HDMI on RDNA devices

On 5/22/24 01:36, Mark Brown wrote:
> On Mon, May 13, 2024 at 03:08:02PM +0700, Bagas Sanjaya wrote:
>
>>> 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.

--
An old man doll... just what I always wanted! - Clara