Bugzilla – Bug 1226280
No sound from speakers on Dell XPS laptop
Last modified: 2024-06-21 07:58:10 UTC
The sound from speakers randomly appears and disappears after laptop reboot or sleep/wake. The sound from Bluetooth speakers and microphone work OK. If sound from speakers does work, there are no error messages in dmesg related to sound. If sound does not work, here are the error messages from dmesg: > sudo dmesg | grep -i error [ 0.730504] RAS: Correctable Errors collector initialized. [ 13.590627] ucsi_acpi USBC000:00: unknown error 0 [ 22.640402] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -110 [ 22.640406] SDW0-Playback: ASoC: error at __soc_pcm_open on SDW0-Playback: -110 [ 22.640409] Jack Out: ASoC: error at dpcm_be_dai_startup on Jack Out: -110 [ 22.640412] Jack Out: ASoC: error at dpcm_fe_dai_startup on Jack Out: -110 [ 23.187840] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -22 [ 23.187846] SDW0-Playback: ASoC: error at __soc_pcm_open on SDW0-Playback: -22 [ 23.187849] Jack Out: ASoC: error at dpcm_be_dai_startup on Jack Out: -22 [ 23.187851] Jack Out: ASoC: error at dpcm_fe_dai_startup on Jack Out: -22 [ 23.187912] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -22 [ 23.187916] SDW0-Capture: ASoC: error at __soc_pcm_open on SDW0-Capture: -22 [ 23.187918] Jack In: ASoC: error at dpcm_be_dai_startup on Jack In: -22 [ 23.187920] Jack In: ASoC: error at dpcm_fe_dai_startup on Jack In: -22 [ 23.750769] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -22 [ 23.750777] SDW0-Playback: ASoC: error at __soc_pcm_open on SDW0-Playback: -22 [ 23.750779] Jack Out DeepBuffer: ASoC: error at dpcm_be_dai_startup on Jack Out DeepBuffer: -22 [ 23.750782] Jack Out DeepBuffer: ASoC: error at dpcm_fe_dai_startup on Jack Out DeepBuffer: -22 [ 23.759893] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -22 [ 23.759902] SDW0-Playback: ASoC: error at __soc_pcm_open on SDW0-Playback: -22 [ 23.759906] Jack Out: ASoC: error at dpcm_be_dai_startup on Jack Out: -22 [ 23.759910] Jack Out: ASoC: error at dpcm_fe_dai_startup on Jack Out: -22 [ 23.791799] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -22 [ 23.791806] SDW0-Playback: ASoC: error at __soc_pcm_open on SDW0-Playback: -22 [ 23.791809] Jack Out DeepBuffer: ASoC: error at dpcm_be_dai_startup on Jack Out DeepBuffer: -22 [ 23.791811] Jack Out DeepBuffer: ASoC: error at dpcm_fe_dai_startup on Jack Out DeepBuffer: -22 [ 23.792460] rt711 sdw:0:0:025d:0711:00: ASoC: error at snd_soc_pcm_component_pm_runtime_get on sdw:0:0:025d:0711:00: -22 [ 23.792467] SDW0-Capture: ASoC: error at __soc_pcm_open on SDW0-Capture: -22 [ 23.792471] Jack In: ASoC: error at dpcm_be_dai_startup on Jack In: -22 [ 23.792474] Jack In: ASoC: error at dpcm_fe_dai_startup on Jack In: -22 At my laptop all sound goes through pipewire, no other servers running: > inxi -Aa Audio: Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: sof-audio-pci-intel-cnl alternate: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0401 API: ALSA v: k6.4.0-150600.21-default status: kernel-api with: aoss type: oss-emulator tools: alsactl,alsamixer,amixer Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl Please help. Hardware: Dell XPS 17 9700 OS: Fresh install of OpenSUSE 15.6 64-bit.
Could you check with the recent upstream kernel in OBS Kernel:stable:Backport repo to see whether the problem still appears? In anyway, please give the alsa-info.sh output from Leap 15.6 kernel. Run the script with --no-upload option and upload the Bugzilla (don't paste).
Created attachment 875497 [details] Output of the alsa-info.sh
Thanks. To be sure, please try two different kernels: - 6.9.x kernel from OBS Kernel:stable:Backport repo: http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/ - Latest SLE15-SP6 kernel from OBS Kernel:SLE15-SP6 repo: http://download.opensuse.org/repositories/Kernel:/SLE15-SP6/pool/ Please upload the dmesg outputs from those.
Created attachment 875501 [details] Output of the alsa-info.sh for backport kernel No sound for the backport kernel. Report attached. BTW, offloaded (using suse-prime) nvidia driver also does not work on backport kernel.
OK, then please try the 6.10-rc kernel in OBS Kernel:HEAD:Backport repo: http://download.opensuse.org/repositories/Kernel:/HEAD:/Backport/standard/ I don't think this would work, but just to be sure. If 6.10-rc doesn't work, we'd need to report to Intel SOF upstream people. At best on github issues: https://github.com/thesofproject/linux/issues
Furthermore, it'd be helpful if you verify whether older kernels work or not. You can find some old kernels in my OBS repos, e.g. http://download.opensuse.org/repositories/home:/tiwai:/kernel:/6.8/backport/ http://download.opensuse.org/repositories/home:/tiwai:/kernel:/6.7/backport/ http://download.opensuse.org/repositories/home:/tiwai:/kernel:/6.6/backport/ etc (the 6.8 is currently still missing but being built now)
Created attachment 875604 [details] Output of the alsa-info.sh for backport 6.10-rc kernel No sound with 6.10-rc kernel from http://download.opensuse.org/repositories/Kernel:/HEAD:/Backport/standard/
Created attachment 875608 [details] Output of the alsa-info.sh for the 6.8.9 kernel
No sound on 6.8.9, output previously attached.
Created attachment 875609 [details] Output of the alsa-info.sh for the 6.7.9 kernel No sound still.
Thanks! Just from curiosity: what happens if you reload the sound driver? That is, runr as root: modprobe -r snd_sof_pci_intel_cnl modprobe snd_sof_pci_intel_cnl You might need to go out of the desktop once (e.g. via ctrl-alt-F1) and perform the above there, as otherwise PulseAudio or pipewire would keep accessing the device.
Created attachment 875610 [details] Output of the alsa-info.sh for the 6.6.11 kernel No sound still.
Created attachment 875611 [details] Output of the alsa-info.sh for the kernel from http://download.opensuse.org/repositories/Kernel:/SLE15-SP6/pool/ Kernel taken from: http://download.opensuse.org/repositories/Kernel:/SLE15-SP6/pool/ No sound still.
Anything else to test?
(In reply to Takashi Iwai from comment #11) > Thanks! > > Just from curiosity: what happens if you reload the sound driver? That is, > runr as root: > modprobe -r snd_sof_pci_intel_cnl > modprobe snd_sof_pci_intel_cnl > > You might need to go out of the desktop once (e.g. via ctrl-alt-F1) and > perform the above there, as otherwise PulseAudio or pipewire would keep > accessing the device. No changes. Any dmesg output needed?
(In reply to Oleksii Rukhlenko from comment #15) > No changes. Any dmesg output needed? Yes, please.
Created attachment 875612 [details] Output of the alsa-info.sh when sound was reloaded I logged out, reloaded driver in Ctrl+Alt+F1, and then logged in again. Here is the result. No sound still.
Created attachment 875613 [details] zip-archive with various dmesg outputs after reloading sound driver Just in case, I played with dmesg and grep, here are different outputs.
Thanks. Now it's time to report to the upstream. As mentioned in comment 5, could you report to github issue for SOF project? https://github.com/thesofproject/linux/issues
Thank you, done: https://github.com/thesofproject/linux/issues/5077