Bug 482509

Summary: Audio not auto transferring when HDMI is plugged in. It is also not selectable in system settings.
Product: [Unmaintained] plasma-pa Reporter: tombrown9501
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: major CC: isma.af, me, nate, nowrep
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tombrown9501 2024-03-06 02:24:47 UTC
SUMMARY
Audio not auto transferring when HDMI is plugged in. It is also not selectable in system settings. Running aplay -l in terminal shows that the HDMI is detected and the TV is detected, but I am not able to switch audio output to the TV.

I am able to get the correct behavior of audio over HDMI with Debian testing in Gnome.

STEPS TO REPRODUCE
1. Connect computer to TV via HDMI
2. Play audio

OBSERVED RESULT
Audio is output on laptop

EXPECTED RESULT
Audio to play through TV speakers


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux Testing
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.6.15-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 7573

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-03-06 17:53:53 UTC
Does the HDMI audio option appear in the Plasma widget?

Is the system using PipeWire for audio routing, or PulseAudio?
Comment 2 tombrown9501 2024-03-07 16:03:20 UTC
(In reply to Nate Graham from comment #1)
> Does the HDMI audio option appear in the Plasma widget?
> 
> Is the system using PipeWire for audio routing, or PulseAudio?

I''m running pipewire and the pipewire compatibility layer.  I do not see the HDMI audio option in the plasma widget or pavucontrol.
Comment 3 Nate Graham 2024-03-08 21:36:44 UTC
Thanks, that was very helpful. Asking about pavucontrol was going to be my next question. :) If it's not in pavucontrol either then the issue isn't in KDE code; it would be either in PulseAudio or PipeWire, or in the way they're set up on your system. I'd recommend asking Debian folks for help figuring out where to go from here.