Gpu crash/d3d device removed error?

I’ve run into this problem recently on a HP Victus laptop. It happened out of nowhere, I didn’t touch the laptop for 2 months and UE5 worked just fine before.

Windows 11 Home 64-bit (10.0, Build 22631)
Core™ i7-13700H
16GB RAM
NVIDIA GeForce RTX 4060 Laptop GPU
Unreal Engine 5.3 (tried with 5.5 too)

I’ve spent days trying to solve this. I have tried

  • Installing the latest NVidia Studio driver (566.36)
  • Installing the latest NVidia Game Ready driver (566.36)
  • Installing the oldest NVidia driver I could find (552.44)
  • Updating Windows 11 to the latest version
  • Setting TdrDelay and TdrDdiDelay registry values to 60
  • Removing all graphics drivers with DDU
  • Limiting/not limiting framerate to 20fps via Nvidia control panel
  • Ensuring UnrealEditor runs using the Nvidia GPU
  • Disabling V-sync
  • Setting power mode to ‘best performance’
  • Stress-testing the GPU using FurMark
  • Checking for corrupted files with sfc /scannow
  • Completely resetting the laptop to factory defaults, including wiping the disk
  • Running UnrealEditor with DX11 instead of DX12

Absolutely nothing has worked for me. No matter what I do, UnrealEditor crashes on launch with the following error found in logs (or the DX11 variation of it):
LogD3D12RHI: Error: hr failed at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\Windows\WindowsD3D12Viewport.cpp:141 with error DXGI_ERROR_DEVICE_REMOVED

This is very frustrating and I’m at a complete loss. Is there anything I can still try?

Please help.