I'm trying to produce music on my laptop using Ableton Live 9.7 and my audio interface (Behringer UMC404HD). I noticed some crackling (5-7 times per minute) with a buffer size of 256 samples at a sampling rate of 44.1kHz, which can of course be solved by increasing the buffer size. This won't do for when I'm recording my guitar (plugged directly into the interface), letting a plugin (Helix Native) do some DSP and monitoring the result via the audio output of the UMC404HD, since the latency would be too high to play properly. Also these clicks and pops are noticeable when I'm simply playing back tracks that only use an orchestra plugin that Live reports to cause only about a 20% CPU load.
I already tried to optmize my System using LatencyMon to find the culprits, and after updating my BIOS, updating my GPU driver, disabling my wireless adapter, downloading, importing and setting Windows to the "High Performance" power plan, disabling CPU throttling via regedit and updating my LAN driver, LatencyMon started showing me reasonable numbers (no more DPC calls >5ms) and the crackles have been reduced to about 3-4 per minute.
The only drivers left causing DPC execution times over 1ms were Wdf01000.sys and ACPI.sys. At this point I tried running the same setup from my old laptop, and I am able to play back the same orchestra track with no audio glitches even with UMC404HD's buffer size set as low as 64 Samples (@44.1kHz)! If I try that on my newer laptop, I'm in for loads and loads of crackling. So I'm fairly certain the issue's not a lack of processing power to run those plugins (since my older laptop got an way older.
I recorded an els trace of a Live project running (that uses Helix Native) with Windows Performance Analyzer, you can find it here: Dropbox - LAPTOP-GAV50J7H.01-27-2018.23-23-29.7z
I tried looking at it myself, but I can't seem to find more info than that ACPI.sys is causing the longest DPC times, looking at it's stack doesn't tell me anything useful.
Here is the rest of the info the posting instructions for DPC latency issues require:
HP Omen 17-w111ng Laptop running Windows 10 Home, x64 Bit, was OEM, I believe I did reinstall the OS shortly after getting the PC though (still Win10 Home)
The hardware is about one year old, just like the current OS installation.
CPU: Intel i7-6700HQ running at 2.6GHz
RAM: 16GB of unkown type since speccy won't tell me more
GPU: Nvidia GTX 1070
Driver Verifier is not enabled. Got no antivirus running, only the standard windows firewall is enabled.
I sometimes use VPN, but it wasn't running this whole time.
I'm not using disk imaging tools and not over/underclocking.
Okay, it's showing me a fair amout of drivers (see hidden text) whose updates I seem to have missed. Should I update them all?
Intel(R) Dynamic Platform and Thermal Framework Manager Intel 8.1.10608.329 Update available (8.3.10207.5567)
Intel(R) Dynamic Platform and Thermal Framework Processor Participant Intel 8.1.10608.329 Update available (8.3.10207.5567)
Realtek High Definition Audio Realtek 22.214.171.12423 Update available (126.96.36.19951)
Intel(R) Wireless Bluetooth(R) Intel 188.8.131.52 Update available (184.108.40.206)
Intel(R) Dual Band Wireless-AC 7265 Intel 220.127.116.11 Update available (18.104.22.168)
Synaptics SMBus Driver Synaptics 22.214.171.124 Update available (126.96.36.199)
Synaptics SMBus TouchPad Synaptics 188.8.131.52 Update available (184.108.40.206)
Intel(R) 100 Series/C230 Chipset Family SATA AHCI Controller Intel 220.127.116.111 Update available (18.104.22.1685)
Intel(R) Management Engine Interface Intel 22.214.171.1249 Update available (126.96.36.1997)
Realtek PCIe GBE Family Controller Realtek 10.13.1223.2016 Update available (10.24.1208.2017)
Intel(R) Xeon(R) E3 - 1200/1500 v5/6th Gen Intel(R) Core(TM) Host Bridge/DRAM Registers - 1910 Intel 10.1.1.13 Update available (10.1.7.1)
Intel(R) Xeon(R) E3 - 1200/1500 v5/6th Gen Intel(R) Core(TM) PCIe Controller (x16) - 1901 Intel 10.1.1.13 Update available (10.1.7.1)
Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #5 - A114 Intel 10.1.1.13 Update available (10.1.6.1)
Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #9 - A118 Intel 10.1.1.13 Update available (10.1.6.1)
Intel(R) 100 Series/C230 Series Chipset Family PMC - A121 Intel 10.1.1.13 Update available (10.1.6.1)
Intel(R) 100 Series/C230 Series Chipset Family Thermal subsystem - A131 Intel 10.1.1.13 Update available (10.1.1.42)
Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #7 - A116 Intel 10.1.1.13 Update available (10.1.1.40)
Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #6 - A115 Intel 10.1.1.13 Update available (10.1.1.40)
Realtek PCIE CardReader Realtek 10.0.10586.21289 Update available (10.0.16299.21304)
SteelSeries Device Factory SteelSeries 188.8.131.52 Update available (184.108.40.206)
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz Intel 10.0.16299.15 OK
BEHRINGER UMC404HD 192k BEHRINGER 220.127.116.11 OK
Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft) Generic USB xHCI Host Controller 10.0.16299.125 OK
Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64 Cisco 3.1.6019.0 OK
HP Mobile Data Protection Sensor HP 18.104.22.168 OK
Intel(R) 100 Series/C230 Series Chipset Family LPC Controller - A14E Intel 10.1.1.13 OK
Standard NVM Express Controller Standard NVM Express Controller 10.0.16299.192 OK
NVIDIA GeForce GTX 1070 NVIDIA 22.214.171.12465 OK
HP Wireless Button Driver HP 126.96.36.199 OK
Intel(R) Power Engine Plug-in Intel 10.0.16299.15 OK
Foxit Reader PDF Printer 10.0.16299.15 OK
NVIDIA High Definition Audio NVIDIA 188.8.131.52 OK
AMILO LSL 3260W Fujitsu 184.108.40.206 OK
Legacy device Intel 10.0.16299.15 OK
Thanks for the reply! I did all of the updates you suggested. Sadly, my BIOS does not seem to support changing the RAM's speed. There is no option for it visible in the BIOS, and this Solved: How to change RAM Speed on my HP Envy m6-1158ca? - HP Support Forum - 2334807 seems to confirm this. The latency issue persists, in LatencyMon as well as when running a test in Live. Maybe I should upgrade the rest of the drivers DUMo suggested to be outdated?
I tried something else this morning: I deactivated Battery Status Reporting in the BIOS (so now it only shows me a percentage instead of time remaining), which seemed to calm the ACPI DPC times.
I could now run my project in Live at 128 samples buffer size with practically no crackles!
Only issue left was that sometimes Wdf01000.sys still barges in with sometimes 4-5ms DPC latency, which will sometimes cause a crackle.
That's why I did the updates via Device Manager you suggested right now, it updated the Wireless Button Driver, and ACPI started misbehaving again, and the glitches were back in full! So I rolled that one back - glitches were still there.
Downloaded the version that was running when everything worked from HP, installed that one - glitches are still there. Makes me think I shouldn't have touched the drivers when everything was (somewhat) working. But it really only changed the Wireless Button Driver, and that ones back to the state it was in when ACPI was behaving well for sure, so... not sure what I should do now.
So I went through every device in Device Manager and told it to search for updates online as you suggested, evaluating impact after each driver that was updated..
WirelessButtonDriver (grr) - no change in latencies or Live's performance.
Realtek PCIe Card Reader - no change in latencies or Live's performance.
Intel 100 Series/C230 Series Chipset Family LPC Controller - A14 E: This one pretty much broke everything latency-wise, ACPI.sys, Wdf01000.sys and curiously the Nvidia driver too started
causing DPC times of ~5ms after installing and rebooting the newfound drivers for this one. Test in Ableton confirmed it was horrible. Rolled it back, issues are gone (or let's say back to normal with just
ACPI and Wdf01000 causing >1ms DPCs). Since the following devices seem to be running on the same driver I didn't update those as well.:
PCI Express Root Ports 5, 6, 7, 9
Intel Xeon E3 - 1200/1000 v5/6th Gen Intel Core Host Bridge/DRAM Registers - 1910
Intel Xeon E3 - 1200/1000 v5/6th Gen Intel Core PCIe Controller (x16) - 1901
It also updated:
Intel 100 Series/C230 Series Chipset Family PMC - A121 - no change.
Intel Management Engine Interface - no change in latencies or Live's performance.
Steelseries Device Factory - no change in latencies or Live's performance.