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?
sudo pacman -Syu base-devel gitIn the instructions substitute
$ asp update linuxWith
$ asp export linux
git clone https://gitea.artixlinux.org/packagesL/linux.gitThe rest of the instructions should be the same until 'Updating' (which you don't need for a one off build).
cd linux/trunk
git clone https://gitea.artixlinux.org/packagesL/linux.git
cd linux
git checkout aefe9e933cc0657db144569c1f454fea834fe95c -b 6.0.12
cd trunk
(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.
==> 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...
@@ -6903,6 +6903,34 @@ static void alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec *codec,The total lack of sound must be a different issue.
+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),
Is pulseaudio (and perhaps pulseaudio-alsa) installed?
The total lack of sound must be a different issue.
Module, pulse/alsa/pipewire issue?
$ pa-infoAplay from alsa should show all the sound devices as well.
$ aplay -LMake sure that the pulse sink is the one that is actually being used is correct or in alsa the correct device is selected.
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 |
I tried to modprobe most of the left side
Well the patch mentions realtek: so maybe?Code: [Select]modprobe snd-hda-codec-realtek
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
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.
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'
[miffe]
Server = https://arch.miffe.org/$arch/
SigLevel = Never
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
(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
Audio 8086:51c8Devicehunt describes the unit.
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 *
Maybe post dmesg both on boot and latest lines after trying to insert the modules.
Try modprobe --verbose
[ 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
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
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)
uname -a
Linux 5.15.86-1-lts #1 SMP Tue, 10 Jan 2023 16:49:08 +0000 x86_64 GNU/Linux
https://github.com/thesofproject/sof-bin/
sudo ./install.sh v2.2.4