Skip to content

Frame Warm Up#2713

Merged
antonio-lunarg merged 2 commits intoLunarG:devfrom
antonio-lunarg:antonio-warm-up
Mar 26, 2026
Merged

Frame Warm Up#2713
antonio-lunarg merged 2 commits intoLunarG:devfrom
antonio-lunarg:antonio-warm-up

Conversation

@antonio-lunarg
Copy link
Copy Markdown
Contributor

The --frame-warm-up-load option controls a synthetic compute warm-up pass submitted before replay frame work. This helps ramp/stabilize GPU frequency before each frame so performance measurements are less sensitive to clock ramp-up latency.

frame_warm_up_load is a workload scale factor: higher values increase warm-up work by scaling compute dispatch workgroups, while 0 keeps warm-up disabled.

Comment thread framework/graphics/vulkan_frame_warm_up.h Outdated
@antonio-lunarg antonio-lunarg marked this pull request as draft February 23, 2026 15:15
Comment thread framework/decode/vulkan_frame_warm_up.cpp Outdated
Comment thread framework/decode/vulkan_frame_warm_up.cpp Outdated
Comment thread framework/decode/vulkan_frame_warm_up.cpp Outdated
Comment thread tools/tool_settings.h Outdated
@antonio-lunarg antonio-lunarg force-pushed the antonio-warm-up branch 7 times, most recently from 6f73faa to f1e9214 Compare March 3, 2026 16:55
@antonio-lunarg antonio-lunarg marked this pull request as ready for review March 3, 2026 16:55
@antonio-lunarg antonio-lunarg added the approved-to-run-ci Can run CI check on internal LunarG machines label Mar 4, 2026
@antonio-lunarg antonio-lunarg force-pushed the antonio-warm-up branch 8 times, most recently from 351d25d to 7c00647 Compare March 9, 2026 10:43
@antonio-lunarg antonio-lunarg force-pushed the antonio-warm-up branch 4 times, most recently from d621edd to d38be19 Compare March 19, 2026 13:47
Comment thread framework/decode/vulkan_frame_warm_up.cpp Outdated
Comment thread framework/decode/vulkan_frame_warm_up.cpp
@antonio-lunarg antonio-lunarg force-pushed the antonio-warm-up branch 4 times, most recently from 2c17df9 to 381abe4 Compare March 26, 2026 12:18
antonio-lunarg and others added 2 commits March 26, 2026 15:18
The `--frame-warm-up-spirv` option can be used to provide a SPIR-V
compute shader for the compute warm-up pass before replay frame work.

The `--frame-warm-up-load` option is a workload scale factor: higher
values increase warm-up work by scaling compute dispatch workgroups,
while `0` keeps warm-up disabled.

This helps ramp/stabilize GPU frequency before each frame so performance
measurements are less sensitive to clock ramp-up latency.

Co-authored-by: Oleh Kuznetsov <okuznetsov@google.com>
Clarify that frame warm-up uses a user-provided compute shader with entry
point main and a fixed storage-buffer binding.

Add desktop and Android examples, SPIR-V build steps, and CLI help text so
the option's constraints and rationale are clear.
@antonio-lunarg antonio-lunarg merged commit 7f0c1b7 into LunarG:dev Mar 26, 2026
8 checks passed
@antonio-lunarg antonio-lunarg deleted the antonio-warm-up branch March 26, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-to-run-ci Can run CI check on internal LunarG machines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants