Bug 1750194
Summary: | No sound on broadwell-rt286 hardware, firmware fails to load | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | TL <bugzilla> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 30 | CC: | airlied, bskeggs, david.ward, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, jkysela, john.j5live, jonathan, josef, kernel-maint, labbott, linville, masami256, mchehab, mjg59, mstuff, pbrobinson, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-5.3.9-300.fc31 kernel-5.3.11-100.fc29 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-11-12 02:21:12 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1759432, 1772498 | ||||||
Attachments: |
|
Description
TL
2019-09-09 02:06:18 UTC
Confirmed that sound works fine on the last 5.1 kernel (5.1.20-300) (i.e. no problem), so appears it problem was introduced in 5.2.x kernels. Confirmed that bug is introduced in at least kernel-5.2.2-200 onward to current kernels. (Couldn't test kernel-5.2.1-200 because it doesn't startup at all). Upstream kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=204237 Fedora kernel maintainers: According to Intel [1], the problem is with Fedora's kernel configuration. It is apparently invalid to select both CONFIG_SND_SOC_INTEL_SST_TOPLEVEL and CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL (even though this is not enforced by Kconfig). This conflict is supposed to be addressed in a future kernel version [2]. Although CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL defaults to N, it has been set to Y in Fedora. (This setting was introduced in kernel 5.2-rc1.) Aside from the conflict above, this setting requires firmware files [3] that are not currently built or packaged in Fedora. Can you please set CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL to N in the Fedora kernel package for now? This will restore sound on the affected platforms. Thank you. [1] https://bugzilla.kernel.org/show_bug.cgi?id=204237#c15 [2] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=82d9d54a6c0ee8b12211fa4e59fd940a2da4e063 [3] https://github.com/thesofproject/sof *** Bug 1760392 has been marked as a duplicate of this bug. *** FEDORA-2019-6442f3f5e8 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6442f3f5e8 FEDORA-2019-0eef22c0e3 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0eef22c0e3 FEDORA-2019-efd1043020 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-efd1043020 The fix is not ideal. We need those upstream commits to let all Intel drivers working: 82d9d54a6c0ee8b12211fa4e59fd940a2da4e063 ALSA: hda: add Intel DSP configuration / probe code cc8f81c7e625168a60843b2b39e3a327cf5170fe ALSA: hda: fix intel DSP config d745cc1ab65945b2d17ec9c5652f38299c054649 ASoC: intel - fix the card names The patches fix the correct driver auto-selection and the driver names for the Use Case Manager. https://src.fedoraproject.org/fork/perex/rpms/kernel/commits/perex/intel-sof (In reply to Jaroslav Kysela from comment #9) > The fix is not ideal. We need those upstream commits to let all Intel > drivers working: Which Intel platforms do not have working sound using the Intel ASoC SST drivers? Using the SOF driver requires separate a platform-specific firmware blob to be installed. Is that packaged in Fedora yet? I couldn't find it. We also need the patches on 5.3.x as well. I went with turning off the options because the patches didn't seem to apply cleanly to f30/f31 (it's also possible I missed a dependency) Those patches actually wouldn't fix this bug either: https://bugzilla.kernel.org/show_bug.cgi?id=204237#c20 Here's a further patchset that has been merged into linux-next, but that I was similarly unable to apply onto 5.3.x: https://github.com/thesofproject/linux/pull/1382 Description: "We have a number of issues with distros selecting options that make no sense. Let's try and be more explicit about what they should use." (In reply to David Ward from comment #10) > (In reply to Jaroslav Kysela from comment #9) > > The fix is not ideal. We need those upstream commits to let all Intel > > drivers working: > > Which Intel platforms do not have working sound using the Intel ASoC SST > drivers? All CNL (Cannonlake) platforms with the DMIC (digital microphone) connected to DSP like Lenovo Carbon X1 7th gen. The internal microphone does not work for them. > Using the SOF driver requires separate a platform-specific firmware blob to > be installed. Is that packaged in Fedora yet? I couldn't find it. Yes, we don't have this fw in Fedora. But it's another story. We also need to update UCM (I'm working on this in upstream). My SOF FW tar ball: http://people.redhat.com/~jkysela/sof/sof-firmware-v1-3-1.tgz (In reply to David Ward from comment #12) > Those patches actually wouldn't fix this bug either: > https://bugzilla.kernel.org/show_bug.cgi?id=204237#c20 > > Here's a further patchset that has been merged into linux-next, but that I > was similarly unable to apply onto 5.3.x: > https://github.com/thesofproject/linux/pull/1382 > > Description: > "We have a number of issues with distros selecting options that make no > sense. > Let's try and be more explicit about what they should use." Yes, it seems that Intel does not fully understand our requirement to enable all drivers at the kernel build time and choose the right one automatically at run-time. I will work further on this. kernel-5.3.9-300.fc31, kernel-tools-5.3.9-300.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6442f3f5e8 kernel-5.3.9-200.fc30, kernel-tools-5.3.9-200.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0eef22c0e3 Following the instructions under 'How to Install' on the testing page (https://bodhi.fedoraproject.org/updates/FEDORA-2019-6442f3f5e8), I get "Nothing to do", and nothing installs: # dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2019-6442f3f5e8 Last metadata expiration check: 0:03:02 ago on Sat 09 Nov 2019 07:58:17 PM EST. No security updates needed, but 119 updates available Dependencies resolved. Nothing to do. Complete! I am, fwiw, attempting this testing upgrade from an F31 instance, albeit running an earlier F30-built kernel: # cat /etc/fedora-release Fedora release 31 (Thirty One) # uname -a Linux localhost.localdomain 5.1.20-300.fc30.x86_64 #1 SMP Fri Jul 26 15:03:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # rpm -qa | grep kernel-core kernel-core-5.3.8-200.fc30.x86_64 kernel-core-5.1.20-300.fc30.x86_64 kernel-core-5.3.8-300.fc31.x86_64 Could someone please advise? Thanks. kernel-5.3.9-100.fc29, kernel-tools-5.3.9-100.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-efd1043020 > Could someone please advise? Thanks.
Probably didn't make it to the mirrors yet. I'd try it again now.
(In reply to Peter Robinson from comment #18) > > Could someone please advise? Thanks. > > Probably didn't make it to the mirrors yet. I'd try it again now. Actually, it's still not had enough time to propagate to all the tier 2 mirrors. https://fedoraproject.org/wiki/Infrastructure/Mirroring/Tiering Looks like it got pushed out, just tried it for F31 and it appears to fix the problem (yay!). Will report on the testing page. Many thanks to David Ward and all the other folks who have commented and helped. All best, TL kernel-5.3.9-300.fc31, kernel-tools-5.3.9-300.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. kernel-5.3.11-100.fc29, kernel-headers-5.3.11-100.fc29, kernel-tools-5.3.11-100.fc29, microcode_ctl-2.1-33.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. kernel-5.3.9-200.fc30, kernel-tools-5.3.9-200.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. Yay, sound again $ uname -r 5.3.11-200.fc30.x86_64 (not before) We need to enable the SOF driver in Fedora for 5.4 kernels. Please, could you test the kernel from bug#1772498, if the audio is functional on your hardware with it? Thank you. |