#[SOLVED] Recently Moved from Nvidia 3080 to RX6900XT and having strange Audio delay Stuttering

9 messages · Page 1 of 1 (latest)

glacial arch
#

About 2 months ago I moved from using Nvidia products on my main workstation to AMD. At this point I have the AMD running well on rendering, virgl support for my KVMs and video decode and hardware accelerated video encoding. I have had one persistent problem that I have been unable to find a resolution for.

Intermittently, audio will play delayed over the top of running audio. This happens for about a 1/2 second and almost sounds like a stutter, but the audio stream continues to play. It's as if a buffer is flushing late and dumping the audio in buffer .5 seconds later than it should right over the top of the playing stream. It happens mostly with youtube videos, but have seen it in games and other general stuff.

I'm not even sure what logs to post to try to get help at this point and I don't know if its related to the HW change from Nvidia to AMD or changes to pulse audio/pipewire/wireplumber.

I am using DP->HDMI connected to a TV for the display and audio output. Not sure if this is relavant as I have not attempted to run audio independantly from the GPU via the inferior AUX / SPDIF connectors on the Motherboard.

System:
Vanilla Arch , Latest Updates applied)
AMD 5950X
Asus Strix B550-E (Latest BIOS Installed)
AMD 6900 XT (XFX AIB Variant)
80Gb of DDR4 running at 3600Mhz
NVMe PCIe4x drive operating at 5500MBps non-seq writes, 6800MBps seq writes.

Xorg Conf:

   Identifier "amd"
   Driver "amdgpu"
   Option "DRI" "3"
   Option "TearFree" "true"
EndSection

Section "Screen"
   Identifier "amd"
   Device "amd"
   DefaultDepth 24
   SubSection
  "Display"
        Depth   24
   EndSubSection
EndSection```

GPU Modules Running:
```drm_ttm_helper         16384  1 amdgpu
ttm                    98304  2 amdgpu,drm_ttm_helper
video                  65536  2 asus_wmi,amdgpu
gpu_sched              49152  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_display_helper    241664  4 amdgpu
#

SND Modules Running:

snd_usbmidi_lib        49152  1 snd_usb_audio
snd_rawmidi            49152  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
mc                     81920  1 snd_usb_audio
snd_hda_codec_realtek   184320  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     90112  1
snd_hda_intel          61440  3
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         200704  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          126976  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
snd_pcm               180224  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
ledtrig_audio          16384  2 snd_hda_codec_generic,asus_wmi
snd_timer              49152  1 snd_pcm
snd                   143360  18 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore              16384  1 snd

Desktop is rendered at 2160p 120hz/fps

   3840x2160     60.00 + 120.00*  100.00   119.88    50.00    59.94    30.00    25.00    24.00    29.97    23.98```

Last thing that may or may not be relevant. This install dates back to around 2015 and has been rolling updated for the last 7 years. Not sure if there is a crufty conf kicking around that is buggering things up. Not sure where to look TBH :/

Any help would be appreciated! Im kinda stuck at this point 😦
glacial arch
#

[SOLVED] Recently Moved from Nvidia 3080 to RX6900XT and having strange Audio delay Stuttering

#

After about 1-2 months of dealing with this, an update to mesa and faudio came in and now this issue appears to be resolved. Been running for several hours using the Mesa-22.3.2-1 and FAudio-23.01-1 without any stuttering or audio delayed buffer issues.

peak latch
#

wall of text empty
80gb bruuuv WHAT
can you replicate this issue if you run directly from ALSA?

#

oh, nevermind then

glacial arch
#

Yeah; trying to be complete in reporting the problem and what Ive tried to resolve it and appropriate logs. Lots of memory to support the 6-8 client system VMs that run on this box (VMs can consume up to ~60GB pretty readily even with memory compression running)

Issue was present with ALSA, but less frequent than when pulse/pipewire was handling. I suspect something in the AMD HD audio stack was wonky and got corrected either with the update to 6.1.2 kernel or the mesa/faudio updates that all came in this morning.... 🤷‍♂️

#

I really think it was something in the AMD HD audio stack since none of the KVMs ever had audio issues; only the host system using the GPU for audio processing

peak latch
#

propably, since my nvidia works trollface