mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4881] [Engine] B580 on WSL2: teardown evict returns EOVERFLOW after successful small GPU round-trip #2243
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2243
Loading…
Add table
Add a link
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?
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
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.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:
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:
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
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@1dda0bd6b0Runtime 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
Thank you for your guidance. I can supply the retained sanitized harness, matching stack and focused diff in a follow-up.