NVIDIA RTX 4060: reaches the world, then drops to 0–1.2 FPS #30
Labels
No labels
accessibility
bench-bm-v1
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/PastiiJay--klbf-lab#30
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?
@mayauxpaul8-droid on GitHub · 2026-11-25 18:04 UTC · original
Test setup
main, commit8f4291aResult
The game reached the world, but performance became unusable. The four world-rendering samples in the log were 1.2, 0.1, 0.2, and 0.0 FPS (median 0.15 FPS). Together, they report 5,604 draws dropped because no host pipeline was available.
The log also shows two compute shader translation failures and four host compute-pipeline refusals (
0x80070057). The window/output was reported at 3840×2160. I launched without--console series-s(and therefore without the recommended Series S upscaling path).I did not attach the full log because it contains local paths. I can provide a redacted copy if needed.
@PastiiJay on GitHub · 2026-11-25 18:37 UTC · original
Thanks a lot for the detailed report @mayauxpaul8-droid! That run was without
--console series-sat 3840×2160, which is the heaviest setting: full resolution, no upscaler. Please try the recommended one:--console series-s(720p + AMD FSR upscaling, guide steps 5-8). On an 8 GB card that's also the only mode with a chance. The compute-pipeline refusals are noted, and a redacted log would help if it stays at ~1 fps with Series S.@mayauxpaul8-droid on GitHub · 2026-11-25 20:18 UTC · original
Series S retest
I reran the same setup with
--console series-sand the FidelityFX SDK configured.I closed the game window manually. The log then reports that the title did not finish suspending in time and was ended; I did not observe a GPU device-loss error.
I have not attached the full log because it contains local paths. I can provide a redacted copy if useful.
@PastiiJay on GitHub · 2026-11-25 20:21 UTC · original
Thanks for the Series S retest @mayauxpaul8-droid! The key line is "293–324 draws dropped because no host pipeline was available": the game is skipping a lot of drawing because those shaders aren't built yet. Run the pipeline pre-build once before playing (guide step 7), and re-run it until it finishes by itself:
target\release\victory.exe translate --cache --pipelines --jobs 8 <game folder>\shaders.rpf. After that, "draws dropped" should fall close to 0. Could you retest and tell us the fps?@mayauxpaul8-droid on GitHub · 2026-11-25 20:30 UTC · original
Attached is the redacted full log from the Series S run. It confirms a 1280×720 render resolution upscaled to a 1920×1080 output. Across 11 in-world samples, 293–324 draws per sample were dropped because host shader pipelines were unavailable; the log reports 0 pipelines being built during those samples.
test-rtx4060-redacted.txt
@HandshakeHackin on GitHub · 2026-11-25 20:33 UTC · original
I ran the scene summary from #21 on the new redacted log. Lines 11795–12333 reproduce the 11-sample window and its 3.1 FPS median. The medians were 325.4 ms/frame, 131.3 ms preparing on the CPU (including 56.9 ms preparing copies), 130.5 ms on the GPU, and 46.3 ms copying back. The draw counters were 5,877 draws/frame and 297 dropped without a host pipeline.
These numbers give the next pre-build retest a same-scene baseline. The median over the whole file is 30 FPS because it includes startup. The run log shows a 1,695,629,358-byte pipeline library loaded. Which dropped draws a new pre-build recovers still needs the retest.
@PastiiJay on GitHub · 2026-11-25 20:35 UTC · original
Thanks @HandshakeHackin, that's a perfect same-scene baseline: 131 ms CPU prep (57 ms copies) vs 131 ms GPU, plus 297 draws dropped without a pipeline. After the pre-build retest we'll know exactly how much those dropped draws cost.
@mayauxpaul8-droid on GitHub · 2026-11-25 20:53 UTC · original
Thanks. I ran the pipeline pre-build and retested with
--console series-s(720p rendering).The image remained black until the cinematic, when it first appeared.
In the 11-sample window, the median was 3.1 FPS, with 296 draws per frame still dropped because no host pipeline was available, compared with 297 in the previous baseline. So the dropped-draw count is effectively unchanged. The log also reports two compute shaders and three pixel shaders that do not translate, plus six host pipeline refusals (
0x80070057). The pipeline library reports 2,481 loaded entries and 3 newly made.The later part of the run reached 4.2–4.7 FPS, but the draw count changed substantially there, so I have not used it for the same-scene comparison.
@HandshakeHackin on GitHub · 2026-11-25 20:56 UTC · original
For the remaining 296 dropped draws, I checked the reported revision (
8f4291a). Its diagnostics build logs the most frequent reasons for dropping a draw, with a per-frame count for each. That would show how many draws each translation or pipeline failure accounts for.The project’s build command is
cargo build --profile diag -p victory --features diagnostics. Runtarget\diag\victory.exewith the same settings. A fewdropped .../frame without a host pipeline:lines from the same scene are enough to rank the reasons. The release run remains the FPS baseline because diagnostics collect extra counters. Per-reason log output · How reasons are counted.@PastiiJay on GitHub · 2026-11-25 20:58 UTC · original
Thanks @HandshakeHackin, that's exactly the next step, with the code links to back it.
@mayauxpaul8-droid, if you have a moment: build the diagnostics version as above, run it in the same scene with the same settings, and paste a few
dropped .../frame without a host pipeline:lines here. That tells us which failures cost the most draws on your RTX 4060. Keep your release run as the fps figure.@efsebayern on GitHub · 2026-11-25 21:11 UTC · original
RTX 4080 SUPER follow-up — Series S, beta
e328c88Test setup
e328c8899c61cda1d43c526e03dedb96219f2018, release build--console series-s, README runtime settings, FidelityFX SDK 2.4.0, frame generation off. The log shows an existing 898,458,804-byte host pipeline library loaded.Result
The beta reached 3D rendering. The window title showed roughly 1–2 FPS during the slow stretch. The table covers five consecutive high-draw log samples from 2:51 to 3:14 after launch, excluding startup and menus. The exact gameplay scene is unknown, which limits direct comparison with the RTX 4060 run.
The five-sample medians were 1.3 FPS, 756.8 ms/frame, and 368 dropped draws/frame. The stage medians logged were 170.0 ms preparing on the CPU, 106.2 ms on the GPU, and 55.8 ms copying back.
The release log also records six compute pipeline refusals with
0x80070057:The diagnostics build compiled successfully locally. The per-reason dropped-draw counts still need a diagnostics run, so the refusals above are not yet attributed to specific draw counts.
@PastiiJay on GitHub · 2026-11-25 21:12 UTC · original
Thanks a lot @efsebayern, this is a very clean report. What we take from it: on the RTX 4080 SUPER with the beta (
e328c88) in Series S, the slow stretch sits at a 1.3 fps median with ~370 draws/frame dropped for lack of a host pipeline, zero pipelines still being made, and the time goes mostly to CPU preparation (170 ms) ahead of the GPU (106 ms). So on your side it doesn't look like a pipeline still compiling, but like pipelines that never get made.The six compute refusals (
0x80070057) are useful on their own: we'll check whether the same six hashes are refused on our RX 9070 XT too, which tells us if it's an NVIDIA-only thing or a translation problem on our side, and post the result here.When you have time, a few
dropped .../frame without a host pipeline:lines from the diagnostics build in that same stretch would tie those refusals to draw counts, like @HandshakeHackin described above. Your release numbers stay the fps baseline.@efsebayern on GitHub · 2026-11-25 21:18 UTC · original
Thanks for the reply. I took another release measurement later in the same RTX 4080 SUPER session (beta
e328c88, Series S, driver 610.88, frame generation off).Release follow-up
Over 60.3 seconds (11 consecutive in-game log samples), the median was 5.9 FPS / 168.1 ms per frame. The samples ranged from 5.1 to 6.1 FPS. The median draw count was 4,525 per frame, with 411 dropped without a host pipeline (range 398–446). All 11 samples reported zero pipelines being made.
The stage medians logged were 72.5 ms preparing (38.7 ms copies, 6.9 ms textures), 84.4 ms on the GPU, and 58.2 ms copying back. This was a later gameplay segment, so it establishes that dropped draws persisted during the faster stretch. The scene was not matched to the earlier 1.3 FPS window.
Diagnostics follow-up
I ran the same beta revision and Series S settings with the
diagnosticsbuild. This was a separate run through early 3D rendering, so the counts below apply to these diagnostics samples.The diagnostics log repeated all six
0x80070057compute refusals from the release report. Four show up in these per-frame drop breakdowns at 0.2–1.0 per hash per frame:02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77, and369cbe906ea72764. The other two,5dc3b25986622949and6f225b641c5b0708, are in the refusal log but did not appear in these three drop breakdowns.Representative excerpt (diagnostics lines 8652–8658):
The disabled builder dominates these diagnostics counters. The samples do not establish its impact on frame time or attribute the release window's 411 drops to individual reasons.
@PastiiJay on GitHub · 2026-11-25 21:20 UTC · original
Thank you @efsebayern, the diagnostics run answers the question we asked. What we take from it: in those samples almost all dropped draws (e.g. 621.7 of 626 per frame) come from the ray-tracing structure builder, which is off, not from the six refused compute pipelines, which cost about 0.2 to 1 draw per frame each. And the later stretch at 5.9 fps median with zero pipelines being made shows the card can do better than the 1.3 fps window.
As you say, that doesn't yet tell us what the disabled builder costs in frame time, so we won't draw a conclusion from it. It goes into our notes for the RX 9070 XT runs: we'll compare the same counter on our side and post it here.
@mayauxpaul8-droid on GitHub · 2026-11-25 21:25 UTC · original
Following your request for per-reason diagnostics, I ran the diagnostics build in the same Series S scene and settings.
The game rendered at 1280×720, upscaled to 1920×1080. As in the previous run, the image remained black until the cinematic.
In a late diagnostics sample, the log reported 2,250 draws/frame and 296 dropped without a host pipeline. The per-reason breakdown attributed 291.6 draws/frame to “a stage of the ray-tracing structure builder, which is off.” Other reported reasons included individual compute cases, refused compute pipelines, and a skipped shader. The category counts are averaged separately, so they do not sum exactly to the aggregate.
The diagnostics build showed about 4.1–4.2 FPS in these late samples. As requested, this is not the FPS baseline; the same-scene release-build median remains 3.1 FPS. The run ended after I closed the window; I did not observe a GPU crash.
This log was captured from local commit
3c2dbec, before the changes in PR #49. It therefore does not include that PR’s more detailed per-pipeline refusal attribution (operation, HRESULT, and shader IDs).@PastiiJay on GitHub · 2026-11-25 21:26 UTC · original
Thank you @mayauxpaul8-droid, that's exactly what we asked for. Your RTX 4060 shows the same picture as the RTX 4080 SUPER above: of the 296 draws/frame dropped, about 292 come from the ray-tracing structure builder, which is off, and only a handful from refused compute pipelines or the skipped shader. Two different NVIDIA cards agreeing makes this the first thing to look at, though it still doesn't tell us what it costs in frame time.
Noted too: black image until the cinematic, 3.1 fps release median in that scene, no GPU crash. We'll check the same counter on our RX 9070 XT and post it here. If you rerun later with PR #49 included, the per-pipeline detail (operation, HRESULT, shader IDs) would complete the picture, but no pressure.
@mayauxpaul8-droid on GitHub · 2026-11-25 22:06 UTC · original
I reran the Series S test using the diagnostics build from PR #49 (
a17d721, based onbeta).0x80070057), with shader hashes02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77, and369cbe906ea72764. Each accounts for about one dropped draw/frame. The log also reports compute shaderf133e35efed2a48aand skipped shader39f0e9aeb156a61c. The per-reason averages do not sum exactly to the aggregate dropped-draw count.This run confirms the ray-tracing structure-builder category is responsible for most of the reported dropped draws on this NVIDIA setup. It does not show how much that category affects frame time.
@PastiiJay on GitHub · 2026-11-25 22:07 UTC · original
Thanks a lot @mayauxpaul8-droid, and great that the image showed up this time. What we keep: with PR #49's diagnostics, about 298 of ~303 dropped draws/frame come from the disabled ray-tracing structure builder, and the four refused compute pipelines (
0x80070057) cost about one draw/frame each, the same hashes as on the RTX 4080 SUPER above. So two NVIDIA cards and the new per-reason count all agree; as you say, what it costs in frame time is still open.Also noted: the small rollback while zooming, and the title not suspending in time when you closed the window, with no GPU crash. Thanks also to @HandshakeHackin, since #49 is what made this breakdown possible.