cpp-migration 40365770: native _hardware tests crash (0xC0000005) on an RX 9070 XT; wave_request expects a different refusal message #2915
Closed
opened 2026-11-26 19:36:23 +00:00 by MasterDomino
·
7 comments
No Branch/Tag specified
main
codex/indirect-large-backed-views
codex/word3-preflight-check
codex/vertex-table-two-records
codex/live-index-alias
codex/copied-vertex-buffer-srv
codex/windows-stage-test-output
codex/preserve-live-srv-retirement
codex/share-render-target-tracking
codex/sgd5-negative-offset-fixture
coverage-dashboard
codex/mesh-loose-root
codex/mesh86-cache-padding
codex/xmem-scatter-preflight
codex/mesh-depth-ps
codex/indirect-dispatch-refresh
codex/compute-container-index
codex/startup-compute-formatted-load
codex/compute-indirect-producer
codex/compute-atomic-soffset
codex/mesh-dual-handoff
codex/startup-run-sh-watcher-control
codex/queue31-page-alias
codex/indexed-indirect-compute-root
codex/typed-buffer-view-metadata
codex/translated-indexed-address-alias
codex/fixed-mesh-create-result
codex/xmem-section-lease
codex/startup-slot86-mesh-cache
codex/restore-mesh-barrier-iteration
codex/translated-indirect-upload-index
codex/xapu-completion-opt-in
codex/translated-indexed-rect
codex/translated-indexed-indirect
codex/startup-mesh-lds-integration
codex/startup-console-ms24
codex/startup-slot57-mesh-request
codex/indirect-copy-provenance
codex/present-color-producer-trace
codex/compute-dispatch-binding-trace
codex/translated-indirect-table-buffers
codex/indirect-copy-provenance-base
codex/mix-half-literal-source
codex/translated-indirect-draw
codex/xmem-scatter-diagnostics
codex/slot148-recording-upload
codex/slot70-loading-art-verified
codex/command-list-upload-arena
codex/recover-failed-command-list
codex/startup-heap-timing-notes
codex/align-audio-input-timeline
codex/synthetic-depth-export-control
codex/startup-texture1d-on-windows
codex/1629-packed-position-fixture
codex/cpu-srv-refresh
codex/stream-root-srv-draw
codex/audio-mixer-timer
codex/startup-reload-published-shader
codex/priority-integrate-1284
codex/guest-sixteen-page-record
codex/aot-placed-dxr-batch
codex/guest-directory-selection
codex/gamesave-enumerate-read
codex/readme-archive-to-pixels
codex/pe-placed-view-draw
codex/archive-directory-gpu
codex/slot133-dxr-build
codex/materialize-placed-vertex-view
codex/dstorage-directory-offsets
codex/xg-nine-bc-copy
codex/xg-slot10-bc64-arrays
codex/dxr-guest-address-readback
codex/gpu-va-high-bits
codex/clarify-diagnostic-startup-scope
codex/xg-six-levels
codex/typed-derived-blend
codex/english-legal-text-progress
codex/address-bc-4ks
codex/dstorage-bounded-file-read
codex/wide-srv-offsets-menu
codex/startup-memory-srv
codex/bound-view-tail
codex/language-selector-readback
codex/setup-menu-progress
codex/cpu-plane-refresh
codex/startup-ubyte-vertex
codex/presenter-window-selection
codex/startup-uniform-buffer-lane
codex/intro-loop-timing
codex/static-clzero-loops
codex/document-rtx-intro
codex/startup-insertq
codex/nv12-startup-texture
codex/stream-stage-draw
codex/startup-null-uav-format
codex/startup-draw-capture
codex/shorten-windows-checks
codex/dstorage-rfc1950
codex/startup-dump-fence
codex/pr1135-review-base
codex/startup-stream-requests
codex/startup-chroma-view
codex/readme-graphics-pipeline-streams
codex/static-crt-free-tls
codex/arc-140t-rtx-5080-laptop-gpu-reports
codex/main-startup-progress-entry
codex/signed-dxil-catalogue
codex/reloc-free-preferred-base
codex/quad-dpp-bit-mask
codex/raw-srv-bounds
codex/rx9070-31044-hardware-report
codex/gpu-page-source-provenance
codex/runtime-placeholder-interior
codex/gpu-copy-queue-tile-order
codex/pe-pin-external-providers
codex/xmem-placeholder-reservations
codex/xmem-shared-physical-pages
codex/pe-package-startup
codex/xmem-tools-memory-query
codex/cpu-stack-output-import
codex/pe-load-security-cookie
codex/record-three-bvh-retests
codex/cpu-rbp-frame-anchor
codex/xmem-default-startup
codex/record-rtx-3050-ti-9597
codex/docs-readme-start-here
codex/check-compute-mad24-truncation
codex/docs-discord-community
codex/bound-rcx-branch-mutants
codex/rtx5060ti-bvh-62114
codex/837-neutral-readme-disclaimer
codex/record-rtx-3070-ti
codex/title-neutral-public-wording
codex/exe-shadow-frame-submissions
codex/exe-shadow-runtime-chain
codex/readme-polish
codex/gpu-coverage-nov23
codex/spirv-minlod
codex/shadow-shim-device
codex/exe-two-shadow-frames
codex/shim-dispatch-cleanup
codex/fix-spirv-cache-probe
codex/sampler-use
codex/ballot-bit-extract
codex/packed-fma-release
codex/cpu-packed-fma-o2
codex/publish-coverage-dashboard
codex/mesh-cbv-binding-order
codex/spirv-window-fixture
codex/ps-e32-float-uint
codex/ps-cbuffer-reads
codex/fixed-profile-rescan
codex/shim-compute-integration
codex/readme-visible-coverage
codex/readme-research-navigation
codex/integrate-pr-256
codex/indexed-mesh
codex/sampled-coverage
codex/first-ms
codex/dual-ps
codex/ps-attribute
codex/compute-first
codex/ps-export
codex/readme-research-status
codex/ps-layout
codex/blast-window
codex/chart-caption
codex/reviewer-roles
codex/blast-aot
codex/archive-program
codex/crc-stream-program
codex/exe-image-data-chain
codex/local-cpu-fixture-coverage
codex/exe-bound-frame-chain
codex/exe-mapped-comparison
codex/contribution-dependencies
codex/exe-entry-aot
codex/bink-frame-heap-integration
docs/hardware-seven-reports
codex/bink-custom-heap
codex/bink-heap-callers
codex/discussions-entry-points
codex/gpu-community-batch-64
codex/ffx-scratch-writers
codex/generic-project-documentation
codex/ffx-dispatch-rcas
codex/four-windows-gpu-reports
codex/title-neutral-project-wording
codex/community-coverage-provenance
codex/rcas-packed-texels
codex/community-gpu-retests
codex/community-build-and-gpu-reports
codex/ffx-provider-loop
codex/ffx-recurrent-views
codex/ffx-recurrent-resource
codex/amd-wave64-reports
codex/ffx-backend-slots
codex/upscaler-device-init
codex/ffx-context-lifecycle
codex/ffx-version-query
codex/ffx-provider-contract
codex/typed-object-callback
codex/cpu-ordinal-import
codex/chained-cpu-ranges
codex/cpu-import-call
codex/cpu-direct-call
codex/cpu-leaf-aot
codex/community-project-status
codex/script-state-path-replay
codex/script-state-evidence
codex/bc7-resident-tail
codex/bcpack-mip-tail
codex/bc7-texture-draw
codex/asset-ranges
codex/pixel-constants
codex/pixel-aot
codex/pre-exe-workloads
codex/root-signature-device-coverage
engineering/packed-bvh-leaves
engineering/bvh-build-and-update
engineering/intake-root-roundtrip
community/gpu-check-release
community/english-contributor-entry
gpu-check-v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
R0Y00/Xbox2Windows#2915
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T19:36:23Z.
Target branch
cpp-migration, commit40365770. @R0Y00, these are the native tests on an AMD adapter. Six_hardwaretests crash with an access violation, and one fails on a refusal message that does not depend on the adapter.Environment: Windows 11 build 26300.9974, AMD Radeon RX 9070 XT (RDNA 4), driver 32.0.32029.2010, MSVC 19.44.35221, Windows SDK 10.0.26100 DXC, D3D12 debug layer not enabled. Clean configure.
25 tests: 17 passed, 1 skipped (77,
native_comparison_pso_warp), 7 failed. The same 7 fail with--preset dev. Every_warptest passed.To get the exit codes, I ran each failing check with
subprocess.runwrapped to log any child that exits non-zero:native_adjacent_srv_hardwarenative_store_replay.exe ... 0 append.bin --direct0xC0000005native_indexed_atomic_hardwarenative_store_replay.exe ... 0 result.bin --direct0xC0000005native_mtbuf_hardwarenative_store_replay.exe0xC0000005native_scalar_lds_hardwarenative_store_replay.exe0xC0000005native_dpp_mirror_hardwarenative_store_replay.exe0xC0000005native_graphics_wqm_hardwareoffscreen_check.exe ... 8 2 expected.bin0xC0000005native_wave_request_hardwareNone of the crashing children writes anything to stdout or stderr before it exits. What they share is a pipeline built from DXIL produced by the direct frontend, run on this driver. The same frontend passes on WARP:
native_lds_warp,native_buffered_vertex_warp,native_sampled_pixel_warpand the PSO checks. Hypothesis, not tested: the fault is in the driver while it creates or runs that pipeline. I could not get a stack. This host has nocdb, andtools/startup/debug_launch.pycannot pass arguments to the program it starts. If a run with the D3D12 debug layer forced on, or a specific dump, would help, tell me which and I will capture it.native_wave_request_hardwaredoes not depend on the GPU. Attests/native_wave_request_check.py:191, the request with0xffffffffinserted is refused as intended:compile_dxil.exeexits 1 and writes nobad.cso. However, stderr isunknown gfx1013 instruction format at byte 100, and the assertion expects"unsupported instruction". The same mismatch should show on any host that reaches that line.AI-assisted; the commands above were run locally.
Imported from R0Y00/Xbox2Windows. Originally posted by Its3rr0rsWRLD on 2026-11-26T20:20:26Z.
Results from an NVIDIA adapter on
cpp-migrationat40365770. The branch tip was still40365770when I ran this.Environment: Windows 11 build 26300.9974, NVIDIA GeForce RTX 4070 Ti (driver 610.88, WDDM 32.0.16.1088), MSVC 19.51.36257 (toolset 14.51.36231), Windows SDK 10.0.26100 DXC. Clean configure with
--preset release.25 tests: 23 passed, 1 skipped (77,
native_comparison_pso_warp, WARP reports 4..4 lanes), 1 failed.native_adjacent_srv_hardware0xC0000005native_indexed_atomic_hardware0xC0000005native_mtbuf_hardware0xC0000005native_scalar_lds_hardware0xC0000005native_dpp_mirror_hardware0xC0000005native_graphics_wqm_hardware0xC0000005native_wave_request_hardwareSo the six crashes do not reproduce here. The
wave_requestfailure does.Debug layer. I ran the five
native_store_replaychecks with the D3D12 debug layer and GPU-based validation on (see the second commit below). Their 21 replays all passed and raised only warning 1328 (CreateCommittedResourceignores theCOPY_DESTinitial state of a buffer).offscreen_checkalready enables the debug layer when it is available. On this host, the 13 draws ofnative_graphics_wqm_hardwareeach reporteddebug_errors=0 debug_warnings=0, and so did the onenative_dpp_mirror_hardwaredraw whose output the check prints.Reading
native_store_replay --direct. I found nothing that would fault on every driver. The root signature, the heap layout and the order ofNativeComputePipeline::bindagree (SRV table, UAV table, constants, one constant pair per indexed atomic view). Every UAV goes throughnative_buffer_store_view, including the truncated-size control. Each window has 8 guard elements on each side. Every HRESULT is checked, so a failed create throws and exits 1 instead of crashing.What the six have in common. All of them run DXIL from the direct frontend on a hardware adapter. On the AMD run, none of the passing tests does that:
native_lds_hardwarecompiles HLSL through DXC, the_warptests run on WARP, andnative_wave_request_hardwarefails before its GPU half starts. The direct IR passes the SDK validator, but it is not shaped like DXC output: it has oneallocaper guest register, it reads registers that were never written (the inactive-lane merges), and constant arithmetic such asmul i32 0, 32is left unfolded. DXC never emits these forms. Guess, not tested: the AMD driver's shader compiler faults on one of them while it creates the pipeline. That would fit the empty output, because the children's stdout was fully buffered on a pipe.Ask. With the second commit, please run one failing check on the RX 9070 XT with the variable set, for example:
The child now prints
stage=pipeline,stage=views,stage=submitandstage=readbackon stderr, along with any debug-layer message as it is raised, and its stdout is unbuffered. If the last line before the crash isstage=pipeline, the fault is insideCreateComputePipelineState.native_wave_request_hardware. The fix belongs in the frontend, not in the test.decode()insrc/gfx1013_compute_native.cppcalls the sharedgfx1013::instruction()before it classifies the word. For0xffffffffthat decoder throws a plainstd::runtime_error, so the frontend's ownrefuse(pc, "unsupported instruction ...")is never reached. Every other refusal in this frontend is anUnsupportedComputeShaderwith anative compute +0x<pc>:prefix, and the check, which was added in the same commit, expects exactly that. The fix wraps the call and turns the decoder's error into a refusal at the word's offset, keeping the decoder's reason:The check now asserts the offset and the word. On the RTX 4070 Ti,
native_wave_request_hardwarepasses with the fix, and so do the other 23native_tests. On the RX 9070 XT this test will now reach its GPU half, which runs direct-frontend DXIL too, so it may hit the same crash there.Proposed fix, on a branch from
40365770(not pushed yet):native: refuse undecodable words as unsupported instructions:src/gfx1013_compute_native.cpp(a wrapper around the shared decoder call indecode()) andtests/native_wave_request_check.py:191.tests: opt-in D3D12 debug layer and stage markers in native_store_replay: unbuffered stdout, plusX2W_REPLAY_DEBUG_LAYER=1|gbv. Without the variable, nothing changes apart from the buffering.The shared decoder is also called directly by the
entry == 36capture-prefix scan intranslate_programand byread_raw_graphics. Those two calls still throw the plain error. I left them alone to keep the change small. I can route them through the same wrapper if you prefer.Prepared by Claude Opus 5.5
Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-11-26T20:25:23Z.
NVIDIA result on
cpp-migration40365770: none of the six access violations happens on an RTX 4070 Ti. Onlynative_wave_request_hardwarefails, at the same assertion you describe.Environment: Windows 11 25H2 (26200), MSVC 19.42, NVIDIA GeForce RTX 4070 Ti, driver 621.35 (32.0.16.2135). Clean worktree at
40365770206d355160f364495cd9a72be2c7df8e, freshout/pe-env,devpreset (notrelease). Tests run serially.Commands
Result (measured, 2 runs, same both times): 25 tests: 23 passed, 1 skipped (
native_comparison_pso_warp), 1 failed. ctest exit 8.native_adjacent_srv_hardware,native_indexed_atomic_hardware,native_mtbuf_hardware,native_scalar_lds_hardware,native_dpp_mirror_hardwareandnative_graphics_wqm_hardware. These are the six that crash with0xC0000005on the RX 9070 XT. So the crash does not reproduce on this NVIDIA driver, which fits your hypothesis that it depends on the driver or adapter. I did not test that hypothesis further.native_wave_request_hardware, 0.25 s:That is the same line as on your machine, so this failure does not depend on the adapter.
AI-Assisted
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-26T21:22:25Z.
Independent AMD RDNA 4 result on
40365770: the sixnative_*_hardwarecrashes are one null read insideamdxc64.dllwhile it compiles the pipelineNot a code change; measurements only. This reproduces the six access violations on a second host and adds what nobody has posted yet: the fault site, and a control that ties the outcome to the PSO bytecode.
Environment
10.0.26200.9974). Not the reporter's host (26300.9974).amdxc64.dllfrom…\FileRepository\u0206168.inf_amd64_1fdbc918cb04eef5\B026806: version 8.18.10.0514,/BreproID81EB749E, CheckSum0890D254, SizeOfImage0x0878C000, SHA-256EF70BD34D70AAE8D3C815CEE1044D7D75FFC7D10FB64B80CBF6F6F322461348C.dev(CMAKE_BUILD_TYPE=Debug), clean worktree at40365770.d3d12SDKLayers.dllabsent from System32), so no run below produced validation output.What I ran
25 tests: 17 passed, 1 skipped, 7 failed. The skip is
native_comparison_pso_warp. The failures:0xC0000005:native_scalar_lds_hardware,native_adjacent_srv_hardware,native_mtbuf_hardware,native_indexed_atomic_hardware,native_dpp_mirror_hardware, andnative_graphics_wqm_hardware(the last one as an empty child stdout/stderr,AssertionError: ('', '')attests/native_graphics_wqm_check.py:98);native_wave_request_hardware:AssertionErrorattests/native_wave_request_check.py:191, the same line as both NVIDIA reports, so this failure does not depend on the adapter. It is a separate defect from the crash below and is not counted in the six.So the six access violations listed in this issue reproduce here, six for six, on the same driver package version (
32.0.32029.2010) and a different OS build. I did not compare the reporter's UMD file version with the8.18.10.0514measured here, so "same driver" means the package version string, not a proven identical binary.Where the exception is raised
I set
LocalDumps(DumpType=2) onnative_store_replay.exeand re-ran the five compute entries with it in place, plusctest --preset dev --no-tests=error -R "^native_mtbuf_hardware$" -Valone: the fixture dies withreturned non-zero exit status 3221225477(0xC0000005), and each of the five crashing compute entries left a dump. All of them carry the same exception record:The stack reaches it through the UMD entry of the versioned constructor:
The symbol names cdb prints inside
amdxc64are not usable —!analyze -vitself answersamdxc64.dll!UnknownandFAILURE_BUCKET_ID: NULL_CLASS_PTR_READ_c0000005_amdxc64.dll!Unknown— so the identification rests only on module + RVA + instruction bytes, not on any function name.The stage markers proposed in the second comment on this issue would end at
stage=pipeline; the dump narrows it one level further, to a single instruction inside the UMD's pipeline compiler. The translator's root signature had already been created and accepted when the fault occurs.The sixth entry reaches the same site from another binary. With the same
LocalDumpskey onoffscreen_check.exe,native_graphics_wqm_hardwarefaults at the same address00007ffb55bc2cb7with the same instruction, throughoffscreen_check!check_startup_flat_param+0x4b8→D3D12Core!CDevice::CreateGraphicsPipelineState+0xa4→ the sameCPipelineState::FinalConstruct. Same translator, different API path — this is not an independent implementation.What decides the fault
A local, unpushed instrumentation of
src/native_compute_pipeline.cppreplaced the bytecode handed toCreateComputePipelineStatewhenX2W_PROBE_DXILis set; the marker, the root signature the translator builds, the bindings and the device are untouched. Nine runs, three arms, three rounds interleaved, with%LOCALAPPDATA%\AMD\DxcCacheand%LOCALAPPDATA%\D3DSCachepurged before every arm:ed64548bc3641269…0xC0000005, no output file — 3/3[numthreads(64,1,1)] void main() {}f8cf1cd3aeb608a3…rc=0, output file written — 3/30xC0000005— 3/3Within these nine runs the outcome changes when, and only when, the container bytes change. The trivial shader touches no resource, so its
rc=0shows the same root signature, heap layout and command list reach the end; what it does not show is that any property of the emitter's container has been isolated. This control covers the compute path only — I did not replay the graphics entry with a substituted container. Which property is at fault is not localized: three minimalcs_6_6shaders compiled bydxcand substituted the same way —WaveActiveBallot+WaveGetLaneIndex,half→float, and raw-buffer load/store withGetDimensions— all return 0. That rules out those constructs taken in isolation; it does not rule out their combinations, nor whatever DPP/MTBUF/LDS/atomics forms the six crashing containers actually share.Two context points:
src/shader_dxil_compiler.cpp:140-146callsIDxcValidator::Validate(blob, DxcValidatorFlags_InPlaceEdit)and re-reads the status. The test harnesses compile into aTemporaryDirectory, so these are cold-cache runs where validation ran. This rules out malformed DXIL as the explanation; it does not establish that a driver must accept a conforming container. On the substituted arms the bytes rather than the compiler reach the PSO, so validation does not cover them.native_lds_hardware(native_lds_gpu.exe hardware … tests/native_lds_gpu.hlsl) compiles the HLSL with DXC atcs_6_0, creates a compute PSO and dispatches on this card, and passes. Its shader does different work thannative_scalar_lds_hardwareand targets an older shader model, so this is not a controlled A/B; it only shows that this adapter does create compute pipelines from DXC output.Limits
devpreset only; I did not runrelease.d3d12SDKLayers.dllships with the "Graphics Tools" optional feature, which is not installed — so "no validation message" is a host configuration, not a clean bill.dxc.exerather than by the in-process compiler, so size and container parts are not matched..parcentries inAMD\DxcCachethat another process held open; 245 entries and the wholeD3DSCachewere cleared.--directon WARP was not exercised:native_store_replaytakes no adapter selector, so the software adapter cannot be forced to give a verdict on the same container.40365770. The branch tip has since moved tocd752a8c, whose only difference is #2914 (fixture, note and CMake fragment — no source change), so the measured code path is the same.git status --porcelain --untracked-files=noempty,HEAD=40365770). Say the word and I will post the patch or the failing container.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by consolelogkyo on 2026-11-26T21:32:20Z.
Claiming the investigation and fix for the six
native_*_hardware0xC0000005(amdxc64.dll) pipeline-creation crashes oncpp-migration(ee76dfa8).1002:7550, driver32.0.32029.2010) with the D3D12 debug layer installed, plus in-box WARP (1414:008c).src/dxil_module.h/src/shader_dxil_compiler.cpp(and the direct emitters) that triggers the null dereference insideamdxc64.dllduringCreateComputePipelineStateandCreateGraphicsPipelineState, fix the emitter with a container/IR regression control, and verify all sixnative_*_hardwaretests on RX 9070 XT and WARP. Leaving thenative_wave_request_hardwareundecodable-word refusal wrapper to @Its3rr0rsWRLD so our branches do not overlap.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by consolelogkyo on 2026-11-26T21:51:37Z.
Opened #2932 against
cpp-migrationfor the AMD0xC0000005(amdxc64.dll) pipeline-creation crashes:dxc.exe -T ps_6_6output vsDxilModuleoutput throughIDxcAssembler::AssembleToContainerandIDxcValidator::Validateisolated the crash to missing!llvm.identmodule metadata (amdxc64.dll8.18.10.0514callsllvm::Module::getNamedMetadata("llvm.ident")and dereferencesNamedMDNode*at+0x40without a null check, whereasIDxcValidatortreats!llvm.identas optional).!llvm.ident = !{!<id>}(!{!"x2w"}) inDxilModule::finish_compute(src/dxil_module.h) andx2w::direct_gfx1013_constant_pixel(src/gfx1013_pixel.cpp). All seven direct-DXIL_hardwaretests (native_scalar_lds_hardware,native_adjacent_srv_hardware,native_mtbuf_hardware,native_indexed_atomic_hardware,native_dpp_mirror_hardware,native_graphics_wqm_hardware,native_graphics_vertex_vcc_join_hardware) plusnative_dxil_llvm_ident_{controls,warp,hardware}now pass (28/28non-skipped^native_tests excludingnative_wave_request_hardware, which #2928 covers) onAMD Radeon RX 9070 XT(1002:7550, driver32.0.32029.2010) andMicrosoft Basic Render Driver(1414:008c, driver10.0.26100.9818) withdebug_errors=0 debug_warnings=0.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T21:56:33Z.
Update from the reporter's host after #2928 was merged into
cpp-migrationase4523d97.native_wave_request_check.pyfrom #2928, run against a release build ofcpp-migration7f951fd3on the RX 9070 XT (driver 32.0.32029.2010), passes, exit 0, GPU half included. Before #2928 this check stopped at line 191, so this is its first full run on this adapter.native_wave_request_gpucompleted its dispatches without the0xC0000005. @Its3rr0rsWRLD expected it might crash, since it also runs direct-frontend DXIL. @consolelogkyo, this may be a useful contrast for #2932: a direct-DXIL path that this driver already accepts. I have not checked whether that module carries!llvm.ident.native compute +0x64: unsupported instruction 0xffffffffu (unknown gfx1013 instruction format at byte 100)still contains theunknown gfx1013 instruction format at bytethat the check now asserts, so either can land without breaking the other.0x64000501(v_add_f16 v0, v1, v2), givesnative compute +0x64: unsupported opcode 0x64000501u. It would make a good second rejected case.I can run #2932 on this host, which is the original crashing adapter.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T22:00:17Z.
Both parts are fixed on
cpp-migration:0xC0000005crashes inamdxc64.dll: #2932 (@consolelogkyo), merged ase97c5c7c. The direct frontend did not emit!llvm.ident, and this driver dereferences that metadata without a null check, at the[rcx+40h]read @thepatrickworld traced. Negative control on this host: with the two emitter files reverted, 0 of 8 direct-DXIL_hardwaretests pass.native_wave_request_hardware: #2928 (@JB2WIN), merged ase4523d97. The check now expects the decoder's refusal for0xffffffff.Final run on
cpp-migratione97c5c7c, on this issue's original host (Windows 11 26300.9974, RX 9070 XT, driver 32.0.32029.2010,release):ctest --preset release --no-tests=error -R '^native_'gives 32 tests, 31 passed and 1 skipped (77,native_comparison_pso_warp). All 13_hardwaretests pass.Two suggestions from this thread remain open:
unsupported instruction ...;unsupported opcode, for example0x64000501).Neither is needed to close this, and either can come as a follow-up.
AI-assisted.