XGameRuntime: identify error messages supplied by the title #1096
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1105"
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 gloger2003 on 2026-11-24T11:40:08Z.
Fixes #1093. When a title passes Gaming Services repair advice to XErrorReport after an offline refusal, the existing log line looks like a diagnosis from XCL.
What is in it
Tested
Regression run
Matched 60-second runs on the RX 7800 XT with identical Minecraft Preview profiles and gfx_msaa:1. Both reached the menu, with 124,513 and 124,510 non-dark pixels out of 129,600 in the last frame samples.
In separate runs with the default 4x setting, both builds lost the device (0x887a0001) before reaching the menu. The PR build then recorded exceptions in the AMD driver. The default-setting failures are separate from the message-attribution change and are investigated in #1087.
main (1x):
PR (1x):
Not tested
AI use
Imported from ivall/xcl. Originally posted by emirduran707 on 2026-11-24T11:46:08Z.
AMD test report for
5d832dc(this PR's head, onmain47efa2e), with a regression run on the retail title, since the one in the description lost the device on both sides. Feel free to use the blocks.Tested
x86_64-pc-windows-msvc; DXC 1.9.2602.17; debug for the suite, release for the runs.cargo test --workspace -- --test-threads=4at5d832dc: 741 passed, 0 failed, 41 ignored; noSKIPPEDlines.test_title_runs_and_game_folder_is_untouchedpasses with the new check.scripts/smoke.ps1 -Game <retail title>, 60 s, no input,mainthen this PR. Thegpu:line names a virtual display adapter of this machine (#281 / #282 / #285); XCL's log names the RX 9060 XT.main:
PR:
The retail title calls
XErrorReport(0x89240107, …)only at about 136 s, right after XCL refuses XStore (QueryApiImpl … → XStore: unavailable (offline)), so the 60 s runs above don't reach the changed line.A suggestion, not a blocker: I had a variant of this locally before I saw the PR (I'd said so on #1093). It keeps the line as it was for other reports, and adds the class when
0x89240107follows one ofREFUSEDwithin 2 s:QueryApiImpl's refusal branch records(name, Instant::now());XErrorReportthen appends(the title's own text: XCL refused XStore 1 ms before – it is not available offline).A user reading the log then sees what actually happened, not only that the text is the title's. Happy to send it as a follow-up on top of this if the maintainer wants it.
Not tested: NVIDIA; Wine; a run long enough to reach the report (beyond 60 s).
Tested and written with Claude Code (Claude Opus 5.5). The runs were made on my machine.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T08:21:51Z.
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!
Imported from ivall/xcl. Originally posted by upipibi on 2026-11-25T20:30:31Z.
NVIDIA test report for
5d832dc(head as is, base47efa2e), for #1607's "one more test report" list. RTX 3070 8 GB (Ampere, 32-lane waves), driver 616.56, Windows 11, debug, aftercargo build --workspace:cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2: 732 passed, 0 failed, 41 ignored. The end-to-end title tests pass, includingtest_title_runs_and_game_folder_is_untouched.hle::xaudio2, because its tests fail or hang on this machine onmaintoo. The PR doesn't touch it.no wave64on this card.AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run.
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:39:45Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:49:49Z.
Triage (#1607) – head
5d832dcNo open or merged PR makes the same change. It addresses #1093 by labeling the log line rather than changing the XStore refusal. Main's
XErrorReportstill logsXErrorReport {hr}: {text}, and XErrorReport is a flat export of the HLE xgameruntime.dll, so the test title's GetProcAddress check reaches it. No problems found in the diff.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.