GPUクラッシュ




Tags


Published


GPUクラッシュの概要



How to Fix a GPU Driver Crash When Using Unreal Engine | Unreal Engine 5.3 Documentation

GPU クラッシュが発生する理由

Windows では、過剰なメモリの使用によるアプリケーションのロックを防ぐためのセーフガードが実装されています。これらの状況では、Windows は GPU ドライバーを強制終了して、アプリケーションをクラッシュさせます。

GPUクラッシュが発生すると、コール スタックやログに「GPUCrash - exiting due to D3D device being lost - D3D Hung」や「DXGI_ERROR_DEVICE_REMOVED with Reason:DXGI_ERROR_DEVICE_HUNG."」などのメッセージが出てくることがあります。などのメッセージが出てくることがあります。

GPU のクラッシュは、以下のような様々な理由で発生します。

  • メモリ不足 (OOM)

  • 高負荷な処理中のタイムアウト (TDRイベント)

  • エンジン コードのバグ

  • ドライバのバグ

  • オペレーティング システムの不具合

  • ハードウェアの問題

これらの理由から、アプリケーションでは、クラッシュの発生原因を常に把握できるわけではなく、アプリケーション レベルでクラッシュを回避することが不可能な場合があります。 以下のセクションでは、根本的な原因を特定するのに役立ついくつかのデバッグ オプションと、実行可能ないくつかの予防策について説明します。


I think for this there are a few things you can try:

  • Make sure the power cord is connected

  • In nvidia control panel, set the power management mode to prefer maximum performance

  • Also in Nvidia control panel or the dedicated software of your laptop, there may be a setting which would reduce the power consumption in order to save battery. You may turn such option off

  • In windows, set the power management also to maximum performance

  • In the dedicated software, turn the cooling to maximum if allowed to keep the computer cooler

  • And try these registry settings:

https://docs.unrealengine.com/5.3/en-US/how-to-fix-a-gpu-driver-crash-when-using-unreal-engine/