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 2146 times) previous topic - next topic
0 Members and 8 Guests are viewing this topic.

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

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?



Re: Install on Dell Inspiron 16 Plus 7620: no sound

Reply #1
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"
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: Install on Dell Inspiron 16 Plus 7620: no sound

Reply #2
Easy stuff: I just need a kernel upgrade.
Thanks man



Re: Install on Dell Inspiron 16 Plus 7620: no sound

Reply #4
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

Re: Install on Dell Inspiron 16 Plus 7620: no sound

Reply #5
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.

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

Reply #6
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.

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

Reply #7
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...

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

Reply #8
Is pulseaudio (and perhaps pulseaudio-alsa) installed?

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

Reply #9
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?

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

Reply #10
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

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

Reply #11
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






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

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

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

Reply #13
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.

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

Reply #14
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).