Skip to content

runtime: say when no pipeline_cache.bin seeds the Vulkan cache (RT-PIPELINE-CACHE-HINT) - #1255

Open
Daolyap wants to merge 1 commit into
ProjectLeonida:mainfrom
Daolyap:rt-pipeline-cache-hint
Open

Daolyap wants to merge 1 commit into
ProjectLeonida:mainfrom
Daolyap:rt-pipeline-cache-hint

Conversation

@Daolyap

@Daolyap Daolyap commented Nov 24, 2026

Copy link
Copy Markdown

Item: RT-PIPELINE-CACHE-HINT (claimed in #14).

Why

create_seeded_pipeline_cache returns VK_NULL_HANDLE without a word when there's no usable pipeline_cache.bin
beside gta6rt.exe. That's easy to hit: running gta6rt straight from runtime/build has no cache there. With the
retail 1.0.2.1 executable on an RTX 3070 (wave64 emulation on), the title's first compute pipeline then compiles cold
inside its graphics-init thread. Thread samples put that thread in nvgpucomp64.dll for the whole stall. The
title's own watchdog ends the process after about 26 s, and nothing in the log points at the cache. Details are in
the #14 finding.

Change

A one-time stderr line when the seed is missing or too short, naming the path it looked for and the
make_game.py stage that writes it. The device mismatch and declined-seed cases already log. Log-only; behaviour
is unchanged.

Tested

AI-assisted (Claude Code).

🤖 Generated with Claude Code

…PELINE-CACHE-HINT)

create_seeded_pipeline_cache returned silently when pipeline_cache.bin was missing or too short beside
gta6rt.exe. With the retail 1.0.2.1 executable on an RTX 3070, the title's first compute pipeline then
compiles cold on its graphics-init thread for longer than the title's own watchdog allows (~26 s), and the
title ends itself with nothing in the log pointing at the cache. Log once where the seed was looked for and
which make_game.py stage writes it.

Log-only; no change in behaviour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Snooozs

Snooozs commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Read the diff at 19a1beabd (nothing built or run by me). Two notes:

AI-assisted (Claude Code, Claude Opus 5.5).

@github-actions github-actions Bot added the needs rebase Conflicts with the base branch: rebase it on main label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with the base branch: rebase it on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants