You are not logged in.

#1 2024-05-28 08:36:33

LBJensen
Member
Registered: 2024-05-28
Posts: 23

New Dell XPS 13 No Audio

Hey

I've just received a brand new XPS13 on which I promptly installed Arch / KDE. Upon booting I wrestled severely to get audio working but gave up after a days time and reinstalled with no DE to test audio, still couldn't get it to work.

I've tried reinstalling alsa/pipewire/sof-firmware as well as the entire system, twice. I've tried blocking an older version of the intel driver in modprobe as suggested in other threads

options snd-intel-dspcfg dsp_driver=1

The kernel buffer has this to say

sudo dmesg |grep audio
[    5.506332] usbcore: registered new interface driver snd-usb-audio
[    5.701453] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.701694] sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    5.701916] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.702487] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    5.702550] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.710255] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[    5.728755] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
[    5.733254] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    5.733258] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
[    5.733259] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
[    5.733260] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-mtl-rt1318-l12-rt714-l0.tplg
[    5.734181] sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.9.0.1
[    5.840882] sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.9.0.1
[    5.944302] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0

LSPCI:

$ lspci -v |grep audio
0000:00:1f.3 Multimedia audio controller: Intel Corporation Meteor Lake-P HD Audio Controller (rev 20)
        Kernel driver in use: sof-audio-pci-intel-mtl

fuser says

# fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  lau        1096 F.... wireplumber
/dev/snd/pcmC0D0p:   lau        1069 F...m pipewire
/dev/snd/seq:        lau        1069 F.... pipewire

aplay -L lists the following, but I'm just now noticing that after removing the modprobe entry I listed at the top, 4 HDMI options are gone. I don't know the significance of this but it did used to list 4 Intel Meteor Lake HDMI devices, that werent usable

# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=Pro
    Razer BlackShark V2 Pro, USB Audio
    Default Audio Device
front:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    Front output / input
surround21:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Pro
    Razer BlackShark V2 Pro
    USB Stream Output
usbstream:CARD=sofsoundwire
    sof-soundwire
    USB Stream Output

I just retried rebooting after adding the initial alsa.conf modprobe and also one that disables powersave, ie options snd-hda-intel power_save=0 which opened more opportunities in aplay -L

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=Pro
    Razer BlackShark V2 Pro, USB Audio
    Default Audio Device
front:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    Front output / input
surround21:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Pro
    Razer BlackShark V2 Pro
    USB Stream Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, C49RG9x
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

I thought perhaps the iec958 option might be the onboard audio, but it's not working

$ sudo speaker-test -c 2 -D iec958:CARD=Pro

speaker-test 1.2.11

Playback device is iec958:CARD=Pro
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy

I found a thread which recommended the following

$ sudo modprobe -r snd-sof-pci-intel-tgl; sudo modprobe snd-sof-pci-intel-tgl
$ sudo alsactl init
Found hardware: "USB-Audio" "USB Mixer" "USB1532:0528" "" ""
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Intel Meteor Lake HDMI" "HDA:8086281d,80860101,00100000" "0x1028" "0x0c87"
Hardware is initialized using a generic method

Which seems to find HDA-Intel which I believe is the correct device, but does not allow me to use it.

Any help would be greatly appreciated.

Last edited by LBJensen (2024-05-28 09:05:48)

Offline

#2 2024-05-28 09:17:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,662

Re: New Dell XPS 13 No Audio

Make sure you're up to date on kernel 6.9.2 there was a bug in the SoF loader in 6.9.1

Last edited by V1del (2024-05-28 09:17:31)

Offline

#3 2024-05-28 09:19:40

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

V1del wrote:

Make sure you're up to date on kernel 6.9.2 there was a bug in the SoF loader in 6.9.1

Thanks, I'm on

Linux archlinux 6.9.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000 x86_64 GNU/Linux

Offline

#4 2024-05-28 09:26:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,662

Re: New Dell XPS 13 No Audio

Remove the modprobe config, and reboot and then post

aplay -lL
pactl list cards
sudo dmesg | grep -E 'snd|sof'

Last edited by V1del (2024-05-28 09:29:31)

Offline

#5 2024-05-28 10:06:33

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

V1del wrote:

Remove the modprobe config, and reboot and then post

aplay -lL
pactl list cards
sudo dmesg | grep -E 'snd|sof'

Im rebooted w/o modprobes and here's the output

$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=Pro
    Razer BlackShark V2 Pro, USB Audio
    Default Audio Device
front:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    Front output / input
surround21:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Pro,DEV=0
    Razer BlackShark V2 Pro, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Pro
    Razer BlackShark V2 Pro
    USB Stream Output
usbstream:CARD=sofsoundwire
    sof-soundwire
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: Pro [Razer BlackShark V2 Pro], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 5: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 6: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 7: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ pactl list cards
Card #41
        Name: alsa_card.usb-Razer_Razer_BlackShark_V2_Pro-00
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.alsa.card = "0"
                api.alsa.card.longname = "Razer Razer BlackShark V2 Pro at usb-0000:00:14.0-1.2, full speed"
                api.alsa.card.name = "Razer BlackShark V2 Pro"
                api.alsa.path = "hw:0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "usb"
                device.bus-id = "usb-Razer_Razer_BlackShark_V2_Pro-00"
                device.bus_path = "pci-0000:00:14.0-usb-0:1.2:1.0"
                device.description = "Razer BlackShark V2 Pro"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-usb"
                device.name = "alsa_card.usb-Razer_Razer_BlackShark_V2_Pro-00"
                device.nick = "Razer BlackShark V2 Pro"
                device.plugged.usec = "5606293"
                device.product.id = "0x0528"
                device.product.name = "Razer BlackShark V2 Pro"
                device.serial = "Razer_Razer_BlackShark_V2_Pro"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.2/3-1.2:1.0/sound/card0"
                device.vendor.id = "0x1532"
                device.vendor.name = "Razer USA, Ltd"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "40"
                object.id = "41"
                object.serial = "41"
                object.path = "alsa:pcm:0"
                alsa.card = "0"
                alsa.card_name = "Razer BlackShark V2 Pro"
                alsa.long_card_name = "Razer Razer BlackShark V2 Pro at usb-0000:00:14.0-1.2, full speed"
                alsa.driver_name = "snd_usb_audio"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB1532:0528"
                alsa.id = "Pro"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input (sinks: 1, sources: 1, priority: 6501, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output + Mono Input (sinks: 1, sources: 1, priority: 5501, available: yes)
                output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
                output:iec958-ac3-surround-51+input:mono-fallback: Digital Surround 5.1 (IEC958/AC3) Output + Mono Input (sinks: 1, sources: 1, priority: 301, available: yes)
                output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
                pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
                input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
        Active Profile: output:analog-stereo+input:mono-fallback
        Ports:
                analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "mic"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:mono-fallback, output:analog-stereo+input:mono-fallback, output:iec958-stereo+input:mono-fallback, output:iec958-ac3-surround-51+input:mono-fallback
                analog-output: Analog Output (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "analog"
                                card.profile.port = "1"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:mono-fallback
                iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "spdif"
                                card.profile.port = "2"
                        Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:mono-fallback

Card #42
        Name: alsa_card.pci-0000_00_1f.3-platform-sof_sdw
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.alsa.card = "1"
                api.alsa.card.longname = "Intel Soundwire SOF"
                api.alsa.card.name = "sof-soundwire"
                api.alsa.path = "hw:1"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3-platform-sof_sdw"
                device.description = "Meteor Lake-P HD Audio Controller"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_00_1f.3-platform-sof_sdw"
                device.nick = "sof-soundwire"
                device.plugged.usec = "6032582"
                device.product.id = "0x7e28"
                device.product.name = "Meteor Lake-P HD Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "40"
                object.id = "42"
                object.serial = "42"
                object.path = "alsa:pcm:1"
                alsa.card = "1"
                alsa.card_name = "sof-soundwire"
                alsa.long_card_name = "Intel Soundwire SOF"
                alsa.driver_name = "snd_soc_sof_sdw"
                alsa.mixer_name = "Intel Meteor Lake HDMI"
                alsa.components = "HDA:8086281d,80860101,00100000 cfg-spk:2 cfg-amp:2 spk:rt1318 mic:rt715-sdca"
                alsa.id = "sofsoundwire"
                device.string = "1"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                pro-audio: Pro Audio (sinks: 4, sources: 2, priority: 1, available: yes)
        Active Profile: off
$ sudo dmesg | grep -E 'snd|sof'
[    0.115410] software IO TLB: area num 32.
[    0.643834] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.643835] software IO TLB: mapped [mem 0x0000000045239000-0x0000000049239000] (64MB)
[    0.724297] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.724311] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    5.577788] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.577972] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    5.612756] usbcore: registered new interface driver snd-usb-audio
[    5.824546] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.824576] sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    5.824589] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.824801] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    5.824861] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.831655] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[    5.849096] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
[    5.850964] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    5.850967] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
[    5.850968] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
[    5.850969] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-mtl-rt1318-l12-rt714-l0.tplg
[    5.851656] sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.9.0.1
[    5.965968] sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.9.0.1
[    6.003871] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
[    6.004178] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[    6.014971] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[    6.043325] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input39
[    6.043374] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input40
[    6.043412] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input41

Offline

#6 2024-05-28 10:54:44

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

Almost irrelevant  updates: Another thread suggest booting into Windows (which the laptop is born with) and disable Fast Startup (powercfg -h off) and then rebooting into Linux. This changed nothing.

I also attempted to disable sound in BIOS, boot Linux, enable sound in BIOS, boot Linux. Had zero effect as well.

Offline

#7 2024-05-28 11:55:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,662

Re: New Dell XPS 13 No Audio

From a pipewire level the card lacks proper profile configuration, is alsa-ucm-conf installed? The card is detected from a system level however. Does

speaker-test -Dhw:1,2 -c2

give you noise? If it does, as an interim stop gap you can switch the  profile of the soundwire card to the pro-profile and should logically be able to hook up to the speaker control.

Offline

#8 2024-05-28 12:27:15

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

V1del wrote:

From a pipewire level the card lacks proper profile configuration, is alsa-ucm-conf installed? The card is detected from a system level however. Does

speaker-test -Dhw:1,2 -c2

give you noise? If it does, as an interim stop gap you can switch the  profile of the soundwire card to the pro-profile and should logically be able to hook up to the speaker control.

This is the first time I've heard the speakers say anything in Linux!!

What does -Dhw:1,2 mean? And how do I switch the profiles as you suggest?

Yes alsa-ucm-conf is installed, but I haven't touched it.

Last edited by LBJensen (2024-05-28 12:33:24)

Offline

#9 2024-05-29 07:57:49

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

@V1del, I'd be very grateful if you could find the time to help me activate that card/profile.

Offline

#10 2024-05-29 09:22:37

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,173

Re: New Dell XPS 13 No Audio

LBJensen wrote:

What does -Dhw:1,2 mean?

man speaker-test wrote:

-D | --device NAME
    PCM device name NAME

hw:1,2 corresponds to card 1, device 2 in the output of aplay -l .

card 1: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

https://wiki.archlinux.org/title/PipeWire#Profiles may be helpful to switch the profile.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2024-05-29 10:04:52

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

Thanks Lone_Wolf.

That link suggests selected the Pro profile using pavucontrol, however neither the profile or the card are listed in pavucontrol, only my USB headset is seen there. How can I make the system pick up this card as an output device?

Offline

#12 2024-05-29 10:27:05

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

Update!

In pavucontrol, under the configuration tab, I was able to select the Pro-profile and I can now hear audio!!! Fantastic success after a week of struggling, thank you guys smile

Any tips on how to make this a permanent default?

Offline

#13 2024-05-29 19:05:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,662

Re: New Dell XPS 13 No Audio

Wireplumber should remember that now but that shouldn't normally be a default necessity. What's your output for

amixer -c1

Offline

#14 2024-05-30 07:50:48

LBJensen
Member
Registered: 2024-05-28
Posts: 23

Re: New Dell XPS 13 No Audio

V1del wrote:

Wireplumber should remember that now but that shouldn't normally be a default necessity. What's your output for

amixer -c1

Okay cool. I tried running wireplumber from cli but it just endlessly repeated some error while the speakers clicked.

$ amixer -c1
Simple mixer control 'Speaker',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Amplifier',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 45
  Front Left: 45 [100%] [0.00dB]
  Front Right: 45 [100%] [0.00dB]
Simple mixer control 'Main Amplifier',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 45
  Front Left: 45 [100%] [0.00dB]
  Front Right: 45 [100%] [0.00dB]
Simple mixer control 'rt1318-1 DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'rt1318-1 RX Channel Select',0
  Capabilities: enum
  Items: 'L,R' 'L,L' 'L,R' 'L,L+R' 'R,L' 'R,R' 'R,L+R' 'L+R,L' 'L+R,R' 'L+R,L+R'
  Item0: 'R,L'
Simple mixer control 'rt1318-2 DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'rt1318-2 RX Channel Select',0
  Capabilities: enum
  Items: 'L,R' 'L,L' 'L,R' 'L,L+R' 'R,L' 'R,R' 'R,L+R' 'L+R,L' 'L+R,R' 'L+R,L+R'
  Item0: 'L+R,L+R'
Simple mixer control 'rt714 ADC 22 Mux',0
  Capabilities: enum
  Items: 'MIC1' 'MIC2' 'LINE1' 'LINE2' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4'
  Item0: 'MIC1'
Simple mixer control 'rt714 ADC 23 Mux',0
  Capabilities: enum
  Items: 'MIC1' 'MIC2' 'LINE1' 'LINE2' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4'
  Item0: 'MIC2'
Simple mixer control 'rt714 ADC 24 Mux',0
  Capabilities: enum
  Items: 'MIC2' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4'
  Item0: 'MIC2'
Simple mixer control 'rt714 ADC 25 Mux',0
  Capabilities: enum
  Items: 'MIC1' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4'
  Item0: 'MIC1'
Simple mixer control 'rt714 FU02',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right - Rear Left - Rear Right
  Limits: Capture 0 - 63
  Front Left: Capture 47 [75%] [18.00dB] [off]
  Front Right: Capture 47 [75%] [18.00dB] [off]
  Rear Left: Capture 47 [75%] [18.00dB] [off]
  Rear Right: Capture 47 [75%] [18.00dB] [off]
Simple mixer control 'rt714 FU06',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right - Rear Left - Rear Right
  Limits: Capture 0 - 63
  Front Left: Capture 47 [75%] [18.00dB] [off]
  Front Right: Capture 47 [75%] [18.00dB] [off]
  Rear Left: Capture 47 [75%] [18.00dB] [off]
  Rear Right: Capture 47 [75%] [18.00dB] [off]
Simple mixer control 'rt714 FU0A',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 47 [75%] [18.00dB] [off]
  Front Right: Capture 47 [75%] [18.00dB] [off]
Simple mixer control 'rt714 FU0C Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
  Capture channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
  Rear Left: 3 [100%] [30.00dB]
  Rear Right: 3 [100%] [30.00dB]
  Front Center: 3 [100%] [30.00dB]
  Woofer: 0 [0%] [0.00dB]
  Side Left: 0 [0%] [0.00dB]
  Side Right: 0 [0%] [0.00dB]
Simple mixer control 'rt714 FU0E Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
  Capture channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
  Rear Left: 0 [0%] [0.00dB]
  Rear Right: 0 [0%] [0.00dB]
  Front Center: 0 [0%] [0.00dB]
  Woofer: 0 [0%] [0.00dB]
  Side Left: 0 [0%] [0.00dB]
  Side Right: 0 [0%] [0.00dB]

Offline

#15 2024-07-13 10:23:00

TheoM
Member
Registered: 2024-07-13
Posts: 1

Re: New Dell XPS 13 No Audio

Hi LBJensen,

Have you tried this yet ?

https://bbs.archlinux.org/viewtopic.php?id=295726

Offline

Board footer

Powered by FluxBB