Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature increments to layer_gpu_timeline #29

Open
7 of 12 tasks
solidpixel opened this issue Dec 13, 2024 · 0 comments
Open
7 of 12 tasks

Feature increments to layer_gpu_timeline #29

solidpixel opened this issue Dec 13, 2024 · 0 comments
Assignees

Comments

@solidpixel
Copy link
Contributor

solidpixel commented Dec 13, 2024

The following changes were out of scope for the first PR and would make good follow-on increments.

  • Replace JSON with a simple binary packet format, or protobuf, to avoid the memory allocation churn. [ ]
  • Add trackers for VkImage, VkImageView and VkFramebuffer resources so we can determine which images are used in render passes. This allows tagging render passes that render into the swapchain, and tracking compression status.
  • Add trackers for VkBuffer resources for "whole buffer" transfer workload sizing.
  • Add tracker and resource management to capture indirect parameter buffers.- [ ]
  • Document support for arbitrary user string metadata in the protocol to allow custom layers to be used with Streamline visualization.

Completed:

  • Submit time tracking using CLOCK_MONOTONIC_RAW.
  • Add CPU submit time to the layer metadata so we can show the submit-to-execute latency, and sort by submit time not just execution start time. This will be another case where multi-submit command buffers won't work without us wrapping command buffers with a unique submit_id label.
  • Change label metadata to a JSON list to preserve the stack, rather than merging with | separators, as we don't escape the separator if the label contained it. (Done in Timeline JSON preserves stack #40)
  • Improve helper scripts to support gathering logcat files (Done in Android helper script enhancements #41)
  • Improve helper scripts to support gathering Perfetto files (Done in Android helper script enhancements #41)
  • Improve helper scripts to support gathering metadata files (Done in Android helper script enhancements #41)
  • Improve the prototype Python host services server to make it production ready.
@solidpixel solidpixel self-assigned this Dec 13, 2024
@solidpixel solidpixel changed the title Increments to layer_gpu_timeline Feature increments to layer_gpu_timeline Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant