Blackbox
Blog

DPC_WATCHDOG_VIOLATION: when a driver holds the processor too long

Drivers get a short window to do urgent work. Stop code 0x133 means one took far longer, or the system spent too long in that state overall. The first parameter tells you which, and storage drivers top the list.

Kind
Crash guide
Published
Reading time
7 min read

DPC_WATCHDOG_VIOLATION is Windows timing a driver and deciding it took far too long. It’s one of the more fixable blue screens, because the driver is usually named, and one family of drivers turns up more than any other.

What a DPC is

When a device needs attention, such as a disk finishing a read or a network card receiving data, its driver gets an interrupt. It handles the urgent part right away and queues the rest as a deferred procedure call, a DPC. DPCs run at a priority above every program, so while one is running, nothing else on that core is.

That’s fine for the fraction of a millisecond a DPC should take. A driver that holds the processor much longer makes the PC stutter, crackle and lag. Far longer than that, and Windows’ watchdog steps in.

Parameter 1 = 0One DPC ran past its own limit

Short DPCs come and go. Then a single one keeps running.

Parameter 1 = 1Too much time at high priority in total

No single DPC is long. They run back to back with no gap, and the time adds up.

Time spent in a DPCPast the limit: Windows stops with 0x133
Two kinds of 0x133, told apart by the first parameter. Time runs left to right; each block is one deferred procedure call (DPC). The widths show the pattern, not real timings.

The two kinds of 0x133

The first parameter of the stop code, shown in the crash dump and in Event 41’s BugcheckParameter1, separates them:

  • Parameter 1 = 0: a single DPC or interrupt routine ran past its own time limit. One driver got stuck, typically waiting on hardware that didn’t answer.
  • Parameter 1 = 1: the processor spent too long at that priority in total, through many DPCs back to back. A driver, or several, kept queueing work without a break.

Find the driver

Open the minidump from C:\Windows\Minidump in WinDbg and run !analyze -v (the crash guide has the details). For parameter 0 the driver is usually named directly. For parameter 1 the dump shows what was running at the moment the limit was crossed, which may be the last of many, so treat it as a lead.

Names that turn up often:

  • Storage: storahci.sys and stornvme.sys (Microsoft’s standard SATA and NVMe drivers, usually pointing at the drive or its firmware), iaStorA.sys and similar (Intel Rapid Storage Technology).
  • Graphics: nvlddmkm.sys, amdkmdag.sys, igdkmd64.sys.
  • Network and audio: wired, Wi-Fi and USB audio drivers, especially from utility software bundled with motherboards.

What to try

  1. Update the SSD’s firmware with the drive maker’s own tool. Firmware that stalls under certain workloads is one of the best-known causes of 0x133.
  2. Update chipset and storage drivers from the motherboard or laptop maker. If an old Intel Rapid Storage driver is installed and you don’t use RAID, Microsoft’s standard driver is a reasonable test.
  3. Check SATA cables and connections on desktop PCs. A disk that drops out and comes back keeps its driver waiting. Storage driver event 129, “Reset to device”, in the System log is the sign.
  4. Unplug what you can. USB hubs, docks, capture cards and audio interfaces all bring drivers that run DPCs. If the crashes stop with them unplugged, add them back one by one.
  5. Update the BIOS, then the graphics and network drivers.

Stutter comes first

A driver that eventually trips the watchdog usually spent weeks making things worse first: audio crackling, mouse stutter, short freezes. Tools like LatencyMon measure which driver spends longest in DPCs while it happens.

Blackbox records the share of processor time spent in DPCs and interrupts every second, and opens an incident when drivers keep the processor busy for a sustained stretch, so the slow build-up is on record before any blue screen. Naming the individual driver needs a kernel trace that Windows reserves for administrators, so Blackbox shows that reading as needing administrator rights for now. For other codes, see the stop code reference.

Questions

What causes DPC_WATCHDOG_VIOLATION?

A driver that took too long at high priority. Storage drivers and SSD firmware are the most frequent source, followed by graphics, network and audio drivers. The driver named in the crash dump, if there is one, is the place to start.

Will replacing the SATA controller driver fix it?

Sometimes. On older systems a third-party storage driver or an outdated SSD firmware is a known source, and switching to the standard Microsoft driver (storahci or stornvme) or updating the firmware helps. Check which driver the dump names first, so you change the right thing.