GPU volume rendering of large volume crashes application due to TDR
When rendering a large volume (720x1290x560) using vtkGPUVolumeRayCastMapper the application crashes when zooming and rotating around the volume. System logs show that the operating system's display timeout detection and recovery (TDR) feature shuts down the application because the GPU becomes non-responsive for too long (default is 2 seconds).
Happens on multiple configurations: Windows 10 desktop with NVidia GeForce 1060. Linux desktop with NVidia Tesla 6GB GPU. Sample data set:
- https://app.box.com/s/imcvz02opq5odos0cowto86p4piz392a
- https://1drv.ms/u/s!Arm_AFxB9yqHtJsVjrcKtRaGu9UB6A
Increasing TDR delay seems to make the problem occur less frequently.
See more information and some analysis of the error here: https://issues.slicer.org/view.php?id=4572#c15902