UE 5.1 gpu crashed or d3d device removed on AMD RX 6900 XT

I’ve searched around and found no answers that worked to resolve my issue. All 5.1 projects (CPP and blueprint based) cause the crash in title “gpu crashed or d3d device removed”. The GPU utilization is actually pretty low until I confirm the error, at which point the utilization shoots to 100%.

LoginId:2a****
EpicAccountId:e0****

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 868] CurrentQueue.Device->GetDevice()->GetDeviceRemovedReason() failed at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:910 with error 887A0006

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

My specs are:
Windows 10 10.0.19044 Build 19044
ASRock X370 Taichi motherboard
AMD Ryzen 7 1700 CPU
AMD RX 6900 XT GPU
32 GB RAM
EDIT: AMD Software version: Adrenalin 22.5.1 Recommended (WHQL)

Resolution steps attempted (all with no change to behavior):

  • Tdrdelay registry edits here
  • Undervolting GPU
  • Turning off all GPU performance monitoring (another poster mentioned Ravitune causing this error)
  • Turning off all enhancements in AMD control panel (turned off adaptive sync)
  • Changing editor graphics settings to low

I really appreciate any help at this point. I’m very stumped and cannot work with my colleagues who are all in 5.1

2 Likes

Hello,
same here with rx 6900 xt too,
I roll back to sm5 in project settings > platforms > windows > d3d12
And it’s work,
It may be a driver issue

1 Like

Thanks Tony. I believe it is a driver and UE conflict. I updated the AMD drivers to 22.11.2 (optional), and it seems to be more stable. I have not had a crash yet, but less than 1 hour of testing thus far.

2 Likes

i update to 5.1 with RX 6800 XT getting the same thing every time i get into Landscape editing or painting…
that is on

AMD drivers to 22.11.2 (optional)

1 Like

I am 5600M and I have the same problem, do you have any solutions? Thank you!

switching back to SM5 didn’t work for me.

However manually adjusting the Max Clock speed to 1300Mhz
and voltage to 1010mV didnt crash for 20sec :joy:

This is all very ridiculous.
The only solution to the problem is to use DirectX 11!
These problems have been around for a long time and AMD doesn’t care about people’s problems, I’m very sorry I bought an AMD gpu!

1 Like

It’s not only AMD… I occasionally (every 2-3 hours or something like that) experience the same crashes with an Nvidia GPU. (RTX 3070)


I believe it’s related to something going on between UE 5.X and GPU drivers…
I don’t think it’s related to system stability issues, temperatures, voltages… or nothing like that. Because all the other programs I use are rock solid.
I believe it will eventually end up being fixed by new releases either of Unreal Engine or the drivers.

1 Like

i was previously using VEGA 64 now got the 6800xt and started happening …
its not all AMD Gpu’s, thats why i tried downclocking it but… nothing

but also with the VEGA 64 i was running UE 5.0 - to - 5.0.3 no problems now i migrate my project to 5.1 and here we are

Made a quick video this is all on Default settings, + Metrics overlay

[NOTE] it crashes at the end, normally crashes way faster then this…

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 868] CurrentQueue.Device->GetDevice()->GetDeviceRemovedReason() failed at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:910 with error 887A0007

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

also i dont know why its saying its in directory “D:” as its not, its in “C:”

1 Like

Personally It looks like I’m not experiencing those crashes anymore… I don’t know if it could be related or of any help to others but after investigating a bit, I actually found out an abnormal usage of my GPU (constantly 90-100% in idle) due to the latest windows 11 update.
What I did is go to system → Display → Graphics → Default Graphic Settings → and disable “Hardware Accelerated GPU Sheduling”.

After that the GPU usage in idle is now 0-4%… and even with Unreal opened and viewport in “realtime” I get 2-4% usage and it isn’t crashed since then.

5 Likes

There always been problems with AMD and unreal so what i did to fix the problem was factory reset my gpu hope it helps guys :slight_smile:

Same here with rx 6900 xt. but by me is when i like to create a metahuman out of an mesh. It crash everytime when i would like to auto track… also a GetDeviceRemovedReason error. Why we buyed a goog GPU :smiley:

RTX 4090 driver ver. 527.56 Windows 10 64Gb RAM SAME PROBLEM Most likely the problem is with the new drivers, with the old ones in 5.1 there was no such problem.

i have Rx6800 and RX6800 XT
both of them crash

I have VEGA 64 also, it doesn’t crash with it so often…
But on 5.0.3 Vega 64 never crashed.

The more people that Submit a Bug report to AMD to quicker it will be prioritized…

use DX11 in Project Setting – Platform – Windows
should fix it for now

1 Like

Hi this may help some of you, other option is to try with older version of the driver:

DX12 in UE5 does not work at all, also an AMD card. I have seen this bug since at least few driver updates. I play other games based on DX12 and I have no such issue. The TDrDelay registry settings doesn’t help at all, it just delays the crash. Vulkan or DX11 are fine so far, but they have inferior support in UE.

This is a -d3debug dump from the official binary release of 5.1 on a brand new project:

LogD3D12RHI: Warning: ID3D12Device::CreateCommittedResource: Ignoring InitialState D3D12_RESOURCE_STATE_GENERIC_READ. Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON.
[2023.02.01-06.05.37:678][  6]LogD3D12RHI: Create ID3D12DescriptorHeap: Addr=0x000002A3C76C5070, ExtRef=1, IntRef=0
[2023.02.01-06.05.37:678][  6]LogD3D12RHI: Error: ID3D12Device::RemoveDevice: Device removal has been triggered for the following reason (DXGI_ERROR_DEVICE_HUNG: The Device took an unreasonable amount of time to execute its commands, or the hardware crashed/hung. As a result, the TDR (Timeout Detection and Recovery) mechanism has been triggered. The current Device Context was executing commands when the hang occurred. The application may want to respawn and fallback to less aggressive use of the display hardware).
[2023.02.01-06.05.37:678][  6]LogD3D12RHI: Error: CurrentQueue.Device->GetDevice()->GetDeviceRemovedReason() failed 
 at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:910 
 with error 887A0006

[2023.02.01-06.05.37:678][  6]LogD3D12RHI: Error: [GPUBreadCrumb] Last tracked GPU operations:
[2023.02.01-06.05.37:678][  6]LogD3D12RHI: Error: [GPUBreadCrumb]	3D Queue 0 - End: Frame 6 - AccessModePass[Graphics] (Textures: 0, Buffers: 9)
[2023.02.01-06.05.37:684][  6]LogD3D12RHI: Error: [GPUBreadCrumb]	Copy Queue 0 - No Data
[2023.02.01-06.05.37:695][  6]LogD3D12RHI: Error: [GPUBreadCrumb]	Compute Queue 0 - End: AccessModePass[AsyncCompute] (Textures: 0, Buffers: 5)
[2023.02.01-06.05.37:707][  6]LogD3D12RHI: Error: DRED: No breadcrumb head found.
[2023.02.01-06.05.37:707][  6]LogD3D12RHI: Error: DRED: No PageFault data.
[2023.02.01-06.05.37:707][  6]LogD3D12RHI: Error: Memory Info from frame ID 7:
[2023.02.01-06.05.37:707][  6]LogD3D12RHI: Error: 	Budget:	15570.22 MB
[2023.02.01-06.05.37:707][  6]LogD3D12RHI: Error: 	Used:	3444.43 MB
[2023.02.01-06.05.39:692][  6]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 868] 
CurrentQueue.Device->GetDevice()->GetDeviceRemovedReason() failed 
 at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:910 
 with error 887A0006
1 Like

I’ve encountered the same crashes on both 5.0.3 and 5.1.0. I can also confirm that using DX11 instead of DX12 prevented the crashes from happening again - this is on 5.1.0, I cannot confirm with 5.0.3 because I already uninstalled it.

Do these type of issues linger for long before they get fixed? I’m new to UE, so I don’t really have an idea on how fast bug fixes get released.

Hey use the “NON_WHQL” 21.5.1 driver here is a link, solved my issue until amd can fix the drivers on their end. either search in google 'amd drivers for ue5" or use this link https://www.amd.com/en/support/kb/release-notes/rn-rad-win-21-5-1-ue5** remember its the non-whql version. its the only driver that wont shoot to 100% GPU when ever i mouse over something in the content browser or crash randomly.

1 Like