Incessant GPU crashing

2022.1.12f1
For many months, even on earlier versions, Unity crashes my Radeon 6800xt (Windows) multiple times a day, for seemingly no reason, causing a “swapchain timeout.” It is severely hindering my workflow, having my entire computer get screwed up as my card reboots. It is jacking up my stease (style and ease) so to speak. I have done the following to remedy this:

  • Latest drivers
  • Changed registry key to allow for a longer GPU timeout window (crashes now take longer to occur and did not fix the problem)
  • Disabled fast boot
    This is what my stack trace looks like:
0x00007FF72104FF65 (Unity) GfxDeviceD3D12Base::smile:rawBuffersCommon
0x00007FF72104F2EE (Unity) GfxDeviceD3D12Base::smile:rawBufferRanges
0x00007FF72104F570 (Unity) GfxDeviceD3D12Base::smile:rawBuffers
0x00007FF722661912 (Unity) GfxDeviceWorker::RunCommand
0x00007FF7226640FD (Unity) GfxDeviceWorker::RunExt
0x00007FF722664218 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF720CFDE37 (Unity) Thread::RunThreadWrapper
0x00007FFA9D0D7034 (KERNEL32) BaseThreadInitThunk
0x00007FFA9D642651 (ntdll) RtlUserThreadStart

What can I do to fix this? Unity is barely usable in this state. Normally it crashes several times a day, but just now it crashed 3 times in as many minutes. How can I fix this? It’s driving me up the wall!
I’m using the latest compatible version of HDRP, UI Toolkit, and VFX graph, if that makes any difference.

Driver cleaner, reboot reinstall drivers direct from amd, no fancy stuff.
Check PSU is well-functioning.

Keep vsync on at all times. Update Unity. Ensure Unity is using vsync as well. Check temps.

The listed combo (HDRP + VFX) are likely to pressure the GPU in both power draw and temperature. Also any dodgy drivers will also be big problems with VFX.

It’s not actually Unity doing something dodgy here, but the tech will pressure any GPU, so any weak spots like power, temperature, drivers will cause it to go.

If you are using middleware, or DX12 there is a chance they can be the culprits. Are you leaving anything out?

I also recommend reporting it as a bug from the reporter menu, from your project. Feel free to include this thread URL and more information for Unity’s QA team as they’re top-level but also might need extra context since why not?

(You said many months so it probably has been a few versions, not just this beta, right?)