You are not logged in.

#1 2022-08-02 08:36:41

potens
Member
Registered: 2016-03-14
Posts: 14

[Solved] Dell XPS 13 Plus 9320 sound not working if early KMS

Hi,

This is for the records, or for people having problem with sound on this laptop, I started the message (original) and then had an idea.

So, the situation right now (for me) is, if you add i915 to MODULES in mkinitcpio, the soundcard firmware can not be loaded, I don't know if this is a bug, or if you have to add the firmware files to the initrd

I hope it helps someone

Original Message

Hi,

I just received this, and after playing one day or two with Ubuntu (just the time to check everything "worked" on Ubuntu, I installed Arch on it.

In the beginning, all worked BUT the sound and the camera. After installing sof-firmware, everything (sound related) worked, and was fine. So I continued to "tune" the thing to finish the install and either I messed up, either something is now broken (definitively ?).

So the situation now is the sof firmware not loading anymore, and systemd-udevd hanging at reboot/shutdown (because of the sound modules, if I manually rmmod all sound related modules, after stopping pulse and pipewire, there is no problem)

[    6.493384] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    6.493398] sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    6.493431] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    6.493563] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    6.493623] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.500419] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    6.593449] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
[    6.594183] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    6.594185] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:19:1
[    6.594186] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    6.594188] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    6.691243] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    6.691248] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:19:1
[    6.691251] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[   11.346949] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.570651] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.570955] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.656986] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.658153] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.659003] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.661611] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.663988] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.666150] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.667977] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.669816] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.671474] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.722390] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   11.722917] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   16.629225] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   16.638003] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   16.639688] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   16.778586] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   16.780971] sof_sdw sof_sdw: snd_soc_register_card failed -517
[   16.784849] sof_sdw sof_sdw: snd_soc_register_card failed -517
[ 1261.385570] sof_sdw sof_sdw: snd_soc_register_card failed -517

For the records, I think this is the journal for the last time

sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:19:1
sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:19:1
sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:19:1
sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input27
input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input28
input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input29

So, my problem is quite the same as in this post, the difference is I don't have the same laptop, and also for me, it worked...for a while...

Does anyone have an idea what I can try (I don't want too much reinstalling Ubuntu on it) ?

Last edited by potens (2022-08-14 15:25:04)

Offline

#2 2022-08-08 17:30:37

lights0123
Member
Registered: 2021-03-17
Posts: 2

Re: [Solved] Dell XPS 13 Plus 9320 sound not working if early KMS

Add

snd_soc_rt715_sdca snd_soc_rt1316_sdw snd_sof_pci_intel_tgl snd_hda_intel snd_soc_sof_sdw

before i915 in MODULES. Then, add

/lib/firmware/intel/sof/sof-adl.ri /lib/firmware/intel/sof-tplg/sof-adl-rt1316-l12-rt714-l0.tplg

to the FILES array. My end result is:

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=(snd_soc_rt715_sdca snd_soc_rt1316_sdw snd_sof_pci_intel_tgl snd_hda_intel snd_soc_sof_sdw i915)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=(/lib/firmware/intel/sof/sof-adl.ri /lib/firmware/intel/sof-tplg/sof-adl-rt1316-l12-rt714-l0.tplg)

Offline

#3 2022-08-14 15:25:42

potens
Member
Registered: 2016-03-14
Posts: 14

Re: [Solved] Dell XPS 13 Plus 9320 sound not working if early KMS

You got it right @lights0123

What is strange is I managed also to not have this problem putting some parameters in modprobe.conf.d (I think `enable_guc=3`) but it was not working consitently, and your solution is perfectly working.

I guess now I need to put some hook for pacman to rebuild the init on sof firmware update...

Thanks a lot !

Last edited by potens (2022-08-14 15:29:19)

Offline

Board footer

Powered by FluxBB