I've been having a lot of DPC latency issues recently. As far as I can remember, the issues started after disassembling my laptop to replace a faulty power board. After reassembly, I have been having pretty bad DPC latency. After running latencymon, it seemed that i8042prt.sys and NDIS.sys were the culprits. I have attempted to disable, as well as update my network drivers, but the issue still persists.
A couple of things I have noticed is that the issue goes away if my laptop is running on battery (something related to power management?). In addition, I sometimes experience that my keyboard/touchpad will disconnect until I either reboot or bring it in and out of sleep mode. USB input by external keyboard and mouse works fine when this happens, and DPC latency is completely fine. Could this be an issue related to physical keyboard/touchpad connection or a damaged motherboard? As well as keyboard/touchpad disconnects, the monitor will sometimes go off on its own. I can turn it back on by using the FN shortcut. Both of these things occur when the DPC lag is at its worst
Anyone have any idea how I should troubleshoot and possibly fix this?