Unreal Crashing with DX12

In short, my Unreal crashes when using Direct X 12
Currently running AMD Threadripper 1950x and Rtx 3080
I get these errors:
[2023.07.15-20.49.47:112][ 67]LogD3D12RHI: Warning: GPU timeout: A payload (0x00000519C0848EA0) on the [0x0000051998580A80, 3D] queue has not completed after 5.000070 seconds.
[2023.07.15-20.49.47:114][ 67]LogD3D12RHI: Warning: GPU timeout: A payload (0x00000519C0843C60) on the [0x0000051998580D80, Copy] queue has not completed after 5.000000 seconds.

I never used to get these crashes while working in the past (Until I installed Battlefield 2042 a day ago and I think It corrupted my DX12 Drivers)

I have also tried editing timeout delay in the registry for my card with no luck.

Does anyone have some resources on fixing a DX12 installation?

Gonna update this with some more info and things Iā€™ve tried
I am currently on UE 5.2.1
Specs:
-ThreadRipper 1950x
-Gigabyte RTX 3080

  • 32 gigs of Ram

Changes I made before this happened:
-Updated from UE 5.2 to 5.2.1
-Installed and tried to play Battlefield 2042 (The game would freeze similar to UE does now, I really wonder if their broken game corrupted my DX drivers.)

As for things Iā€™ve tried

  • Setting project to to DX11: This works, but now I cant use raytracing and all the stuff I use Unreal for in the first place (I use it as my renderer for cartoons)
  • Reinstall DX: Did not work, and canā€™t find a way to ā€œreinstall or fixā€ DirectX12
  • Verifying UE install: Did not work
  • Rolling Back Nvidia Drivers: Did not work
  • Switching to Studio Drivers: Did not work
  • Complete Video Driver Clean: Did not work
  • Windows Update: Did not work
  • Windows install Scan through Powershell: Did not work
  • Windows chkdisk scan through Powershell: Did not work
  • Deleting the Derived Data Cache: Did not work
  • Scaling Down my viewport render Scale: Did not work
  • Changing Native monitor Resolution: Did not work
  • Changing windows compatibility settings to win8, Start minimized, Disable fullscreen optimizations: Did not work
  • Disabling experimental transparency: Did not work
  • Downgrading my UE version to 5.1: Did not work, it compiled 4k+ shaders, then once the editor loaded up the view port ran for a second, and then the whole software froze

Greetings @Potatomanng

Thanks for posting on the community! Iā€™ve been through my fair share of Directx issues myself. I feel your pain. You mentioned that you think maybe it corrupted your Dx12 and were trying to figure out how to reinstall Directx 12. Since it comes preinstalled, there isnā€™t really a ā€˜stand aloneā€™ really. But, what you can do is uninstall your GPU drivers completely, restart your pc and then reinstall them. It will reinstall Directx fresh from there. (Some people like to use tools like DDU to uninstall. Thatā€™s not software from Epic, however. So, I canā€™t really recommend using it. But, it is a popular option when users are trying to completely reinstall drivers fresh.) Iā€™d start with reinstalling to see if that resolves the problems. (Also, do you use any older versions prior to 5.1 that you could test? Is it crashing on launch or with a specific project youā€™re working on?)

1 Like

Hi Frosty
Taterworld.log (141.0 KB)
Taterworld.log (150.8 KB)
Iā€™ve already rolled back my NVIDIA drivers multiple times using DDU, Iā€™m currently on 531.61 studio driver.
But the crashing is consistent between any 5.0 version of unreal engine, and any project that I attempt to use.

Still getting this error in my Logs:

[2023.07.28-05.55.01:239][531]LogD3D12RHI: Warning: GPU timeout: A payload (0x00000AA9758A09A0) on the [0x00000AA958653D80, Copy] queue has not completed after 5.000000 seconds.
[2023.07.28-05.55.01:240][531]LogD3D12RHI: Warning: GPU timeout: A payload (0x00000AA9758A0460) on the [0x00000AA958653A80, 3D] queue has not completed after 5.000001 seconds.

And In one crash log that Unreal was able to spit out (most of the time the freeze prevents it from outputting a crash log i presume)

[2023.07.28-01.10.40:598][989]LogContentValidation: Display: Validating /Script/LevelSequence.LevelSequence /Game/Sequencer/ThumbletRun/Thumblet_Run_Seq.Thumblet_Run_Seq
[2023.07.28-01.10.45:245][309]LogOutputDevice: Warning: 

Script Stack (0 frames) :

[2023.07.28-01.10.45:277][309]LogStats: FPlatformStackWalk::StackWalkAndDump -  0.032 s
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: === Handled ensure: ===
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: 
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: Ensure condition failed: CurrentNum == InitialNum  [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 232] 
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: Array has changed during ranged-for iteration!
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: Stack: 
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbab755b59 UnrealEditor-GeometryCache.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbcf3ba0a4 UnrealEditor-Renderer.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbcf52c935 UnrealEditor-Renderer.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbdddfffe7 UnrealEditor-Engine.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbddd38cc5 UnrealEditor-Engine.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbab4f5614 UnrealEditor-GeometryCacheEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbab4f3a65 UnrealEditor-GeometryCacheEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbda1563af UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbd95e8dcb UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbd9637763 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbd9662254 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbd947b310 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbd9b5908c UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffbda5eedc6 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ffba5ed44dd UnrealEditor-DisplayClusterEditor.dll!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ff76ec2875f UnrealEditor.exe!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ff76ec4473c UnrealEditor.exe!UnknownFunction []
[2023.07.28-01.10.45:277][309]LogOutputDevice: Error: [Callstack] 0x00007ff76ec4482a UnrealEditor.exe!UnknownFunction []
[2023.07.28-01.10.45:278][309]LogOutputDevice: Error: [Callstack] 0x00007ff76ec474f0 UnrealEditor.exe!UnknownFunction []
[2023.07.28-01.10.45:278][309]LogOutputDevice: Error: [Callstack] 0x00007ff76ec5a4c4 UnrealEditor.exe!UnknownFunction []
[2023.07.28-01.10.45:278][309]LogOutputDevice: Error: [Callstack] 0x00007ff76ec5d996 UnrealEditor.exe!UnknownFunction []
[2023.07.28-01.10.45:278][309]LogOutputDevice: Error: [Callstack] 0x00007ffc872d7c24 KERNEL32.DLL!UnknownFunction []
[2023.07.28-01.10.45:278][309]LogOutputDevice: Error: [Callstack] 0x00007ffc874cd721 ntdll.dll!UnknownFunction []
[2023.07.28-01.10.45:278][309]LogOutputDevice: Error: 

What is interesting is that my GPU itself is not crashing and rebooting, just Unreal timing out with it.

I see. There could be a few different things causing this. I pulled this post(Itā€™s recent) where someone was having a very similar problem. Itā€™s quite a read in terms of solution options. But, it has a lot of great information. Letā€™s start by taking a look at the steps attempted there and see if it can resolve it. If not, we can look down other avenues. Hopefully this will be helpful!

Tried a lot of thisā€¦ What ended up fixing it was reverting my NVIDIA drivers far back to version 517.40!
No idea whatā€™s conflicting, but it might have something to do with virtual textures because my drivers auto updated at some point recently, unreal was working fine, then I imported some virtual textures (udims) and boom the crashing started again :weary: But then, realized an update snuck in, and reverted to 517.40 again and its working again.

1 Like

Oh wow! Iā€™ve had updates do things like that with games(New versions come out that have issues with certain settings and such). But, I havenā€™t had that issue with Unreal Engine that I recall. I am glad that you got it to work! Iā€™d keep an eye out for future updates for your GPU and see if it gets remedied. You could use some third party uninstaller and wipe all of the drivers off and try reinstalling. But, that could make you lose your current version and then thatā€™d be rough. Iā€™m going to mark your post as the solution in case other users are having problems and can try rolling back their drivers to resolve this for them as well. Thank you for the find!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.