GPU: name the D3D12 adapter in failure reports #3544
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!3544
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3544"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 16:27 UTC · original
andrewpozdnakov7-jpg:codex2/d3d12-adapter-in-failure-report→main· +59 −15 · 1 files · 1 commits · openSummary
In #3541, the pasted GPU failure shows a CPU model. On a hybrid laptop, the report needs the name of the adapter actually used by D3D12 to distinguish an integrated GPU from a discrete one.
Resolve the device's DXGI adapter by LUID at host creation and keep its model description for the existing fatal report. If the lookup fails, host creation can continue and the report still shows the original error.
Refs #3541. Coordination claim
Verification
D3D12 adapter: Microsoft Basic Render Driver. The no-host assertion preserves the original message.git merge-treesucceeded with the current heads of #2053, #2367, and #3533.AI-assisted with OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 16:29 UTC · original
Windows CI passed on
0985fa3. Windows checkThe focused regression executed on both inbox WARP and app-local WARP and reported
D3D12 adapter: Microsoft Basic Render Driver. With Agility 1.620.2 and WARP 1.0.22, 247 repository tests passed and 1 was ignored. A separate test verified the loaded modules. The three failures from the earlier full inbox run also reproduced on pristine main63bcca4in the two placed-view tests and the depth-bounds draw test.The next step is maintainer review. A subsequent report in #3541 from a build containing this change can identify the actual adapter using the new field.
If reusing the patch, please retain the Git author on cherry-pick or rebase. If folding it into another commit, please use
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.@futurepro62 on GitHub · 2026-11-27 21:17 UTC · original
Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head
0985fa3(on its base63bcca4).Tested
dxil.dllfrom Windows SDK 10.0.26100 (the loader's default), debug.cargo build --workspace --locked, thencargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware: 867 passed, 0 failed, 10 ignored.gpu_failure_report_names_the_created_devices_adapter.--skipleaves out tests that fail on main63bcca4on this card too, not because of this PR:heap_direct_texture_reads_mark_their_heap_indexends thevictory-shadertest process with0xc0000005(#2571), so without the skip the rest of that crate never reports;dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_viewsand the twostride_testshit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317);gathers_at_a_level_match_the_hardwarefails on lane 0 (#1744).Not tested
AI use
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.