Present: two planes are put together in the scene's own format, not 8-bit #1709
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!1709
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1709"
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?
@101Leafy on GitHub · 2026-11-28 23:41 UTC · original
101Leafy:nv/present-format→main· +13 −23 · 1 files · 1 commits · openWith two planes, the scene and the interface were put together into an 8-bit back buffer whatever format the scene was drawn in, so a 10-bit or float scene banded its gradients on the way to the screen.
The composer now draws into the scene's own format. A scene the swap chain cannot take as it is (R9G9B9E5) still composes, into half floats, and the composer is made again when the format changes. This is a fix with no switch.
@UwUCammie on GitHub · 2026-11-28 23:42 UTC · original
Could the composer be created only after the resize block in
Host::present_planes? On a two-plane format change,p.composer = Some(c)drops the old composer beforesettle_now(WHY_SYNC). Itsviewsvector owns the shader-visible descriptor heaps that earlier queued presents can still be using. After a successful resize the code then clears the new composer and creates it a second time.The existing post-resize creation block covers first use as well. Keeping the current composer through the fence and successful resize would preserve those heaps and avoid the second PSO creation. I traced this on
32dedcee; I haven't reproduced a device loss.32dedcee69todc5668e8d6@nick0451 on GitHub · 2026-11-29 02:46 UTC · original
Tried on an RTX 3090, Windows 11, merged onto main
d148613(#1709 and #1668 each separately). Series S, DLSS performance, a balcony save, 2 rounds each against main.Both run cleanly: no crash, 24.7 / 25.4 fps against main's 25.6 (inside the noise), the same picture. But neither change takes effect in this setup: the log says
display output: compositing two planes (overlay active) … base_format=28 overlay_format=28, so both planes are R8G8B8A8_UNORM. That's neither a 10-bit/float scene (#1709) nor an sRGB plane, 29 or 91 (#1668). Someone whose log shows anotherbase_formatoroverlay_formatis needed to see the difference.Side note: both branches carry the same three base commits (the 768 KiB policy limit, victory-gpu clippy,
checked_divin the LDS cap). On current main,cargo xtask policyfails onlower.rs(704,996 bytes) and clippy stops atmanual_checked_ops, so those commits fix real failures there.🤖 Generated with Claude Code
dc5668e8d6to7cab8dd1fa@101Leafy on GitHub · 2026-11-29 07:17 UTC · original
Done in
7cab8dd: the composer is now made after the resize block, and a format change drops the old one only once the queued presents have settled. Rebased on current main.@trustno1-coder on GitHub · 2026-11-29 08:28 UTC · original
Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
7cab8dd1fato6573dc1cb0View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.