Bug 29705 - No sound after update kernel with sound card bytcr-rt5640
Summary: No sound after update kernel with sound card bytcr-rt5640
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-27 09:22 CET by Guillaume Royer
Modified: 2024-09-07 14:12 CEST (History)
1 user (show)

See Also:
Source RPM: kernel-desktop-5.15.4-desktop-1.mga8.x86_64.rpm
CVE:
Status comment:


Attachments
Last boot logs (135.10 KB, text/plain)
2021-11-27 09:24 CET, Guillaume Royer
Details
Last logs (121.88 KB, text/plain)
2021-11-27 14:19 CET, Guillaume Royer
Details

Description Guillaume Royer 2021-11-27 09:22:06 CET
Description of problem:

After updated last kernel 5.15.4 my sound cards isn't recognize by system.

Command inxi -F -v 7:

Audio:
  Device-1: Intel HDMI/DP LPE Audio driver: HdmiLpeAudio 
  message: bus/chip ids unavailable 
  Sound Server: ALSA v: k5.15.4-desktop-1.mga8 

Only the sound card of the hdmi card is recognized

Version-Release number of selected component (if applicable):

bytcr-rt5640 driver missing (I guess)
Comment 1 Guillaume Royer 2021-11-27 09:24:16 CET
Created attachment 13013 [details]
Last boot logs

Last Boot log attachment
Comment 2 Thomas Backlund 2021-11-27 09:31:50 CET
you seem to be missing alsa-sof-firmware
Comment 3 Guillaume Royer 2021-11-27 09:40:59 CET
Ok that's it!

I've installed alsa-sof-firmware and sound go back.

It wasn't installed on my system. 
Why?

And why if it wasn't installed before all worked fine with old kernel?
Comment 4 Guillaume Royer 2021-11-27 09:48:56 CET
Avec l'installation de ce paquet j'ai un plantage de la carte son.
A près un moment d'utilisation j'ai un gros biiiiip. Je suis obligé d'arrêter la lecture en cours et de la relancer
Comment 5 Guillaume Royer 2021-11-27 09:49:43 CET
(In reply to Guillaume Royer from comment #4)
> Avec l'installation de ce paquet j'ai un plantage de la carte son.
> A près un moment d'utilisation j'ai un gros biiiiip. Je suis obligé
> d'arrêter la lecture en cours et de la relancer

In English sorry wrong copy/past

With the installation of this package I have a sound card crash.
After a moment of use I have a big beep. 
I have to stop the playback in progress and restart it
Comment 6 Thomas Backlund 2021-11-27 10:32:12 CET
(In reply to Guillaume Royer from comment #3)
> Ok that's it!
> 
> I've installed alsa-sof-firmware and sound go back.
> 
> It wasn't installed on my system. 
> Why?
> 
> And why if it wasn't installed before all worked fine with old kernel?

because older kernels did not support the sof drivers/firmwwares so it used the legacy drivers for sound...

unfortunately there is no easy way to detect the need for sof firmware, so I will probably add it as a recommends in next kernel build 


(In reply to Guillaume Royer from comment #5)

> 
> With the installation of this package I have a sound card crash.
> After a moment of use I have a big beep. 
> I have to stop the playback in progress and restart it


anything in the logs ?
Comment 7 Thomas Backlund 2021-11-27 11:40:12 CET
also... I've just pushed: alsa-sof-firmware-1.9.2-1.mga8 to nonfree updates testing... 

please test if that one works better
Comment 8 Guillaume Royer 2021-11-27 13:45:54 CET
So I understand why now with old kernel sound doesn't play well. (In reply to Thomas Backlund from comment #6)
> (In reply to Guillaume Royer from comment #3)
> > Ok that's it!
> > 
> > I've installed alsa-sof-firmware and sound go back.
> > 
> > It wasn't installed on my system. 
> > Why?
> > 
> > And why if it wasn't installed before all worked fine with old kernel?
> 
> because older kernels did not support the sof drivers/firmwwares so it used
> the legacy drivers for sound...
> 
> unfortunately there is no easy way to detect the need for sof firmware, so I
> will probably add it as a recommends in next kernel build 
> 
> 
> (In reply to Guillaume Royer from comment #5)
> 
> > 
> > With the installation of this package I have a sound card crash.
> > After a moment of use I have a big beep. 
> > I have to stop the playback in progress and restart it
> 
> 
> anything in the logs ?

So I understand why now with old kernel sound doesn't play well.

(In reply to Thomas Backlund from comment #7)
> also... I've just pushed: alsa-sof-firmware-1.9.2-1.mga8 to nonfree updates
> testing... 
> 
> please test if that one works better

I've been test and same results after a while sound cut off and it replace by biiiip

I attached journal if you want to see it
Comment 9 Guillaume Royer 2021-11-27 14:19:58 CET
Created attachment 13014 [details]
Last logs

Command journalctl -b —no-hostname —no-pager | grep -v msec
Comment 10 Guillaume Royer 2021-11-28 13:29:25 CET
I've seen this link

https://github.com/torvalds/linux/blob/master/sound/soc/intel/boards/bytcr_rt5640.com

If it can help, but I guess that you already know it
Comment 11 Guillaume Royer 2021-11-28 13:30:58 CET
(In reply to Guillaume Royer from comment #10)
> I've seen this link
> 
> https://github.com/torvalds/linux/blob/master/sound/soc/intel/boards/
> bytcr_rt5640.com
> 
> If it can help, but I guess that you already know it

https://github.com/torvalds/linux/blob/master/sound/soc/intel/boards/bytcr_rt5640.c
Marja Van Waes 2021-11-29 22:06:54 CET

CC: (none) => marja11
Assignee: bugsquad => kernel

Comment 12 Guillaume Royer 2021-12-22 16:43:46 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
Lewis Smith 2024-05-14 21:19:26 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=33145

Comment 13 Marja Van Waes 2024-08-22 23:02:01 CEST
We stopped supporting Mageia 8 almost 8 months ago 
https://blog.mageia.org/en/2023/12/30/mageia-8-end-of-life/

That means we also stopped fixing Mageia 8 bugs and that this bug report needs to be closed, regardless of whether it was fixed for Mageia 8 or not.

If this particular bug did not get fixed for Mageia 8, then we do regret that.

If this issue is still present in Mageia 9 or cauldron, then please reopen this report, write a comment and adjust the "Version:" field.

If you are not yet a member of one or our teams, then please consider becoming one. https://wiki.mageia.org/en/Contributing
Mageia is a community project, meaning that we, the users, make Mageia together.

The more active contributors we have, the more bug reports will get fixed.
Besides, being active in a team can be very rewarding. It was and is certainly rewarding to me :-D

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

Comment 14 Guillaume Royer 2024-09-07 14:12:50 CEST
I'm closing the report at Marja's request, problem fixed.

Resolution: OLD => FIXED


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