You are not logged in.

#1 2023-10-01 19:26:53

brunnen153
Member
From: Austria
Registered: 2015-09-23
Posts: 4

HDMI audio drops unless application window is visible

Hi all, I recently switched from an AMD Radeon RX 480 to an AMD Radeon RX 6700XT and ever since then my audio over HDMI intermittently drops out when playing videos in Firefox.

Funnily enough, I noticed that if I open PulseAudio Volume Control and the window is ever so slightly visible, the audio works flawlessly.
Here's a video clip, notice how the window isn't in the foreground, and as soon as the window is fully covered by Firefox, my audio starts cutting out.

https://youtu.be/_6Ua3-fnl3g

A few other observations:

- I get similar issues playing videos in MPV
- Audio from games doesn't seem to drop

I'm honestly not sure how to figure out where exactly the audio gets dropped. I'm using Pipewire + Wireplumber and all the relevant packages, everything at default configuration (to my knowledge).

Anyone got an idea on how to track it down?

$ systemctl --user status pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-10-01 18:30:29 BST; 1h 50min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1628 (pipewire)
      Tasks: 3 (limit: 38372)
     Memory: 47.0M
        CPU: 4min 20.249s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1628 /usr/bin/pipewire

Oct 01 18:30:29 pc systemd[1364]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-10-01 18:30:29 BST; 1h 50min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1630 (pipewire-pulse)
      Tasks: 3 (limit: 38372)
     Memory: 197.8M
        CPU: 6min 44.517s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1630 /usr/bin/pipewire-pulse

Oct 01 18:30:29 pc systemd[1364]: Started PipeWire PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-10-01 18:30:29 BST; 1h 50min ago
   Main PID: 1629 (wireplumber)
      Tasks: 7 (limit: 38372)
     Memory: 28.2M
        CPU: 6.201s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1629 /usr/bin/wireplumber

Oct 01 18:30:29 pc systemd[1364]: Started Multimedia Service Session Manager.
Oct 01 18:30:29 pc wireplumber[1629]: [0:00:28.367704340] [1629] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Oct 01 18:30:29 pc wireplumber[1629]: [0:00:28.367717525] [1629] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Oct 01 18:30:29 pc wireplumber[1629]: [0:00:28.367739687] [1629]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Oct 01 18:30:30 pc wireplumber[1629]: <WpSiAudioAdapter:0x5587131f8490> Object activation aborted: proxy destroyed
Oct 01 18:30:30 pc wireplumber[1629]: <WpSiAudioAdapter:0x5587131f8490> failed to activate item: Object activation aborted: proxy destroyed
Oct 01 18:30:30 pc wireplumber[1629]: <WpPortalPermissionStorePlugin:0x5587130acc40> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Oct 01 18:12:36 pc wireplumber[1629]: <WpSiStandardLink:0x558713511a10> item deactivated before format set
Oct 01 19:40:59 pc wireplumber[1629]: <WpSiStandardLink:0x558713532fc0> item deactivated before format set
$ pacman -Qs "pipewire|pulse|alsa"
local/alsa-card-profiles 1:0.3.80-1
    Low-latency audio/video router and processor - ALSA card profiles
local/alsa-lib 1.2.10-2
    An alternative implementation of Linux sound support
local/alsa-plugins 1:1.2.7.1-2
    Additional ALSA plugins
local/alsa-topology-conf 1.2.5.1-3
    ALSA topology configuration files
local/alsa-ucm-conf 1.2.10-2
    ALSA Use Case Manager configuration (and topologies)
local/alsa-utils 1.2.10-1
    Advanced Linux Sound Architecture - Utilities
local/gst-plugin-pipewire 1:0.3.80-1
    Multimedia graph framework - pipewire plugin
local/gtk-vnc 1.3.1-1
    VNC viewer widget for GTK
local/lib32-alsa-lib 1.2.10-2
    An alternative implementation of Linux sound support (32 bit)
local/lib32-alsa-plugins 1.2.7.1-2
    Additional ALSA plugins (32-bit)
local/lib32-libcanberra 1:0.30+r2+gc0620e4-2
    A small and lightweight implementation of the XDG Sound Theme Specification (32-bit)
local/lib32-libpipewire 1:0.3.80-1
    Low-latency audio/video router and processor - 32-bit - client library
local/lib32-libpulse 16.1-6
    A featureful, general-purpose sound server (32-bit client libraries)
local/lib32-pipewire 1:0.3.80-1
    Low-latency audio/video router and processor - 32-bit
local/lib32-pipewire-jack 1:0.3.80-1
    Low-latency audio/video router and processor - 32-bit - JACK support
local/libcanberra 1:0.30+r2+gc0620e4-3
    A small and lightweight implementation of the XDG Sound Theme Specification
local/libpipewire 1:0.3.80-1
    Low-latency audio/video router and processor - client library
local/libpulse 16.1-6
    A featureful, general-purpose sound server (client library)
local/libwireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire - client library
local/pavucontrol 1:5.0+r64+geba9ca6-1
    PulseAudio Volume Control
local/pipewire 1:0.3.80-1
    Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.80-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:0.3.80-1
    Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:0.3.80-1
    Low-latency audio/video router and processor - JACK replacement
local/pipewire-pulse 1:0.3.80-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/qemu-audio-alsa 8.1.1-1
    QEMU ALSA audio driver
local/qemu-audio-pa 8.1.1-1
    QEMU PulseAudio audio driver
local/qemu-audio-pipewire 8.1.1-1
    QEMU PipeWire audio driver
local/wireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire
$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  sus     1628 F.... pipewire
                     sus     1629 F.... wireplumber
/dev/snd/controlC1:  sus     1628 F.... pipewire
                     sus     1629 F.... wireplumber
/dev/snd/controlC2:  sus     1628 F.... pipewire
                     sus     1629 F.... wireplumber
/dev/snd/controlC3:  sus     1628 F.... pipewire
                     sus     1629 F.... wireplumber
/dev/snd/pcmC1D3p:   sus     1628 F...m pipewire
/dev/snd/seq:        sus     1628 F.... pipewire
$ wpctl status
PipeWire 'pipewire-0' [0.3.80, sus@pc, cookie:1428291516]
 └─ Clients:
        31. pipewire                            [0.3.80, sus@pc, pid:1630]
        33. WirePlumber                         [0.3.80, sus@pc, pid:1629]
        34. WirePlumber [export]                [0.3.80, sus@pc, pid:1629]
        40. GNOME Shell Volume Control          [0.3.80, sus@pc, pid:1481]
        41. GNOME Volume Control Media Keys     [0.3.80, sus@pc, pid:1816]
        85. xdg-desktop-portal                  [0.3.80, sus@pc, pid:2043]
        86. Firefox                             [0.3.80, sus@pc, pid:2405]
        92. Mutter                              [0.3.80, sus@pc, pid:1481]
        98. wpctl                               [0.3.80, sus@pc, pid:4907]

Audio
 ├─ Devices:
 │      43. Navi 21/23 HDMI/DP Audio Controller [alsa]
 │      44. HyperX 7.1 Audio                    [alsa]
 │      45. Family 17h (Models 00h-0fh) HD Audio Controller [alsa]
 │      46. Loopback                            [alsa]
 │  
 ├─ Sinks:
 │      32. HyperX 7.1 Audio Digital Stereo (IEC958) [vol: 0.94]
 │      50. Family 17h (Models 00h-0fh) HD Audio Controller Headphones [vol: 1.00]
 │      51. Family 17h (Models 00h-0fh) HD Audio Controller Line Out [vol: 0.40]
 │  *   53. Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI) [vol: 1.00]
 │      55. Loopback Analog Stereo              [vol: 1.00]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │      49. Family 17h (Models 00h-0fh) HD Audio Controller Front Microphone [vol: 1.00]
 │  *   52. HyperX 7.1 Audio Digital Stereo (IEC958) [vol: 1.00]
 │      54. Family 17h (Models 00h-0fh) HD Audio Controller Rear Microphone + Rear Line In [vol: 1.00]
 │      56. Loopback Analog Stereo              [vol: 1.00]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:
        87. Firefox                                                     
             88. output_FL       > HDMI 0 *:playback_FL	[active]
             89. output_FR       > HDMI 0 *:playback_FR	[active]

Video
 ├─ Devices:
 │      42. Droidcam                            [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   47. Droidcam (V4L2)                    
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    alsa_output.pci-0000_0a_00.1.hdmi-stereo
         1. Audio/Source  alsa_input.usb-Kingston_HyperX_Virtual_Surround_Sound_00000000-00.iec958-stereo.3
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0 *]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 4: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: Sound [HyperX Virtual Surround Sound], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

Board footer

Powered by FluxBB