View previous topic :: View next topic |
Author |
Message |
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Fri Jul 10, 2020 12:48 am Post subject: {Solved - Ugly as Hell}Secret to Intel Icelake Sound |
|
|
I just replaced my Dell XPS 13 with a HP Spectre x360(13"). The basic install went flawlessly, everything is working with one glaring exception. I cannot get the sound to work. No device is detected. I know that the sound chip is detected by dmesg | grep audio
Code: | [ 3.123987] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.124092] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.124104] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.124210] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 4.505845] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.508443] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 4.524595] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 4.524597] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 4.524739] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 4.524741] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
[ 4.524741] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 4.525015] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2 |
So I assumed that this meant that I needed to install the package sys-firmware/sof-firmware ( I also installed sys-kernel/linux-firmware for the wifi)
The lspci is Code: |
00:1f.3 Multimedia audio controller: Intel Corporation Smart Sound Technology Audio Controller (rev 30)
Subsystem: Hewlett-Packard Company Smart Sound Technology Audio Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
IOMMU group: 15
Region 0: Memory at 603d170000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at 603d000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Kernel driver in use: sof-audio-pci
Kernel modules: snd_sof_pci |
And to verify that module is loaded: Code: |
lsmod | grep snd
snd_hda_codec_hdmi 73728 0
snd_hda_codec_generic 98304 0
snd_soc_dmic 16384 0
snd_sof_pci 20480 0
snd_sof_intel_hda_common 90112 1 snd_sof_pci
snd_soc_acpi_intel_match 45056 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_intel_dspcfg 20480 2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof 126976 2 snd_sof_pci,snd_sof_intel_hda_common
snd_hda_ext_core 36864 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_core 274432 4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_dmic
ac97_bus 16384 1 snd_soc_core
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_sof
snd_hda_codec 163840 3 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_soc_hdac_hda
snd_hwdep 16384 1 snd_hda_codec
snd_hda_core 106496 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_pcm 135168 6 snd_hda_codec_hdmi,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_hda_core
snd_timer 45056 1 snd_pcm
snd 110592 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_codec,snd_timer,snd_soc_core,snd_pcm
soundcore 16384 1 snd
and lsmod | grep sof
snd_sof_pci 20480 0
snd_sof_intel_hda_common 90112 1 snd_sof_pci
snd_soc_acpi_intel_match 45056 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_intel_dspcfg 20480 2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof 126976 2 snd_sof_pci,snd_sof_intel_hda_common
snd_hda_ext_core 36864 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_core 274432 4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_dmic
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_sof
snd_hda_core 106496 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_pcm 135168 6 snd_hda_codec_hdmi,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_hda_core |
So all of the modules are installed as determined by genkernel. Problem is, plasma detects no audio device. Is there some other firmware I need for this? Does something have to be done manually after the sof firmware was emerged? I would install the icelake SOC as a modules, but it's only option is either in kernel or not instyalled at all.
Here is my emerge --info if it will help.
Code: | emerge --info
Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.1.0, glibc-2.31-r5, 5.7.7-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.7.7-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-1065G7_CPU_@_1.30GHz-with-gentoo-2.7
KiB Mem: 16131852 total, 1101692 free
KiB Swap: 524284 total, 523260 free
Timestamp of repository gentoo: Thu, 09 Jul 2020 22:30:01 +0000
Head commit of repository gentoo: 5419047dab7097ac07927b737af778785e28d696
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash: 5.0_p17::gentoo
dev-lang/perl: 5.30.3-r1::gentoo
dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo
dev-util/cmake: 3.17.3::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2::gentoo
sys-devel/binutils: 2.34-r1::gentoo
sys-devel/gcc: 10.1.0-r2::gentoo
sys-devel/gcc-config: 2.3.1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.31-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
torbrowser
location: /var/lib/layman/torbrowser
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://rsync2.au.gentoo.org/gentoo-portage/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 ao berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups dbus declarative dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gphoto2 gpm gstreamer iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc lm-sensors mad matroska mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline samba scanner sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_CA.UTF-8 en_CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSemerge --info
Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.1.0, glibc-2.31-r5, 5.7.7-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.7.7-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-1065G7_CPU_@_1.30GHz-with-gentoo-2.7
KiB Mem: 16131852 total, 1101692 free
KiB Swap: 524284 total, 523260 free
Timestamp of repository gentoo: Thu, 09 Jul 2020 22:30:01 +0000
Head commit of repository gentoo: 5419047dab7097ac07927b737af778785e28d696
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash: 5.0_p17::gentoo
dev-lang/perl: 5.30.3-r1::gentoo
dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo
dev-util/cmake: 3.17.3::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2::gentoo
sys-devel/binutils: 2.34-r1::gentoo
sys-devel/gcc: 10.1.0-r2::gentoo
sys-devel/gcc-config: 2.3.1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.31-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
torbrowser
location: /var/lib/layman/torbrowser
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://rsync2.au.gentoo.org/gentoo-portage/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 ao berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups dbus declarative dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gphoto2 gpm gstreamer iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc lm-sensors mad matroska mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline samba scanner sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_CA.UTF-8 en_CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
As always, any help is appreciated.
EDIT
Here is the lsusb Code: | Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 06cb:00c9 Synaptics, Inc.
Bus 003 Device 002: ID 0408:5440 Quanta Computer, Inc. HP True Vision HD Camera
Bus 003 Device 004: ID 8087:0026 Intel Corp.
Bus 003 Device 009: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
_________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration
Last edited by ShadowHawkBV on Sat Jul 18, 2020 11:03 pm; edited 1 time in total |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Fri Jul 10, 2020 12:29 pm Post subject: |
|
|
Hi ShadowHawkBV,
Just a guess, if you haven't yet tried that:
I see in lsmod there are both drivers loaded: sof-audio-pci and snd-hda-intel. What if you blacklist one, loading only another (and then vice versa)? |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Sat Jul 11, 2020 12:10 am Post subject: |
|
|
Thanks for the suggestion halcon. Unfortunately it still doesn't want to play nice. Built the blacklist file in /etc/moprobe.d and tried adding blacklist <module> with no difference after restarting.
I've also manually removed all the pci and hda sound modules from the genkernel build, and tried using just the hda sound modules in the genkernel build. No luck either way.
I'm fairly certain that it involves the firmware from the Sound Open Firmware package (sys-firmware/sof-firmware), but I'll be danged if I can figure out what to do other than emerge the package. Honestly, that package may be a red-herring as the webpage indicates it's for developers using the icelake and other intel chipset sound systems.
Intel sound is rapidly becoming as big a pain in the ass as winmodems were back in the day. The worst part is, I know the sound works under linux as I based my purchase off a couple posts about someone using it with Fedora and with Arch.
EDIT
The latest dmesg
Code: | sudo dmesg | grep sof-audio-pci
Password:
[ 3.022211] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.022431] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.022448] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.022626] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 3.024885] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 3.033968] sof-audio-pci 0000:00:1f.3: codec #0 probe error, ret: -2
[ 3.034684] sof-audio-pci 0000:00:1f.3: codec #2 probe error, ret: -2
[ 3.034901] sof-audio-pci 0000:00:1f.3: no hda codecs found!
[ 3.034902] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 3.034903] sof-audio-pci 0000:00:1f.3: error: no matching ASoC machine driver found - aborting probe
[ 3.034904] sof-audio-pci 0000:00:1f.3: error: failed to get machine info -19
[ 3.035301] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -19 |
[/code]
And a question. In arch and other distros, the firmware file required is: sof-icl.ri (https://github.com/thesofproject/sof/issues/2134 - Poster Aurelien).
I have installed sof-firmware Code: | [I] sys-firmware/sof-firmware
Available versions: (~)1.4.2
Installed versions: 1.4.2(07:40:01 PM 2020-07-09)
Homepage: https://www.sofproject.org
Description: Sound Open Firmware (SOF) binary files |
But that file does not seem to be installed on my system. Mine has only: Code: | ls -R /lib/firmware/intel/
/lib/firmware/intel/:
IntcSST2.bin dsp_fw_kbl_v2630.bin ibt-11-5.ddc ibt-17-2.sfi ibt-19-0-1.ddc ibt-19-32-0.sfi ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
dsp_fw_bxtn_v2219.bin dsp_fw_kbl_v3266.bin ibt-11-5.sfi ibt-18-0-1.ddc ibt-19-0-1.sfi ibt-19-32-1.ddc ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
dsp_fw_bxtn_v3366.bin dsp_fw_kbl_v3402.bin ibt-12-16.ddc ibt-18-0-1.sfi ibt-19-0-4.ddc ibt-19-32-1.sfi ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
dsp_fw_cnl_v1191.bin dsp_fw_kbl_v3420.bin ibt-12-16.sfi ibt-18-1.ddc ibt-19-0-4.sfi ibt-19-32-4.ddc ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
dsp_fw_cnl_v1858.bin dsp_fw_kbl_v701.bin ibt-17-0-1.ddc ibt-18-1.sfi ibt-19-16-4.ddc ibt-19-32-4.sfi ibt-hw-37.7.bseq
dsp_fw_glk_v1814.bin dsp_fw_release_v3402.bin ibt-17-0-1.sfi ibt-18-16-1.ddc ibt-19-16-4.sfi ibt-20-0-3.ddc ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
dsp_fw_glk_v2768.bin dsp_fw_release_v969.bin ibt-17-1.ddc ibt-18-16-1.sfi ibt-19-240-1.ddc ibt-20-0-3.sfi ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
dsp_fw_glk_v2880.bin fw_sst_0f28.bin ibt-17-1.sfi ibt-18-2.ddc ibt-19-240-1.sfi ibt-20-1-3.ddc ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
dsp_fw_glk_v3366.bin fw_sst_0f28.bin-48kHz_i2s_master ibt-17-16-1.ddc ibt-18-2.sfi ibt-19-240-4.ddc ibt-20-1-3.sfi ibt-hw-37.8.bseq
dsp_fw_kbl_v1037.bin fw_sst_0f28_ssp0.bin ibt-17-16-1.sfi ibt-19-0-0.ddc ibt-19-240-4.sfi ibt-20-1-4.ddc ice
dsp_fw_kbl_v2042.bin fw_sst_22a8.bin ibt-17-2.ddc ibt-19-0-0.sfi ibt-19-32-0.ddc ibt-20-1-4.sfi irci_irci_ecr-master_20161208_0213_20170112_1500.bin
/lib/firmware/intel/ice:
ddp
/lib/firmware/intel/ice/ddp:
ice-1.3.4.0.pkg |
_________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Sat Jul 11, 2020 5:57 am Post subject: |
|
|
I booted up with Fedora, and noted the modules it used for working sound. Problem is, they don't exactly match the ones I can find in the .config
Code: | snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_codec_generic
snd_soc_dmic
snd_sof_pci
snd_sof_intel_byt
snd_sof_intel_ipc
snd_sof_intel_hda_common
snd_soc_hdac_hda
snd_sof_xtensa_dsp
snd_sof_intel_hda
snd_sof
snd_hda_ext_core
snd_soc_acpi_intel_match
snd_soc_acpi
snd_soc_core
snd_compress
ac97_bus
ledtrig_audio
snd_hda_intel
snd_intel_dspcfg
snd_hda_codec
snd_hda_core
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
soundcore
pcspkr |
The quest continues. _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
sager58 n00b
Joined: 03 Jan 2005 Posts: 13 Location: Cornwall, NY
|
Posted: Tue Jul 14, 2020 4:10 am Post subject: |
|
|
ShadowHawkBV wrote: | I booted up with Fedora, and noted the modules it used for working sound. Problem is, they don't exactly match the ones I can find in the .config
Code: | snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi
snd_hda_codec_hdmi
[b]snd_hda_codec_realtek[/b] [i]<--- I think you need this one[/i]
snd_hda_codec_generic
snd_soc_dmic
<Cut from Quote>
|
The quest continues. |
Your dmesg log shows that there were no HDA codecs that could be loaded for your sound card. My system, a Lenovo ThinkBook 15-IIL with an Intel i7-1065G7, for sound to work, I need to have snd_hda_codec_realtek built as a module (linux's sound system is best built as modules). For the record I'm running sys-kernel/gentoo-sources-5.7.8 { USE= -build experimental -symlink}
Config help from nconfig:
Code: |
Symbol: SND_HDA_CODEC_REALTEK [=m]
Type : tristate
Defined at sound/pci/hda/Kconfig:91
Prompt: Build Realtek HD-audio codec support
Depends on: SOUND [=m] && !UML && SND [=m] && SND_HDA [=m]
Location:
-> Device Drivers
-> Sound card support (SOUND [=m])
-> Advanced Linux Sound Architecture (SND [=m])
-> HD-Audio
SND_HDA_GENERIC [=m]
|
Give that a shot, and your sound should work after that. _________________ Turn Left... |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Tue Jul 14, 2020 5:02 am Post subject: |
|
|
sager58 thanks for the idea. Unfortunately, it still isn't working.
Code: | lsmod | grep -i snd
snd_soc_skl_hda_dsp 24576 0
snd_soc_hdac_hdmi 40960 1 snd_soc_skl_hda_dsp
snd_seq 90112 0
snd_seq_device 16384 1 snd_seq
snd_hda_codec_hdmi 73728 0
snd_hda_codec_realtek 135168 0
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_soc_dmic 16384 0
snd_sof_pci 24576 0
snd_sof_intel_byt 20480 1 snd_sof_pci
snd_sof_intel_ipc 20480 1 snd_sof_intel_byt
snd_sof_intel_hda_common 90112 1 snd_sof_pci
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof 126976 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match 45056 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt
snd_soc_core 286720 6 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress 32768 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_hda_intel 57344 0
snd_intel_dspcfg 28672 3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
snd_hda_codec 167936 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core 110592 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 135168 10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_timer 49152 2 snd_seq,snd_pcm
snd 110592 13 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_soc_skl_hda_dsp
soundcore 16384 1 snd |
The hda-realtek module is in there along wioth all the other modules used by the working Fedora Live DVD (Who's config I shamelessly stole). I think I have narrowed the problem down to a rather irritating firmware not loading problem.
dmesg | grep -i error
Code: | [ 2.990233] Error: Driver 'pcspkr' is already registered, aborting...
[ 4.591942] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 66.651787] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -11
[ 66.651791] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -11
[ 66.652576] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -11 |
Seeing that sof-firmware placed the driver in /lib/firmware, and the error appears to be looking under /lib/firmware/intel/sof, I copied the two files there. No change in the error message. I have manally added the sof-icl-v1.4.2.ri to the kernel under Device-Drivers // Generic Driver Options // Firmware loader // "Build named firmware blobs into the kernel binary" and the root directory in "Firmware blobs root directory" All with no change to the error. Sof-firmware claims to be compatible with kernel 5.5 and newer. My google-fu has also failed me by not being able to locate the error I'm getting anywhere else on the web. The closest I got was a really old gentoo forum posting from teh 3.3 era kernel and iwiwifi firmware failing to load around the udev roll-out.
On a side note, i want to slap the person who decided to gratuitously rename the kernel modules with - and _ randomly replacing spaces. Even more fun is a combination of the two, which was why i couldn't find the modules initially. I was looking for snd_sof_intel_whatever, instead of snd-sof-intel_whatever... _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Wed Jul 15, 2020 5:29 am Post subject: |
|
|
And now I've confirmed that it's not a kernel 5.7 issue. I just built and installed a 5.4.51 kernel (Closest I could find to the Fedora 5.5 rc1 kernel on teh live DVD), and the same issue.
Code: | sudo dmesg | grep -i audio
Password:
[ 0.277508] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 3.727048] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 3.727049] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 3.727185] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 3.731460] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 3.731666] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 3.731667] sof-audio-pci 0000:00:1f.3: Falling back to sysfs fallback for: intel/sof/sof-icl.ri
[ 66.712946] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -11
[ 66.712949] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -11
[ 66.713532] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
[ 66.714210] sof-audio-pci: probe of 0000:00:1f.3 failed with error -11 |
Anyone have any ideas how to get past the error -2 and -11? I don't want to have to install Fedora to get to usability. _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Wed Jul 15, 2020 11:11 am Post subject: |
|
|
ShadowHawkBV wrote: | I just built and installed a 5.4.51 kernel (Closest I could find to the Fedora 5.5 rc1 kernel on teh live DVD), and the same issue. |
ShadowHawkBV wrote: | I don't want to have to install Fedora to get to usability. |
What about such a desperate test as try to compile the closest to 5.5 rc1 gentoo-sources with Fedora's .config and to boot it?
- According to this announcement, 5.5.1 was released at 01 Feb 2020. So, in a week it could have come to the Gentoo tree. The portage snapshot on, say, 15 Feb 2020 could be installed, following the Update Old Gentoo Wiki.
- make oldconfig will (hopefully) add Gentoo-specific symbols that could be necessary for compiling.
- As there are different defaults in Gentoo and in Fedora (I guess), some other things may be broken (including your Plasma?), but it's just for testing sound (on init 3, in console).
Edit:
...If that topic about the firmware doesn't help. |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Thu Jul 16, 2020 10:08 am Post subject: |
|
|
So I installed Fedora 32 on the drive, and updated it to it's most recent kernel - 5.7.8
Code: | Linux localhost.localdomain 5.7.8-200.fc32.x86_64 #1 SMP Thu Jul 9 14:34:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux |
Sound worked on it. The sound related mods are the same as the ones I have for Gentoo.
Here's Fedora's list
Code: | Module Size Used by
snd_soc_skl_hda_dsp 24576 7
snd_soc_hdac_hdmi 40960 1 snd_soc_skl_hda_dsp
snd_soc_dmic 16384 1
intel_rapl_msr 20480 0
snd_hda_codec_hdmi 73728 1
snd_hda_codec_realtek 135168 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_sof_pci 24576 2
snd_sof_intel_byt 20480 1 snd_sof_pci
snd_sof_intel_ipc 20480 1 snd_sof_intel_byt
snd_sof_intel_hda_common 90112 1 snd_sof_pci
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof 126976 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match 45056 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt
snd_soc_core 286720 6 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress 32768 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_hda_intel 57344 0
snd_intel_dspcfg 28672 3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
snd_hda_codec 163840 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core 110592 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_
sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep 16384 1 snd_hda_codec
snd_seq 86016 0
snd_seq_device 16384 1 snd_seq
snd_pcm 135168 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
pcspkr 16384 0
snd_timer 49152 2 snd_seq,snd_pcm
snd 106496 26 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_
soc_skl_hda_dsp
soundcore 16384 1 snd
|
Here's Gentoos list
Code: | snd_soc_skl_hda_dsp 24576 0
snd_soc_hdac_hdmi 45056 1 snd_soc_skl_hda_dsp
snd_seq 90112 0
snd_seq_device 16384 1 snd_seq
snd_hda_codec_hdmi 73728 0
snd_hda_codec_realtek 143360 0
snd_hda_codec_generic 102400 1 snd_hda_codec_realtek
snd_soc_dmic 16384 0
snd_sof_pci 24576 0
snd_sof_intel_byt 20480 1 snd_sof_pci
snd_sof_intel_ipc 20480 1 snd_sof_intel_byt
snd_sof_intel_hda_common 90112 1 snd_sof_pci
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof 131072 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match 45056 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt
snd_soc_core 303104 6 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress 32768 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_hda_intel 57344 0
snd_intel_dspcfg 28672 3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
snd_hda_codec 176128 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core 114688 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 143360 10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_timer 49152 2 snd_seq,snd_pcm
snd 110592 13 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_soc_skl_hda_dsp
soundcore 16384 1 snd |
As halcon suggested, I verified that the firmware options were turned on in the kernel. I assume that they all are working as my wifi is working with Intel wifi firmware. I also pulled the config file from the Fedora build, and used it as the .config for Gentoo. The only changes necessary were including the gcc modules, gentoo specific options, and changing the nvme drivers to being built in instead of modules to allow for booting.
I noticed a difference with the firmware. The Fedora firmware was larger, and had intel signed versions.
Code: | /lib/firmware/intel/sof $ ls -lasR
.:
total 316
4 drwxr-xr-x 4 root root 4096 Jul 15 19:05 .
4 drwxr-xr-x 5 root root 4096 Jul 15 19:05 ..
4 drwxr-xr-x 2 root root 4096 Jul 15 19:04 intel-signed
4 drwxr-xr-x 2 root root 4096 Jul 15 19:04 public-signed
0 lrwxrwxrwx 1 root root 23 Jun 1 19:33 sof-apl.ri -> intel-signed/sof-apl.ri
116 -rw-r--r-- 1 root root 117996 May 13 16:41 sof-bdw.ri
92 -rw-r--r-- 1 root root 91584 May 13 16:41 sof-byt.ri
0 lrwxrwxrwx 1 root root 23 Jun 1 19:33 sof-cfl.ri -> intel-signed/sof-cnl.ri
92 -rw-r--r-- 1 root root 92392 May 13 16:41 sof-cht.ri
0 lrwxrwxrwx 1 root root 23 Jun 1 19:33 sof-cml.ri -> intel-signed/sof-cnl.ri
0 lrwxrwxrwx 1 root root 23 Jun 1 19:33 sof-cnl.ri -> intel-signed/sof-cnl.ri
0 lrwxrwxrwx 1 root root 23 Jun 1 19:33 sof-icl.ri -> intel-signed/sof-icl.ri
./intel-signed:
total 1020
4 drwxr-xr-x 2 root root 4096 Jul 15 19:04 .
4 drwxr-xr-x 4 root root 4096 Jul 15 19:05 ..
316 -rw-r--r-- 1 root root 323584 May 13 16:41 sof-apl.ri
348 -rw-r--r-- 1 root root 356352 May 13 16:41 sof-cnl.ri
348 -rw-r--r-- 1 root root 356352 May 13 16:41 sof-icl.ri
./public-signed:
total 1020
4 drwxr-xr-x 2 root root 4096 Jul 15 19:04 .
4 drwxr-xr-x 4 root root 4096 Jul 15 19:05 ..
316 -rw-r--r-- 1 root root 323584 May 13 16:41 sof-apl.ri
348 -rw-r--r-- 1 root root 356352 May 13 16:41 sof-cnl.ri
348 -rw-r--r-- 1 root root 356352 May 13 16:41 sof-icl.ri |
vs the Gentoo version Code: |
/lib/firmware/intel $ ls -lasR
.:
total 25636
4 drwxr-xr-x 3 root root 4096 Jul 16 19:24 .
20 drwxr-xr-x 71 root root 20480 Jul 16 19:24 ..
256 -rw-r--r-- 1 root root 260320 Jul 16 19:23 IntcSST2.bin
496 -rw-r--r-- 1 root root 505608 Jul 16 19:23 dsp_fw_bxtn_v2219.bin
496 -rw-r--r-- 1 root root 505608 Jul 16 19:23 dsp_fw_bxtn_v3366.bin
572 -rw-r--r-- 1 root root 583852 Jul 16 19:23 dsp_fw_cnl_v1191.bin
572 -rw-r--r-- 1 root root 583852 Jul 16 19:23 dsp_fw_cnl_v1858.bin
496 -rw-r--r-- 1 root root 505608 Jul 16 19:23 dsp_fw_glk_v1814.bin
496 -rw-r--r-- 1 root root 505608 Jul 16 19:23 dsp_fw_glk_v2768.bin
496 -rw-r--r-- 1 root root 505608 Jul 16 19:23 dsp_fw_glk_v2880.bin
496 -rw-r--r-- 1 root root 505608 Jul 16 19:23 dsp_fw_glk_v3366.bin
236 -rw-r--r-- 1 root root 238920 Jul 16 19:23 dsp_fw_kbl_v1037.bin
236 -rw-r--r-- 1 root root 238920 Jul 16 19:23 dsp_fw_kbl_v2042.bin
240 -rw-r--r-- 1 root root 243016 Jul 16 19:23 dsp_fw_kbl_v2630.bin
240 -rw-r--r-- 1 root root 243016 Jul 16 19:23 dsp_fw_kbl_v3266.bin
244 -rw-r--r-- 1 root root 247112 Jul 16 19:23 dsp_fw_kbl_v3402.bin
240 -rw-r--r-- 1 root root 243016 Jul 16 19:23 dsp_fw_kbl_v3420.bin
236 -rw-r--r-- 1 root root 238920 Jul 16 19:23 dsp_fw_kbl_v701.bin
244 -rw-r--r-- 1 root root 247112 Jul 16 19:23 dsp_fw_release_v3402.bin
216 -rw-r--r-- 1 root root 221184 Jul 16 19:23 dsp_fw_release_v969.bin
688 -rw-r--r-- 1 root root 701622 Jul 16 19:23 fw_sst_0f28.bin
260 -rw-r--r-- 1 root root 265684 Jul 16 19:23 fw_sst_0f28.bin-48kHz_i2s_master
688 -rw-r--r-- 1 root root 701622 Jul 16 19:23 fw_sst_0f28_ssp0.bin
688 -rw-r--r-- 1 root root 701694 Jul 16 19:23 fw_sst_22a8.bin
4 -rw-r--r-- 1 root root 18 Jul 16 19:23 ibt-11-5.ddc
576 -rw-r--r-- 1 root root 588196 Jul 16 19:23 ibt-11-5.sfi
4 -rw-r--r-- 1 root root 14 Jul 16 19:23 ibt-12-16.ddc
576 -rw-r--r-- 1 root root 585744 Jul 16 19:23 ibt-12-16.sfi
4 -rw-r--r-- 1 root root 14 Jul 16 19:23 ibt-17-0-1.ddc
612 -rw-r--r-- 1 root root 625216 Jul 16 19:23 ibt-17-0-1.sfi
4 -rw-r--r-- 1 root root 14 Jul 16 19:23 ibt-17-1.ddc
612 -rw-r--r-- 1 root root 625216 Jul 16 19:23 ibt-17-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-17-16-1.ddc
656 -rw-r--r-- 1 root root 670704 Jul 16 19:23 ibt-17-16-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-17-2.ddc
656 -rw-r--r-- 1 root root 670704 Jul 16 19:23 ibt-17-2.sfi
4 -rw-r--r-- 1 root root 14 Jul 16 19:23 ibt-18-0-1.ddc
612 -rw-r--r-- 1 root root 625216 Jul 16 19:23 ibt-18-0-1.sfi
4 -rw-r--r-- 1 root root 14 Jul 16 19:23 ibt-18-1.ddc
612 -rw-r--r-- 1 root root 625216 Jul 16 19:23 ibt-18-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-18-16-1.ddc
656 -rw-r--r-- 1 root root 670704 Jul 16 19:23 ibt-18-16-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-18-2.ddc
656 -rw-r--r-- 1 root root 670704 Jul 16 19:23 ibt-18-2.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-0-0.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-0-0.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-0-1.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-0-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-0-4.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-0-4.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-16-4.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-16-4.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-240-1.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-240-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-240-4.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-240-4.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-32-0.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-32-0.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-32-1.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-32-1.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-19-32-4.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-19-32-4.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-20-0-3.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-20-0-3.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-20-1-3.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-20-1-3.sfi
4 -rw-r--r-- 1 root root 9 Jul 16 19:23 ibt-20-1-4.ddc
724 -rw-r--r-- 1 root root 739660 Jul 16 19:23 ibt-20-1-4.sfi
24 -rw-r--r-- 1 root root 22069 Jul 16 19:23 ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
28 -rw-r--r-- 1 root root 25853 Jul 16 19:23 ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
24 -rw-r--r-- 1 root root 23105 Jul 16 19:23 ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
28 -rw-r--r-- 1 root root 25775 Jul 16 19:23 ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
4 -rw-r--r-- 1 root root 96 Jul 16 19:23 ibt-hw-37.7.bseq
32 -rw-r--r-- 1 root root 31056 Jul 16 19:23 ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
40 -rw-r--r-- 1 root root 39295 Jul 16 19:23 ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
48 -rw-r--r-- 1 root root 48587 Jul 16 19:23 ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
4 -rw-r--r-- 1 root root 96 Jul 16 19:23 ibt-hw-37.8.bseq
4 drwxr-xr-x 3 root root 4096 Jul 5 14:31 ice
1188 -rw-r--r-- 1 root root 1212984 Jul 16 19:23 irci_irci_ecr-master_20161208_0213_20170112_1500.bin
76 -rw-r--r-- 1 root root 74240 Jul 16 11:20 sof-icl.ldc
280 -rw-r--r-- 1 root root 286720 Jul 16 11:20 sof-icl.ri
76 -rw-r--r-- 1 root root 74240 Jul 16 19:24 sof-icl-v1.4.2.ldc
280 -rw-r--r-- 1 root root 286720 Jul 16 19:24 sof-icl-v1.4.2.ri
./ice:
total 12
4 drwxr-xr-x 3 root root 4096 Jul 5 14:31 .
4 drwxr-xr-x 3 root root 4096 Jul 16 19:24 ..
4 drwxr-xr-x 2 root root 4096 Jul 16 19:24 ddp
./ice/ddp:
total 576
4 drwxr-xr-x 2 root root 4096 Jul 16 19:24 .
4 drwxr-xr-x 3 root root 4096 Jul 5 14:31 ..
568 -rw-r--r-- 1 root root 577796 Jul 16 19:23 ice-1.3.4.0.pkg |
I've even tried copying the Fedora sof-icl.ldc and sof-icl.ri over into the Gentoo /lib/firmware, withj no luck. Same stinking error.
Fedora's dmesg WRT audio Code: | [ 12.146755] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 12.146876] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 12.158027] uvcvideo: Found UVC 1.50 device HP True Vision HD Camera (0408:5440)
[ 12.201286] uvcvideo 3-5:1.2: Entity type for entity Microsoft Extended Controls Uni was not initialized!
[ 12.201288] uvcvideo 3-5:1.2: Entity type for entity Extension 9 was not initialized!
[ 12.201288] uvcvideo 3-5:1.2: Entity type for entity Extension 11 was not initialized!
[ 12.201289] uvcvideo 3-5:1.2: Entity type for entity Camera 8 was not initialized!
[ 12.201407] input: HP True Vision HD Camera: HP IR as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.2/input/input27
[ 12.201471] usbcore: registered new interface driver uvcvideo
[ 12.201471] USB Video Class driver (1.1.1)
[ 12.260768] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 12.260893] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 12.260916] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 12.261062] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 12.261160] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 12.263520] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 12.297006] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 12.297007] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 12.348035] intel_rapl_common: Found RAPL domain package
[ 12.348037] intel_rapl_common: Found RAPL domain core
[ 12.348038] intel_rapl_common: Found RAPL domain uncore
[ 12.387704] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:5:0-7e6cd
[ 12.387706] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:16:0 Kernel ABI 3:13:0
[ 12.387707] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[ 12.388312] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 3 size 0x1c
[ 12.388352] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 4 size 0x10
[ 12.395086] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 12.447791] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[ 12.449731] iTCO_vendor_support: vendor-support=0
[ 12.451169] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[ 12.451383] iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[ 12.451596] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 12.567095] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp1
[ 12.567098] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp2
[ 12.567099] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link iDisp3
[ 12.567100] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link Analog Playback and Capture
[ 12.567101] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link Digital Playback and Capture
[ 12.567103] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link dmic01
[ 12.567104] skl_hda_dsp_generic skl_hda_dsp_generic: info: override BE DAI link dmic16k
[ 12.567849] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:16:0 Kernel ABI 3:13:0
[ 12.567851] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[ 12.567855] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[ 12.569191] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[ 12.569195] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[ 12.570694] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[ 12.570697] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[ 12.571743] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[ 12.571747] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[ 12.573081] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[ 12.573082] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[ 12.573084] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[ 12.573086] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[ 12.573087] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[ 12.573089] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[ 12.574141] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[ 12.574143] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[ 12.575201] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[ 12.575202] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[ 12.576567] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[ 12.588778] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[ 12.612604] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 12.612608] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 12.612610] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 12.612611] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 12.612612] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 12.612614] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 12.652978] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[ 12.652981] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[ 12.653002] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi1 <-> iDisp1 Pin mapping ok
[ 12.653004] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi2 <-> iDisp2 Pin mapping ok
[ 12.653005] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi3 <-> iDisp3 Pin mapping ok
[ 12.653007] skl_hda_dsp_generic skl_hda_dsp_generic: Analog Codec DAI <-> Analog CPU DAI mapping ok
[ 12.653009] skl_hda_dsp_generic skl_hda_dsp_generic: Digital Codec DAI <-> Digital CPU DAI mapping ok
[ 12.653010] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC01 Pin mapping ok
[ 12.653011] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC16k Pin mapping ok
[ 12.653018] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC 6 mapping ok
[ 12.653022] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC16kHz 7 mapping ok
[ 12.653028] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Analog 0 mapping ok
[ 12.653034] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Digital 1 mapping ok
[ 12.653038] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI1 3 mapping ok
[ 12.653042] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI2 4 mapping ok
[ 12.653046] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI3 5 mapping ok
[ 12.653089] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
[ 12.653092] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
[ 12.653095] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
[ 12.653097] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
[ 12.653099] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
[ 12.653103] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
[ 12.653107] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
[ 12.653110] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
[ 12.653114] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
[ 12.653118] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
[ 12.653121] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
[ 12.653129] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[ 12.653130] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4
[ 12.657293] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input28
[ 12.657325] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input29
[ 12.657352] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
[ 12.657379] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
[ 12.657404] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32 |
And my failed Gentoo
Code: | [ 3.438943] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.439056] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.659894] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.660021] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.660035] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.660166] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 3.695116] input: SYNA3297:00 06CB:CD50 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA3297:00/0018:06CB:CD50.0002/input/input25
[ 3.695181] input: SYNA3297:00 06CB:CD50 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA3297:00/0018:06CB:CD50.0002/input/input26
[ 3.695251] hid-multitouch 0018:06CB:CD50.0002: input,hidraw0: I2C HID v1.00 Mouse [SYNA3297:00 06CB:CD50] on i2c-SYNA3297:00
[ 4.800247] Console: switching to colour frame buffer device 240x67
[ 4.800366] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.802766] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 4.819123] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[ 4.838629] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 4.838636] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 4.838773] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 4.838774] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
[ 4.838775] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 4.839058] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2 |
I'm at my wits end. It should be working, but the firmware is still erroring out. _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Thu Jul 16, 2020 12:10 pm Post subject: |
|
|
@ShadowHawkBV, Isn't the culprit in wrong path??
I see in your dmesg attempts to load intel/sof/sof-icl.ri, which is good for Fedora, but in Gentoo, according to your listing, it's intel/sof-icl.ri. |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Thu Jul 16, 2020 11:57 pm Post subject: |
|
|
@halcon,
That's a possibility, but as far as I can tell, unless you manually insert the firmware name into the kernel, it doesn't allow you to set a directory and defaults to /lib/firmware, and any sub-directories within. To be safe I've copied the files into all the directories in /lib/firmware (intel & intel/sof). I've also ensured that both name types for the files are there. One has the version (from the sof-firmware ebuild) appended, and the other mimics the Fedora style with no version appended.
I'm also building the 5.7.9 kernel to see if it was a glitch in the Gentoo-sources kernels I've tried so far.
Here is the config I'm using: https://pastebin.com/pYH49n1L
Here is the Fedora 32 kernel 5.7.8 config: https://pastebin.com/dDzPq5Av _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Fri Jul 17, 2020 10:53 am Post subject: |
|
|
ShadowHawkBV wrote: | but as far as I can tell, unless you manually insert the firmware name into the kernel, it doesn't allow you to set a directory and defaults to /lib/firmware, and any sub-directories within |
Well, then, why not to try to set it manually? In CONFIG_EXTRA_FIRMWARE. |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Fri Jul 17, 2020 11:31 pm Post subject: |
|
|
halcon,
I've added both of the firmware files individually, and together (sof-icl.ri & sof-icl.ldc) with and without the version appended into the kernel. Same errors.
Of note, here is the dmesg error with the Gentoo firmware intel folder.
Code: | Jul 17 11:22:08 Spectre kernel: [ 0.784777] RAS: Correctable Errors collector initialized.
Jul 17 11:22:08 Spectre kernel: [ 2.972219] iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
Jul 17 11:22:08 Spectre kernel: [ 4.669964] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2 |
Here is the dmesg with the Fedora intel firmware folder
Code: | Jul 17 11:17:27 Spectre kernel: [ 0.799576] RAS: Correctable Errors collector initialized.
Jul 17 11:17:27 Spectre kernel: [ 3.114273] iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
Jul 17 11:17:27 Spectre kernel: [ 4.891490] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-hda-generic-2ch.tplg failed with error -2
Jul 17 11:17:27 Spectre kernel: [ 4.891541] skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -2 |
When the Fedora intel folder is copied over, it apparently looks for a file that does not exist. Here is the contents of the referenced directory. Code: |
intel/sof-tplg $ ls
sof-apl-dmic-a2ch-b4ch.tplg sof-bdw-rt5677.tplg sof-cht-es8316.tplg sof-cml-rt711-rt1308-mono-rt715.tplg sof-icl-rt711-rt1308-rt715.tplg
sof-apl-dmic-a4ch-b2ch.tplg sof-byt-cx2072x-ssp0.tplg sof-cht-max98090.tplg sof-cml-rt711-rt1308-rt715.tplg sof-imx8mp-wm8960.tplg
sof-apl-dmic-a96k-b16k.tplg sof-byt-cx2072x.tplg sof-cht-nocodec.tplg sof-cml-src-rt5682.tplg sof-imx8qxp-cs42888.tplg
sof-apl-eq-dmic.tplg sof-byt-da7213-ssp0.tplg sof-cht-rt5640.tplg sof-cnl-nocodec.tplg sof-imx8qxp-nocodec-sai.tplg
sof-apl-eq-pcm512x.tplg sof-byt-da7213.tplg sof-cht-rt5645.tplg sof-cnl-rt274.tplg sof-imx8qxp-nocodec.tplg
sof-apl-keyword-detect.tplg sof-byt-es8316-ssp0.tplg sof-cht-rt5651.tplg sof-ehl-nocodec.tplg sof-imx8qxp-wm8960.tplg
sof-apl-nocodec.tplg sof-byt-es8316.tplg sof-cht-rt5670.tplg sof-ehl-rt5660-nohdmi.tplg sof-jsl-da7219-mx98360a.tplg
sof-apl-pcm512x-master-44100.tplg sof-byt-nocodec.tplg sof-cht-rt5682.tplg sof-ehl-rt5660.tplg sof-jsl-da7219.tplg
sof-apl-pcm512x-master.tplg sof-byt-rt5640-ssp0.tplg sof-cht-src-50khz-pcm512x.tplg sof-glk-da7219-kwd.tplg sof-tgl-max98357a-rt5682.tplg
sof-apl-pcm512x-nohdmi.tplg sof-byt-rt5640.tplg sof-cml-da7219-max98357a.tplg sof-glk-da7219.tplg sof-tgl-max98373-rt5682.tplg
sof-apl-pcm512x.tplg sof-byt-rt5645-ssp0.tplg sof-cml-demux-rt5682-max98357a.tplg sof-glk-eq-da7219.tplg sof-tgl-nocodec.tplg
sof-apl-rt298.tplg sof-byt-rt5645.tplg sof-cml-demux-rt5682.tplg sof-glk-rt5682.tplg sof-tgl-rt5682.tplg
sof-apl-src-50khz-pcm512x.tplg sof-byt-rt5651-ssp0.tplg sof-cml-eq-fir-loud-rt5682.tplg sof-hda-asrc-2ch.tplg sof-tgl-rt711-i2s-rt1308-2ch.tplg
sof-apl-src-dmic.tplg sof-byt-rt5651.tplg sof-cml-eq-iir-rt5682.tplg sof-hda-generic.tplg sof-tgl-rt711-i2s-rt1308-4ch.tplg
sof-apl-src-pcm512x.tplg sof-byt-rt5670-ssp0.tplg sof-cml-eq-rt1011-rt5682.tplg sof-icl-dmic-4ch.tplg sof-tgl-rt711-i2s-rt1308-nohdmi.tplg
sof-apl-tdf8532.tplg sof-byt-rt5670.tplg sof-cml-rt1011-rt5682.tplg sof-icl-nocodec.tplg sof-tgl-rt711-rt1308.tplg
sof-apl-wm8804.tplg sof-byt-rt5682-ssp0.tplg sof-cml-rt5682-kwd.tplg sof-icl-rt5682-kwd.tplg sof-whl-demux-rt5682.tplg
sof-bdw-nocodec.tplg sof-byt-rt5682.tplg sof-cml-rt5682-max98357a.tplg sof-icl-rt5682.tplg sof-whl-rt5682-kwd.tplg
sof-bdw-rt286.tplg sof-cht-cx2072x.tplg sof-cml-rt5682.tplg sof-icl-rt700.tplg sof-whl-rt5682.tplg
sof-bdw-rt5640.tplg sof-cht-da7213.tplg sof-cml-rt700.tplg sof-icl-rt711-rt1308-rt715-hdmi.tplg |
There is a sof-hda-generic.tplg and a sof-hda-asrc-2ch.tplg but NO sof-hda-generic-2ch.tplg. So I'm now guessing that an error -2 means that the firmware to be inserted is not found. But if that is the case, why does it work with Fedora and not Gentoo. The folders are exactly the same when I copy them from the Fedora drive to the Gentoo drive, down to the soft-links. _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Sat Jul 18, 2020 12:13 am Post subject: |
|
|
It's hard...
In a similar bugreport for Ubuntu, people added to /etc/modprobe.d/alsa-base.conf:
options snd-hda-intel dsp_driver=1 oroptions snd-hda-intel dsp_driver=0 (requires reboot).
What if it helps. |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Sat Jul 18, 2020 11:20 pm Post subject: |
|
|
I have sound. The fix is ugly as hell, and I'm unsure if it's a bug to be reported or not.
Turns out that error -2 seems to mean file not found. The firmware must have the same name as the dmesg, and must be in the exact same folder. There does not appear to be a way for the kernel to find the file in higher or lower directories. If it says /intel/sof, the file must be named as it wants (No version number appended), and in the /lib/firmware/intel/sof folder. So Code: | sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2 | means that I had to Code: | $/lib/firmware sudo cp sof-icl-v1.4.2.ri intel/sof/sof-icl.ri && sudo cp sof-icl-v1.4.2.ldc intel/sof/sof-icl.ldc |
Now comes the extremely ugly part. I'm not sure why, but Gentoo did not have the second firmware file required.
Code: | sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-hda-generic-2ch.tplg failed with error -2 |
Amusingly, the Fedora install also did not have a file with that name. The two closest versions in Fedora were: Code: | sof-hda-asrc-2ch.tplg & sof-hda-generic.tpl |
So now the ugly as hell part. I copied sof-hda-generic.tplg to /lib/firmware/intel/sof-tplg and renamed it to sof-hda-generic-2ch.tplg and it worked.
Thank you for all the assistance and ideas you folk gave me. In the end it was my own inability to read and parse what the system was telling me to do. _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21630
|
Posted: Sun Jul 19, 2020 12:40 am Post subject: |
|
|
Yes, -2 is ENOENT: No such file or directory. Often, when the kernel gives you a negative error code, you can find its meaning by negating it and treating the positive version as an errno value.
For the first part, I suggest modifying the ebuild that provides these files to put them in the correct directories, so that copying is not needed. For the missing file, that is a harder problem. Ideally, you would find the exact file it wants, not just a similar file that happens to load. |
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 629
|
Posted: Sun Jul 19, 2020 8:07 pm Post subject: |
|
|
ShadowHawkBV, I am glad that you resolved this issue! I think it's a big deal that you found that inconsistency in the firmware files. It would be worth reporting that as a bug, IMHO. |
|
Back to top |
|
|
ShadowHawkBV Guru
Joined: 27 Mar 2004 Posts: 352
|
Posted: Mon Jul 20, 2020 12:18 am Post subject: |
|
|
Here is the bug: https://bugs.gentoo.org/733254
Thank you again for all the assistance and advice. _________________ This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.
Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Jul 20, 2020 11:30 am Post subject: |
|
|
visit https://www.archlinux.org/packages/extra/any/sof-firmware/
find "Package Actions" in the upper right corner of the page
select "Download From Mirror"
Find the download "sof-firmware-1.5.1-1-any.pkg.tar.zst"
Explore the downloaded archive and find "usr/lib/firmware/intel/sof-tplg-v1.5.1/sof-hda-generic-2ch.tplg" exists and arch linux would put it in /user/lib/firmware/intel/sof-tplg-v1.5.1/
We have /lib/firmware/intel with no sof directory and no sof files if we have emerged linux-firmware which is provided upstream by kernel.org. _________________ Defund the FCC. |
|
Back to top |
|
|
mattst88 Developer
Joined: 28 Oct 2004 Posts: 422
|
Posted: Wed Jul 29, 2020 6:15 am Post subject: |
|
|
I've pushed sof-firmware-1.5.1 into the tree, which installs firmware in the right places.
But I still cannot get sound working on my HP Spectre x360 Convertible 13t-aw000/86FA.
Code: | [ 10.732153] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 10.732157] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 10.732166] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 10.732291] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 10.732347] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops 0xffffffff8211c300)
[ 10.739127] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 10.755289] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 10.755290] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 10.755293] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 10.836307] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:5:1-88707
[ 10.836308] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:16:0 Kernel ABI 3:16:0
[ 10.836652] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 3 size 0x1c
[ 10.836670] sof-audio-pci 0000:00:1f.3: warning: unknown ext header type 4 size 0x10 |
No errors, but still no sound. |
|
Back to top |
|
|
pomme97a n00b
Joined: 15 Apr 2022 Posts: 3
|
Posted: Fri Apr 15, 2022 2:30 pm Post subject: |
|
|
@ShadowHawkBV Thank you |
|
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
|
|