[GH-ISSUE #4881] [Engine] B580 on WSL2: teardown evict returns EOVERFLOW after successful small GPU round-trip #2243

Open
opened 2026-11-04 01:57:52 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kartefan110-RGB on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4881

Request for maintainer guidance

I am trying to run the experimental SYCL backend on Intel Arc B580 under WSL2. Local investigation has reached a runtime/WSL teardown problem. Could you advise on a supported configuration or whether the evidence should go to Intel compute-runtime or Microsoft WSL?

Related: #423, #573, #1552. This is WSL2, not native Windows.

This AI-assisted report summarizes observed results from my local troubleshooting. Detailed logs, the harness and patches are retained locally and are not attached yet. This is NOT an unmodified current-main reproduction, and a Strata root cause has not been established.

Environment

  • Ryzen 7 7700; Intel Arc B580 12 GB; 64 GB installed RAM, 31.16 GiB visible to WSL.
  • Windows 11 Pro 26H2 / 26300.9818.
  • WSL 2.7.14.0; kernel 6.18.33.2 (package 6.18.33.2-2).
  • Ubuntu 26.04.1; Intel Windows driver 32.0.101.9150.
  • Linux compute-runtime source package 26.05.37020.3-1; libze_intel_gpu.so.1.14.37020.
  • strata-sycl-dev container; AOT bmg-g21. Recorded project baseline: 4b9e05a, plus local isolated UR Level Zero V2 fixes and mirror-chunk changes. This SHA alone does not describe the modified executable. Full build provenance/diffs need to accompany a follow-up.
  • Prepared IQ2_XS model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, two shards totaling 68.03 GB, with pack/tokenizer. No successful model inference yet.

Allocation blocker and GPU validation

The engine attempted a 2 GiB pinned mirror chunk; the device reported a 1 GiB single-allocation limit, and direct allocation returned UNSUPPORTED_SIZE.

An isolated build changed the default to 512 MiB, capped by the device limit, with alignment/tail handling. CPU and ASAN/UBSAN checks passed. After a confirmed WSL VM restart, a 512 MiB main block plus 1 MiB tail passed first/boundary/tail GPU round-trip checks and exited normally.

However, that run produced new dxgkrnl warnings:

  • dxgvmb_send_wait_sync_object_gpu, dxgvmbus.c:3095
  • dxgvmb_send_destroy_allocation, dxgvmbus.c:1964

The evict error below is a separate observation; I am not inferring its cause from these warning names.

Directly observed evict failure

A subsequent single 64 KiB allocation/free diagnostic, without model loading or DMA round-trip, observed:

Phase Handle count Flags Actual syscall return
QUEUE_INIT 1 0 0
PROCESS_TEARDOWN 1 0 -75 / EOVERFLOW

Both paths went through libdxcore.so!D3DKMTEvict. The failing call occurred after allocation free, queue cleanup and main returned; process exit remained 0.

Official debug symbols matched the driver Build ID and debuglink CRC. Offline symbolization located:

RootDeviceEnvironment -> WddmMemoryOperationsHandler -> residency container destructor -> evict

The successful initialization call came from another temporary container used for SIP copying. Inspection of the matching binary showed that the destructor continues without checking evict's return.

GDB changed timing: 852 stops, about 17.3 ms cumulative handler time, plus unmeasured scheduling/guard overhead. No parameters or return values were rewritten. This locates the call, but does not exclude a race or support performance claims.

Limits and unknowns

  • Failed allocation identity/lifetime, full allocation list, D3DKMTEvict final API return, Windows NTSTATUS, host reply length and final host resource reclamation remain unknown.
  • Resource leakage, device loss and a Strata defect have NOT been established.
  • The later diagnostic reused a boot with WARN_ONCE already fired; no new warnings cannot establish a fix.
  • No model response, speed, unload/restart or long-load stability validation has passed.
  • GPU tests are paused. No evict call has been removed or forced to succeed.

The exact local diagnostic command and harness are retained locally, not included in this initial guidance request; I do not want to invent a reproduction command. A reproducible follow-up needs those sanitized files and the exact modified build provenance.

Upstream references

Synchronization warning matches Microsoft's flexible-array fix:
github.com/microsoft/WSL2-Linux-Kernel@1dda0bd6b0

Runtime source examined:
https://github.com/intel/compute-runtime/blob/26.05.37020.3/shared/source/os_interface/windows/wddm_residency_allocations_container.cpp

This does not establish that a WSL update fixes destroy/evict failures.

Questions

  1. Is there a recommended tested WSL/B580/runtime version combination, or is this configuration outside the supported path?
  2. Is there an existing Strata memory mode suitable for this hardware that avoids the large pinned mirror without suppressing synchronization/cleanup errors?
  3. Should the teardown evidence go to Intel or Microsoft, and which minimum additional sanitized trace would make it actionable?
  4. Would a separate device-capped mirror-chunk patch be useful, with the WSL teardown limitation stated explicitly?

Thank you for your guidance. I can supply the retained sanitized harness, matching stack and focused diff in a follow-up.

Originally created by @kartefan110-RGB on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4881 ## Request for maintainer guidance I am trying to run the experimental SYCL backend on Intel Arc B580 under WSL2. Local investigation has reached a runtime/WSL teardown problem. Could you advise on a supported configuration or whether the evidence should go to Intel compute-runtime or Microsoft WSL? Related: #423, #573, #1552. This is WSL2, not native Windows. This AI-assisted report summarizes observed results from my local troubleshooting. Detailed logs, the harness and patches are retained locally and are not attached yet. This is NOT an unmodified current-main reproduction, and a Strata root cause has not been established. ## Environment - Ryzen 7 7700; Intel Arc B580 12 GB; 64 GB installed RAM, 31.16 GiB visible to WSL. - Windows 11 Pro 26H2 / 26300.9818. - WSL 2.7.14.0; kernel 6.18.33.2 (package 6.18.33.2-2). - Ubuntu 26.04.1; Intel Windows driver 32.0.101.9150. - Linux compute-runtime source package 26.05.37020.3-1; libze_intel_gpu.so.1.14.37020. - strata-sycl-dev container; AOT bmg-g21. Recorded project baseline: 4b9e05a, plus local isolated UR Level Zero V2 fixes and mirror-chunk changes. This SHA alone does not describe the modified executable. Full build provenance/diffs need to accompany a follow-up. - Prepared IQ2_XS model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, two shards totaling 68.03 GB, with pack/tokenizer. No successful model inference yet. ## Allocation blocker and GPU validation The engine attempted a 2 GiB pinned mirror chunk; the device reported a 1 GiB single-allocation limit, and direct allocation returned UNSUPPORTED_SIZE. An isolated build changed the default to 512 MiB, capped by the device limit, with alignment/tail handling. CPU and ASAN/UBSAN checks passed. After a confirmed WSL VM restart, a 512 MiB main block plus 1 MiB tail passed first/boundary/tail GPU round-trip checks and exited normally. However, that run produced new dxgkrnl warnings: - dxgvmb_send_wait_sync_object_gpu, dxgvmbus.c:3095 - dxgvmb_send_destroy_allocation, dxgvmbus.c:1964 The evict error below is a separate observation; I am not inferring its cause from these warning names. ## Directly observed evict failure A subsequent single 64 KiB allocation/free diagnostic, without model loading or DMA round-trip, observed: | Phase | Handle count | Flags | Actual syscall return | |---|---:|---:|---:| | QUEUE_INIT | 1 | 0 | 0 | | PROCESS_TEARDOWN | 1 | 0 | -75 / EOVERFLOW | Both paths went through libdxcore.so!D3DKMTEvict. The failing call occurred after allocation free, queue cleanup and main returned; process exit remained 0. Official debug symbols matched the driver Build ID and debuglink CRC. Offline symbolization located: RootDeviceEnvironment -> WddmMemoryOperationsHandler -> residency container destructor -> evict The successful initialization call came from another temporary container used for SIP copying. Inspection of the matching binary showed that the destructor continues without checking evict's return. GDB changed timing: 852 stops, about 17.3 ms cumulative handler time, plus unmeasured scheduling/guard overhead. No parameters or return values were rewritten. This locates the call, but does not exclude a race or support performance claims. ## Limits and unknowns - Failed allocation identity/lifetime, full allocation list, D3DKMTEvict final API return, Windows NTSTATUS, host reply length and final host resource reclamation remain unknown. - Resource leakage, device loss and a Strata defect have NOT been established. - The later diagnostic reused a boot with WARN_ONCE already fired; no new warnings cannot establish a fix. - No model response, speed, unload/restart or long-load stability validation has passed. - GPU tests are paused. No evict call has been removed or forced to succeed. The exact local diagnostic command and harness are retained locally, not included in this initial guidance request; I do not want to invent a reproduction command. A reproducible follow-up needs those sanitized files and the exact modified build provenance. ## Upstream references Synchronization warning matches Microsoft's flexible-array fix: https://github.com/microsoft/WSL2-Linux-Kernel/commit/1dda0bd6b031fec40afb3c6c9d59b8b89fd9e8db Runtime source examined: https://github.com/intel/compute-runtime/blob/26.05.37020.3/shared/source/os_interface/windows/wddm_residency_allocations_container.cpp This does not establish that a WSL update fixes destroy/evict failures. ## Questions 1. Is there a recommended tested WSL/B580/runtime version combination, or is this configuration outside the supported path? 2. Is there an existing Strata memory mode suitable for this hardware that avoids the large pinned mirror without suppressing synchronization/cleanup errors? 3. Should the teardown evidence go to Intel or Microsoft, and which minimum additional sanitized trace would make it actionable? 4. Would a separate device-capped mirror-chunk patch be useful, with the WSL teardown limitation stated explicitly? Thank you for your guidance. I can supply the retained sanitized harness, matching stack and focused diff in a follow-up.
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2243
No description provided.