Bug 26239 - Kernel above 5.5.15-1.mga8 results in no sound with some snd-intel modules configuration
Summary: Kernel above 5.5.15-1.mga8 results in no sound with some snd-intel modules co...
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 27748 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-22 22:24 CET by Ezequiel Partida
Modified: 2020-12-07 11:28 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment: Manual fix in Comment 15: echo "options snd-intel-dspcfg dsp_driver=1" > /etc/modprobe.d/alsa.conf


Attachments

Description Ezequiel Partida 2020-02-22 22:24:03 CET
Description of problem:

I upgraded from Mageia 7.1 to Mageia 8 and sound worked fine until latest updates around 2 weeks ago.

I did a fresh reinstall using the network non free installer and still no sound.

HardDrake shows the data below.. While Windows 10 says that I have 2 audio Cards (Intel and Realtek) This is Lenovo M720q Desktop Type 10T7 and support.lenovo.com shows Realtek Drivers only. I will boot using Mageia 7.1 Live USB Stick to check what Mageia 7.1 shows.


Identification
Vendor: ‎Intel Corporation

Description: ‎Cannon Lake PCH cAVS

Media class: ‎Audio device

Driver
Module: ‎snd_hda_intel

Connection
Bus: ‎PCI

PCI domain: ‎0

Bus PCI #: ‎0

PCI device #: ‎31

PCI function #: ‎3

PCI revision: ‎0x10

Vendor ID: ‎0x8086

Device ID: ‎0xa348

Sub vendor ID: ‎0x17aa

Sub device ID: ‎0x312d
Comment 1 Lewis Smith 2020-02-23 20:12:27 CET
> I upgraded from Mageia 7.1 to Mageia 8 and sound worked fine until latest
> updates around 2 weeks ago.
When this sort of thing happens, it can help to identify which update(s) caused the problem by doing:
 $ rpm -qa --last | less
which shows all package dates, most recent first. If you know the date of the start of the problem, you can see which updates happened then.

Please do also:
 $ ps aux | grep pulseaudio
will check that PulseAudio is running.
 $ pactl stat
will check that you can connect to the PulseAudio daemon correctly. Ignore O/P.

CC: (none) => lewyssmith

Comment 2 Ezequiel Partida 2020-02-24 21:04:56 CET
Hello Lewis..

Thanks for the Tip on using $ rpm -qa --last | less.. I will use it next time instead of fresh reinstall.

 > $ ps aux | grep pulseaudio

ezequiel  2700  0.0  0.0 1474400 9912 ?        S<sl 10:05   0:00 /usr/bin/pulseaudio --daemonize=no
ezequiel 28253  0.0  0.0  12236   576 pts/0    S+   11:53   0:00 grep --color pulseaudio


 > $ pactl stat

Currently in use: 1 block containing 63.9 KiB bytes total.
Allocated during whole lifetime: 1010 blocks containing 4.0 MiB bytes total.
Sample cache size: 0 B

I did a pulseaudio --kill, pulseaudio --start and still no audio.

Regards
Comment 3 Lewis Smith 2020-02-25 20:27:53 CET
(In reply to Ezequiel Partida from comment #2)
> Thanks for the Tip on using $ rpm -qa --last | less.. I will use it next
> time instead of fresh reinstall.
You can still do it! The list is date ordered.  If you can remember the approximate date the problem appeared. Look for any package update at that time which looks relevant.

Thank you for the test outputs. They at least show that pulseaudio is running and accessible.

Having to assign this globally. No idea what more to suggest.

Assignee: bugsquad => pkg-bugs
Summary: No sound since moving to Mageia 8 Cauldron. => No sound since recent updates to Mageia 8 Cauldron.
CC: lewyssmith => (none)

Comment 4 Ezequiel Partida 2020-02-28 19:24:24 CET
Hello Lewis

The fresh install was done using network installation and I installed Cauldron Directly which never worked.

I will do a fresh Install from Mageia 7.1 and later upgrade to detech with package broke it.
Comment 5 Ezequiel Partida 2020-03-04 23:29:26 CET
Hello,

I did a fresh reinstall of Mageia 7.1 and everything worked great until the system got upgrated to kernel-desktop-5.5.6-2.mga7.

Regards
Ezequiel
Comment 6 Ezequiel Partida 2020-03-05 03:03:49 CET
I forgot to tell you that kernel-desktop-5.1.14-1.mga7 works great.!

Regards
Ezequiel
Comment 7 Ezequiel Partida 2020-03-05 07:20:25 CET
I just upgraded to Mageia 8 Cauldron and still no sound.

Rebooted with kernel-desktop-5.1.14-1.mga7 and it works great.

Sound is detected normally..

So something is missing on the newer kernels.

Regards
Ezequiel
Comment 8 José Jorge 2020-03-05 11:50:46 CET
(In reply to Ezequiel Partida from comment #7)
> Rebooted with kernel-desktop-5.1.14-1.mga7 and it works great.
> So something is missing on the newer kernels.

This seems an upstream regression. Can you try the kernel-linus?

Also, cna you ensure with alsamixer -c0 you have no muted channel that pulseaudio fails to unmute? (I've got this bug sometimes)

CC: (none) => lists.jjorge

Comment 9 Ezequiel Partida 2020-03-09 22:47:02 CET
Hello Jose Jorge,

with 5.5.8-desktop-1.mga8 alsamixer -c0 shows:

invalid card index: 0
try `alsamixer --help' for more information


>alsamixer (by itself)

ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

cannot open mixer: Connection refused

>pactl stat
Connection failure: Connection refused
pa_context_connect() failed: Connection refused


I just installed Kernel-linus to try.
Comment 10 Ezequiel Partida 2020-03-09 22:53:27 CET
Hello Again

I just installed Kernel-linux-5.4.20-1.mga8 and sound works great.

That means that 5.5.x-desktop-1.mga8 are  missing the drivers something.

Regards
Ezequiel Partida (ZekeMX)
Comment 11 Ezequiel Partida 2020-03-11 01:14:24 CET
Hi,

Will this be fixed on kernel-desltop-5.4.x?

Regards
Ezequiel Partida
Comment 12 Ezequiel Partida 2020-04-06 19:43:50 CEST
Hello,

I just upgrader to kernel-linus-5.5.15-1.mga8... and also no sound.

Regards
Ezequiel Partida
Comment 13 Dave Hodgins 2020-06-25 21:54:33 CEST
Assigning to kernel team since it works with older kernels

Assignee: pkg-bugs => kernel
CC: (none) => davidwhodgins

Comment 14 Thierry Vignaud 2020-06-26 14:53:11 CEST
What about current kernel 5.7?

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 15 Pascal Terjan 2020-06-26 15:35:00 CEST
Can you try running the following command and then reloading sound modules (or just rebooting)?

echo "options snd-intel-dspcfg dsp_driver=1" > /etc/modprobe.d/alsa.conf

CC: (none) => pterjan

Comment 16 Pascal Terjan 2020-06-26 15:44:21 CEST
(if this doesn't work you can try with =3 instead of =1)
Comment 17 Ezequiel Partida 2020-07-14 03:12:45 CEST
(In reply to Thierry Vignaud from comment #14)
> What about current kernel 5.7?

I just installed 5.7.8-desktop-1.mga8 and rebooted and same problem.
Comment 18 Ezequiel Partida 2020-07-14 03:19:27 CEST
(In reply to Pascal Terjan from comment #15)
> Can you try running the following command and then reloading sound modules
> (or just rebooting)?
> 
> echo "options snd-intel-dspcfg dsp_driver=1" > /etc/modprobe.d/alsa.conf

YOU ARE MY HERO PASCAL!!!

It WORKS!!!

Something is not setting up my sound card correctly.. But now it works like a charm..
Comment 19 Ezequiel Partida 2020-08-05 23:09:28 CEST
Thank You

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

Comment 20 Ezequiel Partida 2020-12-05 06:38:24 CET
just to le you know that I aldo found the next laptop that mageia also does not configura sound.. the same solution for the reported Desktop on this ticket solves the problem on the nex laptop.

X1 Carbon 7th Gen - (Type 20QD, 20QE) Laptop (ThinkPad) - Type 20QE

Regards
Comment 21 Aurelien Oudelet 2020-12-07 11:23:45 CET
*** Bug 27748 has been marked as a duplicate of this bug. ***
Comment 22 Aurelien Oudelet 2020-12-07 11:24:11 CET
Hi Ezequiel.

Can you provide here for both machines?

$ inxi -v4 -c6 -A

CC: (none) => ouaurelien
Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Aurelien Oudelet 2020-12-07 11:28:13 CET

Status comment: (none) => Manual fix in Comment 15: echo "options snd-intel-dspcfg dsp_driver=1" > /etc/modprobe.d/alsa.conf
Summary: No sound since recent updates to Mageia 8 Cauldron. => Kernel above 5.5.15-1.mga8 results in no sound with some snd-intel modules configuration


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