Comet Lake PCH cAVS - no sound

Hi,
I have no sound after installing Leap 15.3 on my Dell computer. I tried to configure the sound with Yast but it returns an error:


An error occurred during the installation of Comet Lake PCH cAVS. The  kernel module snd-soc-skl for sound support could not be loaded. This  can be caused by incorrect module parameters, including invalid IO or  IRQ parameters

Tried following the steps outlined here:
https://en.opensuse.org/SDB:Audio_troubleshooting


# rpm -q alsa alsa-utils alsa-firmware 
alsa-1.2.4-3.13.x86_64 
alsa-utils-1.2.4-3.1.x86_64 
alsa-firmware-1.2.4-1.41.noarch 

and

# systemctl start alsasound

and:


speaker-test -Dplug:front -c2 -l5 -twav 
 
speaker-test 1.2.4 
 
Playback device is plug:front 
Stream parameters are 48000Hz, S16_LE, 2 channels 
WAV file(s) 
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front 
Playback open error: -2, There is no such file or directory

Next step:

speaker-test -c2 -l5 -twav 
 
speaker-test 1.2.4 
 
Playback device is default 
Stream parameters are 48000Hz, S16_LE, 2 channels 
WAV file(s) 
Rate set to 48000Hz (requested 48000Hz) 
Buffer size range from 96 to 1048576 
Period size range from 32 to 349526 
Using max buffer size 1048576 
Periods = 4 
was set period_size = 262144 
was set buffer_size = 1048576 
 0 - Front Left 
 1 - Front Right 
Time per period = 4,432504 
 0 - Front Left 
 1 - Front Right 
Time per period = 4,391120 
 0 - Front Left 
 1 - Front Right 
Time per period = 4,391544 
 0 - Front Left 
 1 - Front Right 
Time per period = 4,391972 
 0 - Front Left 
 1 - Front Right 
Time per period = 4,392334 
  • no sound.

And:


 aplay -L 
null 
    Discard all samples (playback) or generate zero samples (capture) 
speexrate 
    Rate Converter Plugin Using Speex Resampler 
pulse 
    PulseAudio Sound Server 
upmix 
    Plugin for channel upmix (4,6,8) 
default 
    Default ALSA Output (currently PulseAudio Sound Server) 
cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version k5.3.18-59.10-default.
cat /proc/asound/modules 

returns nothing.

My Dell:


inxi -Fzx 
System: 
  Kernel: 5.3.18-59.10-default x86_64 bits: 64 compiler: gcc v: 7.5.0  
  Desktop: Gnome 3.34.5 Distro: openSUSE Leap 15.3  
Machine: 
  Type: Desktop System: Dell product: Precision 3640 Tower v: N/A  
  serial: <filter>  
  Mobo: Dell model: 0D4MD1 v: A02 serial: <filter> UEFI: Dell v: 1.10.0  
  date: 10/07/2021  
CPU: 
  Topology: Quad Core model: Intel Core i3-10100 bits: 64 type: MT MCP  
  arch: N/A L2 cache: 6144 KiB  
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx  
  bogomips: 57600  
  Speed: 800 MHz min/max: 800/4300 MHz Core speeds (MHz): 1: 800 2: 800  
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800  
Graphics: 
  Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: Dell  
  driver: i915 v: kernel bus ID: 00:02.0  
  Display: wayland server: X.org 1.20.3 driver: i915  
  note: display driver n/a - try sudo/root resolution: <xdpyinfo missing>  
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (CML GT2)  
  v: 4.6 Mesa 20.2.4 direct render: Yes  
Audio: 
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: N/A  
  bus ID: 00:1f.3  
  Sound Server: ALSA v: k5.3.18-59.10-default  
Network: 
  Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k  
  port: efa0 bus ID: 00:1f.6  
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>  
Drives: 
  Local Storage: total: 238.47 GiB used: 6.59 GiB (2.8%)  
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB  
  ID-2: /dev/nvme1n1 vendor: Micron model: 2300 NVMe 256GB size: 238.47 GiB  
Partition: 
  ID-1: / size: 20.00 GiB used: 6.20 GiB (31.0%) fs: btrfs  
  dev: /dev/nvme0n1p3  
  ID-2: /home size: 35.18 GiB used: 292.7 MiB (0.8%) fs: ext4 dev: /dev/dm-0  
  ID-3: /opt size: 20.00 GiB used: 6.20 GiB (31.0%) fs: btrfs  
  dev: /dev/nvme0n1p3  
  ID-4: /tmp size: 20.00 GiB used: 6.20 GiB (31.0%) fs: btrfs  
  dev: /dev/nvme0n1p3  
  ID-5: /var size: 20.00 GiB used: 6.20 GiB (31.0%) fs: btrfs  
  dev: /dev/nvme0n1p3  
Swap: 
  ID-1: swap-1 type: partition size: 4.00 GiB used: 0 KiB (0.0%)  
  dev: /dev/nvme0n1p4  
Sensors: 
  System Temperatures: cpu: 27.8 C mobo: N/A  
  Fan Speeds (RPM): cpu: 503 fan-2: 1018 fan-3: 749  
Info: 
  Processes: 275 Uptime: N/A Memory: 15.35 GiB used: 1.51 GiB (9.8%)  
  Init: systemd runlevel: 5 Compilers: gcc: N/A Shell: bash v: 4.4.23  
  inxi: 3.1.00  

I found some information on the internet that this sound card causes problems that are either unsolved or pertain to other distributions and I am unable to apply them.

Please help :slight_smile:

What about these:

**erlangen:~ #** **systemctl list-units '*sound*'** 
  UNIT                                                                          LOAD   ACTIVE SUB     DESCRIPTION                                                            
  sys-devices-pci0000:00-0000:00:01.0-0000:01:00.1-sound-card1-controlC1.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1 
  sys-devices-pci0000:00-0000:00:1f.3-sound-card0-controlC0.device              loaded active plugged /sys/devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0             
  sound.target                                                                  loaded active active  Sound Card 

LOAD   = Reflects whether the unit definition was properly loaded. 
ACTIVE = The high-level unit activation state, i.e. generalization of SUB. 
SUB    = The low-level unit activation state, values depend on unit type. 
**3 loaded units listed.** Pass --all to see loaded but inactive units, too. 
To show all installed unit files use 'systemctl list-unit-files'. 
**erlangen:~ #** **inxi -zaA** 
**Audio:     Device-1:** Intel 100 Series/C230 Series Family HD Audio **vendor:** ASRock **driver:** snd_hda_intel **v:** kernel 
           **bus-ID:** 00:1f.3 **chip-ID:** 8086:a170 **class-ID:** 0403 
           **Device-2:** AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] **vendor:** Sapphire Limited 
           **driver:** snd_hda_intel **v:** kernel **bus-ID:** 01:00.1 **chip-ID:** 1002:aae0 **class-ID:** 0403 
           **Sound Server-1:** ALSA **v:** k5.16.1-1-default **running:** yes 
           **Sound Server-2:** PulseAudio **v:** 15.0 **running:** yes 
           **Sound Server-3:** PipeWire **v:** 0.3.43 **running:** no 
**erlangen:~ #**

A lot has changed since the first entry:

  1. I removed KVM and XEN - maybe that’s where the problems with the actual kernel modules were coming from?
  2. I have installed pavucontrol. At that moment it was showing “deaf output” on the list of devices.
  3. In YAST I tried to configure all modules that appeared after selecting Intel HDA driver (snd-hda-intel). Success with ESB2 (HDA).
  4. At this point, the list in pavucontrol has a lot of options to choose from, most of them with the “not available” tag, but there was, for example, “Digital Output Stereo (HDMI)” - because I have a monitor connected using a Display Port (Dell)> HDMI (iiyama).
  5. The sound appeared in the speakers of the monitor, but if I plug the headphones into the 3.5 "jack - the sound goes to the headphones, but after disconnecting them, the monitor does not play until you manually select the output in pavucontrol.
  6. Thank You, karlmistelberger! :slight_smile:
  7. In this situation, the command returns me:

systemctl list-units '*sound*' 
  UNIT                                                             LOAD   ACTIVE SUB     DESCRIPTION                                                
  sys-devices-pci0000:00-0000:00:1f.3-sound-card0-controlC0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0 
  sys-devices-platform-snd_dummy.0-sound-card1-controlC1.device    loaded active plugged /sys/devices/platform/snd_dummy.0/sound/card1/controlC1    
  sound.target                                                     loaded active active  Sound Card                                                 
 
LOAD   = Reflects whether the unit definition was properly loaded. 
ACTIVE = The high-level unit activation state, i.e. generalization of SUB. 
SUB    = The low-level unit activation state, values depend on unit type. 
 
3 loaded units listed. Pass --all to see loaded but inactive units, too. 
To show all installed unit files use 'systemctl list-unit-files'. 
  1. There is a significant improvement but I am still not happy that the sound has to be adjusted manually. Also, I don’t know why the missing kernel modules suddenly appeared:
cat /proc/asound/modules 
 0 snd_hda_intel 
 1 snd_dummy 

You are too ambitious! Sit back and rethink. My suggestion was to try a default install first, see also https://forums.opensuse.org/showthread.php/554703-Testing-a-new-distribution-The-same-procedure-as-everytime Forget about pavucontrol for the moment. “LANG=C systemsettings5” > Audio tells you all. Invoke as a normal user, use LANG=C for English menus.

For some reason your installation tried to use snd-soc-skl instead of snd_hda_intel. Obviously yast2 fixed this. Watch for new entries here:

**erlangen:~ #** ll /etc/modprobe.d/    
total 44 
-rw-r--r-- 1 root root  128 Jan  7 18:16 50-bluetooth.conf 
-rw-r--r-- 1 root root   33 Jan  7 17:32 50-ipw2200.conf 
-rw-r--r-- 1 root root   34 Jan  7 17:32 50-iwl3945.conf 
-rw-r--r-- 1 root root  559 Jan 13 00:26 50-libmlx4.conf 
-rw-r--r-- 1 root root   18 Jan  7 17:32 50-prism54.conf 
-rw-r--r-- 1 root root  262 Jul  7  2021 50-sound.conf 
-rw-r--r-- 1 root root    0 Jul  7  2021 50-sound.conf.YaST2save 
-rw-r--r-- 1 root root   54 Nov 27  2020 50-yast.conf 
-rw-r--r-- 1 root root   53 Nov 27  2020 50-yast.conf.YaST2save 
-rw-r--r-- 1 root root 1004 Jan  6 16:56 mlx4.conf 
-rw-r--r-- 1 root root   92 Jan 13 00:26 truescale.conf 
-rw-r--r-- 1 root root  674 Jul 21  2021 tuned.conf 
**erlangen:~ #** 

Show the following:

**erlangen:~ #** inxi -zaA                   
**Audio:     Device-1:** Intel 100 Series/C230 Series Family HD Audio **vendor:** ASRock **driver:** snd_hda_intel **v:** kernel 
           **bus-ID:** 00:1f.3 **chip-ID:** 8086:a170 **class-ID:** 0403 
           **Device-2:** AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] **vendor:** Sapphire Limited 
           **driver:** snd_hda_intel **v:** kernel **bus-ID:** 01:00.1 **chip-ID:** 1002:aae0 **class-ID:** 0403 
           **Sound Server-1:** ALSA **v:** k5.16.1-1-default **running:** yes 
           **Sound Server-2:** PulseAudio **v:** 15.0 **running:** yes 
           **Sound Server-3:** PipeWire **v:** 0.3.43 **running:** no 
**erlangen:~ #** 



http://www.mistelberger.net/chillin.svg

To OP: try to use newer kernel. Or try to use TW.
Or https://bbs.archlinux.org/viewtopic.php?id=261306
https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html

Hi,

Ok, I reinstalled the system - I had to make a new partition layout anyway. I tested on several desktop environments (LXDE, Gnome, Mate) and the sound appears. The problem is that it targets stereo output by default, not HDMI.
After connecting the headphones via the 3.5 jack connector, the sound goes to them, but after disconnecting, it does not return to HDMI, but to the stereo output.

Each of the aforementioned graphics environments has an out of the box tool that you can set the audio to HDMI output.
The only problem at the moment is that it doesn’t happen automagically but requires user intervention.

Thank you, I will try to check these solutions, except for TW - I have a trauma to rolling-release distribution - that’s why I stuck to Debian stable and then OpenSuSe for years;)

The desktop of least annoyance is KDE. I stick to that.

TW - I have a trauma to rolling-release distribution - that’s why I stuck to Debian stable and then OpenSuSe for years.
This strategy is not supported by evidence. With newer hardware Tumbleweed is the smoother experience. BTW, it’s openSUSE:

Operating System: openSUSE Tumbleweed 20220204
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.4-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series

Yes you are right: openSUSE
I believe that TW works flawlessly for you, I didn’t test it because I had a bad experience with another rolling-release distribution.

Since then, I have been sticking to stable distributions for many years. I am willing to spend a few days fine-tuning the system but then expect trouble-free operation.

I don’t understand the idea behind the creators of KDE or Gnome. I don’t need bells, ribbons, pop-ups …

Besides, I had problems with these environments on my old computer - they were freezing or not working steadily. That’s why I chose Mate.

I tested Gnome on a new computer - I managed to hang it 3 times today when I tried to recover system from a snapshot - total screen freeze, which only a hard reset helped.

In view of these facts, I will probably abandon Linux - I no longer want to invest time (which I do not have) in solving such trivial problems as no sound or a crashing desktop environment.

Trial and error doesn’t work. Tumbleweed works pretty flawlessly for everybody sticking to engineering principles.

I don’t understand the idea behind the creators of KDE or Gnome. I don’t need bells, ribbons, pop-ups …

With KDE turn off anything you don’t need. By the way KDE default configuration runs smoothly even on the smallest and cheapest Intel Core i3-4130.

I presume you need assistance.

No, tkank You. Just getting windows with a new pc no need linux anymore.

Thanks to windows, my wife will use the computer or connect the iPhone without any problems.

Thank you for your help so far!

I was having trouble with KDE on my old computer. I wanted to give it a chance on a new one, but while configuring KMail I got a message about Akonadi server crash.

I know there is a real chance for a final solution to these problems, but … I feel discouraged at the outset.

Changing the computer, changing the desktop environment, and a second system into a dual boot - just too much of that.

I presume you need assistance.

No, tkank You. Just getting windows with a new pc no need linux anymore.

Thanks to windows, my wife will use the computer or connect the iPhone without any problems.

Thank you for your help so far!