Present: two planes are put together in the scene's own format, not 8-bit #1709
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T23:41:25Z.
With 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by UwUCammie on 2026-11-28T23:42:10Z.
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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-29T02:46:28Z.
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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T07:17:31Z.
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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T08:28:23Z.
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.
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.