Performance regression on i9-10900K / RTX 3090 — CPU submission overhead, resource refresh costs and pipeline stalls #4392
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4392
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?
@KesreI on GitHub · 2026-11-30 19:40 UTC · original
System specifications
1. Background
I have been testing VIctory-NVIDIA regularly since November 27, including various combinations of rendering, memory management and submission-related settings.
I have noticed a substantial reduction in base frame rate in recent builds compared with earlier releases, despite using the same hardware and experimenting with multiple performance-related settings.
I understand that improvements in rendering accuracy, lighting and shader compatibility introduce additional computational costs. I am also aware of the shader cache and preload issues addressed in v2026.11.30.03.
However, after examining my runtime log in detail, I found several potential performance bottlenecks that may deserve further investigation, particularly on older Intel architectures such as Comet Lake.
This report focuses on measured runtime behavior rather than simply reporting low FPS. A controlled comparison against earlier releases is still pending.
2. Performance observations
In-game diagnostic screenshot
Build:
v2026.11.30.02-3The built-in performance advisor identifies the CPU as the limiting factor, with the GPU spending a considerable portion of each frame waiting for work.
Attached runtime log
The attached log was recorded in a separate session with the following configuration:
The frame-generation setting was also adjusted during this session. The performance figures below refer to the base frame rate reported in the log, not the interpolated output frame rate.
3. CPU-side submission and resource refresh overhead
I analyzed approximately 103 seconds of relatively continuous rendering, from 19:25:52 to 19:27:35 UTC.
The following figures are medians of 20 FPS reporting intervals and 96 internal profiling samples.
The most interesting observation is that approximately 87% of resource refresh checks are reported as known to copy nothing.
A representative log entry at 19:26:29 UTC:
Resource refresh processing appears to account for a substantial portion of the CPU submission workload.
I understand that a refresh which copies nothing is not necessarily an unnecessary operation, since memory consistency still needs to be verified. However, the number of these checks suggests a potential opportunity to reduce CPU overhead through more efficient dirty-range tracking, cached resource summaries or another suitable optimization.
These findings appear consistent with the submission-thread bottleneck reported in #2842 on an i7-10700KF.
4. Descriptor heap synchronization
Another recurring cost is descriptor heap scanning.
The log shows approximately:
The submission thread generally spends much less time directly waiting for the descriptor records, so this work appears to be substantially parallelized.
Nevertheless, it represents significant additional CPU work.
Would the experimental
VICTORY_HEAP_HOOKSpath or a similar event-driven descriptor tracking mechanism be beneficial on Comet Lake systems?5. Repeated D3D12 pipeline creation failures
The attached log also contains repeated compute pipeline creation failures:
The cumulative failure counter reached at least 512 during this session.
This does not necessarily represent 512 unique pipelines, since unsuccessful pipelines may be retried repeatedly.
One example is compute shader
5b6eed17c131f881.The system has an RTX 3090 with 24 GB of dedicated VRAM. I would therefore like to understand whether these failures are caused by actual memory exhaustion, resource allocation behavior, pipeline creation requirements, or a driver-related issue.
The pipeline cache was not completely missing during this session. At startup, the log reported:
6. Severe pipeline-related stalls
Several screen-pass pipeline waits were recorded during gameplay.
The final event was immediately followed by a reported frame time of approximately 2,389.7 ms.
This suggests that pipeline creation and synchronization contribute to severe intermittent stuttering, separately from the sustained CPU-side submission overhead.
I understand that some of this behavior may be related to the pipeline cache and preload issues addressed in v2026.11.30.03.
7. Process memory growth
Another observation is the increase in process memory during this approximately four-minute session.
I am not claiming that this is a confirmed memory leak, since resource accumulation during loading and gameplay may explain part of this growth.
However, further investigation may be worthwhile, particularly regarding host-side allocations, resource lifetime management and long-session memory behavior.
8. Questions and potential areas for investigation
E_OUTOFMEMORYduring compute pipeline creation a known issue on RTX 3090 systems?9. Related reports
10. Logs
[victory-nvidia-play-20261130-192455-33648.log](https://github.com/user-attachments/files/35639083/victory-nvidia-play-20261130-192455-33648.log)
The attached log contains approximately 22,000 lines of runtime diagnostics.
I am willing to provide additional logs, controlled comparisons between releases, and further testing of experimental settings if that would help identify the bottlenecks.
Thank you for the tremendous work on this project. The progress in compatibility and rendering accuracy has been impressive. I hope these observations can contribute to further performance improvements, especially on older CPUs paired with relatively powerful GPUs.
Significant performance regression in recent builds — i9-10900K / RTX 3090to Performance regression on i9-10900K / RTX 3090 — CPU submission overhead, resource refresh costs and pipeline stalls@tyr0nsur on GitHub · 2026-11-30 23:26 UTC · original
Something in your log that is worth trying first: a few compute pipelines are refused by the driver with
E_OUTOFMEMORYand never made, and in the logs I compared that only happens on driver 617.42 with an RTX 20 or 30. Their dispatches are dropped every time they are asked for, which could be part of what you see.The refused programs are
b3e7781d53ff8326,9aa4a785e0800cda,f7c4f227a2a4c4b2,ae83305f523f4b1b,5b6eed17c131f881and098fc28e44347a00(plusa68c4b8fc7bc4b5con the 3090). They are refused whatever the memory: the 3090 in #4392 has 64 GB of RAM. Compared across the play logs attached to recent issues, forb3e7781d53ff8326:So on Turing and Ampere, 621.40 makes them where 617.42 doesn't. Updating the NVIDIA driver to 621.40 or later is worth a try, then look in the new play log for
E_OUTOFMEMORYlines. If they're gone, post the before and after: it would tell the maintainers that the README should name a minimum driver for RTX 20/30.AI-assisted with Claude Code.
@KesreI on GitHub · 2026-11-30 23:32 UTC · original
@tyr0nsur Thank you for taking the time to analyze my log and cross-reference it with reports from other users. This is a very valuable finding.
I’ll update my NVIDIA driver from 617.42 to 621.40 or later and repeat the test under the same conditions, keeping the VIctory build, graphics settings, and test scene unchanged.
I’ll specifically check:
I’ll post the comparative results and new runtime logs here once testing is complete.
I’m also interested in whether resolving these pipeline failures will affect the CPU-side submission bottleneck or whether these are two largely independent issues.
Thanks again for your detailed investigation!
@KesreI on GitHub · 2026-11-30 23:58 UTC · original · edited 2026-12-01 00:12 UTC
<html>@tyr0nsur Thank you for the investigation. I have now completed two test runs after updating the NVIDIA driver from 617.42 to 621.40 on my RTX 3090.
1. Test procedure
Updated the NVIDIA driver to 621.40 and rebooted Windows.
Kept VIctory v2026.11.30.03.
Did not manually delete any shader or pipeline caches.
Launched the game and allowed the host pipeline library to rebuild.
Exited normally and launched the game again for a warm-cache test.
The launch switches were identical between the two new runs.
2. Compute pipeline failures: resolved
All seven previously identified compute shaders now have successful host pipeline and first-bind records in both runs:
b3e7781d53ff83269aa4a785e0800cdaf7c4f227a2a4c4b2ae83305f523f4b1b5b6eed17c131f881098fc28e44347a00a68c4b8fc7bc4b5cThere were no
E_OUTOFMEMORYerrors in either run.Both logs ended with:
This strongly supports your hypothesis regarding driver compatibility on Ampere.
3. Pipeline cache behavior
During the first launch, the previous host pipeline library was rejected with error
0x887E0002because it was created with a different driver version.The library was automatically rebuilt and successfully reused during the second launch.
Metric | First run | Second run -- | -- | -- Host pipelines made | 2041 | 49 Host pipelines loaded | 173 | 2203 E_OUTOFMEMORY errors | 0 | 0FPS samples were filtered to intervals with at least 3,000 draws per frame. Submission metrics are medians of periodic samples within those gameplay time windows.
The original log had different frame generation and memory budget settings, and the scene workload was not identical. Therefore, these performance figures should not be treated as a strictly controlled driver A/B benchmark.
Nevertheless, the compute pipeline failures are no longer reproducible, while the CPU submission and resource refresh overhead remains substantial.
5. Conclusion
Driver 621.40 resolves the reported compute pipeline creation failures on my RTX 3090 in both tested sessions.
This provides another data point supporting a minimum recommended NVIDIA driver version of 621.40 for affected RTX 20/30 series users.
The original CPU-side performance bottleneck remains a separate area worth investigating.
I am attaching both new runtime logs for further analysis.
Thank you again for identifying this issue.
Log analysis and report preparation were AI-assisted.
victory-nvidia-play-20261130-234302-14256.log
</html>victory-nvidia-play-20261130-235144-5396.log