XGameRuntime: with XCL_NETWORK=0 the connectivity hint says no network #494
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!494
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-494"
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?
@notdxbi on GitHub · 2026-11-24 01:02 UTC · original
notdxbi:pr-offline-connectivity→main· +24 −5 · 1 files · 1 commits · draftWith
XCL_NETWORK=0every request of the title fails, butXNetworkingGetConnectivityHintstill 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 atNone, 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 inconnectivity_level(host, network_off); withXCL_NETWORK=0it is 1 (None). WithoutXCL_NETWORK=0nothing changes.connectivity_level_without_network_is_none. Without the change it fails ("host None, network off").Tested
from_ifacechecks relaxed and-Db_ndebug=true, as in #257; DXVK 3.1.1 dxgi), Rust stablex86_64-pc-windows-gnu(cross-built), releasemain2997c9a+ this commit): CPU tests--skip gpu:: --test-threads=4: 364 passed, 0 failed, 3 ignored; GPU testsgpu:: --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 onmaintoo.SKIPPEDon this adapter:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)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
scripts/smoke.ps1needs Windows (see Not tested).Not tested
scripts/smoke.ps1blocks and no MSVC build; this PR needs someone to run the regression on Windows before it can be merged.AI use
🤖 Generated with Claude Code
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@ghost on GitHub · 2026-11-24 01:32 UTC · original
Windows / MSVC run, since Not tested asks for one:
bf21fd8merged ontomain7ebf1b8(clean merge) builds and passes.Tested
x86_64-pc-windows-msvc; DXC 1.9.2602.17; debug build..\scripts\test.ps1: 678 passed, 0 failed, 41 ignored; noSKIPPEDGPU tests.cargo test -p xcl --lib connectivity_level_without_network:connectivity_level_without_network_is_nonepasses.Not tested
smoke.ps1(no retail title here yet).AI use
@vibryxcx on GitHub · 2026-11-24 02:00 UTC · original
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
cargo clean --release -p xclbefore each build.bf21fd8as it is, against its base,main2997c9a. No uncommitted changes.scripts/smoke.ps1setsXCL_NETWORK=0.scripts/smoke.ps1 -Game <folder> -Seconds 60, no input. Menu run:XCL_PRESS_A_AT=14,17,21,40,60,66,72,-Seconds 180.2997c9abf21fd8XUser: token …lines, 60 s runXUser: token …lines, 180 s menu runOn
2997c9athe first token lines areCreateTicketXbl3andros.rockstargames.com,none: no Xbox Live (0x80072EFD), as in the description.Regression run
main2997c9a:This PR
bf21fd8:Not tested
AI use
@Kalmarv on GitHub · 2026-11-24 02:16 UTC · original
Regression run for this PR's head on Windows, as asked in #175.
Tested
cargo build --release -p xcl) from clean checkouts2997c9aca6ebf4577fed34ebdb3cb0a77dd9ec21(this PR's base); PR head:bf21fd8eff8aef2fed3de4a321673f85a01c7588, no uncommitted changesscripts/smoke.ps1 -Game <title folder> -Seconds 60on a retail title, main first, after one 60 s warm-up run of main; both sides start from the same learned coherent-window sizeXUser: token #0-#5, five of themnone: no Xbox Live, at 10.7, 10.8, 24.6, 45.6 and 59.2 s); the PR's run logged noneRegression run
main:
PR:
Not tested
cargo test --workspace(not run for this report)🤖 Claude Opus 5.5
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@OrangeCrane1738 on GitHub · 2026-11-24 15:59 UTC · original · edited 2026-11-24 17:51 UTC
Test report for
bf21fd8on the retail title: one 120 s smoke run without this PR and one with it.Tested
scripts/smoke.ps1 -Seconds 120on the retail title, no input.maindies early on the XAsync routing that #235 fixes. Both builds therefore include #235:main930e8b4+ #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.title:line is the game folder's name, shortened.XUser: token ... CreateTicketXbl3 - none: no Xbox Live, at 21, 25, 27, 48, 55 and 112 s). With it: none.Smoke runs
main
930e8b4+ #235main
930e8b4+ #235 + #494 (bf21fd8)Not tested
mainand of this PR's head as they are (no Gaming Services here, see above).AI use
@LukaManstein on GitHub · 2026-11-25 01:12 UTC · original
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
mainde36462(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
mainit 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.mainde36462Earlier, longer runs on an older base (
main47efa2e, 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 (onmain6567c5f) 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,mainde36462was still streaming at the end too, so this pair does not show the stall itself.Regression run
(
8515bfais this PR'sbf21fd8merged ontode36462, 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 on GitHub · 2026-11-25 14:05 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!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.