Fading trees fix, and PC FSR 4 actually turning on for Series X #2248
No reviewers
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!2248
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2248"
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?
@RB-404 on GitHub · 2026-11-29 11:02 UTC · original
RB-404:port/trees-and-fsr4-upscale→main· +139 −17 · 4 files · 3 commits · merged 2026-11-30 14:12 UTCTwo fixes, tested on an RX 9070 XT (Series X profile, 1440p).
Trees, bins and nearby objects fading in and out
The raw copies of a command list's dynamic views that don't start on a 16-byte boundary were left empty, about 870 a frame in the world, including the tree culling's batch lists. Shaders read zeros through them. They're now moved into place like the staged ones already were. The empty count goes from about 870 to 0 and the fading is gone. Ported from RB-404/VIctory-NVIDIA-AMD 1c07606b, with its tests.
VICTORY_PC_FSR=1did nothing on Series XWhen the PRs were combined, the PC upscaler's Series X path was routed through
upscaler_mode(), which only checks for DLSS. Without DLSS it turned the title's FidelityFX path off, so no PC upscaler context was ever made. The PC upscaler now counts like DLSS in that check, asc2717306originally had it.PC FidelityFX upscaler creatednow also logsprovider=, the FSR version AMD's DLL picked.Result:
provider="4.1.2", 1706x960 upscaled to 2560x1440.Tests: the descriptor tests in victory-gpu, the FidelityFX tests in victory-hle and the
upscaler_modetests in victory all pass. The workspace clippy gate currently fails on main itself, in victory-shader (lower/analysis.rs, unused imports), which this PR doesn't touch.🤖 Generated with Claude Code
With VICTORY_PC_FSR=1 and DLSS off on Series X, upscaler_mode was given available.dlss alone and took its "no DLSS on Series X" arm, so the title's FidelityFX path was left out and no PC upscaler context was ever made: the upscaler DLL loaded ("PC FidelityFX upscaling available count=3") and nothing followed. AwkGrep256'sc2717306kept the path for pc_mode; the combine routed it through upscaler_mode, which only knew DLSS. The PC upscaler now counts as DLSS there. "PC FidelityFX upscaler created" also carries provider=, the version AMD's DLL chose (ffxQueryGetProviderVersion), the only place that says whether it is FSR 4 or FSR 3.1 (from RB-404/VIctory-NVIDIA-AMD 0061fa29). RX 9070 XT, Series X, 1440p, 2026-11-29: provider="4.1.2", 1706x960 to 2560x1440, host upscales recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]>@RB-404 on GitHub · 2026-11-29 11:06 UTC · original
Will probably have to add AMD upscaler SHA-256 to "get-amd-fsr.ps1"
@waldyss on GitHub · 2026-11-29 18:32 UTC · original
#2248 on AMD (RX 9070 XT): works, with two notes
Ported the descriptor part onto clean cool_fox main (29 Nov), RX 9070 XT 16 GB, Series X,
Play-VIctory-AMD.cmd.VICTORY_TEXTURE_NO_WAIT=1, characters' skin in cutscenes often came out as colour noise or flat pink while the port was on (clean in runs without it). WithVICTORY_TEXTURE_NO_WAIT=0, faces were clean with the port on (3 runs so far). So the port seems to make not-yet-ready skin textures show much more often.Small sample, so worth a check on your side.
@DoubleD17 on GitHub · 2026-11-30 10:29 UTC · original
We ran a test of this PR on an NVIDIA card (RTX 5070 12 GB, driver 621.40), on current main (
41adb551with this PR merged, headf580ddb7): six 150 s runs among four main runs.On this card the null twins stay. The frame line's raw-twin counts, last line of each run:
So here no unaligned twin is moved, in the staged slot or in the list views. Reading
move_raw, it changes a descriptor only when its first 16 bytes read as the GPU address followed by the byte count, the AMD layout its comment describes. That check seems never to pass on this card, so the widerbeside()makes no difference on NVIDIA.The one-frame gap is still there with this PR: 1 frame in 560 (seven runs, a burst of 80 frames at the end of each) had the island trees and the potted plants by the window missing, and the next frame had them back. That is the gap in #1165. On main we see it about once in 3,500 frames on this card, so it is rare here. Dynamic descriptor tables were never refused in the logs we checked, the two runs with a gap among them ("binds dropped for lack of contiguous slots for fresh descriptor tables: 0.00/frame" in every line), so the cause #1007 removes on the RTX 5070 Ti in #1165 is not in play here.
Speed: no clear change. On the light-view seconds (the idle camera's lighter views, about 7,500 draws a frame) fps was 7 % higher than main at that point (12.7 to 14.0 against 12.0 to 13.2), but CPU preparation was 2.7 ms higher per frame. As the null counts do not change here, we do not read either as this PR. The FSR parts were not in play: DLSS did every upscale ("1.00 upscalings by DLSS ... 0.00 left to the title's FidelityFX").
If it helps, we can run an NVIDIA build that logs why
move_rawrefuses a twin (for example the first 16 bytes it read next to the address and size it expected).Setup:
41adb551, against41adb551itself;AI Assisted
@RB-404 on GitHub · 2026-11-30 10:44 UTC · original
@DoubleD17 this is not about the 1 frame gap. This is about trees (plus other objects like bins) fading in and out when you walk up close to them. It lasts for many frames not just 1.
If you’re using Claude make sure you’re at least reading what it says yourself.
@DoubleD17 on GitHub · 2026-11-30 13:48 UTC · original
You're right, thanks, and sorry for the noise: I tied the fading to the one-frame gap from #1165 without checking it. Our runs above had an idle camera only, so they say nothing about the fading while walking.
What still holds from them: on this NVIDIA card
move_rawnever moves a twin. "Not on 16 bytes" equals "null" in every frame line, with or without the PR (about 1,000 a frame).We then ran a short walk: 4 s along a balcony with palms and potted plants, then 4 s back, filmed at 10 captures a second, two runs on main and two with the PR. In those 320 frames nothing faded out and in over several frames, on either build. But that walk is short and does not go right up to trees or bins, so it does not tell whether the fading happens on NVIDIA. If you can point us to a spot and route where it shows best, we will run that on main and with the PR.
AI Assisted
@axknxla on GitHub · 2026-12-01 05:08 UTC · original · edited 2026-12-01 05:27 UTC
Following up on the NVIDIA
move_rawquestion raised in this thread, I published a source-only reproducibility package:https://github.com/axknxla/nvidia-raw-descriptor-research
The measurements explain why the existing AMD-layout predicate did not recognize descriptors on the measured NVIDIA stack. Native Windows D3D12 and Proton/vkd3d-proton used distinct private 32-byte descriptor templates, requiring separate access and validation paths. On one RTX 2070 SUPER, the backend-specific experimental movers passed frozen prediction cases and synchronized shader readback through staged and ListViews SRV/UAV publication routes.
A separate OpenAI model pass in the same T3/OpenAI toolchain returned PASS_WITH_LIMITATIONS; this was not an external human review. These bytes are implementation details, not a public D3D12 ABI or a universal NVIDIA layout. The work does not establish application behavior or results on other architectures and drivers. Arbitrary unaligned-effective UAV
Store4remains unsupported, and the upper Proton UAV endpoint was not fully verified.The repository includes source probes, negative results, reproduction instructions, evidence hashes, measured-environment provenance, and a replication-report template. It contains no compiled binaries or proprietary assets. Independent measurements on other NVIDIA architectures and driver versions are welcome.