You are not logged in.

#1 2023-07-22 15:28:12

chdirdesktop
Member
Registered: 2023-07-22
Posts: 2

[SOLVED] [PIPEWIRE] [DELL XPS 9320] Audio not working on 6.4.4-arch1-1

I have searched through all of the Arch Linux Wikis and throughout the internet but I am unable to figure out why my audio is not working at all.

My mkinitcpio.conf

# 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=(usbhid xhci_hcd)
#

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)

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"

Output of inxi -aA

Audio:
  Device-1: Intel vendor: Dell driver: N/A bus-ID: 0000:00:05.0
    chip-ID: 8086:a75d class-ID: 0480
  Device-2: Intel vendor: Dell driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:51ca class-ID: 0401
  API: ALSA v: k6.4.4-arch1-1 status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.74 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli

Output of pipewire, pipewire-pulse, pipewire-media-session respectively:

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-07-22 20:47:26 IST; 8min ago
TriggeredBy: ● pipewire.socket
   Main PID: 5658 (pipewire)
      Tasks: 3 (limit: 38026)
     Memory: 5.4M
        CPU: 105ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─5658 /usr/bin/pipewire

Jul 22 20:47:26 xpsensive systemd[483]: Started PipeWire Multimedia Service.

,

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-07-22 20:47:31 IST; 8min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 6006 (pipewire-pulse)
      Tasks: 2 (limit: 38026)
     Memory: 2.1M
        CPU: 36ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─6006 /usr/bin/pipewire-pulse

Jul 22 20:47:31 xpsensive systemd[483]: Started PipeWire PulseAudio.

,

● pipewire-media-session.service - PipeWire Media Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-07-22 20:47:35 IST; 8min ago
   Main PID: 6323 (pipewire-media-)
      Tasks: 2 (limit: 38026)
     Memory: 2.2M
        CPU: 313ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-media-session.service
             └─6323 /usr/bin/pipewire-media-session

Jul 22 20:47:35 xpsensive systemd[483]: Started PipeWire Media Session Manager.
Jul 22 20:47:35 xpsensive pipewire-media-session[6323]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Jul 22 20:47:35 xpsensive pipewire-media-session[6323]: spa.bluez5: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

Output of sudo dmesg | grep audio

[    1.171020] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    1.171039] sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    1.171067] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    1.171232] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    2.618561] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.698309] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    2.714267] sof-audio-pci-intel-tgl 0000:00:1f.3: codec #2 probe error, ret: -2
[    2.714508] sof-audio-pci-intel-tgl 0000:00:1f.3: no hda codecs found!
[    2.714563] sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-rpl.ri failed with error -2
[    2.714567] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[    2.714653] sof-audio-pci-intel-tgl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[    2.714738] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2
[    2.715839] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

My sof-firmware versions
sof-firmware 2.2.6-1
sof-tools 2.2.6-1

If anyone has ever encountered this error and found a fix, please let me know immediately!

Last edited by chdirdesktop (2023-07-24 08:42:28)

Offline

#2 2023-07-24 08:43:06

chdirdesktop
Member
Registered: 2023-07-22
Posts: 2

Re: [SOLVED] [PIPEWIRE] [DELL XPS 9320] Audio not working on 6.4.4-arch1-1

If anyone is wondering, the issue was solved by:
sudo modprobe -r snd-sof-pci-intel-tgl; sudo modprobe snd-sof-pci-intel-tgl

Offline

#3 2023-08-11 18:54:17

pn
Member
Registered: 2020-01-28
Posts: 39

Re: [SOLVED] [PIPEWIRE] [DELL XPS 9320] Audio not working on 6.4.4-arch1-1

I don't get it, isn't modules reloaded at each boot? You want to resolve the problem without rebooting?

Offline

#4 2023-08-12 10:54:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,831

Re: [SOLVED] [PIPEWIRE] [DELL XPS 9320] Audio not working on 6.4.4-arch1-1

It's a kernel bug with that module, it sometimes loads too early, incorrectly and does not properly initialize the HW

Offline

Board footer

Powered by FluxBB