Bug 199607
Summary: | Audio codec suspend causes humming sound with snd-hda-intel on NUC5i7RYB | ||
---|---|---|---|
Product: | Drivers | Reporter: | Viktor Ashirov (viktor) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | a.nielsen, jwrdegoede, tiwai |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.16.6-300.fc28.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | alsa-info.txt |
Description
Viktor Ashirov
2018-05-03 14:09:38 UTC
What is the symptom? Could you elaborate the problem in a bit more details? Also, as a blind shot: try to turn off "Loopback Mixing" mixer element. This is known to do harmful on many machines and is off as default. Viktor, It would be good to get feedback from you on Takashi's question, so that we can add a fix for this to the mainline kernel. Please boot without snd_hda_intel.power_save=0 added to your kernel commandline and then turn off the "Loopback Mixing" mixer element by running: amixer -c0 set "Loopback Mixing" Disabled amixer -c1 set "Loopback Mixing" Disabled (one of these 2 might fail). And then let us know if this fixes things, or if you still hear plops / a hiss. Thanks & Regards, Hans Hi, I'm sorry for the delay. The symptom looks like this: https://vashirov.fedorapeople.org/share/bz199607.webm Disabling "Loopback Mixing" doesn't help. I also hear the same hiss sound at the system shutdown. Thanks! (In reply to Viktor Ashirov from comment #3) > Hi, > > I'm sorry for the delay. > > The symptom looks like this: > https://vashirov.fedorapeople.org/share/bz199607.webm > > Disabling "Loopback Mixing" doesn't help. I also hear the same hiss sound at > the system shutdown. > > Thanks! Thank you for the info, the patch adding a quirk for your NUC has been merged now, closing. I am experiencing a similar issue with my NUC7i5BNK and suspect it may be related to this. With earlier kernel versions I had to disable power saving to avoid constant clicking on the HDMI audio when no sound was being played, but after upgrading from 4.18.9 to 5.0.12 the clicking is back, even when setting both `power_save` to 0 and `power_save_controller` to N (by echoing the new value into `/sys/module/...`). Loopback mixing has always been disabled, and enabling it does not change the behaviour in any way. The symptom is that exactly 4 seconds after stopping playback, my amplifier switches from "48 kHz" to "unlocked" and then I get random clicks and pops anything from 500ms to 2 seconds apart, of varying volumes. As long as I am playing audio then the quality is fine. On the old kernel version with snd-hda-intel power saving disabled (via configuration in `/etc/modprobe.d`) there was no problem. I am wondering whether power saving is not fully disabled with the new kernel, as it looks like some refactoring work was done since the last version I was using so I'm not sure whether that has changed anything in this respect. I am also wondering whether adding my NUC to the blacklist will also solve the problem, given that the same model with a different CPU (i3) is already on the list? My PCI IDs appear to be 8086:9d71. Many thanks for any info you have. |