Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Nvidia HDMI no sound recent install
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
boardmaster357
n00b
n00b


Joined: 20 Jan 2021
Posts: 10
Location: Mesa, Arizona

PostPosted: Wed Jan 20, 2021 7:59 pm    Post subject: [SOLVED] Nvidia HDMI no sound recent install Reply with quote

I have been searching the forums trying to fix my sound, but no luck.

Here are my system details:

In dmesg it says: hdaudio hdaudioC1D0: Unable to bind the codec

Code:
alsa-info.sh

http://alsa-project.org/db/?f=cd05d8795021e694be2c1412ce1293437fd945b9

Code:
uname -r
5.4.80-gentoo-r1


Code:
aplay -l
aplay: device_list:274: no soundcards found...


Code:
lspci -v | grep -A7 -i "audio"
2d:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3896
        Flags: fast devsel, IRQ 62
        Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
--
2f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
        Subsystem: Micro-Star International Co., Ltd. [MSI] Starship/Matisse HD Audio Controller
        Flags: fast devsel, IRQ 63
        Memory at fca00000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel


Code:
head -1 /proc/asound/card*/codec*
head: cannot open '/proc/asound/card*/codec*' for reading: No such file or directory


Code:
grep SND_HDA /usr/src/linux/.config
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
# 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=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
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=y
CONFIG_SND_HDA_DSP_LOADER=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64


Here is my entire kernel config if needed: https://dpaste.com/HKD4XGJA2

Thanks for your help!


Last edited by boardmaster357 on Thu Jan 21, 2021 4:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1217
Location: Massachusetts USA

PostPosted: Wed Jan 20, 2021 9:01 pm    Post subject: Reply with quote

Change the sound driver from builtin to module.
Back to top
View user's profile Send private message
boardmaster357
n00b
n00b


Joined: 20 Jan 2021
Posts: 10
Location: Mesa, Arizona

PostPosted: Wed Jan 20, 2021 9:08 pm    Post subject: Reply with quote

How do I change the sound driver from builtin to module?
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1217
Location: Massachusetts USA

PostPosted: Wed Jan 20, 2021 10:42 pm    Post subject: Reply with quote

Use make config and
change CONFIG_SND_HDA=y to CONFIG_SND_HDA=m
Back to top
View user's profile Send private message
boardmaster357
n00b
n00b


Joined: 20 Jan 2021
Posts: 10
Location: Mesa, Arizona

PostPosted: Wed Jan 20, 2021 11:22 pm    Post subject: Reply with quote

I used
Code:
make menuconfig
and changed:
Code:
Device Drivers
  <M> Sound Card Support
    <M> Advanced Linux Sound Architecture


Code:
mount /boot
make && make modules_install
make install


The dmesg error seems to have gone away, but I still have no sound.
Here is my dmesg output: https://dpaste.com/DB3895YCK

Code:
alsa-info.sh

http://alsa-project.org/db/?f=56d44e4798a59a4f8e07b7a7bfbc8de7566aa422

Code:
grep SND_HDA /usr/src/linux/.config
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=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
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_DSP_LOADER=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
Back to top
View user's profile Send private message
boardmaster357
n00b
n00b


Joined: 20 Jan 2021
Posts: 10
Location: Mesa, Arizona

PostPosted: Thu Jan 21, 2021 4:13 pm    Post subject: Reply with quote

Code:
modprobe snd-hda-intel
loads sound, but udev does not load this automatically for some reason.
Back to top
View user's profile Send private message
boardmaster357
n00b
n00b


Joined: 20 Jan 2021
Posts: 10
Location: Mesa, Arizona

PostPosted: Thu Jan 21, 2021 4:32 pm    Post subject: Reply with quote

running
Code:
depmod -a

fixed the problem.
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