Frequent Crashing and Multiple D3D11RHI (DirectX11) and DirectX12 Errors after Windows 10 May 2020 Update (2004)

So, I have actually managed to hunt this issue down to an error around the interaction between Intel Drivers and/or Desktop Window Manager.

The same type of application hang appears to be happening in both Blender and Unreal Engine.

With Blender, after a while of zooming around the 3D viewport, sporadically, the application appears to hang. If I check the Windows Event Manager and Reliability Monitor, I notice a hardware error, an igfxn driver error with Event ID 4101:

‘Display driver igfxn stopped responding and has successfully recovered.’

leading to a drop out and then recovery of the drivers… but then with Blender, even after the drivers have recovered, the window thereafter fails to update (you only get one hang before it becomes unusable), while the application is still running in the background. The application window no longer updates (even with your awesome ‘Windows Key + Ctrl + Shift + B’ driver reset hotkey). I can, however, still save the file, as I can see that the * denoting unsaved changes in the title bar still updates… and then exit the application. I can even perform operations while the application window is hung… I have to exit blender and restart to be able to continue. It happens about 20s to 3 min into using the application usually.

In Unreal, I have similar issues which are documented here… when the application window hangs, operations can still occur, but in this case, resetting the drivers with the hotkey combination does reset the window and allow me to continue. The application typically hangs while hovering over text elements and fields, and not while e.g. simulating the game in the 3D viewport (which would seem to be more graphically intensive).

Various other error reports have promoted fixes including setting TDRDelay, or making sure the window is not maximised etc…

Seemingly… Desktop Window Manager/Intel interaction… In Event Viewer, the issues appear to be of type 0 or 5, WindowsBlackScreenDiagnosticsV1 or LiveKernelEvent / hardware errors. Maybe one of those is an event to log the hotkey press… but nevertheless, Reliability Monitor shows me hardware errors preceding any of these hangs.

For Blender, we have Hardware Errors with LiveKernelEvent code 141
For Unreal, we have Hardware Errors with LiveKernelEvent code 1a8

Unreal Hardware Error

Event Viewer

Fault bucket , type 0
Event Name: LiveKernelEvent
Response: Not available
Cab Id: 0

Problem signature:
P1: 1a8
P2: 1
P3: 0
P4: 0
P5: 0
P6: 10_0_19041
P7: 0_0
P8: 768_1
P9:
P10:

Attached files:
\?\C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201013-1356.dmp
\?\C:\WINDOWS\TEMP\WER-44478375-0.sysdata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERECDE.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERED1E.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERED4B.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WEREDE8.tmp.txt

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Kernel_1a8_5037d236f47f2deac2bec146a129f778ed23256_00000000_8244087b-0526-4054-a2b0-c12a5c275993

Analysis symbol:
Rechecking for solution: 0
Report Id: 8244087b-0526-4054-a2b0-c12a5c275993
Report Status: 4
Hashed bucket:
Cab Guid: 0

AND

Fault bucket , type 0
Event Name: WindowsBlackScreenDiagnosticsV1
Response: Not available
Cab Id: 0

Problem signature:
P1: DWM
P2: Unknown
P3: ColorBits
P4: Hotkey
P5: 10.0.19041.508
P6:
P7:
P8:
P9:
P10:

Attached files:

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Critical_DWM_8e82ea772aee7fee8588a88ed23caf7b9a041e0_00000000_a3693d55-dd16-4609-8156-7a6e8582993a

Analysis symbol:
Rechecking for solution: 0
Report Id: a3693d55-dd16-4609-8156-7a6e8582993a
Report Status: 4
Hashed bucket:
Cab Guid: 0


Reliability History:

Source
Windows

Summary
Hardware error

Status
Not reported

Description
A problem with your hardware caused Windows to stop working correctly.

Problem signature
Problem Event Name: LiveKernelEvent
Code: 1a8
Parameter 1: 1
Parameter 2: 0
Parameter 3: 0
Parameter 4: 0
OS version: 10_0_19041
Service Pack: 0_0
Product: 768_1
OS Version: 10.0.19041.2.0.0.768.101
Locale ID: 3081


For Blender


Reliability History and Event Viewer together

Will typically be 4 event types in order:

  1. Display driver stopped responding and then successfully recovered (Event ID 4101)
  2. LiveKernelEvent 141 (Event ID 1001)
  3. AppHang (Event ID 1001)
  4. Application Hang (Event ID 1002)

1. igfxn error
Log Name: System
Source: Display
Date: 5/10/2020 2:11:31 AM
Event ID: 4101
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer:
Description:
Display driver igfxn stopped responding and has successfully recovered.
Event Xml:

<Provider Name="Display" />
<EventID Qualifiers="0">4101</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-10-05T00:11:31.7648967Z" />
<EventRecordID>32200</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>...</Computer>
<Security />


<Data>igfxn</Data>
<Data>
</Data>

2. LiveKernel Event 141

Log Name: Application
Source: Windows Error Reporting
Date: 5/10/2020 2:11:42 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer:
Description:
Fault bucket , type 0
Event Name: LiveKernelEvent
Response: Not available
Cab Id: 0

Problem signature:
P1: 141
P2: ffffe18f2592d460
P3: fffff80391a049c0
P4: 0
P5: 32b0
P6: 10_0_19041
P7: 0_0
P8: 768_1
P9:
P10:

Attached files:
\?\C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201005-0211.dmp
\?\C:\WINDOWS\TEMP\WER-140574656-0.sysdata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2AE7.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B17.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B25.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B94.tmp.txt

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Kernel_141_765c9eb04c5cb323ed5a9b7f81b285337afd9f3_00000000_ed49cb4f-e0a9-4877-be1e-a710d6a33430

Analysis symbol:
Rechecking for solution: 0
Report Id: ed49cb4f-e0a9-4877-be1e-a710d6a33430
Report Status: 4
Hashed bucket:
Cab Guid: 0
Event Xml:

<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-10-05T00:11:42.2072875Z" />
<EventRecordID>11615</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>...</Computer>
<Security />


<Data>
</Data>
<Data>0</Data>
<Data>LiveKernelEvent</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>141</Data>
<Data>ffffe18f2592d460</Data>
<Data>fffff80391a049c0</Data>
<Data>0</Data>
<Data>32b0</Data>
<Data>10_0_19041</Data>
<Data>0_0</Data>
<Data>768_1</Data>
<Data>
</Data>
<Data>
</Data>
<Data>

\?\C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201005-0211.dmp
\?\C:\WINDOWS\TEMP\WER-140574656-0.sysdata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2AE7.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B17.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B25.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2B94.tmp.txt
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Kernel_141_765c9eb04c5cb323ed5a9b7f81b285337afd9f3_00000000_ed49cb4f-e0a9-4877-be1e-a710d6a33430


0
ed49cb4f-e0a9-4877-be1e-a710d6a33430
4


0

3. AppHang

Log Name: Application
Source: Windows Error Reporting
Date: 5/10/2020 2:12:58 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer:
Description:
Fault bucket , type 0
Event Name: AppHangB1
Response: Not available
Cab Id: 0

Problem signature:
P1: blender.exe
P2: 2.9.0.0
P3: 5f6b092e
P4: 55f5
P5: 67246080
P6:
P7:
P8:
P9:
P10:

Attached files:

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Critical_blender.exe_730729819546a8ecd9cc73a07616c5bef057fd_d937e06c_31897aa3-e613-49c0-ac8a-b0acc4dc83f6

Analysis symbol:
Rechecking for solution: 0
Report Id: 3605ef65-1e4c-4ac6-a464-02e4e2b35df5
Report Status: 4
Hashed bucket:
Cab Guid: 0
Event Xml:

<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-10-05T00:12:58.4291617Z" />
<EventRecordID>11617</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>...</Computer>
<Security />


<Data>
</Data>
<Data>0</Data>
<Data>AppHangB1</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>blender.exe</Data>
<Data>2.9.0.0</Data>
<Data>5f6b092e</Data>
<Data>55f5</Data>
<Data>67246080</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>\\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Critical_blender.exe_730729819546a8ecd9cc73a07616c5bef057fd_d937e06c_31897aa3-e613-49c0-ac8a-b0acc4dc83f6</Data>
<Data>
</Data>
<Data>0</Data>
<Data>3605ef65-1e4c-4ac6-a464-02e4e2b35df5</Data>
<Data>4</Data>
<Data>
</Data>
<Data>0</Data>

4. Application Hang

Log Name: Application
Source: Application Hang
Date: 5/10/2020 2:13:02 AM
Event ID: 1002
Task Category: (101)
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
The program blender.exe version 2.9.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Process ID: 32b0
Start Time: 01d69aaa46eb8091
Termination Time: 4294967295
Application Path: C:\Program Files\Blender Foundation\Blender 2.90\blender.exe
Report Id: 3605ef65-1e4c-4ac6-a464-02e4e2b35df5
Faulting package full name:
Faulting package-relative application ID:
Hang type: Top level window is idle

Event Xml:

<Provider Name="Application Hang" />
<EventID Qualifiers="0">1002</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>101</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-10-05T00:13:02.3300805Z" />
<EventRecordID>11618</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>...</Computer>
<Security />


<Data>blender.exe</Data>
<Data>2.9.0.0</Data>
<Data>32b0</Data>
<Data>01d69aaa46eb8091</Data>
<Data>4294967295</Data>
<Data>C:\Program Files\Blender Foundation\Blender 2.90\blender.exe</Data>
<Data>3605ef65-1e4c-4ac6-a464-02e4e2b35df5</Data>
<Data>
</Data>
<Data>
</Data>
<Data>Top level window is idle</Data>
<Binary>54006F00700020006C006500760065006C002000770069006E0064006F0077002000690073002000690064006C00650000000000</Binary>