GPU: SetStablePowerState is accepted and ignored #1566
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!1566
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1566"
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?
@LouisRiverstone on GitHub · 2026-11-24 19:13 UTC · original
LouisRiverstone:gpu/device-stable-power-state→main· +10 −0 · 1 files · 1 commits · openID3D12Device::SetStablePowerState(slot 40, 0x140) was one of the device slots that log "method not implemented" and returnE_NOTIMPL. It is a profiling setting (clocks held steady for measurement) with no meaning for the host device, so the slot now returnsS_OKthroughobject::ignore, like the debug error filter next to it.New test
set_stable_power_state_is_acceptedcalls it with both values 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 set_stable_power_state(Windows). I type-checked it with clippy forx86_64-pc-windows-msvc, but could not run it locally.🤖 Generated with Claude Code
@Marvisak on GitHub · 2026-11-25 03:17 UTC · original
Automated triage for the maintainers.
Needs work. Slot 40 (0x140) is
SetStablePowerStatein the device table incrates/victory-gpu/src/device.rs, and accepting it throughobject::ignoreis a reasonable answer for a profiling setting. 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. #1564 and #1565 make the same kind of change for slots 34 and 35, 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.