Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound (Read 2147 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #15
Here is the differnce between lsmod on both side on same machine (removed the common ones)
I tried to modprobe most of the left side

ARTIX XFCE
btmtk
drm_buddy
drm_dp_helper
iwlmei
mei_pxp
nvme
nvme_core
snd_sof_utils
spi_intel
spi_intel_pci
vivaldi_fmap
wl
xhci_pci_renesas

MANAJRO XFCE
cros_ec
cros_ec_ishtp
exfat
fat
intel_ishtp_loader
intel_spi
intel_spi_pci
ip_tables
ns
qrtr
rfcomm
sg
snd_ctl_led
snd_soc_hdac_hdmi
snd_soc_intel_hda_dsp_common
snd_soc_skl_hda_dsp
sr_mod
st
vfat
x_tables


Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #16
I tried to modprobe most of the left side
What happened when you did ?

I have all of those snd* modules variously in
/lib/modules/6.0.12-artix1-1/kernel/sound/soc/codecs/
/lib/modules/6.0.12-artix1-1/kernel/sound/core/
/lib/modules/6.0.12-artix1-1/kernel/sound/soc/intel/boards

Maybe post dmesg both on boot and latest lines after trying to insert the modules.
Try modprobe --verbose




Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #17
The dmesg from bootup and following the modprobe commands (as @gripped mentioned) may shed more light on the situation as it appears you did try the sound modules according to the posted list.

Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #18
There are different sets of Intel sound drivers I think from some brief searching online, soc, sof, and the older hda might be used as a fallback. As you have a "sof" module on Artix and "soc" ones on Manjaro, perhaps you might try blacklisting the sof ones? Or to get sof working there are sof-tools and sof-firmware packages, the latter firmware one might be required to use that? My older audio is all hda here so I don't know much about those though.

Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #19
Well the patch mentions realtek: so maybe?
Code: [Select]
modprobe snd-hda-codec-realtek

nope.
This didn't work


Code: [Select]
x:[nadir]:~$ pulseaudio --start
x:[nadir]:~$ tail ^C
x:[nadir]:~$ sudo su
x:[root]:/home/nadir# lsmod |grep hda
snd_hda_codec_hdmi     86016  0
snd_hda_codec_realtek   172032  0
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  3 snd_hda_codec_generic,dell_wmi,dell_laptop
snd_sof_intel_hda_common   180224  1 snd_sof_pci_intel_tgl
soundwire_intel        53248  1 snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               307200  2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_hdac_hda       28672  1 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_acpi_intel_match    73728  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_core          393216  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_dmic
snd_hda_intel          61440  0
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         188416  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          118784  9 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_hda,snd_sof_intel_hda
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               172032  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
snd                   131072  11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm


Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #20
https://wiki.archlinux.org/title/Modprobed-db
modprobed-db would probably cut 5 hours or more from your build time if you intend to build several kernels with different config options. Also rebuilding an existing source tree if appropriate can use incremental compilation so can speed things. There are usually quite a few alternate prebuilt kernels in the AUR or other non standard repos to try, e.g. for a newer 6.2 kernel:
https://aur.archlinux.org/packages/linux-mainline
And if you look at the top of the comments on that AUR description page it gives you a link to an unofficial repo for a prebuilt 6.2 binary, I've had no trouble using Arch kernel binaries sometimes but it depends on your personal dkms / driver situation as to whether they are compatible.

the package actually builds the docs, and it fails:
Code: [Select]
sources/linux-mainline/src/linux-mainline/Documentation/sphinx/load_config.py", line 6, in <module>
    from sphinx.util.pycompat import execfile_
ModuleNotFoundError: No module named 'sphinx.util.pycompat'

From the unofficial binary from miffe (I tried to add key via gpg -v --keyserver keyserver.ubuntu.com  --recv-keys 313F5ABD )
then I ended up  doing this (disabling signature verif) - but after all it is a temporary install

Code: [Select]
[miffe]
Server = https://arch.miffe.org/$arch/
SigLevel = Never
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

The bin install was ok, but in the end. after reboot.. no sound
this is the install log, there was several warnings -lines starting from WARNING

Code: [Select]
(1/1) linux-mainline-6.2rc3-1-x86_64
checking keys in keyring
checking package integrity
checking for file conflicts
checking available disk space

:: Processing package changes...

(1/1) installing linux-mainline
Optional dependencies for linux-mainline
wireless-regdb: to set the correct wireless channels of your country [installed]
linux-firmware: firmware images needed for some devices [installed]

:: Running post-transaction hooks...

Updating module dependencies...
Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-mainline.preset: 'default'
-> -k /boot/vmlinuz-linux-mainline -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-mainline.img
==> Starting build: 6.2.0-rc3-1-mainline
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: dconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: onsolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-mainline.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-mainline.preset: 'fallback'
-> -k /boot/vmlinuz-linux-mainline -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-mainline-fallback.img -S autodetect
==> Starting build: 6.2.0-rc3-1-mainline
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: dconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: onsolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-mainline-fallback.img
==> Image generation successful








So i will try with Modprobed-db on manajoro side and try to apply on artix side

and also the option about  soc, sof, and the older hda and the blacklisting you also mentionned: good idea



Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #21
I went searching for what is required for audio modules.
May it be of use.
This is what I found:
Dell Inspiron 16 Plus (7620)
The table provides the ID of the audio device.
Code: [Select]
Audio 	8086:51c8
Devicehunt describes the unit.
Alder Lake PCH-P High Definition Audio Controller
Linux hardware describes the required module.
Device 'Intel Alder Lake PCH-P High Definition Audio Controller'
Code: [Select]
Kernel Drivers

The device is supported by kernel versions 5.10 and newer according to the LKDDb:

Ver Source Config By ID By Class
5.10 - 6.1 sound/pci/hda/hda_intel.c CONFIG_SND CONFIG_SND_HDA_INTEL 8086:51c8 *
5.12 - 6.1 sound/soc/sof/intel/pci-tgl.c CONFIG_SND CONFIG_SND_SOC CONFIG_SND_SOC_SOF_INTEL_TGL CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL 8086:51c8 *

Off topic: It appears that a newer BIOS is available for the Inspiron 7620.
Version 1.9.0, 1.9.0 Release date 10 Jan. 2023 Download Type System BIOS
I have used a FreeDOS USB stick to flash Dell's before.

Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #22
Thanks.

that match the kernel version used by manjaro (from the ISO I used from last july)
below:

Linux manjaro 5.15.53-1-MANJARO #1 SMP PREEMPT Thu Jul 7 16:56:55 UTC 2022 x86_64 GNU/Linux

while the corresponding kernel on july was

Linux artix-live 5.18.10-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Jul 2022 07:26:22 +0000 x86_64 GNU/Linux

So it means the problem is elsewhere, not in the kernel version.

I should look how  soc, sof, and hda are used - which one. I suppose I should blacklist soC.
 


Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #23
Maybe post dmesg both on boot and latest lines after trying to insert the modules.
Try modprobe --verbose

Here is an extract of the diff of the dmesg on the same machine:

Code: [Select]
[   12.546657] mousedev: PS/2 mouse device common for all mice
[   12.552569] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[   12.554337] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[   12.556261] kauditd_printk_skb: 8 callbacks suppressed
[   12.556263] audit: type=1130 audit(1673846186.863:11): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   12.558367] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   12.612796] audit: type=1130 audit(1673846186.920:12): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-backlight@backlight:intel_backlight comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   12.627425] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[   12.627569] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
[   12.659283] audit: type=1130 audit(1673846186.966:13): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-cryptsetup@data\x2dhome comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

here
\/\/\/\/


[   12.662644] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC3254: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   12.662647] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.662648] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   12.662648] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[   12.662649] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   12.662650] snd_hda_codec_realtek ehdaudio0D0:      Headset Mic=0x19
[   12.662650] snd_hda_codec_realtek ehdaudio0D0:      Headphone Mic=0x1b
[   12.689995] audit: type=1130 audit(1673846186.996:14): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=cronie comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   12.691878] audit: type=1334 audit(1673846186.996:15): prog-id=29 op=LOAD
[   12.692354] audit: type=1334 audit(1673846187.000:16): prog-id=30 op=LOAD
[   12.692566] audit: type=1334 audit(1673846187.000:17): prog-id=31 op=LOAD
[   12.710280] audit: type=1334 audit(1673846187.016:18): prog-id=32 op=LOAD
[   12.710284] audit: type=1334 audit(1673846187.016:19): prog-id=33 op=LOAD
[   12.710286] audit: type=1334 audit(1673846187.016:20): prog-id=34 op=LOAD
[   12.731433] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.731435] Bluetooth: BNEP filters: protocol multicast
[   12.731438] Bluetooth: BNEP socket layer initialized
[   12.732301] Bluetooth: MGMT ver 1.22
[   12.736775] NET: Registered PF_ALG protocol family
[   12.784770] NET: Registered PF_QIPCRTR protocol family

[   13.304138] i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A

here
\/\/\/\/

[   13.328088] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[   13.328097] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[   13.328276] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
[   13.328283] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
[   13.328289] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
[   13.328294] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
[   13.328299] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
[   13.328306] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
[   13.328313] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
[   13.328320] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
[   13.328330] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
[   13.328336] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
[   13.328343] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
[   13.328358] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[   13.350752] input: sof-hda-dsp Headphone Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
[   13.350845] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
[   13.350975] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21
[   13.351074] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input22


I diffed  lsmod and then added  this in /etc/modules-load.d/modules.conf

Code: [Select]

snd_soc_intel_hda_dsp_common
snd_sof_probes
snd_sof_intel_hda_common
snd_soc_hdac_hdmi
snd_soc_hdac_hda
snd_sof_probes
snd_soc_dmic
snd_soc_skl_hda_dsp


Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #24
After reboot I noticed this in the dmesg output

Code: [Select]
    9.900644] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    9.908484] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    9.968169] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    9.968177] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    9.968185] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    9.968257] sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-adl.ri failed with error -2
[    9.968262] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[    9.968264] sof-audio-pci-intel-tgl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[    9.968266] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2
[    9.968828] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2
[   11.228059] elogind[1795]: Watching system buttons on /dev/input/event3 (AT Translated Set 2 keyboard)


I think this is it: the firmware

Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #25
YES !

Solved

Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #26
for the record:

Sound actually works for default LTS kernel, so NO need to upgrade to last version of the Kernel provided the proper firmware is installed.

Current version:
Code: [Select]
uname -a
Linux  5.15.86-1-lts #1 SMP Tue, 10 Jan 2023 16:49:08 +0000 x86_64 GNU/Linux


I manually installed the firmware this way:

Code: [Select]
https://github.com/thesofproject/sof-bin/
sudo ./install.sh v2.2.4

but for the for the record Manjaro installed sof-firmware in extra (current version is Version 2.2.3-1) which should be easier.
(So you have to add extra to pacman.conf)

Edit: it is present in WORLD too!





Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound

Reply #27
for the record:

The solution was to install sof-firmware package in world