F40 regression? Internal audio output device not found

I just updated my existing Fedora 39 installation to Fedora 40 beta. Since the update, GNOME does not show any audio output devices. The internal microphone works fine however, gnome sound recorder shows realistic graphs when changing input volume.

I’ve already tried booting into the old kernel (6.7.9-200.fc39.x86_64 instead of 6.8.1-300.fc40.x86_64), but that did not help, i.e., the F39 kernel behaves the same as F40 kernel.

By accident, when trying to connect an external audio output device (a bluetooth classic headset), I noticed that the internal loudspeakers are listed and working now. When disconnecting the external audio output device, the internal device also gets removed again – but only if it has not been played to.

It seems like my device is using snd_hda_codec_realtek for the internal audio input/output.

I don’t know whether this is worth debugging, but if yes, where would I start?

Edit:
Probably related: Updated to wireplumber 0.4.90 No output devices (#25) · Issues · GNOME / libgnome-volume-control · GitLab

4 Likes

Hi Christian, same here (Notebook Acer Swift sf514 51) and kernel 6.8.2-300.fc40.x86_64

Hi, the same problem here. Not device sound after upgrade to fedora 40. Lenovo ThinkPad E1.

It seems there is a workaround…just connect an hdmi cable, choose from the gnome settings, audio item again, and you’ll find all TWO devices (internal audio & hdmi audio output). Select “internal audio”, disconnect the hdmi cable, and the setting resist on reboot. It works fine for me & my hardware.

6 Likes

Hi, I had a similar issue when upgrading to Fedora 40 Beta as well, and it turns out that my sound card profile was in “off”. I used pactl to see the avaiable cards (I omitted some of the stuff):

pactl list cards
Card #42
	Name: alsa_card.pci-0000_00_1b.0
	Driver: alsa
	Owner Module: n/a
	Properties:
                ( Properties ... )
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		( Profiles... )
		pro-audio: Pro Audio (sinks: 2, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	( etc. )

I don’t understand really well this prompt but I just tried to set the profile to something else and it worked for me:

pactl set-card-profile alsa_card.pci-0000_00_1b.0 pro-audio

And then some “pro-audio” devices appeared in settings as well as some other output devices. If anyone wants to try this you can type:

pactl set-card-profile <card-name> <profile>

I think it’s worth mentioning that I had a conflict with the alsa-sof-firmware package during the upgrade, so I downloaded the .rpm needed and installed it forcefully before the upgrade to F40 Beta. It seems to be related with audio devices, so maybe that caused problems in my installation.

5 Likes

Just wanted to say that I had this problem after upgrading to Fedora 40 on release day. No audio at all. But as Nicola said, plugging in an HDMI monitor, selecting the built-in speakers in Settings → Sound and then removing the HDMI cable worked. Even after a shutdown/reboot. I don’t feel like this workaround should be necessary, but it worked in a pinch.

6 Likes

Also had this issue, also did what @nicopelle and @msecaur said. Thank you for the fix!!!

1 Like

I had the same problem, but @nicopelle and @msecaur’s fix worked for me.

1 Like

It’s a shame, I tried Beta 40 from version 39 and returned to 39, for the same reason. It could not play audio, neither through hardware devices nor through cables such as HDMI.

Today I switched back to version 40 and the same thing, I have tried everything and it doesn’t play sound. I have followed the steps on the forum and nothing works for me. I say sound
this is my pactl card
jhmorenof@fedora:~$ pactl list cards
Card #41
Name: alsa_card.pci-0000_00_1f.3
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = “false”
api.alsa.card = “0”
api.alsa.card.longname = “HDA Intel PCH at 0xec140000 irq 135”
api.alsa.card.name = “HDA Intel PCH”
api.alsa.path = “hw:0”
api.alsa.use-acp = “true”
api.dbus.ReserveDevice1 = “Audio0”
api.dbus.ReserveDevice1.Priority = “-20”
device.api = “alsa”
device.bus = “pci”
device.bus_path = “pci-0000:00:1f.3”
device.description = “Built-in Audio”
device.enum.api = “udev”
device.form_factor = “internal”
device.icon_name = “audio-card-analog-pci”
device.name = “alsa_card.pci-0000_00_1f.3”
device.nick = “HDA Intel PCH”
device.plugged.usec = “8978802”
device.product.id = “0x9d71”
device.product.name = “Sunrise Point-LP HD Audio”
device.subsystem = “sound”
sysfs.path = “/devices/pci0000:00/0000:00:1f.3/sound/card0”
device.vendor.id = “0x8086”
device.vendor.name = “Intel Corporation”
media.class = “Audio/Device”
factory.id = “14”
client.id = “40”
object.id = “41”
object.serial = “41”
object.path = “alsa:pcm:0”
alsa.card = “0”
alsa.card_name = “HDA Intel PCH”
alsa.long_card_name = “HDA Intel PCH at 0xec140000 irq 135”
alsa.driver_name = “snd_hda_intel”
alsa.mixer_name = “Realtek ALC298”
alsa.components = “HDA:10ec0298,17aa2245,00100103 HDA:8086280b,80860101,00100000”
alsa.id = “PCH”
device.string = “0”
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)

Same here, @luizf solution worked for me. Thank you!

1 Like

This solution worked for me, thank you :smiley:

hi
Excuse my ignorance, and what are the commands in my post, leave my card information, I try but I get an error.
pactl set-card-profile alsa_card.pci-0000_00_1f.3 profile:on
Failure: No such entity.
can you help me please

I wonder if these commands and a reboot would fix anything?

rm -Rf ~/'.local/state/wireplumber'

alsactl init

Thank you.
It doesn’t work on my laptop

For anyone currently experiencing issues, Please dnf update as soon as you can after the release of Fedora 40.

I have seen some folks on here with older kernels and drivers. If you have a GPU please make sure it has the latest drivers.

Why do you think that is necessary?

There was mention of pactl to set something on a card, and I was thinking that some leftover config between wireplumber and ALSA might be causing an issue; I believe the first command removes and resets Wireplumber, while alsainit re-initializes cards and might bring up devices and ports for wireplumber to hook back to; basically a complete reset to let the audio re-set itself back up.

An easier test might be to boot a F40 LiveUSB and just test audio real quick; if it works on LiveUSB then I’d lean towards checking local configs.

Seems to be an issue with wireplumber, see: Output devices not found on latest versions (#641) · Issues · PipeWire / wireplumber · GitLab

tldr: rm -rf ~/.local/state/wireplumber + reboot fixed it for me

12 Likes

Thanks a lot, this also worked for me! Hope a proper fix will soon be available :crossed_fingers:

1 Like

Same issue here, no sound after update, Dell XPS 15 9520.
After rm -rf ~/.local/state/wireplumber and reboot - works fine.

1 Like