GPU: reject non-software WARP adapters under Proton #41
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/41"
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 LaunchDoesntCode on 2026-11-23T23:39:20Z.
Summary
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.
upstream-sync referenced this pull request2026-11-24 06:51:26 +00:00
Imported from Marvisak/VIctory. Originally posted by raffclar on 2026-11-23T23:50:40Z.
Looks good! Tested and checked