[removed by author] #264

Merged
thegl0w merged 3 commits from upstream-pr/268 into main 2026-11-21 20:26:08 +00:00
thegl0w commented 2026-11-21 19:49:40 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thegl0w on 2026-11-21T19:49:40Z.


[removed by author]

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5431771370 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/268). Originally posted by [thegl0w](https://github.com/thegl0w) on 2026-11-21T19:49:40Z. --- [removed by author]
upstream-sync closed this pull request 2026-11-24 06:42:08 +00:00
R0Y00 commented 2026-11-24 06:47:56 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T19:56:21Z.


Windows CI failed only gpu_alias_warp (test 34). The copy reported mismatches=0 and interior_open=0x80070057, followed by debug_errors=1 debug_warnings=0 on driver 10.0.26100.33648. Please capture the D3D12 message ID and text and identify which call emits it. Preserve the zero-error check for the successful alias/copy path and the interior-pointer rejection control. Windows job log

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7068386599 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/268#issuecomment-7068386599). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T19:56:21Z. --- Windows CI failed only `gpu_alias_warp` (test 34). The copy reported `mismatches=0` and `interior_open=0x80070057`, followed by `debug_errors=1 debug_warnings=0` on driver 10.0.26100.33648. Please capture the D3D12 message ID and text and identify which call emits it. Preserve the zero-error check for the successful alias/copy path and the interior-pointer rejection control. [Windows job log](https://github.com/R0Y00/Xbox2Windows/actions/runs/44943010678/job/136964132977)
thegl0w commented 2026-11-24 06:47:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thegl0w on 2026-11-21T20:04:05Z.


AI-generated: this reply was written by Claude (Claude Code), an AI assistant, and posted with the account owner's approval.

Thanks. The CI log has the message:

  • ID and text: D3D12 message 1088, ID3D12Device::OpenExistingHeapFromAddress: pAddress must be equal to the base address of an allocated memory region.
  • Emitting call: OpenExistingHeapFromAddress, from the interior-pointer control in tests/gpu_alias.cpp. That control passed base + 0x1000 straight through era_gpu_alias::open to D3D12. D3D12 returned E_INVALIDARG as the test expected, but the debug layer also counted the invalid call as an error.
  • The alias and copy path emitted nothing: the copy reported mismatches=0 in the same run.

ceb55e2 fixes it in era_gpu_alias::open:

  • It checks with VirtualQuery that the pointer is the AllocationBase of a committed allocation.
  • Otherwise it returns E_INVALIDARG without calling D3D12, so an invalid pointer never reaches the runtime.

Both checks you asked to keep are preserved:

  • The interior-pointer control now requires exactly E_INVALIDARG and no heap or buffer.
  • The zero-error check runs over the whole test unchanged, so it covers the successful alias and copy path. It now also covers the control, which no longer calls D3D12.

Local results at ceb55e2, Windows 11 build 26300. The debug layer is unavailable on this PC (Graphics Tools not installed), so the debug-layer result needs this CI run.

  • gpu_alias_hardware (NVIDIA GeForce RTX 3070 Laptop GPU, 32.0.16.1088) and gpu_alias_warp (WARP 10.0.26100.9818) passed with mismatches=0 and interior_open=0x80070057.
  • Full CI-equivalent run: configure and build succeeded; 100/100 tests passed (bvh_wave64_warp and wave_shuffle_warp skipped, as on main on this PC).
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7068479236 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/268#issuecomment-7068479236). Originally posted by [thegl0w](https://github.com/thegl0w) on 2026-11-21T20:04:05Z. --- > **AI-generated:** this reply was written by Claude (Claude Code), an AI assistant, and posted with the account owner's approval. Thanks. The CI log has the message: - **ID and text:** D3D12 message 1088, `ID3D12Device::OpenExistingHeapFromAddress: pAddress must be equal to the base address of an allocated memory region.` - **Emitting call:** `OpenExistingHeapFromAddress`, from the interior-pointer control in `tests/gpu_alias.cpp`. That control passed `base + 0x1000` straight through `era_gpu_alias::open` to D3D12. D3D12 returned `E_INVALIDARG` as the test expected, but the debug layer also counted the invalid call as an error. - The alias and copy path emitted nothing: the copy reported `mismatches=0` in the same run. `ceb55e2` fixes it in `era_gpu_alias::open`: - It checks with `VirtualQuery` that the pointer is the `AllocationBase` of a committed allocation. - Otherwise it returns `E_INVALIDARG` without calling D3D12, so an invalid pointer never reaches the runtime. Both checks you asked to keep are preserved: - **The interior-pointer control** now requires exactly `E_INVALIDARG` and no heap or buffer. - **The zero-error check** runs over the whole test unchanged, so it covers the successful alias and copy path. It now also covers the control, which no longer calls D3D12. Local results at `ceb55e2`, Windows 11 build 26300. The debug layer is unavailable on this PC (Graphics Tools not installed), so the debug-layer result needs this CI run. - `gpu_alias_hardware` (NVIDIA GeForce RTX 3070 Laptop GPU, 32.0.16.1088) and `gpu_alias_warp` (WARP 10.0.26100.9818) passed with `mismatches=0` and `interior_open=0x80070057`. - Full CI-equivalent run: configure and build succeeded; 100/100 tests passed (`bvh_wave64_warp` and `wave_shuffle_warp` skipped, as on `main` on this PC).
Sign in to join this conversation.
No reviewers
No labels
No milestone
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!264
No description provided.