View previous topic :: View next topic |
Author |
Message |
cygan n00b
Joined: 23 Aug 2023 Posts: 0
|
Posted: Thu Aug 24, 2023 10:10 pm Post subject: Sound card not detected |
|
|
Hello,
I was trying to get audio working on my Gentoo Linux installation. I installed alsa-utils and pavucontrol. Pavucontrol can't gen any hardware audio devices and commands like , Code: | cat /proc/asound/cards | or [/code]return that there is no sound cards on my system. I have followed official gentoo wiki articles for PulseAudio and for ALSA
Already tried using solutions for similar problems, but I had no luck.
My motherboard is Gigabyte Z390 D
Processor: i5 9400F
Graphics card: Nvidia Geforce GTX 1650
Here is my kernel .config
Output of
Code: | lspci |grep -i audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
|
and
Code: | lspci -v
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 86b9
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 53080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
DeviceName: Onboard - Sound
Subsystem: Gigabyte Technology Co., Ltd Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 129
Memory at 53310000 (64-bit, non-prefetchable) [size=16K]
Memory at 53100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel |
Code: | dmesg |grep -iE "snd|firmware"
[ 2.986440] Loading firmware: nvidia/tu117/nvdec/scrubber.bin
[ 2.986451] Loading firmware: nvidia/tu117/acr/bl.bin
[ 2.986455] Loading firmware: nvidia/tu117/acr/bl.bin
[ 2.986459] Loading firmware: nvidia/tu117/acr/unload_bl.bin
[ 2.986464] nouveau 0000:01:00.0: pmu: firmware unavailable
[ 2.986539] nouveau 0000:01:00.0: gr: firmware unavailable
[ 2.986545] nouveau 0000:01:00.0: sec2: firmware unavailable
[ 3.473924] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 3.488050] snd_hda_intel 0000:01:00.1: Cannot probe codecs, giving up
[ 3.492781] Loading firmware: regulatory.db
[ 3.493465] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.493467] snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up
[ 6.511031] Loading firmware: rtl_nic/rtl8168h-2.fw
|
I am still pretty new to kernel configuration and gentoo.
Thank you for your attention! |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Thu Aug 24, 2023 11:00 pm Post subject: |
|
|
cygan,
Welcome to Gentoo Forums !
I have also an Intel CPU with a Gigabyte mainboard. I have seen this in your dmesg:
Code: | [ 3.473924] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 3.488050] snd_hda_intel 0000:01:00.1: Cannot probe codecs, giving up |
... BUT ... you have all codecs enabled:
Code: | CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y |
(You will need only REALTEC, HDMI and GENERIC)
This is not necessary:
Code: | CONFIG_SND_INTEL8X0=y |
... Now, the question is why you kernel cannot probe it ? I see two big differences to my kernel .config:
Code: | CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_SVM is not set
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
# CONFIG_IRQ_REMAP is not set |
IOMMU is important ... please enable ALL
You have disabled:
Code: | # CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# end of CPU Frequency scaling |
That is not good. See mine:
Code: | #
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
#
# CPU frequency scaling drivers
#
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
# CONFIG_X86_AMD_PSTATE is not set
# CONFIG_X86_AMD_PSTATE_UT is not set
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set |
Your i5-9400F has no integrated GPU ... so please disable all i915 modules.
If this doesnt help I recommend:
1. Boot an UbuntuLiveCD and do:
a) "lsmod" (notice all modules)
b) "lspci -k" (notice all kernel driver in use)
2. Give us these infos + your actual (=with above changes) kernel .config and a complete "dmesg" from gentoo boot.
Please use for big files "wgetpaste" => https://wiki.gentoo.org/wiki/Wgetpaste |
|
Back to top |
|
|
|
|
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
|
|