[FIX] "GetDeviceRemovedReason" failed with DXGI_ERROR_DEVICE_HUNG

Channel:
Subscribers:
429
Published on ● Video Link: https://www.youtube.com/watch?v=BgGWJauS8fs



Duration: 1:07
530 views
6


Comment section instructions: https://www.youtube.com/watch?v=bFtcLJVN8yg

TdrLevel=0, 90,000,000 Second Delay: https://www.mediafire.com/file/fhgihtp4idwkepa/fixwithdel90milsec.zip/file

TdrLevel=3, 20-60 Second delay: https://www.mediafire.com/file/1j1yzuznooimu4y/fixwithdel.zip/file

***NOTE*** In the video I had used QWORD in the bat file. I have corrected the download link to DWORD. Do not panic if you see the files in the registry as DWORD. I changed it because of the resource bellow instructed me to use DWORD. I had not read that guide until after the fix was made. I have tested both. DWORD and QWORD work.

**UPDATE** Changing it from QWORD to DWORD fixed my video rendering software. The removal bat is not needed, but I will leave it on the download link in the event that you need it.

*Explanation* I encountered the error in BF4, and found information about this error. The error occurs when the GPU gets stuck on one file and in order to keep the system from crashing it kills the GPU driver. When this happens the error is thrown onto the screen and also crashes the program. To combat this you put this into the registry to allow the GPU more time to work on the file before the error message is thrown. You can disable the error message entirely by changing TdrLevel to 0 instead of 3 like I have it here. (Right click the bat file, click edit and change the 3 to a 0). Use the Microsoft link below for more information on this under the TdrLevel section.

*EDIT* For my own system I had changed the values to 90,000,000 seconds from 20 and 60. I kept getting the error in BF3 until I made this change. I also changed TdrLevel to 0. I have made a downloadable bat file for this version of the fix. I have left the original download in the description.

Resources:
- https://helpx.adobe.com/substance-3d-painter/technical-support/technical-issues/gpu-issues/gpu-drivers-crash-with-long-computations-tdr-crash.html

- https://learn.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys