GPU: build an object name only where the log takes it #1826
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1826
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1826/head"
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?
@slatefield on GitHub · 2026-11-24 23:03 UTC · original
slatefield:gpu/setname-only-when-logged→main· +4 −0 · 1 files · 1 commits · closed without mergingClosing: the triage is right that #541 supersedes this. Once
SetNamestores the name asWKPDID_D3DDebugObjectNameWprivate data, the UTF-16 scan has to happen in every build anyway, so the early return this PR adds would either be dead weight or, if it stayed, make those names disappear in release builds. It was a four-line saving and #541 is the better change. No hard feelings from me if it lands as-is.The observation behind it still stands for whatever ends up there: today the scan and the
Stringare built before adebug!that release builds (INFO cap) never emit.@DesertGamer on GitHub · 2026-11-24 23:06 UTC · original
VIctory V2: community PRs, merged and tested
Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.
Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).
⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.
Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2
Unofficial community fork of Marvisak/VIctory, GPL-3.0.
@upipibi on GitHub · 2026-11-24 23:12 UTC · original
NVIDIA run: RTX 3070 8 GB, driver 616.56, Windows 11, debug,
dbb04eb(onmain70564ae).cargo test -p victory-gpu --locked: 76 passed, 2 failed, 1 ignored. The 2 are the capped-heap failuresmainhas on NVIDIA (#1744:dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_views), so there are no new failures.AI-assisted (Claude Code). Synthetic tests only.
@Marvisak on GitHub · 2026-11-25 06:31 UTC · original
Automated triage for the maintainers.
Needs work.
set_nameincrates/victory-gpu/src/object.rsnow returnsS_OKwithout reading the name unless DEBUG logging is on. Onmainthat is correct, since names only reach the log, and it saves a UTF-16 conversion per object. But #541 (merge candidate) makesSetNamestore the name asWKPDID_D3DDebugObjectNameWprivate data. The title, or a capture tool, can read that back throughGetPrivateData. With both merged, names would silently stop being stored in normal builds. Please restrict the early return to the log formatting only, or coordinate with #541 so the stored name is kept either way.CI: no check runs on the head commit.
Generated by Claude Code
Pull request closed