Skip to content

[RDTE ONLY] Qualify SuperTux 0.7 Windows game with CPU-only Wine/LLVMpipe - #135

Draft
mark-e-deyoung wants to merge 28 commits into
mainfrom
rdte/supertux-win-cpu-20261023
Draft

mark-e-deyoung wants to merge 28 commits into
mainfrom
rdte/supertux-win-cpu-20261023

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Disposable $0 Windows game RDTE (DRAFT / DO NOT MERGE)

Objective: Exercise the genuine Windows portable build of open-source SuperTux 0.7.0 (2D game with OpenGL rendering) on a CPU-only WineBot container using public GitHub Actions Linux runners. This follows independently established Win32 WGL/LLVMpipe qualification on WineBot #132 and Windows OpenTTD startup on #133; this PR is separate so the other experiments are not interrupted.

Source custody: SuperTux upstream GitHub release v0.7.0, exact SuperTux-v0.7.0-win64-portable.zip, 2026-03-15; publisher asset SHA-256 d637f79e8a77fc4d42982cfea40f74f812d5050b9d6d53309b287dae734e1970. Download URL is exact official asset and SHA256 validation fails closed. No unapproved proprietary binaries; no game assets are republished or licensed for model-training distribution by this test.

Test boundaries: secured closed/unmerged PR #130 candidate at 8814b4995a73ff582a1500675943f2e559a6e117 as code base (carries prior isolated security patches, not production authority). Build actual WineBot intent-slim, add isolated Debian Mesa LLVMpipe runtime, run with network disabled, CPU/3GB RAM/PID budgets and explicit software GL. Assert only renderer readiness, real Windows game's visible X11 window and nonblank varied window-scoped content, with PNG strictly ephemeral. No raw diagnostic logs, images, private host data, API keys, savegames or artifacts uploaded.

Not established: gameplay FPS, native Windows parity, broker-mediated input, control reliability, 3D/shader stress, CV label correctness. No merges, releases, runner/HIL deployment, privileged personal work, private workflows or spending. Preserve security issue SemperSupra/agent-dispatch-private#515, conformance-v1 red gate, source-admission and release gates.

Next baton: Inspect exact Actions run and job results; classify first failure as acquisition, image build, renderer, launch/window or pixel/capture, rather than inventing success. Record next evidence in this PR.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 first SuperTux Windows CPU/GL qualification

Exact head 6b11604, public Actions run https://github.com/SemperSupra/WineBot/actions/runs/40008543025 job 120602615237 completed FAILURE at rendered-content gate. Confirmed official upstream SuperTux v0.7.0 Windows portable ZIP SHA256 (d637f79e8a77fc4d42982cfea40f74f812d5050b9d6d53309b287dae734e1970) PASS; actual WineBot+Mesa child image build PASS; LLVMpipe OpenGL selected PASS; genuine Windows SuperTux window visible PASS. Window-specific ImageMagick PNG capture returned success, but numeric variety/dimension validation reported UNQUALIFIED, with aggregate values suppressed in v1. Do not infer the renderer drew a valid game scene; possible startup timing, black GLX front buffer, or screenshot oracle mismatch. Next bounded corrective action: validate numeric dimensions/colors from successive window-scoped, ephemeral samples with strictly allowlisted scalar metadata, then compare X11 screenshot paths. No PNG/raw stderr upload or production gate change.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 SuperTux screenshot oracle refinement

First public Windows SuperTux 0.7 test https://github.com/SemperSupra/WineBot/actions/runs/40008543025 verified official 294MB upstream SHA-256 ZIP, WineBot/Mesa image, llvmpipe GLX, visible genuine Windows SuperTux window, and ImageMagick window-scoped capture. It failed only the post-capture nonblank/variety gate, originally without numeric data, so cause was ambiguous. Candidate exact head 5201e08 samples up to three bounded ephemeral window frames spaced 3s and prints only validated numerical dimensions and unique color counts; any one frame with >=40 colors and plausible dimensions passes. This distinguishes early startup/blank frames from persistent blank capture; does NOT automatically identify GUI contents or establish game play. No PNG, raw logs, window IDs, credentials, host identity or assets uploaded. Public run https://github.com/SemperSupra/WineBot/actions/runs/40009134177 in progress. Preserve first failures and draft/merge/security gates.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 SuperTux Windows visual-capture qualification PASS; readiness finding

Exact source head 5201e08. Public Actions https://github.com/SemperSupra/WineBot/actions/runs/40009134177 job 120604653676 COMPLETED SUCCESS. Official upstream SuperTux v0.7.0 Windows portable ZIP SHA256 d637f79e8a77fc4d42982cfea40f74f812d5050b9d6d53309b287dae734e1970 PASS; true WineBot + Mesa LLVMpipe image build PASS; CPU OpenGL selected PASS; native Windows game top-level window visible PASS; window-scoped ImageMagick capture and verified nonblank colors PASS, with two samples: sample1 width1280 height720 unique-colors=1 (blank); sample2 width1280 height720 unique-colors=122258 (visually rich). No PNG, game-save, window handle, host details or raw Wine diagnostics uploaded; final artifact listing [].

First failure of run 40008543025 was a premature one-frame readiness gate, not a permanent OpenGL/Win32 compatibility failure. Corrective bounded multi-sample gate (max 3 captures separated by 3s) qualified startup to first rich frame. This is meaningful evidence for three-audience UI/CV/agent readiness: window-visible is weaker than visual-content-ready. Do not infer frame-by-frame correctness, semantic labels, texture completeness, input action acceptance or actual gameplay FPS. Next READY: measure first-rich-frame latency distribution with repeat starts, compare X11 input interactions to idle frame differences and add visual readiness state as a capability flag, using same sanitized metadata. Keep DRAFT/UNMERGED and all #515 public source/release/privacy gates.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 direct X11 input qualification extension

Current exact source head 5915602, public Actions https://github.com/SemperSupra/WineBot/actions/runs/40009926213 queued at checkpoint. Earlier terminal run 40009134177 qualified true Windows SuperTux startup and nonblank 1280x720 rendered content on second sample. New bounded stage occurs ONLY after visual readiness: focus the live game X11 window using xdotool, send one Down key via XTest, assert the same game still exposes a visible window, and output allowlisted PASS/UNQUALIFIED without raw input traces/screenshots/logs. This qualifies lower-level X11 event submission and liveness ONLY; it cannot establish in-game menu action semantics, WineBot brokered input, accessibility, or keyboard event acknowledgment. Resource/network and release/disclosure gates unchanged. Inspect first failure if focus unsupported under Xvfb.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 SuperTux direct input primitive qualified on public CPU cloud

Exact source head 5915602. Public Actions https://github.com/SemperSupra/WineBot/actions/runs/40009926213, job 120607364709 COMPLETED SUCCESS. Exact allowlisted receipts: upstream SHA256-verified SuperTux v0.7.0 Windows portable PASS, Mesa LLVMpipe CPU OpenGL PASS, actual Windows game visible PASS, scoped 1280x720 rendered game image with 122573 distinct colors PASS (sample 1 this run), X11 focus and Down-key submission returned success while game window remained present PASS. Workflow uploaded zero artifacts; no raw screenshots, game saves, host/hardware identifiers, tokens, window IDs or unfiltered Wine logs exposed.

This establishes a low-level X11 key-injection submission into a visible Wine-managed Windows game, NOT that the game handled the key, an in-game menu changed, WineBot broker/API /input acceptance, semantic accessibility/UIA, or real-world input latency. The prior successful second-frame rendering on run 40009134177 remains independently valid. Next minimal READY action: bound frame-before/after changes against an idle-control interval and verify brokered input on a synthetic licensed scene with event acknowledgments; separately qualify unprivileged Wine HOME/prefix startup (prior --user/HOME A/B failed). Preserve DRAFT/UNMERGED, source custody, $0 public runner, and independent security issue #515 gates.

Copy link
Copy Markdown
Collaborator Author

2026-10-24 visual-input differential finding. Exact source a396566. Public Actions run https://github.com/SemperSupra/WineBot/actions/runs/40045919317 completed SUCCESS with rendered SuperTux Windows scene and accepted direct X11 key submission. Its idle-control screenshot changed 641911 pixels and post-key screenshot changed 628732 pixels. Since animated idle motion exceeds the post-key pixel change, the test reported no reliable action-specific visual difference; do not infer the game acknowledged a menu choice. This negative result motivated a separately deterministic Win32 fixture in draft #132, successfully qualified in run 40076125432. SuperTux menu semantics and WineBot API broker remain unqualified. No raw frames uploaded; PR remains draft/unmerged with security and source gates unchanged.

Copy link
Copy Markdown
Collaborator Author

2026-10-29 source-backed parallel batch, handoff checkpoint

Discover/Observe: Reconciled owning draft PR and prior DLE before writing. Source audit: SuperTux/supertux tag v0.7.0 src/control/keyboard_manager.cpp blob 6264076f2f737e0c65b3716be913f78066e8e115 dispatches SDL input differently when Console, MenuManager or in-game; in menu, SDLK_DOWN=Control::DOWN and SDLK_RETURN=Control::MENU_SELECT. Added fresh-prefix Down/Return menu event and idle-image A/B, focus identity + only numeric AE counts, same pinned source/image. Does not yet prove menu-selected index or game state.

Apply: Test-only exact commit f02fb03a58632d8f31c543e0f65dd7b1f5a48a23 on existing owning draft branch; no merge/release.

Verify pending: Public $0 RDTE run 40919422376; inspect exact job, numbered stage verdicts, first failure, and workflow artifacts. Do not claim terminal PASS until observed. Next READY: if this test passes, use source-defined semantic state rather than just pixels/window; if it fails, preserve prior qualified controls and classify first error before another change. Keep Docker --network none, 2 CPU/3GiB/256 PIDs, no raw log/screenshot/binary upload, protected host/credential disclosure gate agent-dispatch-private#515, WoW v0.0.4, independent conformance/human owner and draft/production holds. Human, automation, agent evidence should remain allowlisted, machine-readable and traceable.

Copy link
Copy Markdown
Collaborator Author

2026-10-29 terminal source-audited SuperTux menu input — PASS submission, not semantics

Exact f02fb03a58632d8f31c543e0f65dd7b1f5a48a23, public Actions 40919422376, job 123608291917 COMPLETED SUCCESS, artifacts []. Official SuperTux v0.7.0 pinned Windows binary, CPU GL renderer and 1280×720 game window PASS, 122,480 distinct colors. Existing direct X11 key accepted; initial idle animation delta 525,194 vs input post-key 626,329 (not semantic).

New actual source-backed input path: Upstream src/control/keyboard_manager.cpp v0.7.0 handles SDL menu Down and Return as Control::DOWN and Control::MENU_SELECT. A separate fresh-prefix menu input experiment focused the named game X11 window then sent source-matched Down and Return: numeric scoped idle_delta=641,866, down_delta=636,510, return_delta=573,182 pixels. Thus multiple large deltas occur even without input; game menu-selection/SDL event acknowledgment/level entry remains UNQUALIFIED despite successful event submission. No screenshots/raw logs/game saves uploaded.

NEXT admitted: Tag v0.7.0 src/supertux/command_line_arguments.cpp blob f0aae8a50a255b58e20797ab23e3554dbed2e267 documents [LEVELFILE], --show-pos; src/supertux/main.cpp blob e8200a1ee46bcce70e21b081a1ee74c4093475ad constructs GameSession for level filename. Head c52ef1b2a9a7ce4bdbd3f8a80391f9bd17f9d841 adds packaged-world1 level presence and bypass-menu launch in same already built public isolated image. Run 40920217314 pending at this checkpoint; preserve exact first failure if file unavailable and no semantic game-state claim until evidenced. Draft/no merge, $0, security #515/CI hold.

Copy link
Copy Markdown
Collaborator Author

2026-10-29 direct GameSession first failure, source-guided path correction next

First terminal failure: Candidate c52ef1b2a9a7ce4bdbd3f8a80391f9bd17f9d841, public RDTE 40920217314, job 123611099823: existing official SuperTux v0.7.0 checksum, LLVMpipe renderer, true 1280×720 Windows menu and SDL Down/Return menu diagnostic all PASS. New separate direct-level step reported PASS: packaged world1 level file discovered, then outer 145s container deadline expired exit 124, before qualified named direct-level window or numeric framebuffer receipt. Distinguish hard deadline from app error, map/gamestate UNKNOWN; workflow artifact API previously []. Previous graphics/menu qualification remains accepted; source-backed direct gameplay is RED.

Relevant source invariant: Tag v0.7.0 src/supertux/main.cpp, blob e8200a1ee46bcce70e21b081a1ee74c4093475ad, Main::launch_game loops positional filenames and on #ifdef WIN32 applies std::filesystem::weakly_canonical before mounting file directory into PhysFS; for .stl non-worldmap filenames it instantiates GameSession. Original harness fed POSIX container path /game/.../level.stl to Windows process, not canonical Wine DOS path. This is a source-supported probable path-representation mismatch, not yet confirmed root cause. A single unbounded xdotool window search can also obscure the first failure.

NEXT APPLY: Convert only the packaged POSIX level filepath via Wine-provided winepath -w with bounded timeout and expose pass/failure category; use bounded xdotool search per retry. Rerun same official binary, graphics and level without tuning image acceptance. All raw logs, visual material, private host identities, binary/package are kept local; zero-upload and security #515/owner/draft holds persist.

Copy link
Copy Markdown
Collaborator Author

2026-10-29 source-backed direct SuperTux level corrective candidate — admitted

Authoritative first failure run 40920217314 at c52ef1b2a9a7ce4bdbd3f8a80391f9bd17f9d841: official archive/WGL/window/SDL menu event and packaged World1 .stl found; new direct-level branch exceeded outer 145s timeout (exit 124) without qualified window result or explicit app failure class. The prior visual/menu tests remain green. No artifacts uploaded.

Source-backed correction applied: Tag v0.7.0 SuperTux/supertux/src/supertux/main.cpp WIN32 Main::launch_game applies std::filesystem::weakly_canonical to the positional LEVELFILE before mounting its path and constructing a GameSession. Old harness passed POSIX path; actual Windows app requires Wine DOS path. Commit b2860a949c4b4f0cd695a5a6d961ade9e7148265 changes only direct-level test harness to translate packaged /game/... via bounded Wine winepath -w with explicit pass or fail and applies per-call X11 window-search bounds to avoid indefinite poll. The actual game/level, rendering acceptance, limits and security gates are not relaxed. POSIX-vs-Win32 path was a supported hypothesis; do not claim confirmed fix unless terminal scene passes.

Verify pending: public run 40921435406, standard CI 40921435391. NEXT check first per-step class, explicit Wine DOS conversion, real game name/nonblank/window, artifact []. If timeout persists, instrument exact start/prefix stage and record category, not accept level or action. DRAFT/unmerged, independent conformance/owner/security #515 holds, $0 public runner --network none, no image/log/binary uploads.

Copy link
Copy Markdown
Collaborator Author

2026-10-29 terminal direct GameSession launch after DOS-path correction — remains UNQUALIFIED

Exact source b2860a949c4b4f0cd695a5a6d961ade9e7148265, public Actions run 40921435406, job 123615406564, FAILED at direct-level stage on outer 145s timeout, exit 124. Prior pinned official SuperTux v0.7.0 checksum, LLVMpipe, real 1280×720/122,138-color Windows game menu, direct X11 submission and SDL source-matched Down/Return numeric diagnostics PASS independently. Packaged World1 .stl file discovered PASS. New bounded Wine Unix→DOS path translation PASS after ~9sec. Nevertheless no direct-level window/visual PASS or explicit UNQUALIFIED app-stage diagnosis before outer container timeout; artifacts [].

Causal correction falsification: Simple Unix-path mismatch is NOT a sufficient fix. Source Main::launch_game handles [LEVELFILE] through WIN32 canonicalization, PhysFS mounting and then GameSession; we have only shown the path translation completes, not that the game reaches any of those internal stages. Existing scripts may block on Wine first-run, game-level loading or non-time-bounded X11 command; user-visible image is not trustworthy evidence here. No source-level level/world state proof.

NEXT READY: Run a cheap bounded preflight/timeout classifier FIRST (exact embedded Windows process STARTED, winepath output safe category, wineboot WINEPREFIX initialization, Wine process alive, X11 socket responsive, source local log category), rather than spending entire 145sec then getting generic 124. If process starts and no window while X11 responsive, qualify public source-instrumented GameSession stage or change only documented launch prerequisites. Avoid blind retries or acceptance relaxation. Keep DRAFT/UNMERGED; all security #515, source custody, $0 public, no external network or screenshot/raw log uploads, independent CI conformance/owner gates unchanged.

Copy link
Copy Markdown
Collaborator Author

WineBot 2026-10-29 session transfer — verified DLE baton (WoW v0.0.4)

Authority and exact state: Owning public draft PR #135 at commit b2860a949c4b4f0cd695a5a6d961ade9e7148265; open, unmerged. This baton reconciles prior first-failure/terminal receipts rather than replacing them. Do not re-run already accepted checks without a changed evidence need.

Accepted, scoped evidence: Official pinned Windows SuperTux 0.7.0, CPU GL, named 1280x720 game window, SDL source-matched menu Down/Return event submission; in-run package world1 .stl discovery and winepath -w conversion PASS. Earlier accepted graphics/menu; latest overall RDTE FAILURE at new direct-level gate. Source v0.7.0 src/control/keyboard_manager.cpp, src/supertux/command_line_arguments.cpp, and src/supertux/main.cpp GameSession. Terminal first-failure receipt #6503823782.

Material UNKNOWN / failure boundary: Actual menu selection, GameSession/level start and player control unqualified. Direct-level step timed out after 145 seconds (exit 124) even after valid path translation, no image/game state was verified. CPU rendering and menu submission controls are not invalidated.

Latest exact-head CI: experimental RDTE 40921435406; standard CI 40921435391. Standard preflight & build smoke SUCCESS; conformance FAILURE; no waiver.

Next bounded action / acceptance: P1 READY: bounded stage classifier before long poll: Wine prefix readiness, Windows level path translation, process alive, GUI/X11 request responsiveness, local allowlisted game load/PhysFS/level stage. Use strict per-command timeouts and earlier exit/first-failure receipt. If phase proved, implement native GameSession/position state oracle and input negative control. Do not simply retry timeout or use pixel-color acceptance.

Parallelism and batching: Owner PR is independently executable on disposable $0 public Actions. Reuse pinned installer, source revision, image, and Xvfb/Wine prefix setup for multiple independently scored oracles per build, with per-stage time/resource caps. Sequence source/custody preflight → baseline positive/negative → new specific oracle → exact-head verification. Fail-fast cheap diagnostics before expensive matrix; do not conceal red subgates by overall success.

All-audience UI/UX/DX: Keep test name, version/provenance, supported operation, preconditions, typed allowlisted verdict, limitations, first failure and next action discoverable for humans (PR/workflow), deterministic automation (job exit/markers), and agents (source anchors and bounded recipe). Native application readback is necessary for semantics; pixels are supporting evidence only.

Safety/owner stop gates: $0 public-runner RDTE only; isolated --network none, 2 CPU/3 GiB/256 PID bounds; no externally served UI, secrets, protected context, raw screenshots, unfiltered logs, installers/executables, or sovereign data uploads. Respect applicable private security policy, source/license custody, independent conformance, authorization and human owner release decisions. No merge, release, deployment or production promotion. Escalate a genuinely missing permission or semantic acceptance right, not routine run completion.

Next session instruction: Discover exact current head/CI/DLE before Apply; continue highest READY source-backed step, preserve accepted evidence and contradictions. Source-identified Windows path conversion was insufficient; preserve negative finding.

Copy link
Copy Markdown
Collaborator Author

2026-11-06 independent public RDTE runner-venue reconciliation (non-release)

Updated existing branch in place, preserving original test-source custody. Exact current head d9bc6658a57c7b5bc1d694965ce0411ab74fe098: only the existing .github/workflows/supertux-win-cpu-rdte.yml job venue changed from moving ubuntu-latest (observed to resolve to Ubuntu 26 in WineBot's failing CI) to explicit ubuntu-24.04, the same public runner image that passed WineBot's isolated real Wine startup. No game binary/digest, Wine/renderer test program, source license, assertion, artifacts policy, contract or release change. An earlier dedicated source-qualified result was 40921435406 FAIL; it remains historical and cannot be assigned to the changed current head.

Disposition: OPEN-ACTIVE RDTE. Current-head full Windows-game test verdict is unverified at time of comment; do not claim target-game compatibility or native Windows acceptance based on pinned runner alone. Gate includes official asset digest checking, user-visible geometry/renderer evidence, zero-cost public venue and prior first-failure correction. This branch has independent unique fixture work and is NOT safe to close or fast-forward into product main solely for Git hygiene. No remote branch deletion or private Actions minutes.

Copy link
Copy Markdown
Collaborator Author

Owner-approved shared five-lane corpus alignment (2026-11-25): reuse the existing Notepad++/7-Zip/VLC/OpenTTD/SuperTux scenarios and exact admitted executable/fixture hashes, independent outcomes and control gates, not a new competing harness. UIO adds observation correlation, source-aware/source-withheld recovery, semantic/causal critics; stock vs hook-assisted runs remain separate. No native Windows parity until qualified same-binary reference and interactive capability. Preserve current PR and security gates. Follow-up: match existing scenario receipts and add outcome assertions, OFF/ON sensor comparison and first divergence. This is a planning crossfeed only; no change to this PR or release status.

This branch has not been deployed

No deployments
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.

1 participant