Advertisement

DEVICE_REMOVED on long renders

Started by August 29, 2019 08:52 AM
3 comments, last by SoldierOfLight 5 years ago

Hey,

I am actually facing a problem that the driver (in this case a mobile gtx1060 nvidia card), will produce a DXGI_ERROR_DEVICE_REMOVED once a frame took a long time. My engine offers to render and export a frame as an image file in high quality. In this case my renderer will take a highest quality profile for all settings and a lot of things take longer than realtime (incl. some heavy volumetric raytracing stuff). So my RTX2080ti takes about 1-2sec to render this frame. and even if windows and the mouse does not response within this 2 sec.. i don't get a crash/dev remove. However on some lower end cards it may take way longer and in this case it will fail with the Device_Removed error.

So for me this looks like some kind of driver mechanism which will just kill the process once a frame took to long, maybe to prevent end-less loops in shaders or equal. Finally how can I tell the driver to just render my frame.. doesn't matter how long it will take?

Thanks,

I believe you can increase/disable the timeout by modifying registry keys:

 

https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys

Aether3D Game Engine: https://github.com/bioglaze/aether3d

Blog: http://twiren.kapsi.fi/blog.html

Control

Advertisement
1 hour ago, bioglaze said:

I believe you can increase/disable the timeout by modifying registry keys:

 

https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys

Awesome thanks!

There's also the D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT flag.

This topic is closed to new replies.

Advertisement