[Bug]: After a world detail change the AMD driver's shader cache starts empty, but pipeline warm-up skips everything, so the session freezes for up to 11 s #179
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from eikkapine/jaxe. Originally posted by Nahkaisukki on 2026-12-03T14:47:12Z.
Hardware & OS: Ryzen 7 7800X3D | RX 9070 XT 16 GB (RDNA4, driver 32.0.32029.2010) | 64 GB RAM | Windows 11 build 26300 | NVMe | 24 GB pagefile (system managed)
Version: release v2026.12.03.1 via
jaxe Launcher.cmd, "Compile shaders first" OnSettings: 1440p, Series X profile, FSR 4, frame generation off (native FPS), Locked 30
I analysed my jaxe logs with help from Claude (an AI assistant). The numbers come straight from the log lines and frame-time files, and the conclusions were checked against the jaxe source. Guesses are labelled as guesses. Paths and personal details were removed, so raw logs aren't attached, but I can share cleaned excerpts if you need them.
The launcher has two local additions that don't change any game setting: a button that runs
jaxe.exe warm --again --used, and new colours. All sessions below ran the official releasejaxe.exe.What happened
In 3 of my 12 sessions in one day, the AMD driver's DX12 shader cache answered almost none of the pipelines at startup, even though jaxe's own records said everything was compiled. The "Compile shaders first" step (
jaxe.exe warm) skipped every pipeline listed inwarm-done.txt, so the game compiled about 4,000 pipelines during play. The first minutes had frames of up to 10–11 seconds. Each time, the next session was normal again.loaded=ofearly=)slow_this_runat the end (pipelines of 1 s+)made=false), 49 s in allmade=false), 34 s in allmade=false), 40 s in allThere was no driver, DirectX or Windows update during the day. An older jaxe build showed the same thing twice the day before (
loaded=128of 4,136 withslow_this_run=416, and 716 of 4,401 with 152).Pattern (all 12 sessions, not proven)
Each cold session was the first session at a world detail level (
JAXE_LOD_SCALE) that had not been used before in that install folder:JAXE_WIDE_THREADS=8).Sessions that changed other settings stayed warm: resolution (1080p to 1440p), Series S to Series X, frame generation on, ray tracing on, FSR quality,
JAXE_HELPER_PRIORITY. Sessions that went back to a level already used in that folder also stayed warm (1.0 again after 0.5; 0.75 again after 0.5). I don't know why the world detail level would change what the driver's cache can answer. It may be the pipelines the early list starts first, or something the driver keys on. But the pattern fits all 12 sessions.Related observation from
%LOCALAPPDATA%\AMD\DxcCache: the cache files are named<A>.<B>.<C>.<D>.<n>.parc.<A>follows the executable's path or name: a copy of the same exe run asjaxe-orig.exefrom the same folder got a new, empty cache, while a local rebuild of the same source, still namedjaxe.exe, kept the existing one. Moving the install folder may therefore also start a new cache.Workaround
jaxe.exe warm --again --usedbefore playing remakes every pipeline earlier sessions used, whateverwarm-done.txtsays (27 s for 4,664 pipelines when the driver cache is warm; longer when it is cold). My launcher now does this automatically when world detail or advanced switches change.Suggestions
loadedagainstearly. When that ratio is very low (2–4% here against the usual 89%), log a clear warning naming the fix. Or start the early pipelines at higher priority before the first frames.warmnotice a cold driver cache: for example, time a sample of "done" pipelines, and if most take far longer than a cache hit, treat the list as stale and remake them all.jaxe.exemay start a new driver cache.Logs (timestamps removed)