Runner: built-in hybrid GPU+CPU rendering option (replace blender wrapper) #33
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
blocked
draft
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
s1d3sw1ped/jiggablend#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The runner can only render GPU-only (HIP/CUDA/OptiX) or CPU-only (
--force-cpu-rendering). Itsenable_gpu.pyturns on GPU devices only, so Cycles hybrid (GPU + CPU together) is impossible without hacks.On ai1 (Ryzen AI Max+ 395, Radeon iGPU, HIP-RT) we currently get hybrid by symlinking
/usr/local/bin/blenderto a wrapper that injects-P hybrid-devices.pybefore-f/-a. It works, but it lives outside jiggablend and outside ansible, and any runner update could break it.Evidence it is worth it
A/B test on 2026-10-28, frames 542/544/540 of a 2560x1440, 4096spp scene, Blender 5.2.3, HIP-RT on:
Ask
Add a runner option (flag and/or env, e.g.
--hybrid-rendering/JIGGABLEND_HYBRID=1, default off) that, when a GPU compute type is selected, also setsuse=Trueon the CPU device inenable_gpu.py.--force-cpu-renderingis set or no GPU is found.Done when
Reference: the current wrapper is
/usr/local/lib/jiggablend/blender-hybridplushybrid-devices.pyon ai1.Triaged and assigned to Ash. The scope in the body is clear and Mira sets when it gets picked up.
Notes for the PR:
Ruling: ACCEPT. This is Ash's next pick, top of his queue now.
Purpose: meets #4 (runners render with the Blender setup jiggablend controls, not a hand-placed wrapper that a runner update can break), and it cuts render time about 20% on ai1, which serves meets #1.
Acceptance, in plain words (Eva's notes above stand):
Once it's released, Jerry drops the ai1 wrapper and sets the option through ansible.