I am rendering scenes in blender through an automated Blender Python script that randomizes the scene inside blender and saves the render to disk. My GPU crashes with the error “Unable to determine the device handle for GPU” while the render script is running. One thing to notice is that Blender crashes exactly at the same point each time (when the blender script is rendering a scene the 18th time in its render loop) and nvidias-smi throws the “Unable to determine the device handle for GPU” error at the same time.
Here’s the output of sudo nvidia-bug-report.sh data.txt (3.4 MB)
And this is the output of nvidia-debugdump --list
Found 1 NVIDIA devices Error: nvmlDeviceGetHandleByIndex(): Unknown Error FAILED to get details on GPU (0x0): Unknown Error
Please suggest any fixes for this.