You are not logged in.

#1 2023-06-14 13:38:46

maykel535
Member
Registered: 2015-11-26
Posts: 11

Dell XPS 9320 Plus not sound

Hi, I have dell xps 9320 and with this command fix audio:

sudo modprobe -r snd-sof-pci-intel-tgl; sudo modprobe snd-sof-pci-intel-tgl

But I reboot the laptop, the problem is the same...

Also, the audio sometimes works sometimes not if you are not using it for a while

Follow this guide:

https://wiki.archlinux.org/title/Dell_X … lus_(9320)

With /etc/mkinitcpio.conf modules and files:

MODULES=(snd_soc_rt715_sdca snd_soc_rt1316_sdw snd_sof_pci_intel_tgl snd_hda_intel snd_soc_sof_sdw i915)
FILES=(/lib/firmware/intel/sof/sof-adl.ri /lib/firmware/intel/sof-tplg/sof-adl-rt1316-l12-rt714-l0.tplg)

And:

mkinitcpio -p linux

Not fix the problem.

pacman -Q | grep -i sof-
sof-firmware 2.2.5-1

I try in KDE live version and the audio it works well.

Offline

#2 2023-06-14 14:52:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: Dell XPS 9320 Plus not sound

Create a systemd service that does the reload afterwards, while ugly will likely help e.g.

[Unit]
Description=Reload intel snd modules
Wants=sound.target
After=sound.target 

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash -c "sleep 5; modprobe -r snd-sof-pci-intel-tgl; modprobe snd-sof-pci-intel-tgl"

[Install]
WantedBy=sound.target

in like /etc/systemd/system/reloadIntelModules.service and doing

systemctl enable reloadIntelModules.service

if the sound target doesn't even show up without reloading the modules, change the sound.target lines to multi-user.target and try enabling it again

To get to the bottom of why it fails in the first place you might want to post

sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

Last edited by V1del (2023-06-14 14:55:46)

Offline

#3 2023-06-15 07:48:46

maykel535
Member
Registered: 2015-11-26
Posts: 11

Re: Dell XPS 9320 Plus not sound

I don't think this is the solution, since in KDE plasma, for example, the audio works fine. I'll keep looking to fix it as it should be

Offline

#4 2023-06-15 08:27:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: Dell XPS 9320 Plus not sound

It's definitely a workaround. If you want to look at this more properly post the journal output I requested as well as

sudo fuser -v /dev/snd/*
aplay -lL

before and after reloading the modules.

Offline

#5 2023-06-15 08:44:43

maykel535
Member
Registered: 2015-11-26
Posts: 11

Re: Dell XPS 9320 Plus not sound

Before:

❯ sudo fuser -v /dev/snd/*
❯ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
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)
aplay: device_list:277: no soundcards found...


After:

❯ sudo fuser -v /dev/snd/*
                     USUARIO     PID ACCESO ORDEN
/dev/snd/controlC0:  maykel      952 F.... pulseaudio
❯ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
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)
usbstream:CARD=sofsoundwire
    sof-soundwire
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI 1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI 2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI 3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

Board footer

Powered by FluxBB