Closed j3n0v4 closed 2 days ago
Same problem here. They either deleted the files or moved them.
Installing topology
Traceback (most recent call last):
File "/home/apo/chromebook-linux-audio/./setup-audio", line 319, in
I have the same issue as above, on Fedora 40.
Hopefully the original "built" avs-topology_2024.02.tar.gz gets re-uploaded, but I got mine working the hard way...
you need to build avstplg to build avs-topology, and avstplg is from avsdk
download avsdk:
git clone https://github.com/thesofproject/avsdk.git
cd avstplg
make
if you have problems building it, you likely need to install dotnet sdk
sudo apt install dotnet-sdk-6.0 dotnet-host dotnet-hostfxt-6.0
build avs-topology (tag: v2024.02) using avstplg:
git clone --branch v2024.02 https://github.com/thesofproject/avs-topology-xml.git
run make pointing to where avstplg binary is
PATH=$PATH:$HOME/avsdk/avstplg/build/bin/Debug/net6.0/publish make
to create the lib and final release tar.gz
make dist
install avs-topology.tar.gz to dir for setup-audio script:
sudo mkdir -p /tmp/avs_tplg
sudo tar -xvf avs-topology.tar.gz -C /tmp/avs_tplg/
modify setup-audio to avoid downloading/installing missing file:
vi setup-audio
comment out lines 152 and 153 (urlretrieve and tar xv)
run setup-audio
sudo ./setup-audio
As a workaround* (not involving building the topology files from source) you can try manually installing topology files from linux-firmware
repository, as the binaries were recently moved there: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel/avs
* you would still need to comment out this part of the script: https://github.com/WeirdTreeThing/chromebook-linux-audio/blob/main/setup-audio#L151-L154
Hopefully the original "built" avs-topology_2024.02.tar.gz gets re-uploaded, but I got mine working the hard way...
you need to build avstplg to build avs-topology, and avstplg is from avsdk
download avsdk:
git clone https://github.com/thesofproject/avsdk.git
cd avstplg
make
if you have problems building it, you likely need to install dotnet sdksudo apt install dotnet-sdk-6.0 dotnet-host dotnet-hostfxt-6.0
build avs-topology (tag: v2024.02) using avstplg:
git clone --branch v2024.02 https://github.com/thesofproject/avs-topology-xml.git
run make pointing to where avstplg binary isPATH=$PATH:$HOME/avsdk/avstplg/build/bin/Debug/net6.0/publish make
to create the lib and final release tar.gzmake dist
install avs-topology.tar.gz to dir for setup-audio script:
sudo mkdir -p /tmp/avs_tplg
sudo tar -xvf avs-topology.tar.gz -C /tmp/avs_tplg/
modify setup-audio to avoid downloading/installing missing file:
vi setup-audio
comment out lines 152 and 153 (urlretrieve and tar xv) run setup-audiosudo ./setup-audio
Many thanks for this explanation. I got my audio working.
Same issue for me on Fedora 40.
The AVS firmware is now shipping with Fedora 40. Update your system to get the latest kernel (sudo dnf update). Then comment out lines 151 through 154 in the audio script, and then run the script. It should install without issues.
Same for me on OpenSUSE tumbleweed (after system update): I only had to comment lines 151-154 and the AVS firmware was already available.
The AVS firmware is now shipping with Fedora 40. Update your system to get the latest kernel (sudo dnf update). Then comment out lines 151 through 154 in the audio script, and then run the script. It should install without issues.
Thank you > therealkuking -Worked perfectly on Fedora 40.
The AVS firmware is now shipping with Fedora 40. Update your system to get the latest kernel (sudo dnf update). Then comment out lines 151 through 154 in the audio script, and then run the script. It should install without issues.
Doesn't seem to work with Fedora on kernel 6.10.7
Doesn't seem to work with Fedora on kernel 6.10.7
My device is Pixelbook Go.I found out with Fedora on kernel 6.10.7 the tplg file is somehow missing, maybe the kernel update deleting them. You can find the missing tplg error in demsg.
Just downlod the tplg files from this repo conf/avs/tplg
and put them in the /lib/firmware/intel/avs
(see: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel/avs).
Doesn't seem to work with Fedora on kernel 6.10.7
My device is Pixelbook Go.I found out with Fedora on kernel 6.10.7 the tplg file is somehow missing, maybe the kernel update deleting them. You can find the missing tplg error in demsg.
Just downlod the tplg files from this repo
conf/avs/tplg
and put them in the/lib/firmware/intel/avs
(see: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel/avs).
My Case Chromebook Pro,
Files from this URL did not help. But the files from 6.10.6
under /lib/firmware/intel/avs
work fine for me.
Doesn't seem to work with Fedora on kernel 6.10.7
My device is Pixelbook Go.I found out with Fedora on kernel 6.10.7 the tplg file is somehow missing, maybe the kernel update deleting them. You can find the missing tplg error in demsg. Just downlod the tplg files from this repo
conf/avs/tplg
and put them in the/lib/firmware/intel/avs
(see: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel/avs).My Case Chromebook Pro, Files from this URL did not help. But the files from
6.10.6
under/lib/firmware/intel/avs
work fine for me.
I also had this experience. in fedora 6.10.6 files ended tplg.bin.xz: however these files worked fine for me in debian where the files end in tplg.bin
I am just using files inside this folder.
Hello,
The script is running into a 404 error. The script is trying to download https://github.com/thesofproject/avs-topology-xml/releases/download/v2024.02/avs-topology_2024.02.tar.gz which does not exist anymore. Therefore the script fails.