AMD Specifc Crash with Lumen.HardwareRayTracing

Seems related to this [Content removed] this is mostly a report for yall since we do have a temp solution (just disabling hardware renderer by default on AMD systems and providing an option to switch to hardware/software).

We’re experiencing Lumen related crashes on AMD devices. We’ve narrowed it down to r.Lumen.HardwareRayTracing, as setting that to 0/Software fixes the crash.

AMD Radeon RX 7900 XT//AMD Ryzen 9 7950X3D systems experience the crash. We had another designer report however that on their AMD 9070 XT they did not experience a crash, so it could be older cards. I’ve provided the logs and a utrace. We’re trying to get a trace of it with AMD Gpu Tool but havent had luck so far. I will post that here if we can snag it.

Thanks!

-- David

AMD_Crash_Lumen.zip(251 MB)

Hey,

Sorry for the late reply. The crash you mentioned is something we are still trying to fix but we struggle how to consistently reproduce it internally. Toggling r.Lumen.HardwareRayTracing just disables HWRT altogether. Could you check if setting r.RayTracing.PersistentSBT to 0 fixes the issue for you?

Hi, just want to chime in. To clarify, I’m not related to the original poster, I was scouting UDN post since we ran into similar AMD GPU crashes that OP has posted here as well. We tried `r.Raytracing.PersistentSBT 0` and that seems to resolve the crashes for us. One thing we noticed is that our crash might have originated from mesh decals being part of the hardware raytracing path, but mesh decals seem to be only supported with path tracing, hence it didn’t generate any hit shaders (see `FDeferredShadingSceneRenderer::CreateMaterialRayTracingMaterialPipeline`, where

bSupportMeshDecals = bIsPathTracing).

Want to share here in case this is any helpful information for Epic to repro.

Thanks for the update Trung! Have you tried setting r.RayTracing.ExcludeDecals 1 to see if it prevents the crash?