Bug 29707 - Update request: alsa-sof-firmware-2.1.1-1.mga8.nonfree
Summary: Update request: alsa-sof-firmware-2.1.1-1.mga8.nonfree
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-11-27 11:49 CET by Thomas Backlund
Modified: 2022-10-18 08:55 CEST (History)
7 users (show)

See Also:
Source RPM: alsa-sof-firmware
CVE:
Status comment:


Attachments

Description Thomas Backlund 2021-11-27 11:49:41 CET
This updates alsa-sof-firmware in order to provide support for newer hw supported by kernel 5.15+ series

SRPM:
alsa-sof-firmware-1.9.2-1.mga8.nonfree.src.rpm


noarch:
alsa-sof-firmware-1.9.2-1.mga8.nonfree.noarch.rpm
alsa-sof-firmware-debug-1.9.2-1.mga8.nonfree.noarch.rpm
Comment 1 Thomas Backlund 2021-11-27 15:17:36 CET
Actually ignore this one for now, seems there is a fw mismatch atleast for some hw...

Keywords: (none) => feedback

Comment 2 Ben McMonagle 2021-11-28 07:23:57 CET
got this update by accident.

anyway, fixes no sound on Asus T100 after kernel 5.15 update

CC: (none) => westel

Comment 3 Thomas Backlund 2021-11-28 09:49:03 CET
@ben, did you have alsa-sof-firmware installed before this update ?


if not, does the sound work with the alsa-sof-firmware from nonfree/release ?
Comment 4 Guillaume Royer 2021-12-02 20:29:24 CET
(In reply to ben mcmonagle from comment #2)
> got this update by accident.
> 
> anyway, fixes no sound on Asus T100 after kernel 5.15 update

Does the sound work over time, in my case on my Asus T100A TA after some time. Some minutes the sound card has a bug and beeps

CC: (none) => guillaume.royer

Comment 5 Ben McMonagle 2021-12-03 09:36:00 CET
(In reply to Thomas Backlund from comment #3)
> @ben, did you have alsa-sof-firmware installed before this update ?
> 
> 
> if not, does the sound work with the alsa-sof-firmware from nonfree/release ?

I have removed the package and rebooted.
no sound.
disable "testing" repos.
reinstall above package from "nonfree".
reboot to load firmware.
play .mkv - picture stutters as does sound (Totem media player)when in foreground. if in background it behaves.
enable "testing" repos and update package
reboot to load firmware.
play same .mkv with totem same after a good start approx 1:04
VLC is a non starter
play with Parole - audio and video for about 3:48, then "bbbbbb" and the video stutters and then stops.

youtube stream has issues after about 2:15 minute.
first sound goes to "bbbbbbbb", then the video stops and the loading circle happens.
Comment 6 Guillaume Royer 2021-12-22 16:42:23 CET
Some new with my Asus T100A TA.

When I boot on old kernel 5.10 sound is the sound is slowed down and jerky.

So I tried to install two other Linux in triple boot: Linux Mint and Debian with respectively  Kernel 5.4 and 5.10.

If I start my computer on each one sound works correctly.
But If I start MGA in first, and reboot on Mint or Debian without shutdown computer the sound is slowed down and jerky too.

So I think that firmware modify micro-code in sound processor and it's stay present when I reboot whithout shut down. 
That make same behavoiur than MGA

That's big problem with firmware I think.

I found this resource if it can help: 

https://wiki.debian.org/InstallingDebianOn/Asus/T100TA
Comment 7 Thomas Backlund 2022-07-03 20:11:50 CEST
Here comes finally a new set...

The updated firmware requires alteast libalsa2 1.2.5, but I decided to go with the 1.2.6.1 as that one has been running in cauldron for ~7 months without issues...

and the firmware recommends kernel 5.15 or later, but will work for all kernels above 5.8 so we are good there too...


SRPMS:
libalsa2-1.2.6.1-1.mga8.src.rpm

alsa-sof-firmware-2.1.1-1.mga8.nonfree.src.rpm


i586:
libalsa2-1.2.6.1-1.mga8.i586.rpm
libalsa2-devel-1.2.6.1-1.mga8.i586.rpm
libalsa2-docs-1.2.6.1-1.mga8.noarch.rpm
libalsa-data-1.2.6.1-1.mga8.noarch.rpm

alsa-sof-firmware-2.1.1-1.mga8.nonfree.noarch.rpm
alsa-sof-firmware-debug-2.1.1-1.mga8.nonfree.noarch.rpm


x86_64:
lib64alsa2-1.2.6.1-1.mga8.x86_64.rpm
lib64alsa2-devel-1.2.6.1-1.mga8.x86_64.rpm
libalsa2-docs-1.2.6.1-1.mga8.noarch.rpm
libalsa-data-1.2.6.1-1.mga8.noarch.rpm

alsa-sof-firmware-2.1.1-1.mga8.nonfree.noarch.rpm
alsa-sof-firmware-debug-2.1.1-1.mga8.nonfree.noarch.rpm

Keywords: feedback => (none)
Summary: Update request: alsa-sof-firmware-1.9.2-1.mga8.nonfree => Update request: alsa-sof-firmware-2.1.1-1.mga8.nonfree

Comment 8 Herman Viaene 2022-07-04 11:25:45 CEST
MGA8-64 Plasma on Acer Aspire 5253 (Intel HDA stuff)
No installation issues.
Checked before installation in MCC: Pulse Audio is on and sound works OK.
After installation, no sound. Logged out and in again, then sound .wav file plays OK in VLC.
Then switched Pulse Audio off in MCC-Hardware, logged out and in again. File plays OK, but plasma systemsettings shows device, but plays no sound in testing. Is this one dependent on Pulse Audio???
Anyway, switched Pulse Audio on again, logged out and in, everything works OK.
For me, I would agree with OK'ing, but waiting for others with other sound devices.

CC: (none) => herman.viaene

Comment 9 Guillaume Royer 2022-07-04 12:41:28 CEST
Updated my Asus Transfomer T100A TA with Intel(R) Atom(TM) CPU  Z3775 

Updated with QA repo and rpm:

lib64alsa2-1.2.6.1-1.mga8.x86_64.rpm
lib64alsa2-devel-1.2.6.1-1.mga8.x86_64.rpm
libalsa2-docs-1.2.6.1-1.mga8.noarch.rpm
libalsa-data-1.2.6.1-1.mga8.noarch.rpm
alsa-sof-firmware-2.1.1-1.mga8.nonfree.noarch.rpm
alsa-sof-firmware-debug-2.1.1-1.mga8.nonfree.noarch.rpm

Uname -a:

5.15.50-desktop-1.mga8

rpm -qa |grep alsa:

alsa-sof-firmware-debug-2.1.1-1.mga8.nonfree
lib64alsa-plugins-pulseaudio-1.2.2-2.mga8
alsa-firmware-1.2.4-1.mga8
alsa-utils-1.2.4-1.mga8
alsa-plugins-config-1.2.2-2.mga8
alsa-tools-1.2.2-1.mga8
alsa-plugins-pulse-config-1.2.2-2.mga8
lib64alsa2-1.2.6.1-1.mga8
lib64alsa-plugins-1.2.2-2.mga8
alsa-sof-firmware-2.1.1-1.mga8.nonfree
alsaconf-1.2.4-1.mga8
libalsa-data-1.2.6.1-1.mga8
alsa-tools-firmware-1.2.2-1.mga8

Restart after installation. 
After five minutes of playing music with Spotify in Firefox, the sn turns into a beep.
the update has no effect on my computer, the problem persists.

NOK for me
Comment 10 Len Lawrence 2022-10-07 17:12:11 CEST
mga8, x86_64

Tried playing music tracks from local files and also online in Firefox.
No problems before or after the update.  However there was no sign of alsa in any trace involving mplayer or the browser.  pulseaudio is running and sound volume responds to pavucontrol.  However, adjusting the master channel in alsamixer has no effect - that must mean something.  alsamixer does control the sound level if mplayer is invoked directly but still no reference to alsa in the trace.  Maybe the trace needs to be directed to some lower level component of the sound system.

Anyway, the upshot of this is that sound continues to work after this update update.

CC: (none) => tarazed25

Comment 11 Dave Hodgins 2022-10-07 19:15:12 CEST
As firmware, it's loaded during boot if you have the hardware that uses one of
the included binary firmware blobs. Testing for clean install over the prior
version is all qa can do for these packages. Validating.

CC: (none) => davidwhodgins, sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: (none) => MGA8-64-OK

Dave Hodgins 2022-10-08 20:04:35 CEST

Keywords: (none) => advisory

Comment 12 Mageia Robot 2022-10-08 22:23:37 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0134.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 13 Ben McMonagle 2022-10-09 21:31:26 CEST
(In reply to Guillaume Royer from comment #9)
> Updated my Asus Transfomer T100A TA with Intel(R) Atom(TM) CPU  Z3775 

> Restart after installation. 
> After five minutes of playing music with Spotify in Firefox, the sn turns
> into a beep.
> the update has no effect on my computer, the problem persists.
> 
> NOK for me

same hardware here and appears to be same issue.

Guillaume, can you install audacity(if not present on system) and record the issue from the internal sound process - not the microphone. use PAvcontrol to set this up. 

is the incoming sound recorded with the issue?

also, add wmmoonclock, and keep it as the "top" window of the desktop.
does it make a difference for you, as it did for me?
(wmmonclock uses a very small window, and is almost un-noticable)

I suspect the issue is not the audio process, but is a video process. IAHTBW
Comment 14 Guillaume Royer 2022-10-10 11:10:53 CEST
(In reply to Ben McMonagle from comment #13)
> (In reply to Guillaume Royer from comment #9)
> > Updated my Asus Transfomer T100A TA with Intel(R) Atom(TM) CPU  Z3775 
> 
> > Restart after installation. 
> > After five minutes of playing music with Spotify in Firefox, the sn turns
> > into a beep.
> > the update has no effect on my computer, the problem persists.
> > 
> > NOK for me
> 
> same hardware here and appears to be same issue.
> 
> Guillaume, can you install audacity(if not present on system) and record the
> issue from the internal sound process - not the microphone. use PAvcontrol
> to set this up. 
> 
> is the incoming sound recorded with the issue?
> 
> also, add wmmoonclock, and keep it as the "top" window of the desktop.
> does it make a difference for you, as it did for me?
> (wmmonclock uses a very small window, and is almost un-noticable)
> 
> I suspect the issue is not the audio process, but is a video process. IAHTBW

Hi Ben,

I needed to run my equipment with sound for needs that were not my own.
So I installed Debian on this hardware with a 5.10 kernel that makes sound fully available.
I can't do any test on this PC anymore, it's not in my hands anymore.
Comment 15 Baptiste Berenguier 2022-10-12 08:53:35 CEST
Hello

I have a bug similar to Guillaume with my Elitepad 1000 G2 tablet.
When earing music on youtube, the image freeze and the earphones emmit a painful continuous bip. I tried ubuntu and manjaro and have a slightly different bug. Once or two time a day the tablet freeze and pulsaudio stop working. I am forced to restart an use the command "alsactl init" and "pulsaudio -D" at each reboot.  I made a script to make that at startup automatically. I will put Mageia back on the tablet soon and try to update alsa-sof as you adviced. Soundcard is rt5640

Regards

CC: (none) => baptiste.baptiste

Comment 16 Baptiste Berenguier 2022-10-12 08:56:21 CEST
Hello

I have a bug similar to Guillaume with my Elitepad 1000 G2 tablet.
When earing music on youtube, the image freeze and the earphones emmit a painful continuous bip. I tried ubuntu and manjaro and have a slightly different bug. Once or two time a day the tablet freeze and pulsaudio stop working. I am forced to restart an use the command "alsactl init" and "pulsaudio -D" at each reboot.  I made a script to make that at startup automatically. I will put Mageia back on the tablet soon and try to update alsa-sof as you adviced. Soundcard is rt5640

Regards
Comment 17 Baptiste Berenguier 2022-10-12 22:28:10 CEST
Installed Mageia 8 again.
Updated alsa-sof-firmware to latest version.
Still the same bug: youtube slows down and there is a beep which continue if I stop firefox. I have to reboot to stop it. What should I do?
Comment 18 Dave Hodgins 2022-10-12 22:55:50 CEST
As root,
urpmi --downgrade alsa-sof-firmware-1.6.1-1.mga8.nonfree

Add a line with alsa-sof-firmware to /etc/urpmi/skip.list and reboot.

Watch for future updates to help test them as without hardware that uses it
all qa can do is test that the update installs cleanly over the prior version.
Comment 19 Baptiste Berenguier 2022-10-13 20:43:50 CEST
Hello Dave

Thanks for your answer

I found this bug report which can help me and Guillaume 

https://github.com/thesofproject/sof/issues/3868

Hope that help

Regards
Comment 20 Thomas Backlund 2022-10-13 20:52:29 CEST
Nice find, I'll flip the switch for next kernel build
Comment 21 Thomas Backlund 2022-10-16 15:41:32 CEST
please test with kernel-5.15.74-1.mga8 in Core Updates Testing
Comment 22 Ben McMonagle 2022-10-17 07:14:41 CEST
Asus T100TA all DEinstall, Plasma DE
Intel(R) Atom(TM) CPU  Z3740  @ 1.33GHz

uname -a
Linux localhost.localdomain 5.15.65-desktop-1.mga8 #1 SMP Mon Sep 5 14:05:33 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

before update VLC played a .mkv file for about 1m22 before issue apparent 

# urpmi cpupower kernel-desktop-latest perf
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Updates Testing (distrib50)")
  cpupower                       5.15.74      1.mga8        x86_64  
  kernel-desktop-5.15.74-1.mga8  1            1.mga8        x86_64  
  kernel-desktop-latest          5.15.74      1.mga8        x86_64  
  perf                           5.15.74      1.mga8        x86_64  
78MB of additional disk space will be used.
78MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n) y

reboot

Creating: target|kernel|dracut args|basicmodules 
defaulting background resolution to 1600x1200
You should restart your computer for kernel-desktop-5.15.74-1.mga8

uname -a
Linux localhost.localdomain 5.15.74-desktop-1.mga8 #1 SMP Sat Oct 15 19:19:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux


wifi up at desktop presentation
ff ok
USB stick detected and popup.
touchscreen - ok

reboot no holdups

VLC playback of .mkv file
1/ video is ok and smooth.
2/ audio plays back at about 1/2 speed, in ~0.5s bites, then a 0.5s period of no audio.
Comment 23 Baptiste Berenguier 2022-10-18 08:55:36 CEST
Should I test as well and remove "options snd_sof sof_debug = 1"?

Note You need to log in before you can comment on or make changes to this bug.