You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Xiaomi Redmibook 16 2024 mic is not working #5053
If you meant "when is this going to be supported by distros", there will be an 'sof-bin' 2.10 release soonish - in the coming weeks - where the required topology will be included. The kernel patch should also be propagated to stable kernels but that takes time and depends on stable maintainers.
I'm on Fedora KDE now and can confirm that sound and microphone is working now. However something in the sound pipepline seems to crash somehow after some time. I get robotic sounding voices, everything sounds distored. It stops when I switch to pro audio in the sound settings. When I get it on pro audio, it stops again when switching to play hi fi quality music. Maybe some buffering issues. It seems I can trigger it faster when skipping trough a youtube video with the arrow keys, and often start and stop playing sounds. But yeah, maybe the issue is somewhere in pipewire idk. Anyone else with a redmibook 16 that has this now ? I was on bazzite before (fedora atomic spin with custom kernel) with kernel 6.10, and the sof files from march. So for me its hard to say what introduced this on my side...
I'm on Fedora KDE now and can confirm that sound and microphone is working now. However something in the sound pipepline seems to crash somehow after some time. I get robotic sounding voices, everything sounds distored. It stops when I switch to pro audio in the sound settings. When I get it on pro audio, it stops again when switching to play hi fi quality music. Maybe some buffering issues. It seems I can trigger it faster when skipping trough a youtube video with the arrow keys, and often start and stop playing sounds. But yeah, maybe the issue is somewhere in pipewire idk. Anyone else with a redmibook 16 that has this now ? I was on bazzite before (fedora atomic spin with custom kernel) with kernel 6.10, and the sof files from march. So for me its hard to say what introduced this on my side...
Same issues on Arch Linux (linux=6.10.8, sof-firmware=2024.06, pipewire 1:1.2.3).
Steps to reproduce robotic sound:
change microphone level => gets robotic sound until toggle card on/off or switch card profile
Steps to reproduce missed sound:
start play sound on user1 and tty1
switch to the user2 on tty2 and play something sound too
return to the user1 on tt1 => gets missed sound in any application until toggle card profile
@johndoe3535, @malvery, can you describe or better provide a recording of the 'robotic' sound?
The robotic sound is on the playback or capture direction?
@ujfalusi I can confirm this issue. This is completely random issue. I have this issue while using Chrome browser. Restarting application process helps.
Bug just adds glitches to the original sound, so it sounds similar to original sound just with glitches.
@OrelSokolov, so it is with playback?
Pipewire/Pulseaudio keeps the audio open for few more seconds after the last user is gone, stopping/restarting application 'fast' enough will still use the same stream the audio was opened with (the sound servers are playing silence when no client is around).
If the issue is easy to reproduce, can you make a recording of it with a phone for example for us to hear it? A video is also good so we could see what is going on in the UI.
I think we will need to collect firmware logs to have cleaner picture and more data points.
@johndoe3535, @malvery, can you describe or better provide a recording of the 'robotic' sound? The robotic sound is on the playback or capture direction?
Activity
plbossart commentedon May 28, 2024
please share the output of 'alsa-info', it's not clear that it's an SOF problem but more likely a Linux hardware detection issue.
OrelSokolov commentedon May 30, 2024
@plbossart https://alsa-project.org/db/?f=d737cae0b969ade16eb2ee0cc55ef12687a840ff
lgirdwood commentedon Jun 10, 2024
Looks like this issue is unrelated to SOF and is a platform issue with HDA mic integration.
plbossart commentedon Jun 10, 2024
please share alsa-info without this "option snd_intel_dspcfg: dsp_driver=1"
OrelSokolov commentedon Jun 11, 2024
@plbossart how to do this? I ran just
alsa-infowithout any options.plbossart commentedon Jun 11, 2024
you have this option somewhere in /etc/modprobe.d/*.conf. Remove it, reboot and send the results of alsa-info.
plbossart commentedon Jun 11, 2024
double check the results,
OrelSokolov commentedon Jun 11, 2024
@plbossart done
https://alsa-project.org/db/?f=b1f3f31e1135aa62303b8ac4ed4a30c40d382bad
plbossart commentedon Jun 11, 2024
Ha yes, we've seen this before
This was reported in #4973 and fixed by 806f52f
The patch was submitted upstream and is already in maintainer branches, commit d556f80, and already in Linus' tree.
Please try to apply this commit or wait until it shows up in your distribution.
13 remaining items
plbossart commentedon Jun 12, 2024
nhlt.dsl.txt
This still looks like the 16-bit issue corrected by the commit d556f80
my money is on the topology now. Please try to add (backup what you have of course!) from this comment: #4973 (comment)
OrelSokolov commentedon Jun 12, 2024
@plbossart
locatecommand gives thisOrelSokolov commentedon Jun 12, 2024
@plbossart OMG it works!!!! Without any additional options
Thanks. What is futher steps to fix this in codebase?
https://alsa-project.org/db/?f=71084485390ea3ac2dab60932cd23e0ee6b91e16
plbossart commentedon Jun 12, 2024
Excellent.
If you meant "when is this going to be supported by distros", there will be an 'sof-bin' 2.10 release soonish - in the coming weeks - where the required topology will be included. The kernel patch should also be propagated to stable kernels but that takes time and depends on stable maintainers.
OrelSokolov commentedon Jun 12, 2024
@plbossart Yes, I mean when this update will be in the linux kernel or somewhere downloadable.
yw662 commentedon Sep 6, 2024
Fedora is now on Linux 6.10.7 SOF 2024.06, sound and microphone both work.
johndoe3535 commentedon Sep 10, 2024
I'm on Fedora KDE now and can confirm that sound and microphone is working now. However something in the sound pipepline seems to crash somehow after some time. I get robotic sounding voices, everything sounds distored. It stops when I switch to pro audio in the sound settings. When I get it on pro audio, it stops again when switching to play hi fi quality music. Maybe some buffering issues. It seems I can trigger it faster when skipping trough a youtube video with the arrow keys, and often start and stop playing sounds. But yeah, maybe the issue is somewhere in pipewire idk. Anyone else with a redmibook 16 that has this now ? I was on bazzite before (fedora atomic spin with custom kernel) with kernel 6.10, and the sof files from march. So for me its hard to say what introduced this on my side...
malvery commentedon Sep 10, 2024
Same issues on Arch Linux (linux=6.10.8, sof-firmware=2024.06, pipewire 1:1.2.3).
Steps to reproduce robotic sound:
Steps to reproduce missed sound:
ujfalusi commentedon Sep 11, 2024
@johndoe3535, @malvery, can you describe or better provide a recording of the 'robotic' sound?
The robotic sound is on the playback or capture direction?
OrelSokolov commentedon Sep 12, 2024
@ujfalusi I can confirm this issue. This is completely random issue. I have this issue while using Chrome browser. Restarting application process helps.
Bug just adds glitches to the original sound, so it sounds similar to original sound just with glitches.
ujfalusi commentedon Sep 13, 2024
@OrelSokolov, so it is with playback?
Pipewire/Pulseaudio keeps the audio open for few more seconds after the last user is gone, stopping/restarting application 'fast' enough will still use the same stream the audio was opened with (the sound servers are playing silence when no client is around).
If the issue is easy to reproduce, can you make a recording of it with a phone for example for us to hear it? A video is also good so we could see what is going on in the UI.
I think we will need to collect firmware logs to have cleaner picture and more data points.
malvery commentedon Sep 15, 2024
Recorded "robotic" sound on the attached video
https://github.com/user-attachments/assets/6221b976-dbba-4026-ba7d-f3011afe3804
How can I help in collecting firmware logs ?
ujfalusi commentedon Feb 28, 2025
@OrelSokolov, I lost track of this... Is it fixed with the firmware/kernel updates since last time or still persist?
OrelSokolov commentedon Feb 28, 2025
@ujfalusi Yes! It is fixed!
Thank you all for your help!!!!