Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2021-01-21 18:28:02 +0300
committerPatrick Mours <pmours@nvidia.com>2021-01-21 18:47:16 +0300
commita92ebab5da3bcbe3ee1b87348e51f6bcb347b881 (patch)
treea9dd6405e4b1910c53c7ac845d10e81ed8e9ce7d /release/windows
parentb32e8e5ba7da65e1d9360773146b09e633ab9abf (diff)
Windows: Add "--debug-cycles" argument to "blender_debug_gpu.bat" batch file
This extends the "blender_debug_gpu.bat" batch file to also be useful for triaging Cycles problems. OptiX initialization errors or problem while iterating CUDA devices are only logged when the `--debug-cycles` flag is specified, so adding that here. Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D10167
Diffstat (limited to 'release/windows')
-rw-r--r--release/windows/batch/blender_debug_gpu.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/windows/batch/blender_debug_gpu.cmd b/release/windows/batch/blender_debug_gpu.cmd
index 46d126ab621..53d7863ec70 100644
--- a/release/windows/batch/blender_debug_gpu.cmd
+++ b/release/windows/batch/blender_debug_gpu.cmd
@@ -12,5 +12,5 @@ mkdir "%temp%\blender\debug_logs" > NUL 2>&1
echo.
echo Starting blender and waiting for it to exit....
set PYTHONPATH=
-"%~dp0\blender" --debug --debug-gpu --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1 < %0
+"%~dp0\blender" --debug --debug-gpu --debug-cycles --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1 < %0
explorer "%temp%\blender\debug_logs" \ No newline at end of file