SHADER COMPILE: Is it Truly doing ALL Shaders? 10x faster than it used to be #3451
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 trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-29T23:28:42Z.
I would LOVE for shader pre-compile to only take 1-2 min BUT it seems since Shader Building went from 10-15 min to 1-2 min the game runs horribly with 1fps frequently.
Are we truly getting ALL Shaders now? Using the very latest build FWIW.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-29T23:28:54Z.
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by PatrykKu on 2026-11-29T23:32:11Z.
It's not, I have the same issue and had it for the last 3 versions.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by helloimStar on 2026-11-29T23:32:41Z.
ran into the same issue, i think i fixed it by running the precomp manually with
.\victory.exe preload --jobs 4 --all . 2>&1 | Tee-Object -FilePath "$env:USERPROFILE\Desktop\victory-preload.log"
havent finished the precomp yet to check for sure everything is correct but the numbers of shaders look correct now, ill update when done
win11 5070ti release v2026.11.29.05
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by aaron16122001-cmyk on 2026-11-29T23:36:59Z.
It not. even if you restart for preloading shaders
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-29T23:44:10Z.
it now warms all 88,563 pipelines according to the latest RELEASE - i have never seen it do this.
I just MANUALLY FORCED PRECOMPILE and even that seemed to fail :(
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-29T23:46:15Z.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-29T23:49:19Z.
@ajmi982

it appears like this for me
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gitburner112926 on 2026-11-29T23:49:52Z.
I've tried clearing and pre-loading the cache several times. Mine keeps saying "60691 pipelines known" so it's not getting that right.
On 28.03 it "knows" the correct number.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DabinkiPrime on 2026-11-29T23:51:14Z.
The amount pipelines are going to be different depending on Ray tracing on/off, and your console profile settings.
However still, it's definitely forgoing many shaders for some reason. Mine gets to about 25,000 and then boots, when it should definitely be more than that
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-29T23:52:33Z.
after precomp i see this
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-29T23:52:46Z.
seems to be doing what it did on the 11.28.3 build that ran rather well. had to do this manually. so i can CONFIRM that preloading never worked on a single 11.29.x build released today.
What i do NOT know is:
we will see in 20 min or so since this is finally correctly getting all shader.s
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-29T23:53:25Z.
oh fuck :( NOT good.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-29T23:54:35Z.
@ajmi982 For some reason, I’m getting 4500 instead of 93000
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-29T23:57:54Z.
RUN THIS (but replace with ur correct directory where the game is)
victory.exe preload "J:\GTA6\GTA6.Xbox.v1.0.2.1\game_scarlett_master.exe" --jobs 4 --all
THIS is what has my compile taking 20 damn min lol, im only at 15000 out of 81000
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DabinkiPrime on 2026-11-29T23:58:03Z.
hey guys, while testing and being in this thread I completely missed that trustno1 dropped a new version. go grab the new release and see how it goes for you, mine is currently pre loading all of the shaders properly. will come back in to update on how its running but ima go rip a bowl while it does its thing lol
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-29T23:59:23Z.
Thank you
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gitburner112926 on 2026-11-30T00:06:16Z.
Any way to run precomp manually? No matter what the app says it's doing, the end result is the same.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-30T00:08:09Z.
PLEASE read this entire thread. we discuss EXACTLY how to run it manually.
Just open a Command Prompt and then follow what is above (sadly it does NOT work in PowerShell)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-30T00:21:19Z.
I noticed a discrepancy in the total shader count during compilation/preloading depending on the selected console profile
On my setup, I'm getting the following counts:
series-sprofile: 60,668 shadersseries-xprofile: 83,546 shadersIs this difference between
series-sandseries-xexpected due to , and why might the total shader count differ across different users running the same build?Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by artik on 2026-11-30T00:28:47Z.
Please precise for other readers that it's using
CMD, notPower Shell. And thanks for the tip.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DabinkiPrime on 2026-11-30T00:34:36Z.
yes i mentioned this above, also ray tracing on or off will affect the number of shaders as well.
as an update for everyone, my shaders no longer compile during gameplay and seem to have fully preloaded. I did not have to do the manual command, only cleared shader cache and preloaded them both with the F1 menu. However RT still broken in Jason's first house + crashing when i exit which are potentially separate issues
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gitburner112926 on 2026-11-30T00:36:50Z.
Oh that's telling. Even though I have the Series X console profile on, when it precompiles, its count is closer to the Series S config (mine is 60,671).
When I precompiled on 28.03 with the Seriex X console profile, it was in the correct 83K range.
Wires are getting crossed in my install. And no, it's not RT on/off.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gitburner112926 on 2026-11-30T00:40:47Z.
I did. I'm confused as how to run this in command prompt as opposed to PowerShell when, despite what you say, the command doesn't execute in CMD but does in PowerShell. Runs just like it does from the F1 menu, just w/o the program being open.
But apparently that's wrong. Please try to not be a smug jerk for just one second and explain where/how in command prompt (not Terminal/PowerShell) to run these commands. I bow to your unlimited wisdom and patience..
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-30T00:43:14Z.
Even after preloading all 83k shaders via F1 > Preload shaders, the overlay (F2 menu) still shows that shaders are compiling.
which drops my FPS from 22 down to 4
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by helloimStar on 2026-11-30T00:45:53Z.
manually precompiling all 88k shades didnt seem to actually improve performance at all, still <2 fps for me as well
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DabinkiPrime on 2026-11-30T00:48:10Z.
I was just mentioning that as possibly making small changes to the shader amount, that's all.
Also I hope everyone here is making sure to clear shader cache + preload them after making basically any settings changes or downloading a new build. Fresh cache is the best way to get accurate numbers in the console, and also fix some rendering issues too usually
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by AzureLumina on 2026-11-30T00:49:37Z.
Ran the command above (victory.exe preload "J:\GTA6\GTA6.Xbox.v1.0.2.1\game_scarlett_master.exe" --jobs 4 --all) which took like 30 minutes to process and complete but still have the same 2FPS on launch... Something is totally broken with shader compilation right now.
Already cleared cache and rebuilt, hell I even deleted all of the Victory folders and files from Appdata and rebuilt once more, still broken.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DabinkiPrime on 2026-11-30T00:52:55Z.
Yes it's absolutely broken. But check your F3 top bar, if it's actually rendering shaders in game still when FPS drops(you didn't mention)
the issue could be something other than shader preload problems
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-30T00:54:18Z.
yeah the obliterated the progress that was made from 11.28.3 into every single build from today the moment 400+ commits hit the release :(
I (and im sure hundreds of others) have now spent the entire day beta-testing a very broken 5 builds and my theory is "NEVER Commit 400+ commits from 10+ different ppl" and expect shit to "just work"
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by artik on 2026-11-30T00:56:36Z.
Same here. All 83k shaders pre-compiled, and still stuttering like crazy compiling shaders during gameplay.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gitburner112926 on 2026-11-30T00:57:43Z.
Yeah no worries, I just wanted to make it absolutely clear that I was aware and had checked lol.
I went ahead and reported it as a separate issue.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-30T01:00:13Z.
I decided to test
victory.exe warm --jobs 8via cmd and now it88549 pipelines known.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hrk1337 on 2026-11-30T01:28:31Z.
It didn’t get any better
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-30T01:34:54Z.
they DESTROYED this project in 24 hours. :(
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by davemathews12 on 2026-11-30T05:55:58Z.
I think I found why a full preload can still leave shaders compiling in-game. It depends on how you preload. Analysis from reading the code on
main(41adb551); I haven't run it on Windows.Cause. The shader cache key includes the value of every
VICTORY_*switch named in the translator's sources (translation_fingerprint()incrates/victory-shader/src/emit/mod.rs). If a switch differs between the preload and the game, the preloaded translations never match.victory.exe/victory play: before anything else it clears leftoverVICTORY_*variables and sets its own switches (SETTINGSinapps/victory/src/play.rs). Among others it setsVICTORY_BVH_MISS=1,VICTORY_NAN_SCRUB=1,VICTORY_EARLY_DEPTH=1andVICTORY_SAMPLED_MARKS=1, all of which are in the key. Its own preload (the first start of a new version, and F1 → PRELOAD SHADERS, which restarts throughplay) uses those switches, so the cache matches the game.scripts\play-foxhound.ps1) also preloads "with this start's switches", so it's fine too.victory.exe preload …orvictory.exe warm …by hand from CMD or PowerShell doesn't set those switches. Every shader is then keyed with them unset, while the game runs with them set to1. The game never uses that cache, and everything compiles again during play. That matches the reports here: manual precompiles still stutter at 2–4 fps, while F1 → Preload stopped in-game compiling for DabinkiPrime.Also: turning ray tracing on or off in F1 changes
VICTORY_BVH_BUILDER, which is in the key too. So after switching RT, the next preload is a new one. That's one reason counts differ between people.Workaround for now:
victory.exe preload/warm.Possible fix: make the standalone
preload/warmcommands apply the same switches asvictory play(theSETTINGStable plus the F1victory-settings.txt). At the least, they could warn when a translator switch differs from whatplaywould set. I can open a PR if a maintainer agrees on which behaviour is wanted. It changes what a launcher-run preload sees, so it needs a decision.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by davemathews12 on 2026-11-30T06:04:29Z.
Follow-up: #1971 makes hand-typed preload/warm use the same switches as victory play, which fixes the case above. Until it's merged, use F1 → PRELOAD SHADERS.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by artik on 2026-11-30T10:22:33Z.
@davemathews12 Curious, I also tried
F1 > Preload shaders, and the compilation stutters were occuring the same during gameplay. I'll try your fix when it's merged, and let you know with alogfile if the issue persists.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by davemathews12 on 2026-11-30T15:45:52Z.
@artik thanks, that's useful: it means the key mismatch isn't the whole story. F1 → PRELOAD SHADERS goes through
victory play, so its translations should match the game's keys. Stutters after that point to something else: pipelines the warm-up list doesn't know yet, or driver-side PSO builds. A play log from such a run would show it, so please attach it when you can. Thanks!Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by artik on 2026-12-01T10:29:13Z.
Here is a pretty good news. It doesn't stutter anymore. Here is what I did:
pipelineandshadersfolders in..user/local/victoy/cachevictory.exeand downloaded the latest version v2026.11.30.03The result:
F1 > precompile all shaders. (1st log).\victory.exe preload --jobs 16 --all . 2>&1 | Tee-Object -FilePath "$env:USERPROFILE\Desktop\victory-preload.log"(3nd log + shaders log)No more stutters.
victory-nvidia-play-20261130-214015-5044.log
victory-nvidia-play-20261130-214336-4052.log
victory-nvidia-play-20261130-220340-3344.log
victory-preload.log