Add SHEEPIT_DETECT_DEVICE_ERROR

This commit is contained in:
Raimund58
2023-01-12 16:02:03 +00:00
committed by harlekin
parent d88b1e829b
commit a762fc3d97
2 changed files with 11 additions and 0 deletions

View File

@@ -984,6 +984,14 @@ import java.util.regex.Pattern;
//14-10 11:03:21 (debug) Blender quit
return Error.Type.CANNOT_READ_FILE;
}
else if (line.contains("SHEEPIT_DETECT_DEVICE_ERROR")) {
//./blender-3.3.2-linux-x64/blender -b -E CYCLES -P /mnt/d/sheep_gpu/set_gpu.py -f 1
//Blender 3.3.2 (hash bf24652e38a2 built 2022-12-07 01:12:36)
//Read prefs: /home/raimund/.config/blender/3.3/config/userpref.blend
///run/user/1000/gvfs/ non-existent directory
//SHEEPIT_DETECT_DEVICE_ERRORR: Couldn't find OPTIX device with id CUDA_NVIDIA GeForce GTX 1080_0000:01:00_OptiX
return Error.Type.SHEEPIT_DETECT_DEVICE_ERROR;
}
return Type.OK;
}