Slow-frame logs include internal texture pipeline creation and GPU timeline waits as well as guest shaders and graphics pipelines. Resource CPU intervals name image requirements, allocation, destruction, target setup/reload, reclamation and buffer work. Resource categories exclude nested resource intervals; they can overlap pipeline and wait intervals, so these groups must not be added together. These are elapsed times inside CPU calls, not GPU execution timestamps.
On a GPU without native ASTC, astc_textures=1 (Exact) decodes to exact RGBA8 and avoids BC7 re-encoding. The decoded image
payload is four times the size of BC7. Test this per game with sufficient memory and watch the cache/budget log.
The ASTC fixture's --bench compares identical input blocks through GPU completion; its timings do not measure game
FPS or native NVN. Its normal mode checks pixels against CPU references, including partial updates and images whose
allocations are split into pieces.
To investigate a driver compile stall, extract exact local cache records while the game is closed, then compare fresh headless-test processes:
python3 tools/prepare_pipeline_probe.py --cache /local/game.vkshaders \
--largest 6 --out /local/pipeline-probes
python3 tools/bench_pipeline_compile.py --binary build/src/nx/snx-test-vulkan \
--manifest /local/pipeline-probes/manifest.json --rounds 3 --out /local/compile-comparison
The probe uses a fresh application cache and requests disabled driver disk caches. It changes compilation flags only inside the test fixture. It measures compilation without draws and cannot establish rendering correctness or justify enabling those flags for gameplay. Captured packages contain game-derived shaders and must stay local.
Made from docs/history/gpu-hotpath-bench.md at 69237645142c. GPL-3.0-or-later.