XGameRuntime: with XCL_NETWORK=0 the connectivity hint says no network #489

Open
notdxbi wants to merge 1 commit from upstream-pr/494 into main
notdxbi commented 2026-11-24 01:02:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by notdxbi on 2026-11-24T01:02:41Z.


With XCL_NETWORK=0 every request of the title fails, but XNetworkingGetConnectivityHint still answered with the host's connectivity (InternetAccess). A retail game then took itself to be online and kept asking its online service for a ticket (CreateTicketXbl3, "no Xbox Live", with growing gaps). With the hint at None, as on a console without a network, it asks for no token at all and goes on to stream its world. Part of #175 (comment with the runs: https://github.com/ivall/xcl/issues/175#issuecomment-7118129089).

What is in it

  • hle/xgameruntime/networking.rs: the level is worked out in connectivity_level(host, network_off); with XCL_NETWORK=0 it is 1 (None). Without XCL_NETWORK=0 nothing changes.
  • Test connectivity_level_without_network_is_none. Without the change it fails ("host None, network off").

Tested

  • RTX 5060 8 GB (NVIDIA 595.112.07), Ryzen 7 5700X, Linux under Wine 11.22 Staging (vkd3d-proton master with the two from_iface checks relaxed and -Db_ndebug=true, as in #257; DXVK 3.1.1 dxgi), Rust stable x86_64-pc-windows-gnu (cross-built), release
  • lib suite on this branch (main 2997c9a + this commit): CPU tests --skip gpu:: --test-threads=4: 364 passed, 0 failed, 3 ignored; GPU tests gpu:: --test-threads=1: 271 passed, 0 failed, 18 ignored (run serially: with 4 threads this card sometimes loses the device, NVRM Xid 109, in tests this change does not touch). mesh_dispatch::tests::gpu_* / paired_* were excluded: they hang this GPU on main too.
  • SKIPPED on this adapter: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64)
  • Retail title (Series X profile), XCL_NETWORK=0, A pressed at the account prompt: before, token requests every ~16 s; after, none, and the title streams its world after the intro and the loading screen.

Regression run

  • None: scripts/smoke.ps1 needs Windows (see Not tested).

Not tested

  • Windows: no Windows machine here, so no scripts/smoke.ps1 blocks and no MSVC build; this PR needs someone to run the regression on Windows before it can be merged.
  • AMD.

AI use

  • Claude Code with Claude Opus 5.5: found the cause, wrote the change, the test and this description. The runs and numbers are real, on the hardware above; the PR is opened by me after checking them.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5464068452 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/494). Originally posted by [notdxbi](https://github.com/notdxbi) on 2026-11-24T01:02:41Z. --- With `XCL_NETWORK=0` every request of the title fails, but `XNetworkingGetConnectivityHint` still answered with the host's connectivity (`InternetAccess`). A retail game then took itself to be online and kept asking its online service for a ticket (`CreateTicketXbl3`, "no Xbox Live", with growing gaps). With the hint at `None`, as on a console without a network, it asks for no token at all and goes on to stream its world. Part of #175 (comment with the runs: https://github.com/ivall/xcl/issues/175#issuecomment-7118129089). **What is in it** - `hle/xgameruntime/networking.rs`: the level is worked out in `connectivity_level(host, network_off)`; with `XCL_NETWORK=0` it is 1 (None). Without `XCL_NETWORK=0` nothing changes. - Test `connectivity_level_without_network_is_none`. Without the change it fails ("host None, network off"). **Tested** - RTX 5060 8 GB (NVIDIA 595.112.07), Ryzen 7 5700X, **Linux under Wine 11.22 Staging** (vkd3d-proton master with the two `from_iface` checks relaxed and `-Db_ndebug=true`, as in #257; DXVK 3.1.1 dxgi), Rust stable `x86_64-pc-windows-gnu` (cross-built), release - lib suite on this branch (`main` `2997c9a` + this commit): CPU tests `--skip gpu:: --test-threads=4`: **364 passed, 0 failed, 3 ignored**; GPU tests `gpu:: --test-threads=1`: **271 passed, 0 failed, 18 ignored** (run serially: with 4 threads this card sometimes loses the device, NVRM Xid 109, in tests this change does not touch). `mesh_dispatch::tests::gpu_*` / `paired_*` were excluded: they hang this GPU on `main` too. - `SKIPPED` on this adapter: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64) - Retail title (Series X profile), `XCL_NETWORK=0`, A pressed at the account prompt: before, token requests every ~16 s; after, none, and the title streams its world after the intro and the loading screen. **Regression run** - None: `scripts/smoke.ps1` needs Windows (see Not tested). **Not tested** - **Windows**: no Windows machine here, so no `scripts/smoke.ps1` blocks and no MSVC build; this PR needs someone to run the regression on Windows before it can be merged. - AMD. **AI use** - Claude Code with Claude Opus 5.5: found the cause, wrote the change, the test and this description. The runs and numbers are real, on the hardware above; the PR is opened by me after checking them. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nullmarsh commented 2026-11-24 07:05:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by nullmarsh on 2026-11-24T01:32:42Z.


Windows / MSVC run, since Not tested asks for one: bf21fd8 merged onto main 7ebf1b8 (clean merge) builds and passes.

Tested

  • AMD Radeon RX 9060 XT (RDNA4), driver 32.0.32029.2010; Ryzen 7 5800X3D; Windows 11 Pro 26200; Rust 1.100.0 x86_64-pc-windows-msvc; DXC 1.9.2602.17; debug build.
  • .\scripts\test.ps1: 678 passed, 0 failed, 41 ignored; no SKIPPED GPU tests.
  • cargo test -p xcl --lib connectivity_level_without_network: connectivity_level_without_network_is_none passes.

Not tested

  • smoke.ps1 (no retail title here yet).

AI use

  • Claude Code (Claude Opus 5.5) ran the commands and wrote this report from the logs; I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7119205220 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/494#issuecomment-7119205220). Originally posted by [nullmarsh](https://github.com/nullmarsh) on 2026-11-24T01:32:42Z. --- Windows / MSVC run, since **Not tested** asks for one: `bf21fd8` merged onto `main` `7ebf1b8` (clean merge) builds and **passes**. **Tested** - AMD Radeon RX 9060 XT (RDNA4), driver 32.0.32029.2010; Ryzen 7 5800X3D; Windows 11 Pro 26200; Rust 1.100.0 `x86_64-pc-windows-msvc`; DXC 1.9.2602.17; debug build. - `.\scripts\test.ps1`: 678 passed, 0 failed, 41 ignored; no `SKIPPED` GPU tests. - `cargo test -p xcl --lib connectivity_level_without_network`: `connectivity_level_without_network_is_none` passes. **Not tested** - `smoke.ps1` (no retail title here yet). **AI use** - Claude Code (Claude Opus 5.5) ran the commands and wrote this report from the logs; I checked it before posting.
vibryxcx commented 2026-11-24 07:05:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vibryxcx on 2026-11-24T02:00:57Z.


Windows regression run with a retail title, which Not tested asks for (the comment above ran the suite only). The fix shows on Windows too: no token requests with the PR.

Tested

  • AMD Radeon RX 6800 (RDNA2, driver 32.0.21045.5002), Intel Core i5-10600KF, Windows 11 build 26200, Rust 1.100.0 MSVC, release build. cargo clean --release -p xcl before each build.
  • This PR's head bf21fd8 as it is, against its base, main 2997c9a. No uncommitted changes. scripts/smoke.ps1 sets XCL_NETWORK=0.
  • Standard run: scripts/smoke.ps1 -Game <folder> -Seconds 60, no input. Menu run: XCL_PRESS_A_AT=14,17,21,40,60,66,72, -Seconds 180.
2997c9a bf21fd8
XUser: token … lines, 60 s run 6 (last at 37 s) 0
XUser: token … lines, 180 s menu run 8 (last at 135 s) 0
frames shown, 60 s / 180 s 599 / 537 698 / 564
DirectStorage requests, 60 s / 180 s 9,766 / 18,901 9,766 / 18,901
crashes / device removals 0 / 0 0 / 0
peak commit, 60 s / 180 s 15,171 / 15,555 MB 15,143 / 15,532 MB

On 2997c9a the first token lines are CreateTicketXbl3 and ros.rockstargames.com, none: no Xbox Live (0x80072EFD), as in the description.

Regression run

main 2997c9a:

xcl-smoke v1
commit: 2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21
gpu: AMD Radeon RX 6800
title: GTA6
seconds: 60
exit: 0x0
frames shown: 599 (PresentX 599)
presents per 2 s (last 3): 35 36 34
device removals: 0
crashes: 0
peak commit: 15171 MB

This PR bf21fd8:

xcl-smoke v1
commit: bf21fd8eff8aef2fed3de4a321673f85a01c7588
gpu: AMD Radeon RX 6800
title: GTA6
seconds: 60
exit: 0x0
frames shown: 698 (PresentX 699)
presents per 2 s (last 3): 38 35 34
device removals: 0
crashes: 0
peak commit: 15143 MB

Not tested

  • The world streaming the description reports after the fix: in 180 s neither build gets past the menus here (same DirectStorage request count, both end at 2 – 4 presents per 2 s).
  • The suite on this machine (RDNA4 is covered above); NVIDIA on Windows.
  • One run of each.

AI use

  • Claude Code (Claude Opus 5.5): ran the tests and wrote this report.
<!-- greyfinch-sync:ivall/xcl:comment:7119671263 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/494#issuecomment-7119671263). Originally posted by [vibryxcx](https://github.com/vibryxcx) on 2026-11-24T02:00:57Z. --- Windows regression run with a retail title, which **Not tested** asks for (the comment above ran the suite only). The fix shows on Windows too: no token requests with the PR. **Tested** - AMD Radeon RX 6800 (RDNA2, driver 32.0.21045.5002), Intel Core i5-10600KF, Windows 11 build 26200, Rust 1.100.0 MSVC, release build. `cargo clean --release -p xcl` before each build. - This PR's head `bf21fd8` as it is, against its base, `main` `2997c9a`. No uncommitted changes. `scripts/smoke.ps1` sets `XCL_NETWORK=0`. - Standard run: `scripts/smoke.ps1 -Game <folder> -Seconds 60`, no input. Menu run: `XCL_PRESS_A_AT=14,17,21,40,60,66,72`, `-Seconds 180`. | | `2997c9a` | `bf21fd8` | |---|---|---| | `XUser: token …` lines, 60 s run | 6 (last at 37 s) | **0** | | `XUser: token …` lines, 180 s menu run | 8 (last at 135 s) | **0** | | frames shown, 60 s / 180 s | 599 / 537 | 698 / 564 | | DirectStorage requests, 60 s / 180 s | 9,766 / 18,901 | 9,766 / 18,901 | | crashes / device removals | 0 / 0 | 0 / 0 | | peak commit, 60 s / 180 s | 15,171 / 15,555 MB | 15,143 / 15,532 MB | On `2997c9a` the first token lines are `CreateTicketXbl3` and `ros.rockstargames.com`, `none: no Xbox Live (0x80072EFD)`, as in the description. **Regression run** `main` `2997c9a`: ``` xcl-smoke v1 commit: 2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21 gpu: AMD Radeon RX 6800 title: GTA6 seconds: 60 exit: 0x0 frames shown: 599 (PresentX 599) presents per 2 s (last 3): 35 36 34 device removals: 0 crashes: 0 peak commit: 15171 MB ``` This PR `bf21fd8`: ``` xcl-smoke v1 commit: bf21fd8eff8aef2fed3de4a321673f85a01c7588 gpu: AMD Radeon RX 6800 title: GTA6 seconds: 60 exit: 0x0 frames shown: 698 (PresentX 699) presents per 2 s (last 3): 38 35 34 device removals: 0 crashes: 0 peak commit: 15143 MB ``` **Not tested** - The world streaming the description reports after the fix: in 180 s neither build gets past the menus here (same DirectStorage request count, both end at 2 – 4 presents per 2 s). - The suite on this machine (RDNA4 is covered above); NVIDIA on Windows. - One run of each. **AI use** - Claude Code (Claude Opus 5.5): ran the tests and wrote this report.
Kalmarv commented 2026-11-24 07:05:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Kalmarv on 2026-11-24T02:16:58Z.


Regression run for this PR's head on Windows, as asked in #175.

Tested

  • Windows 11 Pro 25H2 (build 26200), AMD Ryzen 9 9950X, 32 GB RAM, NVIDIA GeForce RTX 5070 Ti (driver 610.74), Rust 1.99.0, release builds (cargo build --release -p xcl) from clean checkouts
  • main: 2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21 (this PR's base); PR head: bf21fd8eff8aef2fed3de4a321673f85a01c7588, no uncommitted changes
  • scripts/smoke.ps1 -Game <title folder> -Seconds 60 on a retail title, main first, after one 60 s warm-up run of main; both sides start from the same learned coherent-window size
  • PR 1516 frames vs main 1446 (105 %), peak commit 14541 vs 14542 MB (100 %); 0 crashes and 0 device removals on both sides, both exited 0x0
  • The change is reached: main's run logged 6 token requests (XUser: token #0-#5, five of them none: no Xbox Live, at 10.7, 10.8, 24.6, 45.6 and 59.2 s); the PR's run logged none

Regression run

main:

xcl-smoke v1
commit: 2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21
gpu: NVIDIA GeForce RTX 5070 Ti
title: GTA VI
seconds: 60
exit: 0x0
frames shown: 1446 (PresentX 1446)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14542 MB

PR:

xcl-smoke v1
commit: bf21fd8eff8aef2fed3de4a321673f85a01c7588
gpu: NVIDIA GeForce RTX 5070 Ti
title: GTA VI
seconds: 60
exit: 0x0
frames shown: 1516 (PresentX 1517)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14541 MB

Not tested

  • Whether the title gets further than on main: 60 s runs only, nothing past the first minute
  • cargo test --workspace (not run for this report)
  • AMD GPUs, other titles

🤖 Claude Opus 5.5

<!-- greyfinch-sync:ivall/xcl:comment:7119963955 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/494#issuecomment-7119963955). Originally posted by [Kalmarv](https://github.com/Kalmarv) on 2026-11-24T02:16:58Z. --- Regression run for this PR's head on Windows, as asked in #175. **Tested** - Windows 11 Pro 25H2 (build 26200), AMD Ryzen 9 9950X, 32 GB RAM, NVIDIA GeForce RTX 5070 Ti (driver 610.74), Rust 1.99.0, release builds (`cargo build --release -p xcl`) from clean checkouts - main: `2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21` (this PR's base); PR head: `bf21fd8eff8aef2fed3de4a321673f85a01c7588`, no uncommitted changes - `scripts/smoke.ps1 -Game <title folder> -Seconds 60` on a retail title, main first, after one 60 s warm-up run of main; both sides start from the same learned coherent-window size - PR 1516 frames vs main 1446 (105 %), peak commit 14541 vs 14542 MB (100 %); 0 crashes and 0 device removals on both sides, both exited 0x0 - The change is reached: main's run logged 6 token requests (`XUser: token #0`-`#5`, five of them `none: no Xbox Live`, at 10.7, 10.8, 24.6, 45.6 and 59.2 s); the PR's run logged none **Regression run** main: ``` xcl-smoke v1 commit: 2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21 gpu: NVIDIA GeForce RTX 5070 Ti title: GTA VI seconds: 60 exit: 0x0 frames shown: 1446 (PresentX 1446) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14542 MB ``` PR: ``` xcl-smoke v1 commit: bf21fd8eff8aef2fed3de4a321673f85a01c7588 gpu: NVIDIA GeForce RTX 5070 Ti title: GTA VI seconds: 60 exit: 0x0 frames shown: 1516 (PresentX 1517) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14541 MB ``` **Not tested** - Whether the title gets further than on main: 60 s runs only, nothing past the first minute - `cargo test --workspace` (not run for this report) - AMD GPUs, other titles 🤖 Claude Opus 5.5
OrangeCrane1738 commented 2026-11-24 16:07:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by OrangeCrane1738 on 2026-11-24T15:59:47Z.


Test report for bf21fd8 on the retail title: one 120 s smoke run without this PR and one with it.

Tested

  • Windows 11 Pro, NVIDIA GeForce RTX 5060 Ti, release builds, scripts/smoke.ps1 -Seconds 120 on the retail title, no input.
  • This PC has no Gaming Services, so plain main dies early on the XAsync routing that #235 fixes. Both builds therefore include #235: main 930e8b4 + #235, and the same + this PR (bf21fd8). Their commits are local merges, so the blocks below can't stand in for the main / PR-head pair the PR check needs.
  • The title: line is the game folder's name, shortened.
  • Without this PR the title asked for an online ticket 6 times in the 120 s (XUser: token ... CreateTicketXbl3 - none: no Xbox Live, at 21, 25, 27, 48, 55 and 112 s). With it: none.
  • Otherwise the same: DirectStorage 9,767 requests / 650 MB / 0 failed in both runs, the same draw activity at the end, no crashes and no device removals.

Smoke runs

main 930e8b4 + #235

xcl-smoke v1
commit: 5ff0bc1dc345610b1b802eb0f719db805cf5a8b3
gpu: NVIDIA GeForce RTX 5060 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 120
exit: 0x0
frames shown: 922 (PresentX 922)
presents per 2 s (last 3): 19 20 19
device removals: 0
crashes: 0
peak commit: 17234 MB

main 930e8b4 + #235 + #494 (bf21fd8)

xcl-smoke v1
commit: 9426f5d753b51ed698af7545cd99023bbad04c6e
gpu: NVIDIA GeForce RTX 5060 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 120
exit: 0x0
frames shown: 1025 (PresentX 1025)
presents per 2 s (last 3): 20 19 19
device removals: 0
crashes: 0
peak commit: 17061 MB

Not tested

  • Runs of main and of this PR's head as they are (no Gaming Services here, see above).
  • Whether the title streams its world sooner: no difference within 120 s here.
  • AMD; the cargo test suite (not run for this report).

AI use

  • Claude Opus 5.5 (in the Claude app): set up the test script, read the logs and wrote this report. The runs were made on my own machine with my own copy; nothing from the game is attached.
<!-- greyfinch-sync:ivall/xcl:comment:7136952516 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/494#issuecomment-7136952516). Originally posted by [OrangeCrane1738](https://github.com/OrangeCrane1738) on 2026-11-24T15:59:47Z. --- Test report for bf21fd8 on the retail title: one 120 s smoke run without this PR and one with it. **Tested** - Windows 11 Pro, NVIDIA GeForce RTX 5060 Ti, release builds, `scripts/smoke.ps1 -Seconds 120` on the retail title, no input. - This PC has no Gaming Services, so plain `main` dies early on the XAsync routing that #235 fixes. Both builds therefore include #235: `main` 930e8b4 + #235, and the same + this PR (bf21fd8). Their commits are local merges, so the blocks below can't stand in for the main / PR-head pair the PR check needs. - The `title:` line is the game folder's name, shortened. - Without this PR the title asked for an online ticket 6 times in the 120 s (`XUser: token ... CreateTicketXbl3 - none: no Xbox Live`, at 21, 25, 27, 48, 55 and 112 s). With it: none. - Otherwise the same: DirectStorage 9,767 requests / 650 MB / 0 failed in both runs, the same draw activity at the end, no crashes and no device removals. **Smoke runs** main 930e8b4 + #235 ``` xcl-smoke v1 commit: 5ff0bc1dc345610b1b802eb0f719db805cf5a8b3 gpu: NVIDIA GeForce RTX 5060 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 120 exit: 0x0 frames shown: 922 (PresentX 922) presents per 2 s (last 3): 19 20 19 device removals: 0 crashes: 0 peak commit: 17234 MB ``` main 930e8b4 + #235 + #494 (bf21fd8) ``` xcl-smoke v1 commit: 9426f5d753b51ed698af7545cd99023bbad04c6e gpu: NVIDIA GeForce RTX 5060 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 120 exit: 0x0 frames shown: 1025 (PresentX 1025) presents per 2 s (last 3): 20 19 19 device removals: 0 crashes: 0 peak commit: 17061 MB ``` **Not tested** - Runs of `main` and of this PR's head as they are (no Gaming Services here, see above). - Whether the title streams its world sooner: no difference within 120 s here. - AMD; the cargo test suite (not run for this report). **AI use** - Claude Opus 5.5 (in the Claude app): set up the test script, read the logs and wrote this report. The runs were made on my own machine with my own copy; nothing from the game is attached.
LukaManstein commented 2026-11-25 02:08:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by LukaManstein on 2026-11-25T01:12:42Z.


Test report on Windows (the PR was tested under Wine only so far).

Setup: NVIDIA RTX 3080 Ti 12 GB (wave32), Windows 10 21H2 (19044), 32 GB RAM, retail title 1.0.2.1 (package complete). This PR's commit merged onto main de36462 (no conflicts), cargo build --release -p xcl. Same scripted A presses in both runs (XCL_PRESS_A_AT=130,140,150), XCL_NETWORK=0.

Result: with the PR the title asks for no Xbox Live token at all; on main it asked 9 times (XUser: token #n for POST …/auth.asmx/CreateTicketXbl3 – none: no Xbox Live (0x80072EFD)) in the same 300 s. No regression: more frames, lower peak commit, no device removal or crash.

300 s run main de36462 main + #494
token requests 9 0
frames shown 7752 8196
peak commit 17498 MB 16763 MB
unique shaders seen 11183 11688

Earlier, longer runs on an older base (main 47efa2e, no PR): DirectStorage requests dropped to 0 at about 245 s, while the token requests went on, and the title stayed on its dark loading screen for 6 min. With this PR (on main 6567c5f) it kept streaming for 17 min, through the full-colour loading art and ~19,000 shaders, until video memory (12 GB) was full; it did not reach the world in that time. In the 300 s pair above, main de36462 was still streaming at the end too, so this pair does not show the stall itself.

Regression run

xcl-smoke v1
commit: de36462e0b1043b915a418d4591ed1e397622ede
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 300
exit: 0x0
frames shown: 7752 (PresentX 7752)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17498 MB
xcl-smoke v1
commit: 8515bfa3668c2c8f91c431400c96737fe167d6eb
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 300
exit: 0x0
frames shown: 8196 (PresentX 8197)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16763 MB

(8515bfa is this PR's bf21fd8 merged onto de36462, not the PR's own head.)

Not tested: the full test suite on this merge; reaching the world (video memory runs out first on this card).

AI use: Claude Code (Claude Opus 5.5) ran the builds and runs and wrote this text; I reviewed it.

<!-- greyfinch-sync:ivall/xcl:comment:7149317854 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/494#issuecomment-7149317854). Originally posted by [LukaManstein](https://github.com/LukaManstein) on 2026-11-25T01:12:42Z. --- Test report on Windows (the PR was tested under Wine only so far). **Setup:** NVIDIA RTX 3080 Ti 12 GB (wave32), Windows 10 21H2 (19044), 32 GB RAM, retail title 1.0.2.1 (package complete). This PR's commit merged onto `main` `de36462` (no conflicts), `cargo build --release -p xcl`. Same scripted A presses in both runs (`XCL_PRESS_A_AT=130,140,150`), `XCL_NETWORK=0`. **Result:** with the PR the title asks for no Xbox Live token at all; on `main` it asked 9 times (`XUser: token #n for POST …/auth.asmx/CreateTicketXbl3 – none: no Xbox Live (0x80072EFD)`) in the same 300 s. No regression: more frames, lower peak commit, no device removal or crash. | 300 s run | `main` de36462 | main + #494 | |---|---|---| | token requests | 9 | 0 | | frames shown | 7752 | 8196 | | peak commit | 17498 MB | 16763 MB | | unique shaders seen | 11183 | 11688 | Earlier, longer runs on an older base (`main` 47efa2e, no PR): DirectStorage requests dropped to 0 at about 245 s, while the token requests went on, and the title stayed on its dark loading screen for 6 min. With this PR (on `main` 6567c5f) it kept streaming for 17 min, through the full-colour loading art and ~19,000 shaders, until video memory (12 GB) was full; it did not reach the world in that time. In the 300 s pair above, `main` de36462 was still streaming at the end too, so this pair does not show the stall itself. **Regression run** ``` xcl-smoke v1 commit: de36462e0b1043b915a418d4591ed1e397622ede gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 300 exit: 0x0 frames shown: 7752 (PresentX 7752) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17498 MB ``` ``` xcl-smoke v1 commit: 8515bfa3668c2c8f91c431400c96737fe167d6eb gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 300 exit: 0x0 frames shown: 8196 (PresentX 8197) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16763 MB ``` (`8515bfa` is this PR's `bf21fd8` merged onto `de36462`, not the PR's own head.) **Not tested:** the full test suite on this merge; reaching the world (video memory runs out first on this card). AI use: Claude Code (Claude Opus 5.5) ran the builds and runs and wrote this text; I reviewed it.
DavidM1911 commented 2026-11-25 14:10:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T14:05:07Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7164732703 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/494#issuecomment-7164732703). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T14:05:07Z. --- 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!
github-actions[bot] commented 2026-11-29 20:41:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:41:42Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7262284022 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/494#issuecomment-7262284022). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T20:41:42Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 03:36:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:36:17Z.


Triage (#1607) – head bf21fd8

No open or merged PR makes the same change. The other #175 PRs (#669, #793, #794, #1462, #3492) are about Wine, presentation and the console window, not the connectivity hint. connectivity_level returns None (1) only when netoff::enabled() (XCL_NETWORK=0) is set, so default behaviour is unchanged. No problems found in the diff.
The PR is a draft, and its description check fails because it has no Windows smoke run.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7299878362 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/494#issuecomment-7299878362). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:36:17Z. --- **Triage (#1607)** – head bf21fd8 No open or merged PR makes the same change. The other #175 PRs (#669, #793, #794, #1462, #3492) are about Wine, presentation and the console window, not the connectivity hint. `connectivity_level` returns None (1) only when `netoff::enabled()` (`XCL_NETWORK=0`) is set, so default behaviour is unchanged. No problems found in the diff. The PR is a draft, and its description check fails because it has no Windows smoke run. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/494:upstream-pr/494'
git switch 'upstream-pr/494'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/494'
git switch 'upstream-pr/494'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/494'
git switch 'upstream-pr/494'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/494'
git switch 'main'
git merge --squash 'upstream-pr/494'
git switch 'main'
git merge --ff-only 'upstream-pr/494'
git switch 'main'
git merge 'upstream-pr/494'
git push origin 'main'
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
xcl-dev/xcl!489
No description provided.