You are not logged in.
Pages: 1
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
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.targetin like /etc/systemd/system/reloadIntelModules.service and doing
systemctl enable reloadIntelModules.serviceif 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 -bhttps://wiki.archlinux.org/title/List_o … n_services
Last edited by V1del (2023-06-14 14:55:46)
Offline
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
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 -lLbefore and after reloading the modules.
Offline
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
Pages: 1