gpu: log the exact fields of a refused slot 70 memory SRV call #1413
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1420"
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 tedin7 on 2026-11-24T11:10:27Z.
What
null_destination,unreadable_resource,unreadable_view,null_address,unsupported_description,destination_outside_view_heaps,texture_unavailable.X2W_TRAP_LOG). The old phrases are kept at the start of the line.unsupported_description); the line says "not supported" for them.src/startup_stubs/memory_srv_report.h, used by the production path. The only edit tod3d12_xs_device.cppis one#includeline (it must sit outside the anonymous namespace the.inlis included in). No other hunk touches that file, so it should not conflict with #1403, which edits the same file.Why
Addresses #870. The reports there show the repeated line
Device::slot70 unsupported memory SRV argumentswith no field, so nobody can tell which check refused the call. Testers can paste the new line.Tested
Windows (not run here; D3D12, WARP and MSVC were not available locally):
startup_address_srv_hardwareneeds a real adapter;startup_address_srv_warpruns on WARP.Run locally on Linux:
x86_64-w64-mingw32-g++ -std=c++17 -Wall -Wextraontests/startup_memory_srv_report_check.cpp, then run under wine: passes (4 exact lines and a truncation check).tests/startup_address_srv_check.pywere run against lines produced by the same header (compiled with MinGW, run under wine) for the same arguments as the new calls intests/startup_address_srv.cpp: all match; a one-field mutation is rejected.x86_64-w64-mingw32-g++ -fsyntax-onlyond3d12_xs_device.cpp(with the.inl) andtests/startup_address_srv.cpp: no error in changed code.d3d12_xs_device.cppstill reports the existing__try/__excepterrors inlocal_log.h(MSVC-only syntax), so it is not a full compile.tests/docs_links_check.py,tests/bidi_controls_check.py,git diff --check: pass.Behaviour on the success path: the decision is the same chain of checks in the same order (
memory_srv_refusal), the log call happens only on a refusal, and the return paths and fallbacks are unchanged. This was checked by reading, not by a run.The Windows address SRV test gains a call with a buffer resource/view and a call with a destination off the heap, placed before draw 6; draw 6 still expects the previous descriptor, so a refusal that wrote the descriptor would change the pixels. The 32 expected pixels are unchanged.
Unverified
Left out
AI-assisted (Claude Code); commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T11:18:39Z.
Thanks for taking the diagnostic slice. This pairs with the independent menu retest in #870: menu navigation worked, and a later load emitted slot 70 refusals before the exception. Please keep this draft focused on classification. For reports from private inputs, ask for the refusal reason and a sanitized resource/view category summary, with source-built inputs for any full log excerpts. For the Windows fixture, please check that a rejected request leaves the destination untouched and an accepted request still writes a usable descriptor.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:19:59Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
2dfe4df1:--preset dev):ctest --preset dev -R '^(startup_memory_srv_report|startup_address_srv_warp)$' --no-tests=error --output-on-failure— 2/2 passed (startup_memory_srv_report0.02s,startup_address_srv_warp1.02s)/O2(--preset release):ctest --preset release -R '^(startup_memory_srv_report|startup_address_srv_warp)$' --no-tests=error --output-on-failure— 2/2 passed (startup_memory_srv_report0.02s,startup_address_srv_warp0.91s)Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:20:11Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
2dfe4dfℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T11:31:57Z.
Windows Release passed all three slot 70 cases on the previous head, including both WARP and hardware.
d2b9bcd6adds documentation for keeping full private-input logs local and uses the same executable behavior. The checks are startup_memory_srv_report and startup_address_srv_{warp,hardware}.