Sound works with the latest 6.4 kernel: 6.4.15-200.fc38.x86_64.
I am using a Dell Inc. XPS 9320.
Somewhat related to Selecting handsfree for a bluetooth headset makes sound not working - #3 by rvangsgaard
Sound works with the latest 6.4 kernel: 6.4.15-200.fc38.x86_64.
I am using a Dell Inc. XPS 9320.
Somewhat related to Selecting handsfree for a bluetooth headset makes sound not working - #3 by rvangsgaard
This is output from journalctl -b -g audio
.
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 0
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-adl-rt1316-l1-mono-rt714-l0.tplg failed with error -2
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg request firmware intel/sof-tplg/sof-adl-rt1316-l1-mono-rt714-l0.tplg failed err: -2
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: you may need to download the firmware from https://github.com/thesofproject/sof-bin/
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -2
okt 09 22:37:09 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2
okt 09 22:37:10 fedora bluetoothd[1620]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
okt 09 22:37:10 fedora systemd[2054]: Listening on pipewire-pulse.socket - PipeWire PulseAudio.
okt 09 22:37:11 fedora systemd[2054]: Started pipewire-pulse.service - PipeWire PulseAudio.
okt 09 22:40:21 fedora systemd[3336]: Listening on pipewire-pulse.socket - PipeWire PulseAudio.
okt 09 22:40:22 fedora bluetoothd[1620]: profiles/audio/avdtp.c:avdtp_parse_rej() SET_CONFIGURATION request rejected: Bad State (49)
okt 09 22:40:22 fedora bluetoothd[1620]: profiles/audio/a2dp.c:invalidate_remote_cache() Invalidating Remote SEP from cache
okt 09 22:40:23 fedora systemd[3336]: Started pipewire-pulse.service - PipeWire PulseAudio.
okt 09 22:40:24 fedora bluetoothd[1620]: profiles/audio/a2dp.c:load_remote_sep() Unable to load LastUsed: rseid 2 not found
This may be of importance. Possibly a change in the kernel relating to this device?
Thank you for replying.
Does this not indicate the sof is installed already?
sudo dnf list "alsa*firmware"
Last metadata expiration check: 0:00:03 ago on tir 10 okt 2023 08:13:29 CEST.
Installed Packages
alsa-sof-firmware.noarch 2.2.5-1.fc38 @updates
Available Packages
alsa-firmware.noarch 1.2.4-8.fc38 fedora
alsa-tools-firmware.x86_64 1.2.5-6.fc38 fedora
Yeah, but the warning from the error stated that the firmware of the sound device may need to be updated. Perhaps fwupdmgr --help
has answers for how.
Unfortunately no firmware updates are available.
> fwupdmgr refresh --force
Updating lvfs
Downloading… [************************************* ]
Successfully downloaded new metadata: 2 local devices supported
> fwupdmgr update
Devices with no available firmware updates:
• PC801 NVMe SK hynix 2TB
• TPM
• UEFI Device Firmware
• UEFI Device Firmware
• VEN 04F3:00 04F3:31D1
Devices with the latest available firmware version:
• System Firmware
• UEFI dbx
Well, at least it’s eliminated. Have you tried pw-cli list-remotes
should give you one, mine looks like
[jakfrost ~]$ pw-cli list-remotes
0 = @remote:0x55c0d2f40710 'pipewire-0'
then try pw-cli list-objects
and you should get a long list of objects which you can review. Mine is at least 60 objects.
The remotes are different.
Kernel 6.4.15:
> pw-cli list-remotes
0 = @remote:0x5583634438f0 'pipewire-0'
Kernel 6.5.5:
> pw-cli list-remotes
0 = @remote:0x55dd35bc28f0 'pipewire-0'
Running pw-cli list-objects
on the 6.4 kernel returns 615 lines.
Running pw-cli list-objects
on the 6.5 kernel returns 387 lines.
Interesting, maybe the differences between results can be helpful. You could run the commands again with both kernels and have the results redirected to a text file instead of the terminal and then diff the files to look at the differences… pw-cli list-objects > sometextfile
then diff filefromkernel64 filefromkernel65
maybe
I actually did that, but I have no clue as to what I am looking for. I could upload the files if they could makes sense to someone else
Hi @rvangsgaard ,
Sorry for the delayed response, I have a customer in break down mode and am trying to get one of their machines back up. You can use the fedora community pastebin at https://pastebin.centos.org/ to upload the two files.
Hi!
I experience the exact same issue with my Dell XPS 13.
So it really seems that the 6.5 kernel lost some audio capabilities.
Uploaded the diff from 6.4 and 6.5 here: Untitled - Pastebin Service
Maybe it is of help to anybody.
No problem @jakfrost, I just hope you got the customers machine back up?
I pasted the list-objects
on kernel 6.4 here Kernel-6.4-List-objects - Pastebin Service.
I pasted the list-objects
on kernel 6.5 here Kernel-6.5-List-objects - Pastebin Service.
Having the same issue. Same device, remotes, differences etc. I guess all I really have to contribute is I can help with any testing or necessary info to troubleshoot. Unfortunately, I chose now to do a fresh install, so no kernel rollback. Guess I’m building 6.4.15 for now.
I had the same issue. No sound (only dummy output) with kernel >= 6.5.5. I solved it by manually installing the firmware files from the link in the logs: https://github.com/thesofproject/sof-bin/releases
Then I just ran the install.sh
script in the download and rebooted. And then there is sound again.
I guess the alsa-sof-firmware
package in Fedora is simply out of date and does not currently contain the needed firmware.
@danielpettersson I am not very content with downloading and running a script like that. What about maintaining and keeping up-to-date with it later on? Will newer kernel updates work with whatever the script installs?
Today the 6.4 kernel disappeared from the boot menu (of course, because of a new version coming in), so your solution might come in handy sooner than I thought
Yeah, I agree. It is really not an optimal solution. But it works around the issue for now at least
If it is a kernel regression then there will be an update to fix it likely already in the pipeline. Sorry for the delay.
I enabled the testing repo and updated to kernel 6.5.8-200.fc38.x86-64 and the issue is resolved.
Sounds good - I am looking forward to it being released.