[Quattro] Audio picker cannot switch between HDMI/DP profiles on one GPU card
System details
AMD desktop, NVIDIA GeForce RTX 3080 Ti (NVIDIA 610.57.04), two DisplayPort monitors, Omarchy 4.0.1-1, kernel 7.1.9-arch1-2, Hyprland 0.56.2-1, PipeWire 1.6.8-1, WirePlumber 0.5.15-1.
What's wrong?
The Quattro audio output picker cannot switch between two HDMI/DisplayPort audio outputs when ALSA exposes them as mutually exclusive profiles of the same GPU audio card.
Both connected monitors are detected and both profiles are available:
Card: alsa_card.pci-0000_29_00.1
output:hdmi-stereo: available: yes
output:hdmi-stereo-extra1: available: yes
Active Profile: output:hdmi-stereo
hdmi-output-0: available
device.product.name = "M27T6"
Part of profile: output:hdmi-stereo
hdmi-output-1: available
device.product.name = "H27T7P-2"
Part of profile: output:hdmi-stereo-extra1
However, wpctl status contains only the sink belonging to the active profile:
Sinks:
* M27T6
The Omarchy audio panel consequently shows only that one row. Clicking it has no visible effect because it is already the default, while the second available monitor cannot be selected. Changing the ALSA card profile manually makes the other sink appear and the first disappear.
Steps to reproduce
- Connect two audio-capable HDMI/DisplayPort monitors to one GPU.
- Confirm that
pactl list cardsreports two available profiles on the same card, such asoutput:hdmi-stereoandoutput:hdmi-stereo-extra1. - Open the Omarchy audio panel.
- Observe that only the sink from the currently active card profile is offered.
- Try to select the other monitor; it is absent from the picker.
Expected
The output picker should represent all available playback profiles/ports and activate the selected card profile when necessary, so either connected monitor can be chosen.
Actual
The picker enumerates only current Pipewire.nodes sinks. With ACP-style mutually exclusive profiles, that means it can see only the active monitor and cannot perform a profile switch.
Related re-enumeration symptom
After a hibernate/DisplayPort link reinitialization, the active sink appeared in the panel as the generic HDMI 0 even though the card-port properties and kernel ELD already contained M27T6. A local WirePlumber naming rule corrected the label, but it does not address the missing profile switching.
This is related to the DPMS/profile churn described in #8290, but distinct: #8290 concerns automatic profile/default-sink changes when outputs become unavailable; this report concerns the audio panel being unable to select another profile even while both ports/profiles are available.
Same defect, different hardware class — and it reproduces on a stock install, which I think raises the priority here.
On laptops whose ALSA UCM splits Speaker and Headphones into two mutually exclusive HiFi profiles (every Intel SOF sof-hda-dsp machine — this is a ThinkPad X1 Carbon 7th, Realtek ALC285), the internal speakers become completely unreachable through the audio panel whenever an external monitor is connected.
Stock reproduction
Removed all local WirePlumber config, leaving only Omarchy's own bluetooth-a2dp-autoconnect.conf; default device.restore-profile; no ~/.local/state/wireplumber/default-profile. One HDMI monitor attached, nothing in the 3.5mm jack:
PROFILE : HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2)
SINKS : HiFi__HDMI3__sink
HiFi__HDMI2__sink
HiFi__HDMI1__sink
HiFi__Headphones__sink
No HiFi__Speaker__sink exists at all, so — exactly as this issue describes — the picker cannot offer it. The only reachable "internal" output is a Headphones sink with nothing plugged into it.
Why the monitor is what triggers it
pactl list cards on this machine:
HiFi (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2) priority: 10300 available: yes <- selected
HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker) priority: 10200 available: yes
[Out] HDMI1 : available <- monitor attached
[Out] Headphones : not available <- empty jack
[Out] Speaker : availability unknown
/usr/share/wireplumber/scripts/device/find-best-profile.lua picks by priority among profiles reporting available == "yes". Profile availability is per-profile, not per-port: an attached monitor keeps HDMI1 available, which marks both profiles available, so priority alone decides and Headphones (10300) beats Speaker (10200) — with an empty jack. Unplug the monitor and the Headphones profile's outputs all go unavailable, so it stops winning and the speakers come back. Hence the monitor-dependence.
This is the same mechanism #8290 documents (same profile names, same 10300/10200), just observed from the other side: #8290 is about HDMI availability disappearing on DPMS-off and flipping to the Speaker profile; this is about HDMI availability persisting and preventing the Speaker profile from ever being selected.
Confirms the diagnosis in this issue
Panel.qml:25-27 enumerates sinks only —
for (var i = 0; i < nodes.length; i++) {
var n = nodes[i]
if (n && n.isSink && !n.isStream) list.push(n)
}
— and setDefaultSink() (Panel.qml:463) only sets Pipewire.preferredDefaultAudioSink. grep -rn "profile" shell/plugins/panels/audio/ returns a single hit, and it's a label lookup (Model.js:67). So there is no card-profile path in the panel at all, and Quickshell's Quickshell.Services.Pipewire doesn't expose one either.
Impact
This isn't an exotic dual-monitor-on-one-GPU case — it's the default state of any Intel SOF laptop docked to a monitor, which is a very common Omarchy configuration. The user-visible symptom is "my laptop speakers vanished from the audio menu", with no in-UI recovery: pactl set-card-profile is the only way back, and it doesn't survive a restart.
Workaround (user-side, not a fix)
device.profile.priority.rules is consumed by device/find-preferred-profile.lua, which runs before find-best-profile, so pinning the Speaker profile per-device makes speakers the stable baseline:
device.profile.priority.rules = [
{
matches = [ { device.name = "~alsa_card.*skl_hda_dsp_generic" } ]
actions = { update-props = { priorities = [ "HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker)" ] } }
}
]
That's static, though — it trades the problem for the opposite one, since the 3.5mm jack can no longer be followed (profile availability can't distinguish jack state while a monitor is attached, for the reason above). Following the jack properly needs the Headphones port availability, which does track the jack correctly regardless of the monitor, driven from an out-of-band watcher — same shape as the workaround in #8735.
Both of those are per-user patches for something the panel should handle. Happy to take a run at making the picker profile-aware along the lines of the "Expected" section here, if that direction is welcome.
System
Omarchy 4.0.3-1, kernel 7.2.3-arch1-3, Hyprland 0.56.2, PipeWire 1.6.8-1, WirePlumber 0.5.17-1, Quickshell 0.3.1-1. Lenovo ThinkPad X1 Carbon 7th (20QDCTO1WW), Realtek ALC285 / snd_soc_skl_hda_dsp, card sof-hda-dsp.
A third variant with the same root cause, this time on a desktop with a stock Realtek HDA codec: the choice lives in the sink's ports rather than in card profiles, and the panel can't reach it either.
System details
Intel i7-12700F desktop, Intel 600 Series HD Audio (Realtek ALC1220), NVIDIA RTX 3080, Omarchy 4.0.4-1, kernel 7.2.5-3-omarchy, PipeWire 1.6.8-1, WirePlumber 0.5.17-1, Quickshell 0.3.1-1.
What happens
The front-panel headphone jack and the rear line-out are two ports of one sink, alsa_output.pci-0000_00_1f.3.analog-stereo:
Ports:
analog-output-lineout: Line Out (type: Line, priority: 9000, available)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
Active Port: analog-output-lineout
The audio panel shows a single "ALC1220 Analog" row. With headphones plugged into the front jack, sound kept going to the rear line-out and there was no way to switch from the panel. Only pactl set-sink-port … analog-output-headphones fixed it.
WirePlumber doesn't switch on its own here because the rear jack also reports a plug (Line Out Front Jack = on; a permanent extension cable is connected). With both ports available, it keeps the last selected route instead of preferring the higher-priority Headphones port. That's reasonable behavior, but it means the user has to be able to choose, and the panel offers no way to. The same applies to inputs: analog-input-front-mic and analog-input-rear-mic are both available on one source, with a single row in the panel.
Steps to reproduce
- On a desktop with front-panel audio, keep something plugged into the rear line-out.
- Plug headphones into the front jack.
- Open the audio panel: there is one row for the analog card and no way to move output to the headphones.
Expected
When a sink/source has more than one available port, the panel lists one row per port (e.g. "Headphones · ALC1220 Analog" and "Line Out · ALC1220 Analog"), and selecting one runs pactl set-sink-port / set-source-port, plus the usual set-default if needed. That would cover this case. Together with profile rows for #8789's case, it would make every output the card can reach selectable.
Workaround
I cloned omarchy.audio and expand multi-port sinks and sources into one row per port, read from pactl -f json list sinks / list sources, keeping ports whose availability isn't not available. It works well and is a small, self-contained change. Happy to share the diff or open a PR if that direction is welcome.
Another reproduction on Omarchy 4.0.4: internal analog audio and HDMI audio on the same Intel HDA card, with a single TV connected through a DisplayPort-to-HDMI adapter.
System
- HP EliteBook 840 G3; Intel HD Graphics 520 (
i915) - Intel Sunrise Point-LP HD Audio (
8086:9d70,snd_hda_intel), Conexant CX20724 analog codec - Panasonic TV, connected through a DisplayPort-to-HDMI adapter
- Omarchy
4.0.4-1, kernel7.2.5-3-omarchy - PipeWire
1.6.8-1, WirePlumber0.5.17-1, Quickshell0.3.1-1
Observed behavior
The TV was already detected by ALSA: aplay -l listed device 3 as HDMI 0 [Panasonic-TV]. The kernel ELD reported monitor_present=1, eld_valid=1, and two-channel LPCM support at 32/44.1/48 kHz.
The card exposed both profiles as available (diagnostic fields condensed below):
Card: alsa_card.pci-0000_00_1f.3
output:analog-stereo+input:analog-stereo: available: yes
output:hdmi-stereo+input:analog-stereo: available: yes
Active Profile: output:analog-stereo+input:analog-stereo
hdmi-output-0: available
device.product.name = "Panasonic-TV"
Only alsa_output.pci-0000_00_1f.3.analog-stereo existed as a playback sink. The audio panel therefore could not offer the TV, and the running player was routed to the notebook speakers.
Changing the card profile to output:hdmi-stereo+input:analog-stereo and routing playback to its sink made the TV audible immediately. ALSA reported the HDMI PCM running at stereo, 16-bit, 48 kHz. However, the analog output then disappeared from the available sinks, preventing selection of the notebook speakers through the panel.
This matches the profile-selection limitation described here and also affects analog-versus-HDMI selection on a single HDA card.
Local workaround and validation
A user-owned ACP profile set includes the distribution's default.conf and adds:
[Profile notebook-and-tv]
description = Notebook e TV com saidas independentes
output-mappings = analog-stereo hdmi-stereo
input-mappings = analog-stereo
priority = 7000
A WirePlumber rule applies that profile set only to this card. Selecting notebook-and-tv exposes both sinks simultaneously, and the existing Omarchy audio panel can then select either output. Switching the running player's routing in both directions was verified; the panel was also visually checked with both output rows present. The selected profile is saved in WirePlumber's state; reboot and cable-reconnection behavior have not been tested.
The expected behavior is to make the already-available analog and HDMI profiles selectable from the audio panel without requiring a custom combined profile.
Adding another reproducer on plain snd_hda_intel (no SOF/UCM), which may be the most common laptop case.
System: Dell Precision 7680, Intel Raptor Lake HDA 00:1f.3 (Realtek ALC289), monitor IIyama XB24B3HSU via DisplayPort on the Intel iGPU (i915); ELD valid. Omarchy 4.5.0-3, kernel 7.2.15-1-omarchy, PipeWire 1.6.9, WirePlumber 0.5.18.
Stock behaviour: with the monitor connected, the card stays on the analog profile:
output:analog-stereo+input:analog-stereo available: yes <- active
output:hdmi-stereo+input:analog-stereo available: yes
hdmi-output-0 available
wpctl status (and therefore the audio picker) lists only the analog sink + USB; there is no monitor sink. pactl set-card-profile ... output:hdmi-stereo+input:analog-stereo makes the monitor appear, but the internal speakers vanish. So the monitor is unreachable from the panel, and pactl is the only way to switch.
Expected: the picker should enumerate outputs from all available profiles and switch the card profile on selection (what pavucontrol's Configuration tab does). Additionally, for HDA cards it would be great to expose analog + HDMI at the same time via a combined ACP profile (the ArchWiki "Simultaneous output to multiple sinks on the same sound card" recipe), so "speakers + monitor + USB" are all selectable without dropping one.
Workaround: local PipeWire node for hw:CARD=PCH,DEV=3 plus a user service that keeps IEC958 unmuted. It works, but it's a per-user hack and doesn't fix the panel.