It is awesome Plasma allows automatic configuration for audio output, but the default setup isn’t robust enough to allow configuration in all situations. I think a few small front end and backend changes would improve things.
Right now a physical device is grouped together and sub-device output sources aren’t added to the simultaneous output grouping.
For example : GPU 1 has 5 ports.
2 HDMI and 3 DP
Currently the GUI has a line for this 1 GPU and any port that is actually plugged into the GPU shows up as a drop down. Then other physical devices such as an audio jack shows up as another device. If you activate the “Simultaneous” outputs check box it groups only GPU 1 and its active selection from above, but it doesn’t allow more sub-device selections.
What I propose is a simple GUI change.
You can leave it how it is for ease of use when not in “Simultaneous Mode” if desired, but when the user activates the Simultaneous checkbox it switches the listing to a per-audio source list.
So now GPU 1 with its 5 possible sources(if they are connected) would show up as 5 audio source outputs. Add 1 check box to say “combine this source” or whatever. Now when the user selects these sources it will be added to the virtual device and play the audio out of all those sources.
I don’t know the details of your audio hardware, but I suspect that it’s not possible to achieve what you are asking for.
The dropdown allows to chose between different device “profiles”, i.e. modes. The set of profiles and the behavior they give come from PulseAudio/the hardware, and only one profile can be active at any time
Maybe this pa config will help elaborate the point further. So I can manually configure this setup this way, but I cannot do this in the GUI. We need to break the drop down as shown in the picture below into different devices if in “simultaneous mode” and then maybe add a “checkbox” that allows this output source to be added to the “simultaneous mode” virtual device. This would make it much easier to configure.
Can confirm the following commands to setup simultaneous audio output in Plasma 6:
pactl list sinks short #will return the full names of audio sinks you need for the next command
pactl load-module module-combine-sink sink_name=combined_monitor_sink slaves=<put name of audiosink 1 here>,<put name of audiosink 2 here>, channels=2 channel_map=front-left,front-right
pactl set-default-sink combined_monitor_sink
note1: I do not have to set devices to “Pro Audio” mode, but that works too.
note2: this works reliably when done immediately after booting the machine.
The bug/wishlist was reported in PulseAudio’s era, but what are the limitations now as of Plasma 6.6? Is it just a UI issue on the Audio Volume widget?
If it works with the pipewire configs and commands, like above, but does not show up in the widget UI you probably just forgot to to tick the “show virtual devices” checkbox in the Audio Volume widget (behind the “Hamburger” at the top of it)?
Another issue I have run into, with a new Monitor I got recently, is that the combined output is now slightly out of sync. Did not happen with the old Monitors. Have to take a closer look into the pipewire config options if it is possible to adjust that as soon I find the time for it.
As not a beta version user, not as far I’m aware of.
It is a proposed/“wished for” feature hence this post in the Brainstorm section.
You can currently do it with your own config files through pipewire / wireplumbler directly, like explained above.
Or with a application that lets you graphically wire anything to everything (that pipewire supports, even if it makes no sense to connect ) but that only works with and as long that application runs. At least last time I tried, so long ago that I don’t remember the name of that application. Maybe things got better since(?)
One day simultaneous Audio output maybe is a direct KDE feature.
Although if one single output hardware post processes the output differently, like my new Monitor with a additional xx nanosecond delay, you may run into noticeable issues.
Ohh, just realised the dates.
Sorry, when a topic shows at the top, I end up assuming that the post came out just recently.
Turns out I was answering to one from 2023 and I didn’t scroll down to see recent replies (need to get used to this UI).
And maybe the “Pro Audio” option was not there back then.