Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Did the new kernel break sound cards? (Read 1277 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Did the new kernel break sound cards?

I had an issue with sound not working out my headphone jack, went and tried a bunch of stuff. dmesg didn't have any sound related errors. All the sound mixers showed output in spite of me not hearing anything through the headphones.

I ended up downgrading the kernel and it works again...

My sound card is an ALC295 in the ASUS GL503VD-DB71. Mostly wanna find out if it was upstream so I know where to poke.

Re: Did the new kernel break sound cards?

Reply #1
I have the same issue.

Code: [Select]
uname -a
Linux a3seclaptop 5.7.10-artix1-1 #1 SMP PREEMPT Thu, 23 Jul 2020 15:41:52 +0000 x86_64 GNU/Linux

My soundcard is ALC256 in Assus X514U.

When I connect Jack the sound isn't working.
Artix Linux Colombia

Re: Did the new kernel break sound cards?

Reply #2
In my case happens when I connect Jack all outputs were muted. I just had to start "alsamixer" and unmuted.
Artix Linux Colombia

Re: Did the new kernel break sound cards?

Reply #3
I suddenly have no sound (alsa only here) as well. Checked alsamixer and everything was already unmuted and set to the correct device. Unfortunately in my case, downgrading the kernel didn't solve it. In fact I've been on 5.7.10 for a while now with sound. It's something else. I'll try downgrading everything in my pacman.log but I struggle to see how anything I upgraded yesterday would have affected sound.

Re: Did the new kernel break sound cards?

Reply #4
Nevermind, my issue is purely hardware related (headphones in the same card work fine; suspect it's a dead cable). This is just a weird coincidence...

Re: Did the new kernel break sound cards?

Reply #5
Working here - but I did press the volume mute button on my laptop the other day, which then later confused me as to why I had to unmute it in alsamixer until I remembered what I had done. It's probably not the cause, but you could check any hardware switches / buttons too.

Re: Did the new kernel break sound cards?

Reply #6
Lemme clarify, this is just an issue with the headphone jack. I can get the laptop speakers working just fine, but it doesn't jive well when I am trying to use a mic at the same time.

Re: Did the new kernel break sound cards?

Reply #7
So, I thought I was fine with the downgraded kernel, until my nvidia drivers started having problems...
I've gone back and tried other solutions I found, but still nothing through the headphones. Not sure exactly what is going on.

`dmesg` gives me this:
Code: [Select]
[    4.129589] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    4.129591] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.129592] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.129593] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.129594] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.129595] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    4.129596] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    4.421153] input: HDA Intel PCH Headset Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[    4.421306] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[    4.421452] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[    4.421602] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[    4.421728] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[    4.421858] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[    4.421986] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22

Re: Did the new kernel break sound cards?

Reply #8
Some people seem to use nvidia-dkms or dkms or something which might work better with different kernel versions. You could also downgrade and hold the other kernel related packages. There are lots of varieties of kernel in the AUR, also there is a LTS kernel in the repos:
system/linux-lts 5.4.52-1
    The LTS Linux kernel and modules
and it has various drivers for it like the regular kernel, so it would be a good place to start.

Re: Did the new kernel break sound cards?

Reply #9
seems as kernel bug....  If newest kernel works not and previous kernel works, it's a regression and  should be reported in bugzilla.kernel.org

Newest patch of kernel -  5.7.11-  fixed today for example this bug:     ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung Notebook Pen S (Fixed no headphone sound bug on laptop Samsung Notebook Pen S). I think, your problem will be similar

Re: Did the new kernel break sound cards?

Reply #10
can you try edit or create /etc/modprobe.d/alsa-base.conf"

and add :
Code: [Select]
options snd-hda-intel model=laptop-dmic

reboot and try ?

anoher solution:
install alsa-tools, launch "HDAJackRetask" (part of alsa-tools), select codec ALC256,
checked "Show unconnected pins" then check pin and set what you need"(probably 0x19 and select "Microphone) then hit "Apply now"

 

Re: Did the new kernel break sound cards?

Reply #11
Some people seem to use nvidia-dkms or dkms or something which might work better with different kernel versions. You could also downgrade and hold the other kernel related packages. There are lots of varieties of kernel in the AUR, also there is a LTS kernel in the repos:
system/linux-lts 5.4.52-1
    The LTS Linux kernel and modules
and it has various drivers for it like the regular kernel, so it would be a good place to start.

 Thanks for the suggestion, installing dkms allowed me to regress properly, it was a small thorn in my side that it acted like a "one or the other" situation.