Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound stopped working after world update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
vkuzkokov
n00b
n00b


Joined: 04 May 2020
Posts: 4
Location: Munich

PostPosted: Mon May 04, 2020 10:52 am    Post subject: Sound stopped working after world update Reply with quote

previous one was ~6 weeks ago.
aplay --list-devices gives me no devices.
Code:
$ lscpi | grep -i audio
00:1b.0 Audio device: Intel Corporation C610/X99 series chipset HD Audio Controller (rev 05)
02:00.1 Audio device: NVIDIA Corporation GK110 High Definition Audio Controller (rev a1)

I've been using the first one (motherboard sound jack) but would be ok with making the second one (monitor sound jack?) working instead.

At first I was blaming kernel upgrade (4.19.97->5.4.28) but launching the old one didn't help.
I'm just not sure where to go from here.
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1184
Location: Italy

PostPosted: Mon May 04, 2020 1:29 pm    Post subject: Reply with quote

Welcome to the Gentoo forums.

Please post your current kernel configuration. You can use wgetpaste, for example.
Back to top
View user's profile Send private message
soundrolf
n00b
n00b


Joined: 08 Sep 2016
Posts: 49

PostPosted: Wed May 06, 2020 9:04 am    Post subject: Reply with quote

First do:

Code:
lspci -nnpk


Search the line for your soundcard: this is my line on my computer:
Code:
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384]


Copy the number inside the brackets like this:

Code:
lspci -d 1002:4383 -v


The result looks like this on my computer:

Code:
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
   Subsystem: Gigabyte Technology Co., Ltd SBx00 Azalia (Intel HDA)
   Flags: bus master, slow devsel, latency 32, IRQ 16
   Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

If you don't have a kernelmodule snd_hda_intel, you must recompile your kernel

Code:

Device Drivers --->
    <*> Sound card support
        <*> Advanced Linux Sound Architecture --->
            [*] PCI sound devices  --->
                Select the driver for your audio controller.
            HD-Audio  --->
                Select a codec or enable all and let the generic parse choose the right one:
                [*] Build Realtek HD-audio codec support
                [*] ...
                [*] Build Silicon Labs 3054 HD-modem codec support
                [*] Enable generic HD-audio codec parser
General setup --->
    [*] System V IPC


After recompiling your kernel you should have the snd_hda_intel module, sound should work

Recheck it with:
Code:

lspci -d 1002:4383 -v
lspci -d 1002:4383 -vmmnn

Will solve your issue

This is your soundcard Audio device: Intel Corporation C610/X99 series chipset HD Audio Controller (rev 05) need snd_hda_intel module

Check if CONFIG_SND_HDA is set in your Kernel config file

Code:
less /usr/src/linux/.config | grep CONFIG_SND_HDA


My output below:

Code:
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDA_INTEL_DETECT_DMIC is not set
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_PREALLOC_SIZE=512


[Moderator edit: added [code] tags to preserve output layout. -Hu]

Thank you Hu

Regards

soundrolf
Back to top
View user's profile Send private message
vkuzkokov
n00b
n00b


Joined: 04 May 2020
Posts: 4
Location: Munich

PostPosted: Wed May 20, 2020 5:45 am    Post subject: Reply with quote

Code:

00:1b.0 Audio device: Intel Corporation C610/X99 series chipset HD Audio Controller (rev 05)
        Subsystem: Gigabyte Technology Co., Ltd C610/X99 series chipset HD Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 32, NUMA node 0
        Memory at fb530000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
lspci: Unable to load libkmod resources: error -12


kernel config: http://dpaste.com/04SCFK6
Of interest is that CONFIG_SND_HDA_INTEL=y

switching it to "m" makes lspci error message disappear but otherwise doesn't help
Back to top
View user's profile Send private message
soundrolf
n00b
n00b


Joined: 08 Sep 2016
Posts: 49

PostPosted: Wed May 20, 2020 10:44 am    Post subject: Reply with quote

This is your setting
Code:

CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_INTEL_DETECT_DMIC is not set
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_HDMI is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_PREALLOC_SIZE=64

Change it to values of my posted snipplet

Regards

soundrolf
Back to top
View user's profile Send private message
soundrolf
n00b
n00b


Joined: 08 Sep 2016
Posts: 49

PostPosted: Wed May 20, 2020 2:28 pm    Post subject: Reply with quote

This is your original Kernel .config with the new values inside.

Download file, klick first on 'Raw text': http://dpaste.com/2JGDN59

Copy file 2JGDN59.txt to /usr/src/linux/.config as root
Code:
cp 2JGDN59.txt /usr/src/linux/.config

Recompile your Kernel

Regards

soundrolf
Back to top
View user's profile Send private message
vkuzkokov
n00b
n00b


Joined: 04 May 2020
Posts: 4
Location: Munich

PostPosted: Wed May 20, 2020 7:33 pm    Post subject: Reply with quote

I got

Code:
.config:2156:warning: symbol value 'm' invalid for SND_USB


Otherwise, it's the same
Back to top
View user's profile Send private message
vkuzkokov
n00b
n00b


Joined: 04 May 2020
Posts: 4
Location: Munich

PostPosted: Tue Jun 16, 2020 1:24 pm    Post subject: Reply with quote

It turned out to be much simpler: I somehow lost "audio" group on my user
Code:
# usermod -a -G audio vkuzkokov

fixed all. I am curious how that happened though.
Back to top
View user's profile Send private message
jack0071
n00b
n00b


Joined: 18 Jun 2020
Posts: 2

PostPosted: Thu Jul 02, 2020 10:40 am    Post subject: Reply with quote

Stage 1: Use the search box on your taskbar and quest for investigate. In the outcomes, you should see a choice that says Troubleshoot settings. Select this.

Stage 2: In the accompanying windows, take a gander at the Get fully operational area for the alternative that says Playing Audio, and select it. At that point select Run the Troubleshooter.

Stage 3: another troubleshooter symbol will open up on your taskbar. Select it to open the new window. You will presently have an alternative to investigate various types of associated speakers, remembering worked for speakers and earphones. As a rule you'll need to pick your default speakers, yet you can modify this to your gadget. Select Next when you are finished.

Stage 4: Let the troubleshooter run, and afterward observe what it needs to state. The troubleshooter may offer guidance on improving your sound quality, or pinpoint issues with your drivers that should be dealt with. Attempt what it proposes to check whether this helps fix your concern.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum