Bug 1196329

Summary: Internal Intel audio not working after upgrading to openSuSE Leap 15.3
Product: [openSUSE] openSUSE Distribution Reporter: Michael May <mail>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: mail
Version: Leap 15.3   
Target Milestone: Leap 15.3   
Hardware: x86-64   
OS: openSUSE Leap 15.3   
See Also: https://github.com/thesofproject/linux/issues/3462
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: infodata
infodat2
alsa-info and dmesg outputs

Description Michael May 2022-02-23 09:02:09 UTC
Created attachment 856472 [details]
infodata

HP Z-Book 17 G6.
Even the internal mic never worked, after upgrading to SuSE 15.3 it also lacks the internal soundcard. If working, pulseaudio is cracking up.

Problem 1: Internal mic doesn't work
Problem 2: Internal sound doesn't work anymore
Problem 3: Pulseaudio gets confused.

Booting 15.3 with the latest 15.2 Kernel works fine (without the internal mic), when running the 15.3 Kernel, no internal sound is availabe anymore, the HDMI output still works.

I found some similar bugs:
  1180320 - Audio device: Intel Corporation Device 8086:9d71: not detected (snd_hda_intel.dmic_detect=1 works around)
  1183142 - Onboard Sound unusable
  1187699 - Audio is broken after upgrade to 15.3
  1195013 - No audio output/input found - Dell Vostro 7510
but they are not exactly the same.

Using the commandline option found in one of them (snd-intel-dspcfg.dsp_driver=1) let the kernel recognize the built-in audio again, but after a while pulseaudio uses up to 99% of a core and the HDMI output is making rasping sound.
Muting HDMI decreases the load of pulseaudio to less than 20% (still too much), but it works acceptable.
Attached the alsa-info and dmesg outputs, in both variants, with and without command line option, means working sound and not working sound, hwinfo and dmidecode in a tgz.
Comment 1 Takashi Iwai 2022-02-23 09:13:04 UTC
In your case, it seems that SOF HD-audio driver doesn't work properly.  Could you check whether the kernel in OBS Kernel:stable:Backport repo works as is without intel-dsp-cfg workaround?

The CPU hog with HDMI is a different problem, though.  Is it with Nvidia binary driver, right?  If so, the problem must be relevant with it.  My wild guess is that HDMI triggers the hotplug event repeatedly by some reason.
Comment 2 Michael May 2022-02-23 11:59:49 UTC
Created attachment 856485 [details]
infodat2
Comment 3 Michael May 2022-02-23 12:05:22 UTC
Further tests done like recommended by Takashi:
kernel-default-5.16.9-lp153.4.1.gdedbf20 - does not boot

kernel-default-5.14.21-150400.75.1 - same behavior like 5.3.18-150300.59.49
outputs attached.
Comment 4 Takashi Iwai 2022-02-24 15:59:03 UTC
Just to be sure, could you retry with OBS Kernel:stable:Backport kernel (5.6.11)?
This one should be better bootable than the older 5.6.x.
Comment 5 Michael May 2022-02-25 12:21:12 UTC
Created attachment 856577 [details]
alsa-info and dmesg outputs
Comment 6 Michael May 2022-02-25 12:21:31 UTC
Hi Takashi,

have tested now both kernels from the latest builds, 
5.14.21-150400.76.1.gdd06e3b
and
5.16.11-lp153.2.1.g90630c5
and the behavior is unfortunately still the same
(works with option, works not without option).
Attached the alsa-info and dmesg outputs again (infodat3.tgz).

Michael
Comment 7 Takashi Iwai 2022-02-28 15:27:54 UTC
Thanks, then it implies that the latest upstream is still broken, and it should be handled by upstream devs.

Could you open a bug report on the upstream bug tracker for SOF?
  https://github.com/thesofproject/linux/issues/
Comment 8 Michael May 2022-02-28 15:54:07 UTC
Yes, had been done: https://github.com/thesofproject/linux/issues/3462
Comment 9 Takashi Iwai 2024-03-07 15:12:21 UTC
An old bug for the discontinued release.
Feel free to reopen if the problem persists with the latest openSUSE release.