Files
effectcraft/docs
Valentin KleinandFredApps d4b2392f40 Render log says why a job renders on the CPU and names the GPU adapter (#3732)
* Render log: say why a GPU project renders on the CPU, and name the GPU adapter (#3727)

* WebM: the header, the size patch and delivering the file count as writing time; last_timing says whose it is (#3732 review)

* Export timing: label the initial compositor and attached GPU adapter, count frames that fell back to the CPU later

The timing line says "Initial compositor" and "attached GPU adapter" for the choice made at the
start. A frame asked of the GPU that ends with the GPU unavailable is counted in the new
gpu_fallback_frames, and the line reports it as "Later GPU fallback: N of M frames rendered on
the CPU after the GPU became unavailable". New test:
a_gpu_lost_after_the_start_is_reported_apart_from_the_initial_choice.

* Export timing: frames the probe drops do not count as a later GPU fallback

A device lost while Auto measures makes the job pick the CPU and drop the GPU's measured
frames, so only frames of a job that chose the GPU are counted.

* Export timing: count a GPU fallback when the frame is rendered, not from the adapter afterwards

The renderer now notes per frame whether the accelerator declined it while unavailable
(Renderer::comp_frame_noting_gpu_loss, passes::comp_frame_noting_gpu_loss), and the export
counts that. A frame the GPU rendered no longer counts when another frame in flight loses the
device before it is counted. The test renders two frames at once: frame 0 on the GPU while
frame 1 loses the device.

* Deferred readbacks: a frame that goes to the CPU after missed passes says whether the device was lost

in_passes records why it renders the frame without the accelerator (Passed::gpu_lost: the
device is no longer available, not passes run out on a healthy one), and
passes::comp_frame_noting_gpu_loss passes that on instead of dropping it with .value. New test:
a_deferred_frame_on_the_cpu_says_whether_the_device_was_lost.

---------

Co-authored-by: FredApps <[email protected]>
2026-12-01 11:33:14 +01:00
..
2026-10-13 14:34:22 +02:00