blender/release/windows/batch/blender_factory_startup_opengl.cmd
Alaska ed6f7177e8 Utilities: Add batch files to help launch Blender with OpenGL backend and factory settings
In Blender 5.3, Vulkan became the default GPU backend for Blender.

Since Vulkan has under gone less testing than OpenGL, there is a
increased chance of weird GPU bugs that Triagers may have to handle.

To help figure out if issues are addon related, GPU backend related,
or both, it's useful for Triagers to have utility functions that can
launch Blender with the OpenGL or Vulkan backend, with and without
addons.

Most of these were added in !142169, this commit adds the last
configuration (factory startup OpenGL).

Pull Request: https://projects.blender.org/blender/blender/pulls/161256
2026-07-15 15:32:39 +02:00

20 lines
898 B
Batchfile

@echo off
echo Starting blender with factory settings, log files will be created
echo in your temp folder, windows explorer will open after you close blender
echo to help you find them.
echo.
echo If you report a bug on https://projects.blender.org you can attach these files
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.
pause
echo.
echo Starting blender and waiting for it to exit....
setlocal
set PYTHONPATH=
set DEBUGLOGS="%temp%\blender\debug_logs"
mkdir "%DEBUGLOGS%" > NUL 2>&1
"%~dp0\blender" --factory-startup --gpu-backend opengl --python-expr "import bpy; bpy.context.preferences.filepaths.temporary_directory=r'%DEBUGLOGS%'; bpy.ops.wm.sysinfo(filepath=r'%DEBUGLOGS%\blender_system_info.txt')" > "%DEBUGLOGS%\blender_debug_output.txt" 2>&1 < %0
explorer "%DEBUGLOGS%"