Intel Audio Issues

Hi, I recently install fedora in my laptop Huawei MateBook D14. And I dont have audio. The icon in the top-left don’t is visible and in the setting doesn’t appear any sound device.

$ lspci -vnn | grep -A 1 -i audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Comet Lake PCH-LP cAVS [8086:02c8]
	Subsystem: QUANTA Computer Inc Device [152d:1260]
--
	Kernel driver in use: sof-audio-pci-intel-cnl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl

Also, when i enter in alsamixer appears the message:

I hope you can help me. If you need more information, let me know.
Thanks!

Please check if wireplumber is started (in terminal):
systemctl --user status wireplumber.*

if not start it with :
systemctl --user start wireplumber.service

Thanks for the response, but appears that is started.

Would you like to run aplay -l, aplay -L, and wpctl status?

I tried i got this:

AYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 1: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 2: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$  aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)

$ wpctl status
PipeWire 'pipewire-0' [0.3.40, ivan@fedora, cookie:2478472430]
 └─ Clients:
        31. WirePlumber                         [0.3.40, ivan@fedora, pid:1726]
        32. WirePlumber [export]                [0.3.40, ivan@fedora, pid:1726]
        43. GNOME Shell Volume Control          [0.3.40, ivan@fedora, pid:1605]
        44. GNOME Volume Control Media Keys     [0.3.40, ivan@fedora, pid:1850]
        45. xdg-desktop-portal                  [0.3.40, ivan@fedora, pid:2609]
        46. Google Chrome input                 [0.3.40, ivan@fedora, pid:2879]
        47. Mutter                              [0.3.40, ivan@fedora, pid:1605]
        48. wpctl                               [0.3.40, ivan@fedora, pid:3485]

Audio
 ├─ Devices:
 │      40. Comet Lake PCH-LP cAVS              [alsa]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      38. Video Capture 3                     [v4l2]
 │      39. Metadata 3                          [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   41. Video Capture 3                    
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Would you like to test with:

aplay -D plughw:0,1 /usr/share/sounds/alsa/Front_Center.wav

aplay -D plughw:0,2 /usr/share/sounds/alsa/Front_Center.wav

aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav

If you get message like aplay: main:xxx: audio open error: Device or resource busy, close all opened windows and leave only the terminal. Wait a moment and try again.

Take a note which one give a sound.

1 Like

No one gave me a sound.
If it is usefull, that is what appears in sound settings:

Did you try just with your boot device (live image) if you have sound?

If you have sound please make an inxi -Fzx in terminal and post the output as </> Preformatted text here.

For comparison would be good, if you make it also with the not working, installed version.

If you okay to follow (because it’s possible to make frustration :sweat_smile: ) I’ll explain first about what just we did.

When you run aplay -l it will give us available hardware that detected by the system. Then when we run aplay -D plughw:0,1 /usr/share/sounds/alsa/Front_Center.wav it’s test for each hardware available.

Notice the result aplay -l that mention card 0: sofhdadsp ...., device 1: HDMI ... , it’s translated to plughw:cardnumber,devicenumber or plughw:0,1.


Now you could try run this line sudo grubby --args="snd-intel-dspcfg.dsp_driver=1" --update-kernel=ALL.

After that check it with sudo grubby --info=ALL and you should get couple messages. Make sure that you have line reported args="<any-other-parameters> snd-intel-dspcfg.dsp_driver=1" . Then reboot.

Run aplay -l again. Then check each device presented with play -D plughw:X,Y /usr/share/sounds/alsa/Front_Center.wav with X is card number and Y is device number. Make a note which work.

Source: Sound Open Firmware

1 Like

Well, I executed and i have this:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

That is diferent to what i had before. But no one gave me a sound. :pensive:

As expected. Same like gemini lake. That’s why I said it could be frustating.

Would you like to run $ lspci -vnn again? To check the driver.

Update:

You could also try with:

sudo grubby --args="snd-intel-dspcfg.dsp_driver=3"  --remove-args="snd-intel-dspcfg.dsp_driver=1" --update-kernel=ALL

Then try again with aplay -D ......

If this also not work, you could remove custom arguments above with:

sudo grubby --remove-args="snd-intel-dspcfg.dsp_driver=3" --update-kerenl=ALL
1 Like

Ok, first i checked the driver:

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Comet Lake PCH-LP cAVS [8086:02c8]
	Subsystem: QUANTA Computer Inc Device [152d:1260]
	Flags: bus master, fast devsel, latency 32, IRQ 140
	Memory at b121c000 (64-bit, non-prefetchable) [size=16K]
	Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl

Then, I executed the commands below. But I had no sounds. :pensive:

Ok I will try it

Hi, I tried to reach anyone from Fedora Bodhi related to alsa-sof-firmware, then the maintainer asked you to file bug specific to alsa-sof-firmware on https://bugzilla.redhat.com/. Or maybe you could go to https://bodhi.fedoraproject.org/updates/FEDORA-2021-cfd94b52b0 to reach out the maintener.

1 Like

Ok i will do it. Thanks a lot for help! :grin:

Please, create a new bug for the alsa-sof-firmware package in our bugzilla - https://bugzilla.redhat.com for the alsa-sof-firmware package and attach output from alsa-info.sh --no-upload command (as root) there for the further analysis of your problem. Thank you.

I have already published in bugzilla

2 Likes

Thank you. Could you share the bug number ? It seems that I am not assigned to it.

1 Like

This is the bug number: 2036148.

Hi!
Any progress in this problem?
Just get new Huawei d14 laptop and have the same problem - no sound in fedora 35, 36 … even in ubuntu 20.04
Sympthoms are the same … looks like 100% same problem … ((
And I have no access to the bug info from prev. message…