Bug 1226280 - No sound from speakers on Dell XPS laptop
Summary: No sound from speakers on Dell XPS laptop
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Sound (show other bugs)
Version: Leap 15.6
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Oleksii Rukhlenko
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 10:34 UTC by Oleksii Rukhlenko
Modified: 2024-06-21 07:58 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Output of the alsa-info.sh (45.16 KB, text/plain)
2024-06-14 23:06 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh for backport kernel (44.95 KB, text/plain)
2024-06-15 12:18 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh for backport 6.10-rc kernel (71.17 KB, text/plain)
2024-06-20 14:45 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh for the 6.8.9 kernel (71.82 KB, text/plain)
2024-06-20 15:20 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh for the 6.7.9 kernel (71.28 KB, text/plain)
2024-06-20 15:28 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh for the 6.6.11 kernel (71.04 KB, text/plain)
2024-06-20 15:34 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh for the kernel from http://download.opensuse.org/repositories/Kernel:/SLE15-SP6/pool/ (73.30 KB, text/plain)
2024-06-20 15:41 UTC, Oleksii Rukhlenko
Details
Output of the alsa-info.sh when sound was reloaded (133.84 KB, text/plain)
2024-06-20 16:00 UTC, Oleksii Rukhlenko
Details
zip-archive with various dmesg outputs after reloading sound driver (16.03 KB, application/zip)
2024-06-20 16:02 UTC, Oleksii Rukhlenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Rukhlenko 2024-06-13 10:34:53 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.
Comment 1 Takashi Iwai 2024-06-13 15:38:17 UTC
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).
Comment 2 Oleksii Rukhlenko 2024-06-14 23:06:10 UTC
Created attachment 875497 [details]
Output of the alsa-info.sh
Comment 3 Takashi Iwai 2024-06-15 07:49:05 UTC
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.
Comment 4 Oleksii Rukhlenko 2024-06-15 12:18:40 UTC
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.
Comment 5 Takashi Iwai 2024-06-15 12:33:43 UTC
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
Comment 6 Takashi Iwai 2024-06-18 11:54:08 UTC
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)
Comment 7 Oleksii Rukhlenko 2024-06-20 14:45:25 UTC
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/
Comment 8 Oleksii Rukhlenko 2024-06-20 15:20:41 UTC
Created attachment 875608 [details]
Output of the alsa-info.sh for the 6.8.9 kernel
Comment 9 Oleksii Rukhlenko 2024-06-20 15:21:13 UTC
No sound on 6.8.9, output previously attached.
Comment 10 Oleksii Rukhlenko 2024-06-20 15:28:26 UTC
Created attachment 875609 [details]
Output of the alsa-info.sh for the 6.7.9 kernel

No sound still.
Comment 11 Takashi Iwai 2024-06-20 15:30:25 UTC
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.
Comment 12 Oleksii Rukhlenko 2024-06-20 15:34:23 UTC
Created attachment 875610 [details]
Output of the alsa-info.sh for the 6.6.11 kernel

No sound still.
Comment 13 Oleksii Rukhlenko 2024-06-20 15:41:32 UTC
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.
Comment 14 Oleksii Rukhlenko 2024-06-20 15:41:55 UTC
Anything else to test?
Comment 15 Oleksii Rukhlenko 2024-06-20 15:44:57 UTC
(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?
Comment 16 Takashi Iwai 2024-06-20 15:50:46 UTC
(In reply to Oleksii Rukhlenko from comment #15)
> No changes. Any dmesg output needed?

Yes, please.
Comment 17 Oleksii Rukhlenko 2024-06-20 16:00:35 UTC
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.
Comment 18 Oleksii Rukhlenko 2024-06-20 16:02:00 UTC
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.
Comment 19 Takashi Iwai 2024-06-20 16:06:30 UTC
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
Comment 20 Oleksii Rukhlenko 2024-06-20 16:12:42 UTC
Thank you, done: https://github.com/thesofproject/linux/issues/5077