nvidia sound cutting out randomly on external screen
On Fedora 36, sound is randomly cutting out for a blip (and coming back) when played over DisplayPort (HDMI) on an external screen, driven by an Nvidia dGPU.
When running on the built-in sound (Intel Tiger Lake), all seems to be fine.
Device: Dell Inspiron 16 Plus (7610) laptop, Intel Tiger Lake + Nvidia RTX 3060 Use case: Firefox playing IPTV
When working, pw-top shows the configuration below
133 2048 48000 226.5µs 44.4µs 0.01 0.00 1 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
218 3600 48000 84.9µs 52.2µs 0.00 0.00 1 + Firefox
! 111 0 0 0.0µs 0.0µs 0.00 0.00 0 alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source
! 129 0 0 0.0µs 0.0µs 0.00 0.00 0 alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source
! 74 0 0 0.0µs 0.0µs 0.00 0.00 0 alsa_output.pci-0000_01_00.1.pro-output-3
When sending output to the alsa_output.pci-0000_01_00.1.pro-output-3
device ("HDA NVidia Pro" in KDE), there is sound on the attached screen's output (LG 4K screen), but sound cuts off and comes back immediately at what appear to be totally random intervals.
I have tried following https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting to extract more data. Alas:
- there are no log entries in
journalctl --user-unit=pipewire --user-unit=wireplumber --user-unit=pipewire-pulse -f
-
PIPEWIRE_DEBUG=5 MOZ_DISABLE_RDD_SANDBOX=1 firefox 2>log
does not generate Pipewire output? -
pw-top
itself does not show any errors - dmesg does not show anything
The problem also occurs with a simple MP3, for instance generated by https://www.reuneker.nl/files/metronome/, when played back in KDE "elisa".
My main focus right now is to find traces of the problem recorded somewhere (in logs), so that I can dig deeper, somewhere, anywhere in the stack.
Any suggestions?