GPU: reject non-software WARP adapters under Proton #41
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!41
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/41/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?
@LaunchDoesntCode on GitHub · 2026-11-23 23:39 UTC · original
codex/proton-warp-safety→main· +51 −2 · 1 files · 1 commits · merged 2026-11-24 00:43 UTCSummary
VICTORY_D3D12_WARP=1is intended to keep diagnostics on a software adapter. Under Proton/DXVK,EnumWarpAdaptercan instead return the first adapter with no software flag. Creating a device on it would silently use the host GPU while VIctory reports WARP.DXGI_ADAPTER_FLAG_SOFTWAREbeforeD3D12CreateDevice; refuse the adapter and log its vendor/flags when the flag is absent.Error::new, whose WinRT error-message path calls Wine's unimplementedRoOriginateErrorW.Validation
--profile diag --features diagnosticswith xwin SDK andlld-link): passed.WARP not supported, returning first hardware adapter; the returned descriptor had vendor0x10005, flags0x0, and the guard rejected it without a Wine abort.cargo xtask policy: passed (148 files).git diff --check: passed.This verifies adapter selection, not title rendering. The test uses only DXGI and synthetic code.
@raffclar on GitHub · 2026-11-23 23:50 UTC · original
Looks good! Tested and checked