Maniphest T101905

Blender: Add command line argument to switch gpu backends
Closed, ResolvedTO DO

Assigned To
Jeroen Bakker (jbakker)
Authored By
Jeroen Bakker (jbakker)
Oct 18 2022, 4:53 PM
Tags
  • BF Blender
  • EEVEE & Viewport
Subscribers
Alaska (Alaska)
Emi Martinez (EmiMartinez)
Erik Sanabria (ersb2194)
Jeroen Bakker (jbakker)

Description

Add a --gpu-backend option to override the gpu backend selected by Blender.

Values for this option that will be available in releases for now are:

  • opengl: Force blender to select OpenGL backend.

During development and depending on compile options additional values can exist:

  • metal: Force Blender to select Metal backend.
  • vulkan: Force Blender to select vulkan backend.

--help text should be dynamic based on the compiled options.

When this option isn't provided the internal logic for GPU backend selection will be used.
Note that this is at the time of writing the same as always selecting the opengl backend.

Revisions and Commits

rB Blender
D16297

Related Objects

StatusSubtypeAssignedTask
ConfirmedTO DOJeroen Bakker (jbakker)
ResolvedTO DOJeroen Bakker (jbakker)

Event Timeline

Jeroen Bakker (jbakker) changed the task status from Needs Triage to Confirmed.Oct 18 2022, 4:53 PM
Jeroen Bakker (jbakker) created this task.
Jeroen Bakker (jbakker) mentioned this in T68990: Vulkan support.
Alaska (Alaska) added a subscriber: Alaska (Alaska).Oct 18 2022, 9:50 PM
Jeroen Bakker (jbakker) updated the task description.Oct 19 2022, 8:46 AM
Jeroen Bakker (jbakker) added a commit: rB3655eb7ff0e8: Blender: Add command line argument to switch gpu backends..Oct 19 2022, 3:14 PM
Jeroen Bakker (jbakker) closed this task as Resolved.Oct 19 2022, 3:18 PM
Emi Martinez (EmiMartinez) added a subscriber: Emi Martinez (EmiMartinez).Oct 19 2022, 4:13 PM
Erik Sanabria (ersb2194) added a subscriber: Erik Sanabria (ersb2194).Dec 5 2022, 6:18 PM