You are not logged in.

#1 2017-12-28 12:12:56

twifty
Member
Registered: 2017-08-15
Posts: 3

Constant audio crackling using kernel 4.14

Due to an issue with AMDGPU, I updated my kernel from 4.9 to a 4.14 LTS release. However, my system speakers now have a constant crackle. The crackle has always been present during system POST, but disappeared during kernel load.

I've found a workaround to the problem by reloading the snd_hda_intel module. I don't need to specify any additional parameters, a simple reload works. However, after a reboot or wake from suspend the crackling returns. All other solutions I've found on the wiki pages have no effect.

I should also point out that no crackling can be heard during or immediately after playing a sound. For example if I hit the volume up/down key, the system sound plays and the speakers remain silent for about 10 seconds. Then, the headache inducer starts up again.

`hwinfo --sound`:

15: PCI 100.1: 0403 Audio device                               
  [Created at pci.378]
  Unique ID: NXNs.aNJaqGBCo+1
  Parent ID: _Znp.+eZipJdga28
  SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.1
  SysFS BusID: 0000:01:00.1
  Hardware Class: sound
  Model: "ATI Audio device"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0xaaf0
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0xaaf0
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfebf8000-0xfebfbfff (rw,non-prefetchable)
  IRQ: 27 (556 events)
  Module Alias: "pci:v00001002d0000AAF0sv00001043sd0000AAF0bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #18 (PCI bridge)

16: PCI 14.2: 0403 Audio device
  [Created at pci.378]
  Unique ID: 5Dex.ttnamF32fgC
  SysFS ID: /devices/pci0000:00/0000:00:14.2
  SysFS BusID: 0000:00:14.2
  Hardware Class: sound
  Model: "ATI SBx00 Azalia (Intel HDA)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4383 "SBx00 Azalia (Intel HDA)"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8445
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfeaf4000-0xfeaf7fff (rw,non-prefetchable)
  IRQ: 16 (41805 events)
  Module Alias: "pci:v00001002d00004383sv00001043sd00008445bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

The chipset is the ALC887-VD on an ASUS M4A78LT-LE board. There is no microphone and this is not a headset issue.

Is there any way to fix this problem without having to downgrade the kernel?

Last edited by twifty (2017-12-28 12:20:53)

Offline

#2 2017-12-29 12:45:22

twifty
Member
Registered: 2017-08-15
Posts: 3

Re: Constant audio crackling using kernel 4.14

I've narrowed the problem down to the power saving feature of the snd_hda_intel module. When it's enabled, power is cut to the card which enable electrical interference to filter through the speakers. Disabling it prevents the problem.

I can manually set /sys/module/snd_hda_intel/parameters/power_save to 0. Or forecefully reload the module which will set it's default value of 0. But, using a modprobe.d file or a kernel parameter has no effect. Something on my system is setting both power_save=1 and power_save_controller=Y. I cannot identify what is doing this.

This is a desktop PC, not a laptop. So things like pmutil should have no effect. There is no battery.

Any ideas?

Offline

Board footer

Powered by FluxBB