GPU: use CreateDXGIFactory2 and clean fallback/skip in large texture upload test #2324

Manually merged
github merged 1 commit from gh-pr/2324/head into gh-pr/2324/base 2026-11-26 05:27:34 +00:00
Owner

@⁠Decodere on GitHub · 2026-11-25 14:28 UTC · original
Decodere:fix-2238-texture-test-dxgi-factory → main · +70 −10 · 1 files · 1 commits · merged 2026-11-25 18:18 UTC

What is in it

Fixes #2238.

gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels in crates/xcl/src/gpu/texture.rs was the only IDXGIFactory6 call site in the crate requesting it through DXGI 1.1 CreateDXGIFactory1().expect("DXGI factory"), while the other seven IDXGIFactory6 call sites use CreateDXGIFactory2::<IDXGIFactory6>(DXGI_CREATE_FACTORY_FLAGS(0)) and handle factory errors without panicking. On Wine/DXGI setups where CreateDXGIFactory1 rejects IDXGIFactory6 with DXGI_ERROR_UNSUPPORTED (0x887A0004) or factory creation fails (E_FAIL), the test hard-panicked instead of falling back to the default D3D12 device or skipping cleanly; it also ignored XCL_ADAPTER=warp.

  • crates/xcl/src/gpu/texture.rs (#[cfg(test)] only, zero production runtime changes):
    • Switched gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels to CreateDXGIFactory2::<IDXGIFactory6>(DXGI_CREATE_FACTORY_FLAGS(0)) via large_upload_device / select_large_upload_device_with.
    • Handled Selector::Warp via factory.EnumWarpAdapter() (matching gpu::recomp::runner).
    • Added fallback to agility::create_device(None, D3D_FEATURE_LEVEL_11_0) only when DXGI factory creation fails under Selector::Auto, preserving headless-CI no GPU skips when factory enumeration succeeds with zero hardware adapters and never ignoring an explicit XCL_ADAPTER filter.
    • Replaced .expect("DXGI factory") with runner::skip_test(&reason) whenever no factory or device is available.
    • Added pure-CPU unit test large_upload_device_selection_handles_factory_fallback_and_selectors covering all five selection and fallback paths.

Tested

Hardware / toolchain: Windows 11 Home 26200, Intel Core i5-11400F, 32 GB RAM, NVIDIA GeForce RTX 4060 8 GB (driver 621.14, wave32-only), Rust 1.100.0, DXC 1.9.2609.5.

  • Pre-fix failing-first (pure-CPU test against the pre-fix make_factory().expect("DXGI factory") selection logic):
    • cargo test -p xcl --lib gpu::texture::tests::large_upload_device_selection_handles_factory_fallback_and_selectors -- --exact --nocapture: 0 passed; 1 failed (panicked with DXGI factory: "DXGI_ERROR_UNSUPPORTED (0x887A0004)").
  • Post-fix targeted tests (05ad2d6c on origin/main 06c9f550):
    • cargo build --release --workspace: passed.
    • cargo test --release -p xcl --lib gpu::texture::tests -- --test-threads=1 --nocapture (RTX 4060): 15 passed; 0 failed; 0 ignored (1.14 s; large upload adapter: NVIDIA GeForce RTX 4060, byte_exact=true; retail_ttpf_textures_detile_with_their_mip_chains printed XCL_SAMPLE_TTPF not set – skipping).
    • XCL_ADAPTER=warp cargo test --release -p xcl --lib gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels -- --exact --nocapture: 1 passed; 0 failed (0.36 s; large upload adapter: WARP (software renderer), byte_exact=true).

Regression run

  • Full release workspace suite (cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture on 05ad2d6c):
    • 1266 passed; 0 failed; 46 ignored across 23 test binaries.
    • 28 tests printed SKIPPED due to host hardware/environment capabilities:
      • 21 no wave64 (RTX 4060 is wave32-only: 1 in gpu::dxil::kernel, 4 in gpu::recomp::lower, 14 in gpu::recomp::lower_dxil, 2 in gpu::recomp::tests)
      • 3 wave32, per-lane form: refused (f16_programs_on_the_gpu arithmetic & packed, f32_programs_on_the_gpu conversions)
      • 2 missing D3D12 debug layer (test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll; uploads_start_from_each_subresources_state: no D3D12 debug layer)
      • 1 no heap windows (heap_window_out_of_memory_falls_back_to_the_switch_form)
      • 1 cannot disable the driver cache (shaders::tests::pso_measurement_compiles_an_exact_synthetic_record)
  • Paired 60 s retail smoke on RTX 4060 (scripts/smoke.ps1 -Seconds 60):

Baseline (origin/main 06c9f5505f63f10c5ec49ef932d75b2c28177324):

xcl-smoke v1
commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1586 (PresentX 1586)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14432 MB

PR head (05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c):

xcl-smoke v1
commit: 05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1548 (PresentX 1548)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14414 MB

Not tested

  • Live Wine / Proton DXGI prefix reproducing DXGI_ERROR_UNSUPPORTED (0x887A0004) or E_FAIL from CreateDXGIFactory1 / CreateDXGIFactory2 (verified via closure-injected pure-CPU unit tests covering all five factory-failure and selector paths).
  • AMD, Intel, and wave64 GPUs, live D3D12 debug layer (d3d12SDKLayers.dll not installed on this host), and XCL_SAMPLE_TTPF retail TTPF fixture.

AI use

Assisted by Google Antigravity (Gemini 4 Neon) for code analysis, implementation, test authoring, and verification.

**@⁠Decodere** on GitHub · 2026-11-25 14:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/2324) `Decodere:fix-2238-texture-test-dxgi-factory` → `main` · +70 −10 · 1 files · 1 commits · merged 2026-11-25 18:18 UTC **What is in it** Fixes #2238. `gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels` in `crates/xcl/src/gpu/texture.rs` was the only `IDXGIFactory6` call site in the crate requesting it through DXGI 1.1 `CreateDXGIFactory1().expect("DXGI factory")`, while the other seven `IDXGIFactory6` call sites use `CreateDXGIFactory2::<IDXGIFactory6>(DXGI_CREATE_FACTORY_FLAGS(0))` and handle factory errors without panicking. On Wine/DXGI setups where `CreateDXGIFactory1` rejects `IDXGIFactory6` with `DXGI_ERROR_UNSUPPORTED` (`0x887A0004`) or factory creation fails (`E_FAIL`), the test hard-panicked instead of falling back to the default D3D12 device or skipping cleanly; it also ignored `XCL_ADAPTER=warp`. - `crates/xcl/src/gpu/texture.rs` (`#[cfg(test)]` only, zero production runtime changes): - Switched `gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels` to `CreateDXGIFactory2::<IDXGIFactory6>(DXGI_CREATE_FACTORY_FLAGS(0))` via `large_upload_device` / `select_large_upload_device_with`. - Handled `Selector::Warp` via `factory.EnumWarpAdapter()` (matching `gpu::recomp::runner`). - Added fallback to `agility::create_device(None, D3D_FEATURE_LEVEL_11_0)` only when DXGI factory creation fails under `Selector::Auto`, preserving headless-CI `no GPU` skips when factory enumeration succeeds with zero hardware adapters and never ignoring an explicit `XCL_ADAPTER` filter. - Replaced `.expect("DXGI factory")` with `runner::skip_test(&reason)` whenever no factory or device is available. - Added pure-CPU unit test `large_upload_device_selection_handles_factory_fallback_and_selectors` covering all five selection and fallback paths. **Tested** Hardware / toolchain: Windows 11 Home 26200, Intel Core i5-11400F, 32 GB RAM, NVIDIA GeForce RTX 4060 8 GB (driver 621.14, wave32-only), Rust 1.100.0, DXC 1.9.2609.5. - **Pre-fix failing-first** (pure-CPU test against the pre-fix `make_factory().expect("DXGI factory")` selection logic): - `cargo test -p xcl --lib gpu::texture::tests::large_upload_device_selection_handles_factory_fallback_and_selectors -- --exact --nocapture`: `0 passed; 1 failed` (panicked with `DXGI factory: "DXGI_ERROR_UNSUPPORTED (0x887A0004)"`). - **Post-fix targeted tests** (`05ad2d6c` on `origin/main` `06c9f550`): - `cargo build --release --workspace`: passed. - `cargo test --release -p xcl --lib gpu::texture::tests -- --test-threads=1 --nocapture` (RTX 4060): `15 passed; 0 failed; 0 ignored` (1.14 s; `large upload adapter: NVIDIA GeForce RTX 4060`, `byte_exact=true`; `retail_ttpf_textures_detile_with_their_mip_chains` printed `XCL_SAMPLE_TTPF not set – skipping`). - `XCL_ADAPTER=warp cargo test --release -p xcl --lib gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels -- --exact --nocapture`: `1 passed; 0 failed` (0.36 s; `large upload adapter: WARP (software renderer)`, `byte_exact=true`). **Regression run** - **Full release workspace suite** (`cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture` on `05ad2d6c`): - `1266 passed; 0 failed; 46 ignored` across 23 test binaries. - `28` tests printed `SKIPPED` due to host hardware/environment capabilities: - `21` `no wave64` (RTX 4060 is wave32-only: 1 in `gpu::dxil::kernel`, 4 in `gpu::recomp::lower`, 14 in `gpu::recomp::lower_dxil`, 2 in `gpu::recomp::tests`) - `3` `wave32, per-lane form: refused` (`f16_programs_on_the_gpu` arithmetic & packed, `f32_programs_on_the_gpu` conversions) - `2` missing D3D12 debug layer (`test_title_draws_with_a_root_signature_under_the_debug_layer`: `no d3d12SDKLayers.dll`; `uploads_start_from_each_subresources_state`: `no D3D12 debug layer`) - `1` `no heap windows` (`heap_window_out_of_memory_falls_back_to_the_switch_form`) - `1` `cannot disable the driver cache` (`shaders::tests::pso_measurement_compiles_an_exact_synthetic_record`) - **Paired 60 s retail smoke on RTX 4060** (`scripts/smoke.ps1 -Seconds 60`): Baseline (`origin/main` `06c9f5505f63f10c5ec49ef932d75b2c28177324`): ``` xcl-smoke v1 commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1586 (PresentX 1586) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14432 MB ``` PR head (`05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c`): ``` xcl-smoke v1 commit: 05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1548 (PresentX 1548) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14414 MB ``` **Not tested** - Live Wine / Proton DXGI prefix reproducing `DXGI_ERROR_UNSUPPORTED` (`0x887A0004`) or `E_FAIL` from `CreateDXGIFactory1` / `CreateDXGIFactory2` (verified via closure-injected pure-CPU unit tests covering all five factory-failure and selector paths). - AMD, Intel, and wave64 GPUs, live D3D12 debug layer (`d3d12SDKLayers.dll` not installed on this host), and `XCL_SAMPLE_TTPF` retail TTPF fixture. **AI use** Assisted by Google Antigravity (Gemini 4 Neon) for code analysis, implementation, test authoring, and verification.
Fixes #2238.

`gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels` was the only `IDXGIFactory6` call site using DXGI 1.1 `CreateDXGIFactory1().expect("DXGI factory")`, which panics with `DXGI_ERROR_UNSUPPORTED` (`0x887A0004`) or `E_FAIL` on Wine/DXGI prefixes that reject `IDXGIFactory6` on `CreateDXGIFactory1` and ignored `XCL_ADAPTER=warp`.

- Switch to `CreateDXGIFactory2::<IDXGIFactory6>(DXGI_CREATE_FACTORY_FLAGS(0))` matching the rest of the crate, handle `Selector::Warp` via `EnumWarpAdapter`, fall back to `agility::create_device(None, D3D_FEATURE_LEVEL_11_0)` only when factory creation fails under `Selector::Auto`, preserve headless-CI `no GPU` skips when factory enumeration yields no hardware adapters (and never ignore explicit `XCL_ADAPTER` filters), and call `runner::skip_test` instead of panicking when no factory/device is available.
- Add pure-CPU unit test `large_upload_device_selection_handles_factory_fallback_and_selectors` covering all five selection and fallback paths.

Assisted-by: Google Antigravity (Gemini 4 Neon)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:27:32 +00:00
github manually merged commit 05ad2d6cf4 into gh-pr/2324/base 2026-11-26 05:27:34 +00:00
Author
Owner

@⁠nnonno91 on GitHub · 2026-11-25 14:33 UTC · original

Independent adapter-selection and upload check on 05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c.

Tested

  • Windows 11 25H2 build 26200.9974, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, SDK DXC/DXIL 1.8.2502.11, unoptimized profile. AMD Radeon(TM) Graphics driver 32.0.21042.62 and GeForce RTX 5090 driver 32.0.16.1742.
  • cargo test --locked -p xcl --lib large_upload_device_selection_handles_factory_fallback_and_selectors -- --nocapture --test-threads=1 gave 1 passed, 0 failed, 0 ignored and no skips.
  • cargo test --locked -p xcl --lib gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels -- --exact --nocapture --test-threads=1 with XCL_ADAPTER=AMD Radeon, NVIDIA GeForce RTX 5090 and warp in separate processes. Each printed the requested adapter and returned byte_exact=true for the 138,412,032-byte upload. Each gave 1 passed, 0 failed, 0 ignored and no skips.
  • A fourth run with XCL_ADAPTER=no-xcl-adapter-match gave 1 reported pass with one explicit SKIPPED ... no GPU, 0 failed and 0 ignored. The upload did not run on a fallback adapter.

Not tested

Wine/DXGI failure on a real Wine host, a retail title and the full workspace suite.

AI use

OpenAI Codex (GPT-6.2 Sol) ran the tests and wrote this report.

**@⁠nnonno91** on GitHub · 2026-11-25 14:33 UTC · [original](https://github.com/xcl-dev/xcl/pull/2324#issuecomment-7165458743) Independent adapter-selection and upload check on `05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c`. **Tested** - Windows 11 25H2 build 26200.9974, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, SDK DXC/DXIL 1.8.2502.11, unoptimized profile. AMD Radeon(TM) Graphics driver 32.0.21042.62 and GeForce RTX 5090 driver 32.0.16.1742. - `cargo test --locked -p xcl --lib large_upload_device_selection_handles_factory_fallback_and_selectors -- --nocapture --test-threads=1` gave 1 passed, 0 failed, 0 ignored and no skips. - `cargo test --locked -p xcl --lib gpu::texture::tests::gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels -- --exact --nocapture --test-threads=1` with `XCL_ADAPTER=AMD Radeon`, `NVIDIA GeForce RTX 5090` and `warp` in separate processes. Each printed the requested adapter and returned `byte_exact=true` for the 138,412,032-byte upload. Each gave 1 passed, 0 failed, 0 ignored and no skips. - A fourth run with `XCL_ADAPTER=no-xcl-adapter-match` gave 1 reported pass with one explicit `SKIPPED ... no GPU`, 0 failed and 0 ignored. The upload did not run on a fallback adapter. **Not tested** Wine/DXGI failure on a real Wine host, a retail title and the full workspace suite. **AI use** OpenAI Codex (GPT-6.2 Sol) ran the tests and wrote this report.
Author
Owner

@⁠Lum7nt on GitHub · 2026-11-25 14:45 UTC · original

Tested on 05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c (05ad2d6, clean PR head on origin/main 06c9f55):

  • Hardware / OS / Toolchain: NVIDIA GeForce RTX 3060 12 GB (driver 32.0.15.8142 / 581.42, wave32), Intel Core i5-10400, Windows 11 (NT 10.0.22631.0), rustc 1.100.0 (x86_64-pc-windows-msvc), DXC 1.8.2502.11 (Windows SDK 10.0.26100.0), debug profile, XCL_ADAPTER=nvidia.
  • Focused run (cargo test -p xcl --lib gpu_large_mixed_upload -- --nocapture): 1 passed, 0 failed, 0 ignored (1222 filtered out). Printed:
    large upload adapter: NVIDIA GeForce RTX 3060
    large upload: request=138412032 B first_capacity=134217728 B grown_capacity=150994944 B growth=44.4784ms repeat=33.7673ms byte_exact=true
    
  • Workspace suite (cargo build --workspace then cargo test --workspace --no-fail-fast -- --test-threads=4): 1264 passed, 2 failed, 46 ignored (vs origin/main 06c9f55: 1263 passed, 2 failed, 46 ignored; +1 passed from the new test).
    • Pre-existing failures (same 2 on origin/main 06c9f55 on this machine):
      • hle::d3d12x::real::passthrough_mesh_stream_accepts_a_triangle_driver_blob: GetCachedBlob() returned HRESULT(0x8000FFFF) ("Catastrophic failure")
      • gpu_compute_e2e::offline_compute_pipeline_is_reused_by_a_second_process: driver_file.metadata() returned ERROR_PATH_NOT_FOUND (code 3)
    • SKIPPED GPU/environment checks (27 lines, same as main): 20 no wave64, 3 per-lane #1426 refusals (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32), 2 no D3D12 debug layer (0x887A002D / no d3d12SDKLayers.dll), 1 cannot disable the driver cache (0x887A002D), 1 no heap windows.

Not tested

  • Linux / Wine / Pascal (the #2238 environment), AMD / Intel GPUs, XCL_SAMPLE_* tests (unset), and scripts/smoke.ps1 (no retail title folder here; note texture.rs is #[cfg(test)]-only in this diff).

AI use

  • Antigravity (Gemini 4 Hydrogen (Low)) checked out 05ad2d6, ran the build and tests on this machine, and drafted this report.
**@⁠Lum7nt** on GitHub · 2026-11-25 14:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/2324#issuecomment-7165767426) **Tested** on `05ad2d6cf4da3878219d40df3b9bae81c1fa8d9c` (`05ad2d6`, clean PR head on `origin/main` `06c9f55`): - **Hardware / OS / Toolchain:** NVIDIA GeForce RTX 3060 12 GB (driver `32.0.15.8142` / 581.42, wave32), Intel Core i5-10400, Windows 11 (NT `10.0.22631.0`), `rustc 1.100.0` (`x86_64-pc-windows-msvc`), DXC `1.8.2502.11` (Windows SDK `10.0.26100.0`), debug profile, `XCL_ADAPTER=nvidia`. - **Focused run (`cargo test -p xcl --lib gpu_large_mixed_upload -- --nocapture`):** 1 passed, 0 failed, 0 ignored (`1222 filtered out`). Printed: ``` large upload adapter: NVIDIA GeForce RTX 3060 large upload: request=138412032 B first_capacity=134217728 B grown_capacity=150994944 B growth=44.4784ms repeat=33.7673ms byte_exact=true ``` - **Workspace suite (`cargo build --workspace` then `cargo test --workspace --no-fail-fast -- --test-threads=4`):** **1264 passed, 2 failed, 46 ignored** (vs `origin/main` `06c9f55`: 1263 passed, 2 failed, 46 ignored; +1 passed from the new test). - Pre-existing failures (same 2 on `origin/main` `06c9f55` on this machine): - `hle::d3d12x::real::passthrough_mesh_stream_accepts_a_triangle_driver_blob`: `GetCachedBlob()` returned `HRESULT(0x8000FFFF)` ("Catastrophic failure") - `gpu_compute_e2e::offline_compute_pipeline_is_reused_by_a_second_process`: `driver_file.metadata()` returned `ERROR_PATH_NOT_FOUND` (code 3) - `SKIPPED` GPU/environment checks (27 lines, same as `main`): 20 `no wave64`, 3 per-lane `#1426` refusals (`V_MUL_F16`, `V_PK_MUL_F16`, `V_CVT_F16_F32`), 2 no D3D12 debug layer (`0x887A002D` / `no d3d12SDKLayers.dll`), 1 `cannot disable the driver cache (0x887A002D)`, 1 `no heap windows`. **Not tested** - Linux / Wine / Pascal (the #2238 environment), AMD / Intel GPUs, `XCL_SAMPLE_*` tests (unset), and `scripts/smoke.ps1` (no retail title folder here; note `texture.rs` is `#[cfg(test)]`-only in this diff). **AI use** - Antigravity (`Gemini 4 Hydrogen (Low)`) checked out `05ad2d6`, ran the build and tests on this machine, and drafted this report.
Author
Owner

@⁠SlopTart on GitHub · 2026-11-25 14:47 UTC · original

Tested: current PR head merged onto current origin/main (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target x86_64-pc-windows-gnu run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).

This is the Wine/DXGI leg the thread was missing, on the issue this PR fixes (#2238: the factory call used to abort under Wine).

  • gpu::texture::tests::large_upload_device_selection_handles_factory_fallback_and_selectors: passes on this lane.
  • gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels (138 MB upload), default adapter: passes, no DXGI abort under Wine.
  • Same test with XCL_ADAPTER="AMD Radeon RX 7900 XT": passes.
  • Same test with XCL_ADAPTER="no-xcl-adapter-match": reports SKIPPED ... no GPU, exits 0, no fallback upload and no panic. CreateDXGIFactory2 itself prints only warn: Ignoring flags under Wine, no abort.

So the CreateDXGIFactory2 path and the fallback/skip cleanup behave correctly on the Wine/vkd3d-proton lane, not just native Windows.

Not tested: retail titles (no title data on this lane, counts only).

AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.

**@⁠SlopTart** on GitHub · 2026-11-25 14:47 UTC · [original](https://github.com/xcl-dev/xcl/pull/2324#issuecomment-7165808507) **Tested**: current PR head merged onto current `origin/main` (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target `x86_64-pc-windows-gnu` run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29). This is the Wine/DXGI leg the thread was missing, on the issue this PR fixes (#2238: the factory call used to abort under Wine). - `gpu::texture::tests::large_upload_device_selection_handles_factory_fallback_and_selectors`: passes on this lane. - `gpu_large_mixed_upload_keeps_tight_staging_and_exact_pixels` (138 MB upload), default adapter: passes, no DXGI abort under Wine. - Same test with `XCL_ADAPTER="AMD Radeon RX 7900 XT"`: passes. - Same test with `XCL_ADAPTER="no-xcl-adapter-match"`: reports `SKIPPED ... no GPU`, exits 0, no fallback upload and no panic. `CreateDXGIFactory2` itself prints only `warn: Ignoring flags` under Wine, no abort. So the CreateDXGIFactory2 path and the fallback/skip cleanup behave correctly on the Wine/vkd3d-proton lane, not just native Windows. **Not tested**: retail titles (no title data on this lane, counts only). **AI use**: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 18:04 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 18:04 UTC · [original](https://github.com/xcl-dev/xcl/pull/2324#issuecomment-7170402778) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
This discussion has been locked. Commenting is limited to contributors.
No description provided.