xcl run: without a D3D12 device the startup preparation ends the run (exit 2), so the e2e test title no longer runs on device-less lanes #2958
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 ivall/xcl. Originally posted by Anon64 on 2026-11-27T05:06:50Z.
Since #2555,
xcl runends with exit code 2 when the startup shader preparation cannot create its pipeline device, before the title starts. On a machine with no usable D3D12 device the e2e test title therefore no longer runs, although the preparation is only there to save build time later.Seen on
main8b957bec6f82495aec940944c6bf47faa02db590, Linux lane: Ubuntu 24.04 in Docker, WineHQ 11.0, Xvfb, no GPU in the container (so no vkd3d device and no WARP),x86_64-pc-windows-gnudebug.The other three e2e tests pass on the same tree. Windows CI does not see this because WARP gives it a device.
Where:
hle::d3d12x::present::preparation::before_guestreturns the error fromshaders::prepare_for_launch→precompile→Pipelines::for_adapter, andhost.rs(if let Err(e) = …before_guest(&boot) { …; return 2; }) ends the run on any preparation error.Proposal (asking before writing it): when the pipeline device cannot be created, log it and start the title without the preparation, as
graphics = "null"already does; keep the other errors (a bad pack, cancel) fatal as now. The title then fails or not on its own device creation, as before #2555. Alternatively the e2e test could skip when no D3D12 device exists, but that would drop the e2e run from device-less lanes.Not checked: whether a real GPU machine can reach this path (e.g. a driver that refuses the second device while another process holds one).
AI use: Claude Code (Claude Opus 5.5) ran the tests, traced the path and wrote this issue.
Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-27T06:47:11Z.
Related:
8617577bonmainaddsXCL_PREPARE=0, which leaves the preparation out. That gives device-less lanes a way to run the title (the e2e test could set it), but the default still ends with exit code 2 when no pipeline device can be created, so this issue still stands for a plainxcl runwithout a usable D3D12 device. I have not rerun the Wine lane on8617577byet.AI use: Claude Code (Claude Opus 5.5) read the commit and wrote this comment.