stable

alsa-sof-firmware-2.0-2.fc35

FEDORA-2022-89613351f8 created by perex a year ago for Fedora 35

Update Intel's SOF firmware to version 2.0. List of changes: https://github.com/thesofproject/sof/releases/tag/v2.0

Note: Please acknowledge only if you have the affected hardware (sof-hda-dsp driver is used).

How to install

sudo dnf upgrade --refresh --advisory=FEDORA-2022-89613351f8

This update has been submitted for testing by perex.

a year ago

This update's test gating status has been changed to 'ignored'.

a year ago

This update has been pushed to testing.

a year ago
User Icon bitlord commented & provided feedback a year ago
karma

I would say this breaks audio on one of my systems:

...
[   13.500973] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   13.500991] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   13.501005] sof-audio-pci-intel-cnl 0000:00:1f.3: enabling device (0000 -> 0002)
[   13.501173] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   13.501282] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   13.507600] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[   13.595073] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[   13.595077] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   13.595080] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   13.598954] sof-audio-pci-intel-cnl 0000:00:1f.3: xz decompression failed (xz_ret=6)
[   13.598965] sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cml.ri failed with error -22
[   13.598969] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[   13.598970] sof-audio-pci-intel-cnl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[   13.598971] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -22
[   13.599287] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -22
...
...
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
    Subsystem: Hewlett-Packard Company Device 869d
    Flags: bus master, fast devsel, latency 64, IRQ 16
    Memory at 4000108000 (64-bit, non-prefetchable) [size=16K]
    Memory at 4000000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [50] Power Management version 3
    Capabilities: [80] Vendor Specific Information: Len=14 <?>
    Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
    Kernel driver in use: sof-audio-pci-intel-cnl
    Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
...

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

a year ago

After downgrade to:

alsa-sof-firmware-1.9.3-1.fc35.noarch

and reboot, sound is working again

I'm far from someone familiar with the topic, I see by the commits that compression is recently introduced for these firmware files. What I found online is that by default CRC32 should be used and is only supported if I'm not wrong, and default is CRC64 as a checksum:

# file /lib/firmware/intel/sof/intel-signed/sof-cnl.ri.xz 
/lib/firmware/intel/sof/intel-signed/sof-cnl.ri.xz: XZ compressed data, checksum CRC64

When I look for other xz compressed firmware it's all CRC32:

# find /lib/firmware/ -iname \*.xz -exec file '{}' \; | grep CRC | awk '{ print $NF }' | sort -u 
CRC32

Could this be the issue?

I can confirm that on F35 at least you need to pass --check=crc32 for xz when compressing otherwise default is CRC64.

User Icon bojan commented & provided feedback a year ago
karma

Works.

User Icon freddyw commented & provided feedback a year ago
karma

Same issue as @bitlord. No sound/mic after update.

User Icon alebastr provided feedback a year ago
karma
User Icon thesourcehim commented & provided feedback a year ago
karma

sound does not work

00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS sof-audio-pci-intel-cnl 0000:00:1f.3: xz decompression failed (xz_ret=6) sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cml.ri failed with error -22 sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to sof-audio-pci-intel-cnl 0000:00:1f.3: download it from https://github.com/thesofproject/sof-bin/ sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -22 sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -22

This update has been obsoleted.

a year ago
User Icon kparal commented & provided feedback a year ago
karma

This update broke my audio (no output devices) on Thinkpad P1 gen3:

úno 03 10:19:37 hydra kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: xz decompression failed (xz_ret=6)
úno 03 10:19:37 hydra kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cml.ri failed with error -22
úno 03 10:19:37 hydra kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to
úno 03 10:19:37 hydra kernel: sof-audio-pci-intel-cnl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
úno 03 10:19:37 hydra kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -22
úno 03 10:19:37 hydra kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -22
User Icon mzink commented & provided feedback a year ago
karma

Audio broken

[ 15.149490] sof-audio-pci-intel-cnl 0000:00:1f.3: xz decompression failed (xz_ret=6) [ 15.149497] sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cml.ri failed with error -22 [ 15.149499] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to [ 15.149500] sof-audio-pci-intel-cnl 0000:00:1f.3: download it from https://github.com/thesofproject/sof-bin/ [ 15.149501] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -22 [ 15.149797] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -22

User Icon chrismurphy commented & provided feedback a year ago
karma

Breaks audio.

User Icon msrb commented & provided feedback a year ago
karma

I am late to the party, but I can confirm that this update breaks audio on Lenovo T14s.

perex edited this update.

New build(s):

  • alsa-sof-firmware-2.0-2.fc35

Removed build(s):

  • alsa-sof-firmware-2.0-1.fc35

Karma has been reset.

a year ago

This update has been submitted for testing by perex.

a year ago

The 2nd release should fix the xz compression issue. Thank you all for the feedback.

This update has been pushed to testing.

a year ago
User Icon thesourcehim commented & provided feedback a year ago
karma

Works

User Icon bitlord commented & provided feedback a year ago
karma

Firmware loads fine, audio still works as expected (for me):

sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:0:0-b678a

This update can be pushed to stable now if the maintainer wishes

a year ago
User Icon freddyw commented & provided feedback a year ago
karma

The new build works for me, sound and microphone!

User Icon mzink commented & provided feedback a year ago
karma

New build works fine. Firmware loads & sound is working.

karma
User Icon frantisekz commented & provided feedback a year ago
karma

Works well here on P1 Gen 2

@perex do you want to push this to stable? (it doesn't get much more feedback) It seems that automatic push was disabled due to first build having issues and our negative karma, but it seems bodhi doesn't reset those options when new build was added and karma was reset. (not sure how it works, not a packager)

User Icon pwalter commented & provided feedback a year ago
karma

Works

This update has been submitted for stable by perex.

a year ago

This update has been pushed to stable.

a year ago

Please login to add feedback.

Metadata
Type
unspecified
Karma
7
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
a year ago
in testing
a year ago
in stable
a year ago

Automated Test Results