Changeset View
Changeset View
Standalone View
Standalone View
release/windows/batch/blender_debug_gpu.cmd
| @echo off | @echo off | ||||
| echo Starting blender with GPU debugging options, log files will be created | echo Starting blender with GPU debugging options, log files will be created | ||||
| echo in your temp folder, windows explorer will open after you close blender | echo in your temp folder, windows explorer will open after you close blender | ||||
| echo to help you find them. | echo to help you find them. | ||||
| echo. | echo. | ||||
| echo If you report a bug on https://developer.blender.org you can attach these files | echo If you report a bug on https://developer.blender.org you can attach these files | ||||
| echo by dragging them into the text area of your bug report, please include both | echo by dragging them into the text area of your bug report, please include both | ||||
| echo blender_debug_output.txt and blender_system_info.txt in your report. | echo blender_debug_output.txt and blender_system_info.txt in your report. | ||||
| echo. | echo. | ||||
| pause | pause | ||||
| mkdir "%temp%\blender\debug_logs" > NUL 2>&1 | mkdir "%temp%\blender\debug_logs" > NUL 2>&1 | ||||
| echo. | echo. | ||||
| echo Starting blender and waiting for it to exit.... | echo Starting blender and waiting for it to exit.... | ||||
| set PYTHONPATH= | 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" | explorer "%temp%\blender\debug_logs" | ||||
| No newline at end of file | No newline at end of file | ||||