GPU: MakeResident succeeds, as the console's memory is always resident #1563
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1564"
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 LouisRiverstone on 2026-11-24T19:12:45Z.
ID3D12Device::MakeResident(slot 34, 0x110) was one of the device slots that log "method not implemented" and returnE_NOTIMPL. Title memory here is always resident, so there is nothing to make resident: the slot now returnsS_OKthroughobject::ignore, as the debug-only slots do.New test
make_resident_succeeds_without_doing_anythingcalls it through the device table.No title has been seen calling it in the logs in the issues; this is the PC device method in its PC slot, so a title that does call it gets what the console's unified memory gives it rather than a logged failure. If that is not wanted, close this.
Verify:
cargo test -p victory-gpu make_resident(Windows). I type-checked it with clippy forx86_64-pc-windows-msvc, but could not run it locally.🤖 Generated with Claude Code
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-24T19:30:39Z.
Review: APPROVED
Verified locally merged onto
origin/main(Windows 11 x64, NVIDIA GeForce RTX 5090 + WARP, Rust 1.98.1 MSVC):cargo test -p victory-gpu— 51 passed, 0 failed (1 ignored) on both RTX 5090 hardware andVICTORY_D3D12_WARP=1(includingmake_resident_succeeds_without_doing_anything)cargo clippy -p victory-gpu --all-targets— 0 warningscargo xtask policy— okClean
MakeResidentno-op returningS_OKwith unit test coverage. Looks good.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by pfhandler on 2026-11-24T20:50:50Z.
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-25T03:17:04Z.
Automated triage for the maintainers.
Needs work. Slot 34 (0x110) is
MakeResidentin the device table incrates/victory-gpu/src/device.rs, andobject::ignorereturningS_OKis a reasonable answer for it. But this changes a runtime return value with no evidence that the title ever calls it: the description says no log shows a call. Today the slot logs "method not implemented", which is the signal the project relies on to find methods worth writing. Please add evidence that the title reaches this slot (a log line from a run, or the call site in the title's code); with that, this would be a merge candidate. #1565 and #1566 make the same kind of change for slots 35 and 40, and could be one pull request.CI: no check runs reported for this head.
Generated by Claude Code
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.