Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: Nadir on 07 December 2022, 04:02:37

Title: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 07 December 2022, 04:02:37
I just received a brand new laptop, Dell Inspiron 16 Plus 7620, Intel Iris.

I first tried :
- artix-plasma-openrc-20220713-x86_64.iso
- artix-xfce-openrc-20220713-x86_64.iso

Both ended up with no sound (dummy driver), KDE is almost unusable (keyboard, bottom tray, menu, screen flickering).
Worst was Plasma.

then I download and tried :
- artix-plasma-openrc-20221205-x86_64.iso
- artix-xfce-openrc-20221205-x86_64.iso

same disapointment.

in order to install Artix I had to launch calamares via term... After the install, XFCE was usable but still with no sound

Any idea?


Title: Re: Install on Dell Inspiron 16 Plus 7620: no sound
Post by: lq on 07 December 2022, 05:58:26
I just received a brand new laptop, Dell Inspiron 16 Plus 7620, Intel Iris.
in order to install Artix I had to launch calamares via term... After the install, XFCE was usable but still with no sound

Any idea?

See:
https://wiki.archlinux.org/title/Dell_Inspiron_16_Plus_(7620)#Audio



"Ceterum censeo M$ esse delendam"
Title: Re: Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 07 December 2022, 10:44:19
Easy stuff: I just need a kernel upgrade.
Thanks man

Title: Re: Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 11 January 2023, 07:41:43
BTW, do you know how to build a custom kernel on Artix?

Like here ?

Kernel/Arch Build System - ArchWiki
https://wiki.archlinux.org/title/Kernel/Arch_Build_System
Title: Re: Install on Dell Inspiron 16 Plus 7620: no sound
Post by: gripped on 11 January 2023, 10:58:35
Check you have needed packages to build, and update system.
Code: [Select]
sudo pacman -Syu base-devel git
In the instructions substitute
Code: [Select]
$ asp update linux
$ asp export linux
With
Code: [Select]
git clone https://gitea.artixlinux.org/packagesL/linux.git
cd linux/trunk
The rest of the instructions should be the same until 'Updating' (which you don't need for a one off build).

To complicate matters slightly the Artix kernel build files have just been updated from 6.0.12 to 6.1.4. The new 6.1.4 package is still in gremlins (testing). I imagine that will be fine to use but if you want to stick with the the current 6.0.12 kernel substitute this instead
 
Code: [Select]
git clone https://gitea.artixlinux.org/packagesL/linux.git
cd linux
git checkout aefe9e933cc0657db144569c1f454fea834fe95c -b 6.0.12
cd trunk
Title: Re: Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 11 January 2023, 11:22:52
thanks a lot.

I was ongoing with asp tool,  and there is a patch to apply as stated here in the audio part
(which doesn't work on 6.1.4 )

Quote
(https://wiki.archlinux.org/title/Dell_Inspiron_16_Plus_(7620)#Audio)

As of December 2022, a kernel patch fixing this issue has been created and merged into the sound subsystem. It is expected to be mainlined in 6.2, but may be backported to 6.1/6.0.

Until release, the patch can be applied during a custom kernel build.

It seems to work from 6.1.2.arch1 tag on arch kernel. I will do with this version.
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: gripped on 11 January 2023, 16:21:42
It seems to work from 6.1.2.arch1 tag on arch kernel. I will do with this version.
If you're using a non Artix kernel make sure you use the dkms version of any packages which install 3rd party kernel modules. nvidia virtualbox etc.
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 11 January 2023, 17:16:44
after 6h of compilation, using the artix build I end up with a zst installable and the build finsshed without error.

the patch applied correctly during the build.
but in the end, I still go no sound.   ???

While having Manjaro installed on the same machine, with  kernel 5.15.53-1-MANJARO #1 SMP PREEMPT  I can say I had sound out of the box.

I will try the arch build

Quote
==> Starting prepare()...
Setting version...
Applying patch dell.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 6901 (offset -2 lines).
Hunk #3 succeeded at 9134 (offset 10 lines).
Hunk #4 succeeded at 9240 (offset 10 lines).
Setting config...
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: nous on 11 January 2023, 19:44:04
Is pulseaudio (and perhaps pulseaudio-alsa) installed?
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: jspaces on 11 January 2023, 21:44:58
Apparently the patch only enables the top speakers due to them being connected incorrectly to the DAC according the codec.
Code: [Select]
@@ -6903,6 +6903,34 @@ static void alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec *codec,
+static void alc295_fixup_dell_inspiron_top_speakers(struct hda_codec
+ SND_PCI_QUIRK(0x1028, 0x0b37, "Dell Inspiron 16 Plus 7620 2-in-1", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS),
+ SND_PCI_QUIRK(0x1028, 0x0b71, "Dell Inspiron 16 Plus 7620", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS),
The total lack of sound must be a different issue.
Module, pulse/alsa/pipewire issue?
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 11 January 2023, 22:30:01
Is pulseaudio (and perhaps pulseaudio-alsa) installed?

yes pulseaudio present.

I added (there were not present) :
lv2
pulseaudio-alsa
pulseaudio-bluetooth
pulseaudio-ctl
pulseaudio-zeroconf
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 11 January 2023, 22:35:04
The total lack of sound must be a different issue.
Module, pulse/alsa/pipewire issue?

Yes. I think you right. I did  not find out so far

I diffed the Manjaro & Artix livecds, both XFCE edition of last july, it seems pretty easy to find out.
Because of missing packets compared to the Manjaro's:

maybe explains display flickers:
gst-libav
gst-plugins-bad
gst-plugins-bad-libs
gst-plugins-ugly
libva-intel-driver
libva-mesa-driver
libva-vdpau-driver

Shall explains missing sound:
lv2
pulseaudio-alsa
pulseaudio-bluetooth
pulseaudio-ctl
pulseaudio-zeroconf


Unames:
Linux manjaro 5.15.53-1-MANJARO #1 SMP PREEMPT Thu Jul 7 16:56:55 UTC 2022 x86_64 GNU/Linux
Linux artix-live 5.18.10-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Jul 2022 07:26:22 +0000 x86_64 GNU/Linux

after reboot I also diffed lsmod:

modprobe cros_ec
modprobe cros_ec_ishtp
modprobe sg
modprobe snd_ctl_led
modprobe snd_soc_hdac_hdmi
modprobe snd_soc_intel_hda_dsp_common
modprobe snd_soc_skl_hda_dsp
modprobe sr_mod
modprobe st
modprobe rfcomm
modprobe qrtr
modprobe ns
modprobe intel_spi
modprobe intel_spi_pci
modprobe intel_ishtp_loader

no luck so far





Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: jspaces on 11 January 2023, 22:42:42
Well the patch mentions realtek: so maybe?
Code: [Select]
modprobe snd-hda-codec-realtek
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: ####### on 11 January 2023, 23:05:05
https://wiki.archlinux.org/title/Modprobed-db (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 (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.
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: jspaces on 11 January 2023, 23:49:29
Check the differences if any with lsmod between the two once booted.
One can then verify that Artix has all the required modules.

Pa-info should show everything about the setup. It is very verbose though so lots of scrolling.
The sound device should be present if the module is loaded.
Code: [Select]
$ pa-info
Aplay from alsa should show all the sound devices as well.
Code: [Select]
$ aplay -L
Make sure that the pulse sink is the one that is actually being used is correct or in alsa the correct device is selected.
If one has more than one device/sink showing, the default one selected during boot may not be the device/sink connected to the speakers. Some configuration may be required to get the default set correctly on boot.
Then check the mixer to see if the device/sink is present, selected and volume levels are good.

Yes I agree on modprobe-db as being very good to get the kernel down to only the actual modules that are required for your setup thus small and fast when no longer building the 99% of the modules one does not use. But the thing is all the modules have to be loaded first to be registered with it. The new  custom trim kernel will be missing all the rest of the modules.
There is always a case where one may need that new module for that new piece of hardware you now want to plug in but the module is not in the custom trim kernel that you are using. The stock kernels will always be needed for those times to find that module you need to add to your custom trim kernel(s).
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 12 January 2023, 02:01:10
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

Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: gripped on 12 January 2023, 03:11:36
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



Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: jspaces on 12 January 2023, 03:36:46
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.
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: ####### on 12 January 2023, 05:07:29
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.
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 15 January 2023, 17:58:11
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

Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 15 January 2023, 19:58:06
https://wiki.archlinux.org/title/Modprobed-db (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 (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


Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: jspaces on 16 January 2023, 01:23:58
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) (https://wiki.archlinux.org/title/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 (https://devicehunt.com/view/type/pci/vendor/8086/device/51C8)
Linux hardware describes the required module.
Device 'Intel Alder Lake PCH-P High Definition Audio Controller' (https://linux-hardware.org/?id=pci:8086-51c8-1462-1321)
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 (https://www.dell.com/support/home/en-ca/drivers/driversdetails?driverid=4ncp2)
I have used a FreeDOS USB stick to flash Dell's before.
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 16 January 2023, 04:27:28
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.
 

Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 16 January 2023, 15:35:24
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

Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 16 January 2023, 15:50:42
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
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 16 January 2023, 15:54:24
YES !

Solved
Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 16 January 2023, 18:05:13
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!




Title: Re: [SOLVED] Install on Dell Inspiron 16 Plus 7620: no sound
Post by: Nadir on 07 May 2023, 18:52:56
for the record:

The solution was to install sof-firmware package in world