Intel Arc B580: dies at 82-149 s in four runs, while the older 64d4931b base of VIctory holds 33 min on the same card #448
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 TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T16:34:20Z.
Intel Arc B580: four runs, all end 82-149 s in, at the same place — and the older
64d4931bbase of VIctory holds 33 min on the same cardNot a bug report with a diagnosis, a measured comparison, because it localises the regression to this line rather than to
the card.
The machine
Intel Arc B580 12 GB (Battlefront/Battlemage, ReBAR on), driver 32.0.101.9175, Windows 11 build 26200, Ryzen 7 5700X,
32 GB RAM. Build here:
TaynanGT/Vice-Tayatfe7c6e5, GNU toolchain 1.98.1,cargo build --release --locked -p victory(71 s, 80 MB). Launched with
-Console series-s -Machine 7900xtx -Windowed(non-NVIDIA, so-Machine autopicks the7900xtx profile). Shader cache cold on the first run: 25 788 shaders in 248 s, 197 that do not translate.
Every run, in order
0x887A0005, right afterhost mesh pipeline shaders=[mesh 736b337d48bc0c57, ...]pipeline library: make of ... running for 10692.7 ms, 24 lists waiting 4 759 msVICTORY_LIBRARY_MAP=0)library saved bytes=195674136, 21 lists waiting 5 319 ms-SafeThe common line in all four:
the submitting thread was preparing a submission (nothing of ours was running on the card),21–24 command lists waiting 4.8–5.3 s, then
host GPU device removed, DRED unavailable (E_NOINTERFACE), so nobreadcrumbs. The card is idle at the moment of the report.
Run 4 matters: with saves gone and
-Safeon, the death did not move. So neither the mid-run save nor the newer fastpaths are the cause, and the mesh binding order is not either — run 1 vs run 2 shows that fix removes the
0x8007000e/mesh-pipeline refusals (2 → 0) but not the death.Why I think this is this line and not the card
The same card, same driver, same Windows, same Series S profile, on
trustno1-coder/VIctory-NVIDIAat64d4931bplus a mesh-unbind patch and three library fixes, ran 2 011 s and 2 052 s (33–34 minutes, prologue and Chapter 1)
with zero device removals and 8–15 fps. So Arrivederci to "Arc is just unstable": an older base of the same runtime
holds half an hour here, and this one dies in about a hundred seconds.
Whatever changed between the two lines is a better suspect than the driver. The logs above are what that looks like from
the outside: a five-second stall on the submitting thread with the card idle, then a removed device.
Independently, a second B580 owner (
@InakiMB, driver 9175, Windows 11 26200, Ryzen 5 5600X) ran the64d4931bbuildfrom that other line and got
DXGI_ERROR_DEVICE_HUNG 0x887A0006at 68 s, no breadcrumbs. Same window, different reasoncode — hung there, removed here.
What is already known to work, if useful to whoever picks this up
vs_5_1afterDispatchMesh, clear the hostpipeline. Without it, mesh pipeline creation is what kills run 1.
VICTORY_LIBRARY_MAP=0behaviour.series-s, 30 fps cap, RT off,-Machine 7900xtx, default budgets. Squeezed texture budgets reach "refused" first and"removed" after.
Happy to run anything specific and hand back logs — each run takes about two minutes now that the shader cache is warm
(195 MB of pipelines). If a bisect between
64d4931b-era code and this tree is worth setting up, I will do the runs.Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T17:13:30Z.
Since you offered to run builds: #450 (draft) ports gilmarcs' rest-pipeline workaround (VIctory-NVIDIA #546) to this tree. It's on by default on Intel adapters. Could you try it on the B580?
fix/intel-mesh-restbranch of Kal0s-design/Vice-Tay, same settings as your run 1. The log should saymesh pipelines are unbound before other work (VICTORY_MESH_REST)and print a per-framemesh pipelines per frameline.VICTORY_MESH_REST=drawis the variant that also draws the rest pipeline's clipped point.Your run 2 suggests this removes the mesh-pipeline refusals but maybe not the later removal. Either result helps narrow #448 down.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:17:57Z.
A reference build for comparison, since the numbers above are otherwise hard to check: https://github.com/dengarIicdk/victory-arc-b580/releases/tag/arc-b580-v1
The binary (98.4 MB, sha256 beside it on the release page) plus
PLAY.batgo next to your owngame_scarlett_master.exe;the bat finds the title or asks for the path.
arc-fixes.patchin the same repository is the complete diff againsttrustno1-coder/VIctory-NVIDIAat64d4931b— five files, 449 lines, and the four changes are independent of each other,so any one of them can be lifted into this tree.
Relevant to the four runs in the issue: that build holds 2 011 s and 2 052 s on the same card (B580 12 GB), the same
driver (32.0.101.9175) and the same Windows 11 26200, at 8–15 fps in the world, with zero device removals — while this tree
ends at 82–151 s. Both are the same runtime at different points in its history, so the difference between 33 minutes and
100 seconds is somewhere in the diff between those bases, not in the card.
Also worth knowing before anyone spends a run on it: the same build died in 68 s on a second B580 (
@InakiMB, Windows 1126200, Ryzen 5 5600X) with
DXGI_ERROR_DEVICE_HUNG. So it is not a universal recipe — it is one machine's measured result,published with its settings and its failures, which is what makes it usable as a comparison.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:21:30Z.
@Kal0s-design — building it now:
fix/intel-mesh-restatc2536e7, GNU toolchain 1.98.1,cargo build --release --locked -p victoryfinished in 1 min 17 s, 80 MB, and the binary does contain the new line (mesh pipelines are unbound before other work (VICTORY_MESH_REST)). Same machine and profile as run 1: B580 12 GB, driver 32.0.101.9175, Windows 11 26200,series-s,-Machine 7900xtx, shader cache warm, pipeline cache 195 MB in the same isolated home.Two things I will report back, so the numbers are comparable to the table in the issue: how long it lasts before a device removal, and the fps in the heavy phase (runs 1-3 sat at 0.1 fps there, 1 888-2 048 frames of it). If it dies, the last lines before the removal matter more than the code — I will quote them as they are.
One caveat from my side that may matter for the diff: in my own tree the same workaround is bound after
DispatchMeshand clears the host pipeline, rather than before other work, and on the64d4931bbase that is what turns 60-90 s crashes into 33 minute sessions. So if yours dies where mine does not, the ordering is the first thing I would swap — but let us get your variant's result first, since that is the experiment you asked for.I will also run
VICTORY_MESH_REST=drawif the default mode fails, and say which of the two is longer.Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:27:47Z.
Ran it. Your patch works, and it is the best result this tree has produced on a B580 by a factor of nearly two.
Kal0s-design/Vice-Tayatc2536e7, GNU toolchain 1.98.1,cargo build --release --locked -p victory(1 min 17 s, 80 MB),then the same launcher and isolated home as run 1:
-Console series-s -Machine 7900xtx -Windowed, shader cache warm,195 MB of pipelines, driver 32.0.101.9175, Windows 11 26200.
0x887A0005at a mesh pipelinemake ... running for 10 692 ms-SafeVICTORY_MESH_REST=Bindmake [mesh 45c922763602b723, …] in 7 211 msSo: 280 seconds against 151, and the log confirms the mechanism you predicted — every frame prints
mesh pipelines per frame (VICTORY_MESH_REST=Bind): 2 100.0 bound, 2 100.0 rest pipelines bound in their place before other work.It peaked at 8 186 rest binds in one frame, which is a lot of state changes per frame and probably part of why the heavy
scene sits at 2.8 fps rather than higher — worth knowing, not a complaint.
No refusals at all in this run, and none of the
0x8007000eswarms. The ending is the one from before your patch, backagain: a cold library entry made in 7.2 s (
no matching library entry), and the device is gone right after it. Thatis the same shape as run 2 in the issue, so your work removed the mesh-binding cause and left the cold-creation one.
Two things I will check next, since you asked about variants:
VICTORY_MESH_REST=draw— same run, to see whether the variant that also draws the rest pipeline's clipped point islonger or shorter than 280 s.
load it. If run 6 gets past 280 s with the library warm, that is evidence the remaining fault is cold creation and not
the rest pipeline.
Either way you have a result you can put in the PR: on Battlemage the rest-pipeline pinning takes this tree from 82-151 s to
280 s, with the mesh-pipeline ending gone entirely.
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T17:29:12Z.
Thank you, that's a clear result. I've added it to #450.
Some notes for the next runs:
VICTORY_RELAYsubmissions sent ahead can still be on the card at that moment. The same line ends withsubmissions started X finished Y: could you paste those two numbers from a run that ended that way, and from run 5? If X > Y, the card wasn't idle and the 5 s are just how long we took to notice. #451 makes the message say so in future logs.makereally is what's left.Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T17:42:25Z.
For the frame-rate question:
fix/intel-mesh-restnow has a second commit (5e3bef5) with an opt-inVICTORY_MESH_REST=lazy. It keeps the mesh pipeline bound from one mesh dispatch to the next, instead of binding the rest pipeline and then the mesh pipeline again before each one. Everything else still gets the rest pipeline first, as withbind.If you have time, an A/B on the same build and the same spot would tell whether the ~2,100 rests per frame cost frames:
VICTORY_MESH_REST=bind(or unset, same thing on your card)VICTORY_MESH_REST=lazyFrom each log, the useful lines are the fps lines and
mesh pipelines per frame. Withlazythe rest count should fall well below the mesh binds. Also note how long each run lasts:lazylets a little more work run under a bound mesh pipeline, so if B dies sooner than A, that's an answer too.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:43:27Z.
VICTORY_MESH_REST=drawis the variant to ship. Same build (c2536e7), same launcher, same isolated home, same shader andpipeline cache, only
-More @{VICTORY_MESH_REST='draw'}.Bind(PR default)make ... in 7 211 msDrawIt did not die at all. The session ended because the title was suspended and closed: the last lines are
title suspended; ending the title, nohost GPU device removedanywhere in a 101 307-line log. Over 153 fps samples the average was 6.6 andthe best 31.5, so the heavy scene runs at 3.7 fps with excursions to 0.6 — slow, but continuous, and it holds for a quarter
of an hour on this card.
That is the best result this tree has produced on a B580 across seven runs: 82, 104, 149, 151, 280 and now 852 seconds with
zero removals. Whatever your draw mode does that bind does not — the rest pipeline's clipped point being drawn, so the
next command is not left with a mesh PSO current in any sense the driver objects to — it removes the last fault on
Battlemage.
A picture from that session, for the record: the prison block, mean luma 114 of 255, 0.0% clipped, tonal spread 65 — that is
a normal-looking frame by the measure we use, gamut and all. The visual faults left are the ones from the older line:
blown-out sun, no shadow that cuts it.
For the PR: put
drawas the Intel default, or keepBindas the default and documentdrawas what an Arc owner shouldreach for. On this card the difference is 280 s versus 852 s with no crash, and the log line to quote is
mesh pipelines per frame (VICTORY_MESH_REST=Draw): ... bound, ... rest pipelines bound in their place.Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:44:37Z.
Logs behind the numbers, as asked — the raw output of the layer, ANSI stripped and converted to UTF-8:
https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs
vicetay-pr450-draw-852s.log— thisVICTORY_MESH_REST=drawrun, 852 s, 0 device removals (10 MB, 1 MB gzipped)vicetay-pr450-bind-280s.log— theBindrun for comparison, 280 s, one removal after a coldmake ... in 7 211 msarcintel-ours-meshunbind-226s.log— theMRSEEO/VIctory-Intel-Arcrun with the mesh unbind ported in, for the other threadWhat to grep for, so nobody has to read 100 000 lines:
fps,mesh pipelines per frameVICTORY_MESH_REST=Drawrun it prints... bound, ... rest pipelines bound in their placehost GPU device removedpipeline library: madein 7211.3 ms (no matching library entry)The draw log is the one to read if you want the evidence for the PR: it ends with
title suspended; ending the titleand noremoval anywhere, at 4.2 fps and 153 frame samples. The bind log ends with the cold creation and then the removal, which is
the remaining fault after your patch and not a regression it introduced.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:50:16Z.
Yes, that is exactly the experiment worth running, and the A/B is easy here because the shader and pipeline caches are
already warm on this machine. Two launches, same build (
5e3bef5), same spot,series-s, driver 32.0.101.9175:VICTORY_MESH_REST=bind(the 280 s result from the previous comment)VICTORY_MESH_REST=lazyI will report, for each: the fps line series, the
mesh pipelines per framecounter (rests against mesh binds), how long therun lasted, and whether it ended on a device removal or on a close. Your point about
lazyletting more work run under abound mesh pipeline cuts both ways — if B dies sooner, that is the answer and it goes in the issue as such, not as a
recommendation.
One number to keep in mind while reading it: in the
drawrun, 2 100 rests per frame sat alongside 2 100 mesh binds, sothe per-frame cost of the pinning is roughly doubled work on the submit path — if
lazycollapses that to a fraction, the4 fps heavy scene should move even if stability does not change.
Build finished; I will have both runs in here tonight, or say plainly that the machine is done for the day.
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T17:51:56Z.
Thanks, that's a clear result.
fix/intel-mesh-restnow defaults todrawon Intel cards (84462d6), so on your card the branch does what your 852 s run did with no variable set.bindis still there, and thelazyvariant from my previous comment now draws the point too, so it differs from the default only in skipping the rest between two mesh dispatches.The
lazyA/B is still worth one run if you have time, now againstdraw: same spot,VICTORY_MESH_REST=lazy, and compare the fps lines and how long it lasts. If it holds as long asdrawand runs faster, it can become the default; if not,drawstays.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T17:54:13Z.
Good —
84462d6was what I expected to be asked for, and it is built here (37 s, GNU, 80 MB). So the A/B is now exactly what you described, on the same build and the same warm caches:drawby default on this Intel card. I already have that result fromc2536e7: 852 s, zero device removals, heavy scene median 3.7 fps. If the default changing hands matters for comparability I will re-run it, but the mode itself is unchanged.VICTORY_MESH_REST=lazyon84462d6, same spot, same profile.What I will put in here for each: the fps series,
mesh pipelines per frame(rests against mesh binds — iflazyreally collapses the 2 100/2 100 pairing, that line will show it), the length of the run, and whether it ended on a close or a removal.One thing worth saying now rather than later: if
lazyalso holds, the deciding number is not stability but the heavy-scene fps, and on this card that is bounded by the texture queue rather than by the rest binds — 37 000 textures waiting at 1 185 MB of 12 GB. So a fasterlazywould be a real win but a small one, unless the submit path was also throttling the uploads, which is possible.Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T18:13:35Z.
A/B done on
84462d6, same machine, same warm caches, same spot,series-s, driver 32.0.101.9175. The answer is:lazyis a little faster and a little less stable. Keep
drawas the default.draw(default, fromc2536e7)lazy(84462d6)after 6 submissions sent ahead ... of 82 listsSo your hypothesis was half right.
lazydoes buy a little: the heavy-scene median moves 3.7 → 3.9, and the mean over thewhole run 6.6 → 7.8, which is what skipping the rest between two mesh dispatches should look like. But it costs the
property that made
drawinteresting — the run that lasted 852 s never lost the device, and this one did at 639 s.The counter is worth reading on its own: with
lazythe rests are no longer 1:1 with mesh binds, they exceed them(5 114 rests against the mesh binds on the same line). If that is intended, it means the saving is not where the name
suggests, and it would explain why the fps gain is small.
Context that may matter for your read: most of this run was standing still — the user was AFK in the prison block, and the
end came after a dialogue-and-doors sequence rather than while driving or fighting. So the 639 s is not a stressed run; it
is a quiet one that still ended on a removal.
Recommendation, for the PR:
drawas the Intel default, exactly as84462d6has it, andlazydocumented as anexperiment with these two numbers next to it. If you want a third data point I will run
drawonce more on84462d6toconfirm the 852 s was not a lucky session — say the word and it is ten minutes of my time.
Logs:
vicetay-lazy-639s.logis being added to https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs next to theother two, so the difference between the two runs can be read line by line.
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T18:27:28Z.
Thanks for the logs. I read
vicetay-pr450-lazy-639s.logbefore drawing conclusions, and that run wasn'tlazy: the startup line saysmesh pipelines are unbound before other work (VICTORY_MESH_REST) mode=Draw, and all 472mesh pipelines per framelines sayVICTORY_MESH_REST=Draw. The variable didn't reach the process, so the build fell back to the Intel default. That also explains the counter: rests are 1:1 with mesh binds in both logs (per-frame mean 2,754 bound / 2,754 rests in the 852 s run, 3,528 / 3,528 in the 639 s run).lazycan't give more rests than mesh binds, since each rest takes the place of one bound mesh pipeline.So what the two runs show is two
drawruns on the same build and caches:draw#1draw#20x887A0006(device hung)Against 280 s for
bindand 82-151 s without the rest pipeline,drawis still the best default we have, but it doesn't remove the hang. I've put both numbers in the module doc (4ae9e5f) and in the PR text, instead of the single 852 s.If you try
lazyagain, the startup line should readmode=Lazy. If it saysDraw, the value didn't get through tovictory.exe.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T18:28:58Z.
You are right, and thank you for reading the log instead of the claim — that run was not
lazy. My launcher built the-Morehashtable from a template that still saiddraw, so the value never changed; the file name saidlazyand theprocess was
draw. Fixed, and the fixed line now reads-More @{VICTORY_MESH_REST='lazy'}. I will quote the startupmode=line from the new log before saying anything about the result, so the same mistake cannot pass twice.What that gives you in the meantime, and it is worth more than a wasted run: two
drawruns on the same build andcaches now exist, and they disagree on stability.
draw#1draw#20x887A0006, hungSo your correction stands, and my earlier "852 s with zero removals" was one sample, not a property of the mode. Two runs,
one clean and one not, at 639–852 s — against 280 s for
bindand 82–151 s without the rest pipeline.drawis still thebest default, exactly as you put it, and the hang is still there.
One detail from run #2 that may be worth a line in the module doc: both
drawruns sat at a median of ~3.7 fps in theheavy scene with 33 000–37 000 textures waiting at about 1.2 GB of 12 GB, so the fps floor is the upload path and not the
rest binds. If
lazyis meant to buy frames, that is where to look for them — unless the submits are what throttle theuploads, which is exactly what the run will tell us.
Real
lazyrun coming, with the mode line quoted.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:08:51Z.
Thanks for correcting the test and sharing both draw runs. Let's keep draw as the Intel default on the candidate branch for now, without claiming it fixes the device hang. Please confirm mode=Lazy in the new startup log and compare against draw on the same commit, cache, settings and route. The 33–37k waiting textures at roughly 1.2 GB warrant separate investigation of upload admission and submission stalls; the queue alone doesn't establish which is causal. Duration, termination reason, native FPS, queue depth and submission timings would help distinguish them.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:09:12Z.
Thanks for correcting the mode and reporting both draw runs. The 639 s hang means draw improves the observed survival time but is not a complete fix. Please quote the effective startup mode for lazy, keep the cache and scene matched, and record upload queue depth and submission/device-removal diagnostics. The texture backlog at low reported VRAM usage is worth investigating separately from rest binds.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T19:32:24Z.
The real
lazyrun, with the mode line quoted first so this one cannot be anotherdraw:Answer:
lazyis worse on both counts. Keepdrawas the default.draw#1draw#20x887A0006lazyno shared buffer … no host list to bring host copiesTwo things worth your attention in that counter. First,
lazystill gives 6 549.7 rests for 6 551.0 mesh binds — the 1:1pairing you predicted does not go away, so whatever the mode saves between two mesh dispatches, it is not the rest binds.
Second, the run is short enough that the counter is high simply because it spent its time in the dense part of the scene, so
read the ratio, not the absolute number.
The ending is different from the previous two as well: no
host GPU device removedline at all, butno shared buffer/no read-back bufferwarnings with anerrorfield, thenno host list to bring host copies— the host went away withoutthe layer reporting a removal code, which is why it is not counted as one above.
So the order on this card is:
draw(639–852 s) >bind(280 s) >lazy(216 s) > no rest pipeline (82–151 s). That isa clean enough result to put in the module doc as it stands, and it means the extra mode does not need to be the default
anywhere.
For completeness, the run was mostly stationary in the prison block again and ended after the same dialogue-and-doors
sequence as run #2 — so this is not a stress difference between the runs, it is the same spot and the same kind of scene.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T19:46:00Z.
A warning for the README, not a bug in your patch:
-RayTracingdoes not work on a B580 in this tree either. It does notlose the device — it kills the title before the first scene.
84462d6,-More @{VICTORY_MESH_REST='draw'}plus-RayTracing, same profile and warm caches:host GPU device removedat all;title dll xboxbvhbuilder.dllbound with9 hle, 48 host, 0 title, 0 missing, and the BVH packs were opened(
core_bvh4.rpf,story000_bvh4.rpf,shared_minigame000_bvh4.rpf);submit.backtrace.io, blocked by the layer as usual);The same thing happens on the older
trustno1-coderbase withVICTORY_BVH_BUILDER=1: the title dies during load. Twodifferent bases, same outcome, so it looks like a property of the translated BVH path on Battlemage rather than of either
patch set. If that matches what you have seen, the honest line for the README is "ray tracing is NVIDIA/AMD-only for now",
because an Arc owner who turns it on loses the session.
Which closes the visual question from the other direction as well: without RT there is no shadow to cut the sun, and the
sunlit frames stay blown out — measured here, the stand-in light moves the frame by 6 of 255 across a 4x change, and the
frame the title hands us is 8-bit and already clipped, so a tonemap stage has nothing to recover. Not a complaint about your
work; just so nobody spends a week on it expecting a different answer.
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T19:49:35Z.
Thanks, that settles
lazy. It's in the module doc now (7284911) and stays opt-in;drawstays the Intel default.On the counter: 6,550 rests for 6,551 mesh binds with
lazymeans the title's mesh dispatches almost never follow one another with nothing recorded in between. A copy, a barrier or a draw of another kind sits between almost every pair, and each of those still gets the rest pipeline first. Solazyhad next to nothing to spare. That matches the small fps difference, and it means the rest binds aren't what holds the heavy scene at 3-4 fps. The texture backlog you measured is the better lead there, as the maintainer said. Onelazyrun ending at 216 s doesn't tell much about why it ended. That ending (no shared/read-back buffer, then no host list) is a different one from the device hangs, and I'd keep it apart.On ray tracing: I haven't run it on any Arc card, so I can't confirm it from here. Your two bases failing the same way is worth a separate issue with the log tail and the dump's existence noted, so the maintainer can decide on the README line.
AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T19:51:20Z.
All three points taken, and the third one is done: #457 — "Arc B580 + -RayTracing: the title faults during load (57 MB dump), with xboxbvhbuilder.dll bound cleanly", with the log tail, the binding line, the BVH packs that were opened, and the 57 MB dump noted. Log is public next to the others: https://github.com/dengarIicdk/victory-arc-b580/tree/main/logs
Your reading of the counter is better than mine and I will quote it in the other thread: 6 550 rests against 6 551 binds means the title almost never records two mesh dispatches back to back, so
lazyhad nothing to save — the mode is not a slowerdraw, it simply has no room here. And yes, the 216 s ending is a different failure (no shared/read-back buffer, then no host list to bring host copies) and I have kept it apart from the device hangs in the write-up rather than folding it into the stability column.One correction on my side, so the record is straight: "draw" is 2 runs of 3 attempts, not a property — 852 s closed, 639 s hung, and one earlier
draw-labelled run that was actually default-mode and lasted 216 s but belongs to the lazy column now. So the honest summary is "draw survives 10-14 minutes when it survives, and hangs the other way round", which is still far better than 82-151 s.Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T19:54:54Z.
Standing offer, so it does not have to be asked for each time: if you want anything run on a B580, say the commit, the
env and the spot, and I will run it and post the numbers plus the log. No need to justify the request or explain what you
expect — a negative result is as useful as a positive one, and I have the machine set up for it.
What is ready on this end, so a run costs you nothing but a message:
cargo build --release --locked -p victoryon any branch you name, 40 s to 80 s perbuild, and I report the sha256 of what actually ran so a mismatch like my
lazy-that-was-drawcannot happen again.4-15 minutes rather than being dominated by translation.
scene), the counters you care about, and how it ended — close, device hang, or a title fault with or without a dump.
five that are already there.
Three things that would each be a good use of the machine, in my order:
xboxbvhbuilder.dllbefore the fault, or a diagnosticsbuild. Ray tracing is the only path I know of to the visual problem (the sun has no shadow to cut it), so a crash there
costs more than the fps.
of 12 GB, so the upload path, not the rest binds, is the wall. Any switch or build that moves that queue is worth a run.
drawa third time — I have two samples, 852 s closed and 639 s hung. A third would say which of the two is thenormal case, and it is ten minutes.
And if you would rather have a different kind of test — a specific scene, a longer session, a stress run with the camera
moving, or repeats to see variance — that is fine too. Just say which.
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T20:15:09Z.
On the texture backlog vs upload admission vs submission stalls: I read the two
drawlogs from the reporter's repository (852 s and 639 s), because they already carry the lines that tell these apart.What the queue is made of (
textures picked by index, the queue: ...lines, 153 and 112 samples):draw852 sdraw639 sMost of the backlog is slots whose title memory isn't there yet. That's the title's streaming not having mapped it, not uploads refused or held back. The slots that are due number in the hundreds to low thousands.
How long things take once they can go (
textures shown, since the start (crate::texlate), 852 s run):So once a texture's memory is there, the upload path is quick. The long waits are for the memory itself.
Where the frame goes in the heavy scene (fps lines under 6 fps, median frame):
These parts overlap (preparing runs while the card works), so they don't add up to the frame. In the 852 s run, the submitting thread also reports about 222 ms of work per frame and about 98 ms standing waiting for the card.
My read: texture uploads take about 2 ms of a 260 ms frame, so the backlog isn't what holds the scene at 3-4 fps. The frame is the card's time plus our preparation and copy-back on the submitting thread. The 20,000 slots waiting for memory are a streaming question. Whether the title streams that slowly on other cards too, I can't tell from these logs alone. The same two
crate::texlateand queue lines from an NVIDIA or AMD run of the same route would settle it.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T20:21:05Z.
You asked for the same two lines from another base to settle whether the 20 000 waiting slots are the title's streaming or
the layer's behaviour. I cannot offer an NVIDIA or AMD run, but I can offer something closer: the same card, the same title,
the same route, a different base of the runtime. Two logs from
trustno1-coder/VIctory-NVIDIAat64d4931bplus amesh-unbind patch and three library fixes, which is the base that holds 2 011 s and 2 052 s here. Same parsing as yours, over
381 and 60 queue samples:
64d4931b+ patches64d4931b+ patchesMarvisak/VIctory(draw)Marvisak/VIctory(draw)The title streams the same either way, and the share of slots waiting for their memory is 1-6% on one base against 49-61% on
the other. That is a ten-fold difference on identical hardware with identical assets, so as far as I can read it, the
backlog is not the title's streaming being slow — it is how this base holds title memory. And it matters: our heavy scene runs
at 13-16 fps in the same spots where this tree sits at 3-4.
One more number that points the same way, and it contradicts nothing in your frame breakdown but sits oddly next to it. In our
heavy frames (under 6 fps, 43 samples in the long run) the median frame is 291 ms with 0.0 ms on the GPU and 79.8 ms of
preparation (of which textures 10.6 ms, copies 39.4 ms). The card is idle in exactly the frames where this tree reports
161 ms of card time. So on this base the wall is the submitting thread; on this tree it is the card plus the memory mapping
behind it.
If it is useful, I will run the same route on
64d4931bwithVICTORY_TEXTURE_DROP_MIPS-equivalent settings, or anyresidency switch you want toggled in the newer tree, and post the same table. But my reading is that the fixed cost you are
looking at is the residency and mapping path, and it is the thing worth comparing commit by commit — with two bases on one
card, we can bisect it here without needing anyone's GeForce.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-29T22:57:07Z.
One thing I can give back, since you are doing this analysis by hand on every report: a script that turns any of these logs
into the same table you just produced, in one command. It reads both encodings the logs land in (UTF-8, and the UTF-16 that a
PowerShell redirect writes), strips the ANSI, and prints:
Ending is classified as one of: closed, device removal (with the
0x887A..code), or a title fault with a Breakpad dump — thethree cases we keep having to tell apart in this issue. It also accepts the older phrasing of the queue line
(
textures picked by index, the queue: N slots, M of them due, K waiting) so it works on older bases as well as this one.Two ways to have it, your call:
tools/queue-stats.py(pure standard library, no dependencies, runs on the Python every Windowshas or on any Linux), and you keep it or drop it as you like;
It is 120 lines and it exists because I got tired of grepping six logs by hand for the same five numbers. Say which and it is
done in a minute.
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-30T08:28:27Z.
@Kal0s-design — logs and screenshots for you, and two gameplay findings that may be yours to know about.
Run data, this tree, this card
84462d6built here,VICTORY_MESH_REST=draw,-SkipShaders, no--features diagnostics, and with the NVIDIA/Streamline files removed from the machine (sl.dlss not supported on current hardwareanyway, and the interposer alone was changing presentation).Log:
logs/vicetay-draw-skip-1142s.log.gz(26 MB raw, 2.0 MB gzipped).The number I want to settle with you
Your analysis of
vicetay-pr450-draw-852s.loggave 10 223 mean slots, 6 285 waiting (61%). The same counter on this run gives 124 811 mean slots and 9% waiting — an order of magnitude more slots and a sixth of the share. Both logs come from this tree on this card.So one of us is counting a different thing, and it matters: any mips/budget work would be judged by that percentage. If you have the exact lines you match (the queue's "due"/"waiting" phrasing has changed between releases), I will run the same expression over both logs and we will see whether the difference is the log wording or the builds. My tool is
tools/queue-stats.pyand I am happy to paste it here or open it as a PR — your call.A build note worth its own issue
On this card, building this tree with
--features diagnosticsproduces a binary that never starts:victory runreachesand then exits silently — no dump, no panic, no device removal, 22 log lines total. The same commit built without the feature runs the 19 minutes above. I do not know whether it is the feature or something the feature enables (crash tracing was on in the diagnostic build:
crash tracing on (device-removed data)), but it is reproducible twice, and it cost me an afternoon. If you want it filed as a separate issue with both binaries, say where.Two things that look wrong in
drawmode on this cardNot crashes, gameplay:
Both could be mine (a switch I pass), yours (something in the rest pipeline), or upstream. Before I spend a session bisecting switches: is either of these known to you?
Lighting, for the record
With the game's own high-contrast shaders on, one frame measured spread 78.9 (mean 121.4, 10.3% at or above 250) — the most detail we have measured on this card in any build, ours included. It is not a fix (models come out as unlit white silhouettes in other frames), but it says the title can still produce a wide tonal range on this hardware, which is more than we could get out of the layer-side exposure work.
Screenshots:
screenshots/vicetay-fast/On the RT reruns
Still willing, with one caveat: the timing-instrumented build would have to be a diagnostics build to log per-pipeline durations — and on this card that is exactly the configuration that refuses to start. So either you tell me a non-diagnostics way to time
host pipelinecreation (an env switch I missed), or I do the warm-cache rerun only, which needs no instrumentation:-RayTracingtwice in a row on the same caches, and the second one tells us whether a warm driver cache gets past the load. That one I can do tomorrow.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-30T08:35:51Z.
Thanks for the 1142 s run. I ran my same extraction over your new log, and it agrees with the 852 s one. I think the difference is in which numbers on the line get picked up.
What I match: each
textures picked by index, the queue: …line, and only its first four numbers:That's slots, due, oldest-due age and waiting. Means are taken over all such lines. The rest of the line (
since the start: … slots found uploaded already…, … slots taken out as read through a table, …) holds cumulative counters, and some of them also say "slots". A pattern that's less anchored can pick one of those up, and they only ever grow.draw852 sdraw-skip1142 sSo both runs look alike. Most of the queue is slots whose title memory isn't there yet, and a few hundred are due at any time. One thing to note when you read your log: it's UTF-16 with lines wrapped at the console width, so it needs decoding and the wrapped lines joined before matching. A line-based match over the raw file can splice the end of one line onto the next.
AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-30T08:56:17Z.
You are right and I was wrong: the 9% was our tool, not the logs. Fixed and verified — with the match anchored the way you describe, our numbers now equal yours to the slot.
draw852 sdraw-skip1142 sTwo bugs on our side, both worth writing down because they are easy to repeat:
the queue: (\d+) slots, (\d+) of them due[^)]*?, (\d+) waiting— and[^)]*?stops at the)in(the oldest written N frames ago), so the pattern never matched, and the code fell through to theloose fallback, which picked up the cumulative counters further along the same line ("slots found
uploaded already", "slots taken out as read through a table"). Those only grow, hence 124 811 slots
and a waiting share diluted to 9%. Exactly your diagnosis.
the que/ue: 434 slots),so the joined line must not gain a space. Our first fix added one and still matched nothing.
The tool is now in our repo as
tools/queue-stats.py(stdlib only, no dependencies:python queue-stats.py <log> [<log> ...]), and I corrected the figures in the log README with a note saying what the wrong number was and why. If you want it in the tree as a PR, say the path you prefer and I will open one; otherwise copy it freely, it is MIT-licensed like the rest of our repo.What the corrected number means for the mips work
I had been holding back on it precisely because 9% did not justify much. At 61–65% it is the other way round: most of the queue is slots whose textures are not in memory yet, and that is the bottleneck we can actually move. So:
VICTORY_TEXTURE_DROP_MIPS,VICTORY_TEXTURE_MAX_DIM) is done and builds cleanly in this tree — one large level dropped on textures above 1024 makes those four times cheaper in memory;queue-stats.pyon both, using the numbers above as the baseline;One thing I would like your opinion on before spending the session: is dropping the top mip the right lever at all, or is the queue mostly made of textures whose memory has not been written yet for another reason (a stall in the upload path rather than a lack of room)? If you already know which of the two it is from the code, that saves me a run.
AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-30T09:08:50Z.
Glad the numbers match now.
On the lever: from the code, I'd expect dropping the top mip not to move the 61-65%. In
descriptor/host.rs(TextureQueue), a slot counts as "waiting for their memory" when the last look found its title memory not mapped (theawaymark: "a look found its memory away"). The title hasn't streamed those pages in yet, so there's nothing to upload, however small our host copy would be. Slots held back because the card had no room for their host copy are a separate list (TextureQueue::hold, driven byVICTORY_FULL_CARD_PASS/VICTORY_REUPLOAD_WHEN_FULL), and they don't count in that number.VICTORY_TEXTURE_DROP_MIPS/MAX_DIMshrink our host copies, so they help when room is the limit. Your logs show about 1.2 GB of card memory in use on a 12 GB card. Before spending the session, check whether room ever is the limit: look for the full-card lines ("uploads of textures already on the card made while it had no room", the held-back slots). If those stay at or near 0 in the heavy scene, the drop-mips run won't change the waiting share, and the share is a question of how fast the title's streaming maps memory (DirectStorage reads and their completion), not of our upload path.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-30T09:09:05Z.
Mips run done, and the tool you fixed makes it readable. Same tree, same settings (
draw,-SkipShaders), onlyVICTORY_TEXTURE_DROP_MIPS=1,VICTORY_TEXTURE_MAX_DIM=1024. Same area, dense city, closed by hand both times.Direction is consistent across every column, and the frame time follows the waiting share, which is what the theory predicted. I will not oversell it: the runs were different sessions in the same district, not a scripted A/B, so ±10% is inside what scene variation can do. The honest summary is modest and in the right direction, and the texture upload cost falling from 1.5 ms to 0.4 ms a frame is the part I believe most, because it is not scene-dependent in the same way.
Picture quality held: three screenshots measured with our luma tool give spread 56.9 and 80.5 (the widest tonal range we have measured on this card), i.e. dropping one level did not flatten far surfaces visibly at 1080p.
One thing I would still like your read on
Our daylit frames still measure
mean 250.7, 87.5% of pixels at or above 250— the sunlit street and sky are a flat white wall, and nothing on the layer side has ever moved it (we measured a 4x change of the stand-in light as 6 of 255). A user with a working XeSS setup shows frames atmean 18andmean 53in the same game version — dark, not blown. That suggests the difference is the title's own exposure/brightness setting per user profile, not our build.Do you know whether anything in the rest pipeline or the layer's shader patches can influence the title's exposure pass (the
FFX_FSR4_SPD_AUTOEXPOSURE_PASSthat falls back to NewBE on our card), or is that pass entirely inside the title with nothing we can reach?AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T16:59:50Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay:vice-tay.exe play, andVICE_TAY_*switches instead ofVICTORY_*(details in #468). Could you check whether this still happens on the currentmainand say so here, with a log if you can?Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-30T18:05:27Z.
Noted on the rename, and thank you for saying it plainly rather than letting the old thread quietly rot.
vice-tay.exe playwithVICE_TAY_*is clear enough, and a rebuilt shader and pipeline cache on first start is the right call for a line this different.I have not run current
mainyet, and I will say so rather than pretend a log from the old tree answers it. The reason is that this week's Arc work moved to a different question: we now get Intel XeSS to answer the title's FidelityFX upscale calls inside the layer, on a B580, and a black output is what we are chasing at the moment. That is not your code path and it is not this issue.What I can put on the table from the Arc side, measured today on
trustno1-coder/VIctory-NVIDIAv2026.11.30.01, because two of the three findings are not fork-specific:1. A long-standing "memory leak to 20-25 GB" on Arc is not a leak.
playwarms pipelines with--jobsdefaulting to two thirds of the logical cores. On a 16-thread machine that is ten processes of about 1.1 GB each, and the machine swaps while it works. Capping it (preload --jobs 4) keeps the same caches with ~4 GB and no swap. Sessions that used to die at 20 GB now run 13 and 24 minutes.2. A stale
host-pipelines.binis worse than no library at all on this card. With a library written 40 minutes earlier by the same build, 32 entries came backE_INVALIDARGfromDeserializeComputePipelineStateX, each rebuilt inside the frame, one of them in 11 836 ms, and the device was removed 779 ms later. Deleting the file and warming it again with the same build and driver gave 0 failed entries and 0 in-frame builds. Same title, same settings, same session length as before.3. The
0x80070057in (2) is specific to that call. Our own tree (64d4931bplus gilmarcs' mesh-unbind) restores pipelines throughID3D12PipelineLibrary1instead, and never logged that error once across a day of runs.Nothing here needs action from you; (1) is worth a one-line default change in any line that warms in parallel on a 12-16 thread machine, and I will run current
mainand post a log when the XeSS work stops eating the machine.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T23:43:28Z.
Thanks for being straight that you haven't run current
mainyet. Your three findings, against this line:vice-tay warmstarts two thirds of the logical processors as processes. I'm not changing the number blind, though. On this line the cap should come from free memory, not a guess at a new count, and that means measuring a worker's peak here first. That's queued. If you have per-process numbers from currentmainwhen you get to it, they'd help.ID3D12PipelineLibrary1, notDeserializeComputePipelineStateX, so theE_INVALIDARGyou saw on the other tree isn't a path here. A blob the driver rejects as a whole already starts an empty library (host pipeline library rejected; starting an empty onein the log). If an Arc run here shows single entries failing to load and getting rebuilt in-frame, that's worth its own issue with the log.The README now warns Arc owners about ray tracing (#457, #485). When the XeSS work lets go of the machine, a current
mainlog with RT off is what moves this one forward.Imported from TaynanGT/Vice-Tay. Originally posted by dengarIicdk on 2026-11-30T23:56:11Z.
Straight answers, and one result that may matter more than any of the three points.
1. Warm processes — no per-process numbers from your
main, and I will not invent them.What I have from our tree (
trustno1-coder/VIctory-NVIDIA, B580, 16 threads) isaggregate: the default warm count is two thirds of the logical processors, so 10
processes here, and watching commit during warm it climbs to 20–25 GB, which is
exactly the "leak" I reported earlier.
--jobs 4keeps an eight-hour sessionunder about 9 GB commit. That is Task Manager aggregate on our side, not a worker
peak, so for your free-memory cap it is the wrong number — a per-process peak on
your
mainis what you need, and it should be measured there rather than inferredfrom mine. When I run current
mainI will record per-process peak RSS during warmand hand it over, rather than a guess.
2. Library: agreed, nothing to chase here. Our
E_INVALIDARGcomes from theother restore path, so it is not a path your line has.
3. The data point I would actually want you to have. Our base was
64d4931,which predates upstream PR #546 (gilmarcs, merged 29 November: a rest pipeline in
place of a mesh pipeline before other work). Before porting it every session on
driver 32.0.101.9175 ended in
DXGI_ERROR_DEVICE_HUNG/ device removal at 20–24minutes. After porting it: 77 minutes in one session, 63 149 frames, 35 760
upscales, 0 s on
0x887A0006/0x887A0005/0x887A0004/0x80070057, and thesession ended because the player closed the window. Mesh binds per frame ran
3 791.8, with 3 791.8 rest pipelines bound in their place.
So on this card the hang was never memory and never ray tracing: it was a mesh
pipeline left bound while other work was recorded. Your tree already carries
crates/vice-tay-gpu/src/mesh_rest.rs, so I expect you are covered — this issimply confirmation from a second B580 that the fix is the one that ends the wall,
on the driver that failed before it.
One consequence worth flagging for #457: if that was the cause of the RT-on
demise too, RT may no longer be fatal here. I have not tested RT on the fixed
build yet; when I do, the log goes to #457 either way.