Files
hyperframes/packages
Miguel Ángel d55ecae30e fix(producer): auto GPU mode measures its choice once per machine and reuses it (#8788)
* fix(producer): auto GPU mode renders in software when software captures faster

On a Windows laptop with an AMD Radeon 840M, auto mode picked the hardware
GPU, calibration measured screenshot capture at ~1.6 s/frame p95, and the
render dropped to 1 worker: a 10 s clip took 5m27s. Software WebGL
captured the same frames at ~0.28 s/frame on 5 workers.

When auto mode resolved to hardware and calibration measured it slow, time
software too and keep whichever is faster. Explicit --browser-gpu and
--no-browser-gpu are unchanged.

* test(producer): pin the auto GPU switch to software and document it

The orchestrator test drives a render in auto mode with a slow hardware
calibration and a faster software one, and checks that capture gets
browserGpuMode software and worker sizing uses the software estimate.
The CLI docs say auto can now switch to software after calibration.

* fix(producer): auto GPU mode measures its choice once per machine and reuses it

A render with --workers skipped calibration, so auto mode never compared
the GPU with software capture and stayed on a slow GPU path. Now render
measures the choice once per machine, GPU driver and HyperFrames version,
even with --workers, keeps it in gpu-choice.json under the config folder,
and later renders reuse it without calibrating.

* fix(producer): keep captureCost's comment share from rising
2026-11-25 02:43:01 +00:00
..
2026-11-25 02:06:42 +00:00
2026-11-25 02:06:42 +00:00
2026-11-25 02:06:42 +00:00
2026-11-25 02:06:42 +00:00
2026-11-25 02:06:42 +00:00
2026-11-25 02:06:42 +00:00
2026-11-25 02:06:42 +00:00