Bug 2350968 - Intel HDA audio - profiles prioritize HDMI, auto switch between speaker/headphones not working
Summary: Intel HDA audio - profiles prioritize HDMI, auto switch between speaker/headp...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-09 17:08 UTC by Misha Ramendik
Modified: 2025-05-15 21:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Misha Ramendik 2025-03-09 17:08:50 UTC
I have a Lenovo ThinkPad P1Gen3 with Intel HDA audio. After updating to 41, in Plasma the sound output went to HDMI. I had to enable "inactive" devices in Plasma audio setting to even be able to select the speaker or headphones.

In both Plasma and Gnome, in audio settings, two "profiles" are visible for the Intel HDA audio device, called "Comet Lake PCH cAVS".They are "Play HiFi Quality Music (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2" and "Play HiFi Quality Music (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker". In Plasma, I actually have to switch these profiles to switch output from headphones to speaker and vice versa. It seems that in Gnome I can directly switch outputs in audio settings. But automatic switching when I plug the headphones in/out never happens.

This is a regression in Fedora 41. Everything worked fine in Fedora 40 until I updated to Fedora 41 late February 2025. I could use the speaker, plug in the headphones and have the headphones work automatically, plug out the headphones and have the speaker work. And HDMI never took priority, headphones/speaker were always the default.

Reproducible: Always

Comment 3 Misha Ramendik 2025-03-09 17:10:48 UTC
Another note: this does not seem to be a kernel issue. For an unrelated reason I switched to the LTS kernel from Copr and the profiles did not change.

Comment 4 Misha Ramendik 2025-04-28 19:37:57 UTC
I have now found that the issue happens only when the ThinkPad is connected to the dock. If I connect the headphones to the dock instead, I no onger have a problem switching to them. However, in this case the Intel HDA device periodically switches from the speaker profile to the headphones profile on its own (despite having no headphones attached to the device), so if I want to use the speaker I have to switch the profile manually.

Comment 5 Filippo Rossoni 2025-05-13 14:51:33 UTC
I have the same problem.
There are 3 profile 
1 containing headphone and all display 
2 containing speaker and all display
3 professional audio

without connected display all works when I connect the headphone it switch correctly to headphone and when disconnect it switch to speaker

with display connected it does not switch to the other profile but to the display device in the same profile.
do Exists a workaround to separate the display profile in another profile to give that different priority.

I'm on Plasma fedora 42

Comment 6 Filippo Rossoni 2025-05-15 21:39:49 UTC
I add the information from alsa-info.sh  https://alsa-project.org/db/?f=61d3ad29637159849071a0a6333d7b8767c107e4


Note You need to log in before you can comment on or make changes to this bug.