resource: opt-in R11G11B10_FLOAT stand-in for R9G9B9E5 targets (DARNER_E5_TARGETS) #443
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!443
Loading…
Reference in a new issue
No description provided.
Delete branch "Paliton/Darner-fork:pr/e5-targets-r11g11b10"
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?
Contributor role (optional)
What it changes
R9G9B9E5(DXGI format 67), soresource::target_formatalways substitutes 64-bitR16G16B16A16_FLOAT(format 10), doubling VRAM footprint and memory bandwidth for those HDR render targets and UAVs.Adds an opt-in switch
DARNER_E5_TARGETS=r11g11b10(off by default, preservingR16G16B16A16_FLOATunless explicitly set) that selects 32-bitR11G11B10_FLOAT(format 26) as the stand-in format forR9G9B9E5targets, ported fromKeel62155/VIctoryUnified/Neptune-VE(GPL-3.0). Documents the switch inREADME.mdand adds unit testparse_e5_stand_in_modes.How it was tested
Tested revision:
d2bba21(based onf3840d7)Commands and results:
cargo xtask policy->asset policy: 555 files okcargo clippy --workspace --all-targets --locked -- -D warnings-> ok (0 warnings)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings-> ok (0 warnings)cargo test -p darner-gpu --lib --locked parse_e5_stand_in_modes -- --test-threads=1->1 passed; 0 failedcargo test --workspace --locked-> all non-flaky tests pass (1773/1774indarner-gpu; the single failure is the pre-existinggpu_owned::tests::concurrent_faults_on_same_block_serialize_single_readbackflake fixed by #261)Changes a default: no (off by default; unset or any value other than
r11g11b10keepsR16G16B16A16_FLOAT).A/B result: tested on RTX 5070 12 GB + i7-14700KF (
--profile diag --features diagnostics, generic x86-64 build, pureplay-defaults, Series X, 1440p -> 4K, DLSS off, FG off, RT off), 240 s automated opening sequence from the same snapshot, comparing unset (A) vsDARNER_E5_TARGETS=r11g11b10(B).R11G11B10_FLOATRTV format (made=8new host pipelines,load_ms_each=47: 5,218 frames, Window 3 21.08 fps / 46.08 ms med / 44.65 ms GPU). Once the pipeline library was warm (made=0,load_ms_each=2-5), 2 warm B runs beat both A runs in Window 2 and Window 3:R16G16B16A16_FLOAT,f3840d7)DARNER_E5_TARGETS=r11g11b10,d2bba21)card_lists_ms)Gates run on that revision: all three
AGENTS.mdgates +cargo xtask policyond2bba21.Gameplay, when relevant: RTX 5070 12 GB, Series X, 1440p -> 4K, DLSS off, FG off, RT off. Visual parity verified against
R16G16B16A16_FLOATacross all 3 windows with zero HDR colour/lighting artefacts or device/validation errors.Hardware dependence: general (D3D12 standard
DXGI_FORMAT_R11G11B10_FLOATRT/UAV support); bandwidth savings will vary by GPU memory bandwidth and resolution.Coverage gaps: tested on NVIDIA RTX 5070 only; untested on AMD/Intel or with HWRT enabled.
Checklist
main.docs/asset-policy.md.Checked for overlap
crates/darner-gpu/src/resource.rs, non-overlapping lines)I tested #443 on an RTX 3060 12 GB (Core Ultra 5 225F, Windows 11). The fast diagnostics build was
c8258f9plusd2bba21(d88178b). The card reports RTV, typed UAV load and typed UAV store support for R11G11B10_FLOAT. The log confirmed the format-67 fallback was 10 in the controls and 26 with the switch.Each 50 s take used the same executable path, fixed Chapter II camera, and a fresh copy of the same 127,643,324-byte Darner pipeline library. Series S at 540p to 1080p, DLSS Performance, FSR 3 ×2, RT off. FPS counts rendered frames.
GPU busy is the last 600-frame steady-state card-meter block, read about a second late. I saw no repeatable speedup in this scene. The first, separate RGB11 cache-prime run stopped presenting and was closed after 78 s without a new row. Both matched warm RGB11 takes completed, so I couldn't reproduce the stall after warming the cache.
I also inspected the same room in separate visual runs. The lighting, wall, curtains and bedding looked consistent at the sampled moments. That was a spot check in one room, not pixel parity or coverage of other scenes.
[pr-performance][rendering] resource: opt-in R11G11B10_FLOAT stand-in for R9G9B9E5 targets (DARNER_E5_TARGETS)to resource: opt-in R11G11B10_FLOAT stand-in for R9G9B9E5 targets (DARNER_E5_TARGETS)Test needed — commit
dc246fa1; what to check:R9G9B9E5(DXGI format 67), soresource::target_formatalways substitutes 64-bitR16G16B16A16_FLOAT(format 10), doubling VRAM footprint and memory bandwidth for those HDR render targets and UAVs.Adds an opt-in switch
DARNER_E5_TARGETS=r11g11b10(off by default, preservingR16G16B16A16_FLOATunless explicitly set) that selects 32-bitR11G11B10_FLOAT(format 26) as the stand-in format forR9G9B9E5targets, ported fromKeel62155/VIctoryUnified/Neptune-VE(GPL-3.0). Documents the switch inREADME.mdand adds unit testparse_e5_stand_in_modes.Evidence to post: card + driver, settings, commit tested, before/after (switch off vs on, two runs each), fps median and p99, and one line saying you looked at the picture.
Reply
testingto take this run; it's free again after 24 h with no results.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.