Xbox2Windows: Failed #3913
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3913
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Scraggle37 on GitHub · 2026-12-03 05:30 UTC · original
What happened
Launcher
Project
R0Y00/Xbox2Windows)Log (last 6 lines)
@triggered02 on GitHub · 2026-12-03 16:42 UTC · original
The exit code in this log is diagnostic:
offscreen_checkreturns 2 only for a command-line usage error, so the tool never reached the renderer — that is why FPS is unavailable and the stage ends in under a second. There was no device, no adapter and no shader work involved.The problem is that the tool says nothing on that path. In
tests/offscreen_check.cpp,resolve_clireturns{CliAction::usage_error}silently for every one of these:offscreen_check, oroffscreen_check warp);warporhardware;--operationname that is unknown, or whose operand count or validation fails (this one does printUnknown GPU operation or invalid arguments: <argv[2]>);Only the third prints a reason. So a launcher run that fails here leaves exactly the log in this report: exit 2, no renderer readings, no message.
I am going to fix the diagnostic side rather than guess at the launcher's command line: make every usage-error path print the reason, the argument that broke the rule and a one-line usage, and cover each path with the existing
--self-testharness so this cannot regress. That does not identify which argument your launcher passes — if you can attach the launcher's command line for theoffscreen_check.exestep (or run the tool by hand with the same arguments), that pins it down immediately, and the new message will name it.Scope:
tests/offscreen_check.cpponly. Environment: Linux; I can build the tool with clang-cl and run the usage paths and--self-testunder Wine, and I will say plainly that the launcher end-to-end run is on Windows and not reproducible here.AI-assisted.
@triggered02 on GitHub · 2026-12-03 16:47 UTC · original
PR #3950 now makes the tool say this instead of failing silently:
All four usage-error paths are covered, the exit code stays 2, and
--self-testgained a case for each path plus an assertion that the echoed command line survives; a negative control (restoring one silent return) makes the self-test fail. Verified by running each path on a Linux Wine host — the launcher's own run on Windows is not reproduced here, so the argument your launcher passes is still unknown. After this lands, the failing step in the launcher log should name it.If you can attach the launcher's command line for the
offscreen_check.exestep, that will also tell us whether the launcher is calling it correctly in the first place.AI-assisted.