GPU dxgi: null out on NOT_FOUND, preserve display mode format, add GetDesc1 #1307
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1307"
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 Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T17:18:01Z.
Summary
Audits \crates/victory-gpu/src/dxgi.rs\ and fixes three DXGI contract bugs:
Verification
AI-assisted; synthetic tests only, no game files.
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-24T17:26:45Z.
Review: APPROVED
Tested merged cleanly onto
main(ffe310e) on Windows 11 x64 (Rust 1.98.1 MSVC) with NVIDIA GeForce RTX 5090 (Blackwell) and WARP (VICTORY_D3D12_WARP=1):cargo test -p victory-gpu(RTX 5090): 54 passed, 0 failed, 1 ignoredVICTORY_D3D12_WARP=1 cargo test -p victory-gpu(WARP): 54 passed, 0 failed, 1 ignoredcargo clippy -p victory-gpu --all-targets: 0 warningscargo xtask policy: okClean DXGI fixes (
NOT_FOUNDnull out, display mode format preservation,GetDesc1), verified on Blackwell hardware and WARP. Approving.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by muhammed-aksoy on 2026-11-24T17:54:18Z.
I tested
fc53acaon Windows againstffe310e. GPU diagnostics passed 57 tests with one ignored. In a local batch with #1279, #1283, #1309, and #1311, the all-features workspace suite passed 360 tests with six ignored and zero failures. Clippy with warnings denied and asset policy passed at1409f9c. These results are from synthetic fixtures. AI-assisted.Imported from Marvisak/VIctory. Originally posted by pfhandler on 2026-11-24T20:52:28Z.
Local patches for two issues hit while running GTA VI 1.0.2.1 through VIctory on Linux (GE-Proton 11-14, vkd3d-proton 3.2.0, RTX 4060 Ti 8 GB):
VICTORY_NO_HOST_PAD=1— a connected host pad (e.g. DualShock appearing as XInput pad 0) keeps the keyboard stand-in pad from being enumerated. Hiding the host pad letsVICTORY_KEYSdrive the title again.VICTORY_MODE=1920x1080— the DXGI output mode list is fixed at the console's 3840x2160. Reporting 1920x1080 instead keeps the title's render targets and VRAM use down on smaller hosts (Series S profile + 1080p settled around 3.5 GB VRAM here).Both are local uncommitted diffs, posted here for reuse. Tested only on the configuration above.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:37:03Z.
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #553. Same NOT_FOUND fix as the smaller #553, plus extras without title evidence: GetDesc1 at adapter slot 0x50 (no title is logged calling it) and echoing the requested format in the console mode list (the title passes 0).
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed