Skip to content

[upstream #1105] XGameRuntime: identify error messages supplied by the title - #53

Closed
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1105
Closed

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1105

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Fixes xcl-dev#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

  • Label the message as reported by the title. Preserve the original HRESULT, text and callback arguments.
  • Call the export from the in-tree title and check the attributed log line.

Tested

  • Windows 11 26300.9974, RX 7800 XT (32.0.32029.2010), Ryzen 7 5700X, Rust 1.100.0 MSVC and DXC 1.9.2602.17.
  • The end-to-end test prints the unlabeled message and fails on the baseline. With the change it passes.
  • Workspace build and tests with four threads, debug: 741 passed, 0 failed, 41 ignored, no explicit GPU capability skips on the complete rerun. An earlier attempt ended early with an access violation in the library test process.

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 xcl-dev#1087.

main (1x):

xcl-smoke v1
commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3
gpu: AMD Radeon RX 7800 XT
title: Xbox-Series-1.18.3064.0
seconds: 60
exit: 0x0
frames shown: 3463 (PresentX 3463)
presents per 2 s (last 3): 120 120 120
device removals: 0
crashes: 0
peak commit: 3342 MB

PR (1x):

xcl-smoke v1
commit: 5d832dc78e44dab44d86bbe32019f2a767a6d9ed
gpu: AMD Radeon RX 7800 XT
title: Xbox-Series-1.18.3064.0
seconds: 60
exit: 0x0
frames shown: 3479 (PresentX 3479)
presents per 2 s (last 3): 120 120 120
device removals: 0
crashes: 0
peak commit: 3359 MB

Not tested

  • The title that originally reported the XStore refusal. The test title supplies the reported HRESULT and message directly. No Minecraft gameplay beyond the main menu.
  • Tests requiring XCL_SAMPLE_* files.

AI use

  • OpenAI Codex (GPT-6, exact variant unavailable) investigated the logging path, wrote the change and test, ran the tests and drafted this description.

Mirror of xcl-dev#1105 (auto-synced, do not edit).

An offline XStore refusal can cause a title to report generic Gaming Services repair advice. Identify the caller in the XErrorReport log while preserving the original HRESULT and callback payload.

The end-to-end test calls the export from the test title and verifies the attributed log line.

Fixes xcl-dev#1093

Assisted-by: OpenAI Codex (GPT-6)
@ufoptg

ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Upstream PR xcl-dev#1105 was closed or merged.

@ufoptg ufoptg closed this Nov 25, 2026
@ufoptg
ufoptg deleted the upstream-pr/1105 branch November 25, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XGameRuntime: an offline XStore refusal is reported as 0x89240107 "missing dependencies, run GamingRepair.exe"

2 participants