HAL_Initialization_Failed when resuming from sleep  / HPET

Discussion created by jbmerrill on Jun 26, 2019


I have a problem with Win 10 crashing on resume from sleep. It almost always works fine the first time, but subsequent times it crashes and reboots with a Hal_Initialization_Failed 0x5c according to WhoCrashed. I was able to solve this by enabling HPET (on by default in UEFI), in Windows using the bcdedit /set useplatformlock true.


However, this then caused unacceptable lag using Windows, and I had to revert back to HPET off.


Does anyone have experience with this, and can advise of any tricks / solutions? Let me know what additional details to provide,
ASRock X399 Pro Gaming,1950x Threadripper,128GB G.Skill RGB 3200,EVGA 1200 P2,EVGA GTX 1080 Ti,Enermax Liqtech 360mm,Samsung 960 Pro/850 EVOs,Toshiba x300 HDDs,Ultra Quad/4 nvme,Thermaltake Chaser MK-1
OC - 4.0Ghz CPU, 3.0GHz RAM
BIOS P3.50
OS Win 10 Pro for Workstations Insider Preview, 1903 build 18922 - fully updated
HW, see sig + several usb devices such as:
Oculus Rift
hard drives