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?
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.
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:
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.
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.
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)
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
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.