Bug 1572975
| Summary: | Aggressive HDA power saving causes loud pops | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James <james> | ||||||
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 28 | CC: | airlied, bskeggs, ewk, hdegoede, ichavero, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, steved | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2018-05-23 12:53:56 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
James
2018-04-29 11:46:34 UTC
Thank you for the bug report. You're right that for now we need to add a quirk for your all-in-1 model, there already is some infrastructure for this in the kernel. To add a quirk I will need some info from your machine, please run: lspci -nn -v > lspci.log And attach the generated lspci.log file here. Created attachment 1428544 [details]
lspci -nn output requested
(In reply to James from comment #2) > Created attachment 1428544 [details] > lspci -nn output requested Thank you, I'm currently on vacation. I will prepare a test-kernel with a patch adding a quirk for your hardware next week. The upstream Intel HD Audio driver maintainers would like some more info to be gathered on quirked models, so that they can hopefully eventually fix things in a better way. Can you please run alsa-info.sh, let it save the gathered info locally and then attach that here? Created attachment 1431576 [details]
alsa-info.sh output
alsa-info.sh output attached as requested.
Thanks, I've just started a scratch-build of the F28 kernel with a patch added adding a quirk for your device. With this build the pops should be gone without needing a kernel cmdline argument. The test-kernel is currently building here (this takes a couple of hours): https://koji.fedoraproject.org/koji/taskinfo?taskID=26837978 Here are instructions for installing and testing a test-kernel from koji: https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt Please let me know if this fixes things, then I can submit the patch adding the quirk to the official Linux kernel. James, Upstream is asking if you can first check for another solution which allows keeping power-management enabled, quoting their email: "Before adding to blacklist, could you try some usual suspects? For Lenovo, you can try at first to pass model=,tpt440 to snd-hda-intel module. (the first comma is no typo but to pass the model name to the second controller for Realtek.) The above will add some bogus dock jacks, so it's no solution but to just to test whether it avoids the clicking noise." So can you try adding: "snd_hda_intel.model=,tpt440" To the kernel commandline (of a kernel which has the plops) and see if that fixes things ? After rebootting do: cat /sys/module/snd_hda_intel/parameters/model And check that the second entry now is "tpt440" instead of (null) to make sure the adding to the kernel commandline went right. Regards, Hans Still hear loud pops with 4.16.7-300.fc28.x86_64 using snd_hda_intel.model=,tpt440 (confirmed enabled in sysfs). I think in some sense this is just 'poppy' hardware -- it's always emitted a pop (though not as loud as these) when the sound card is initialised, even under Windows. Ok, upstream has accepted the patch now, this will be in the 4.17.x kernels once the reach Fedora. In the mean time you can keep using the kernel commandline option. |