error: sof firmware file is missing

jaytee129

Member
Jun 16, 2022
132
10
18
Just got a new mini pc and proxmox reports "error: sof firmware file is missing, you might need to download it from https://github.com/thesofproject/sof-bin"

Code:
Jun 26 13:35:47 thibworldpx2 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to
Jun 26 13:35:47 thibworldpx2 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
Jun 26 13:35:47 thibworldpx2 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2
Jun 26 13:35:47 thibworldpx2 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

I googled and it seems there should be a way for me to simply do:

Code:
apt install firmware-sof-signed

but proxmox is unable to located the package. Do I have to add another repository? None of the posts I found mentioned having to do that.

Code:
root@thibworldpx2:~# apt update
Hit:1 http://ftp.ca.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease                       
Hit:3 http://ftp.ca.debian.org/debian bullseye-updates InRelease                   
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done         
Building dependency tree... Done
Reading state information... Done
All packages are up to date.


root@thibworldpx2:~# apt-get -y install firmware-sof-signed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package firmware-sof-signed
 
Here it shows:
root@Hypervisor:~# apt-cache show firmware-sof-signed
Package: firmware-sof-signed
Source: firmware-sof
Version: 1.7-1
Installed-Size: 9817
Maintainer: Mark Pearson <markpearson@lenovo.com>
Architecture: all
Description-en: Intel SOF firmware - signed
Provides the Intel SOF audio firmware and topology needed for audio
functionality on some Intel system.
.
This package contains the pre-built and signed binaries.
Description-md5: 8eb88bd58a171f2f6dd9d78a475320ab
Homepage: https://github.com/thesofproject/sof-bin
Section: non-free/kernel
Priority: optional
Filename: pool/non-free/f/firmware-sof/firmware-sof-signed_1.7-1_all.deb
Size: 550408
MD5sum: 4e8e6682673a727417ae2fb6cfac8a4c
SHA256: 1c383d6f0b128afbd603abe16ae70b87112bf607477ac845a5b87e52534c238a
So you might need to add "non-free" to all your repositories in /etc/apt/sources.list to be able to install non open source packages like this one.
 
Thanks. I noticed it was non free but what do I do add that to my list of repositories? Am new to proxmox. Does it mean I have to pay or just that it's not considered open source? Do I have to email markpearson@lenevo.com to see what it costs and how to pay?

Also I noticed from github page that the current version is 2.2, well past the version 1.7...

Any help would be appreciated.
 
You edit your Debian repositories and add a "non-free" at the end.

So nano /etc/apt/sources.list, then you add a "non-free" so that for exmple...
Code:
deb http://deb.debian.org/debian bullseye main contrib
deb http://deb.debian.org/debian-security/ bullseye-security main contrib
deb http://deb.debian.org/debian bullseye-updates main contrib
...becomes...
Code:
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
.
Save it with CTRL+X, Y.
Then you do a apt update and should be able to install non-free packages.
"non-free" doesn't mean you have to pay for them, it just means its propietary software that is not open source so it can't be shipped with most linux distributions.
 
Last edited:
  • Like
Reactions: jaytee129
Using the debian repos you always get software that is several months or even years behind. If you want the lastest version you should run the installer script from their github site.
 
so ver 1.7 doesn't fix the problem and it looks like it's a 'be-very-careful-what-you-do' multi step process and not clear to a newbie where to start

here? https://github.com/thesofproject/sof-bin/blob/main/HOWTO-new-release.md
here? https://github.com/thesofproject/sof-bin/tree/main/v2.2.x
here? https://github.com/thesofproject/sof-bin/commit/46b52ac8e5dfc11c93cbdf3f77faaabe6e56dc9d (I have an intel based machine)
here? https://github.com/thesofproject/sof-bin/blob/main/README.md

and are the commands in the proxmox version of linux the same?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!