Skip to content

[RDTE ONLY] Run pinned OpenTTD Windows game on CPU-only WineBot public runner - #133

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

mark-e-deyoung wants to merge 33 commits into
mainfrom
rdte/openttd-win-cpu-20261023

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Disposable public $0 RDTE — DO NOT MERGE

Purpose: Test a real open-source Windows game inside WineBot's Wine/Xvfb environment using only disposable public GitHub Actions Linux runners. This is an independent game probe alongside WineBot CPU renderer draft PR #132, not a game compatibility release.

Inputs and source custody

Test

  1. Verify official artifacts and stage free graphics data.
  2. Build the real WineBot intent-slim image without publishing.
  3. Launch the actual Windows OpenTTD executable under Wine, CPU LLVMpipe environment, isolated Xvfb, --network none, limited CPU/memory/PIDs.
  4. Require a visible OpenTTD window; report only PASS/UNQUALIFIED, never raw titles, screenshots, logs, host identity or private paths.
  5. No artifact upload; no unattended uploads, installed services, persistent credentials or external VNC ports.

Disposition and acceptance

This qualifies at most Windows game installation/start and window visibility, not 3D performance, input fidelity, active game simulation, visual correctness, native Windows parity, Wine 11, NVDA/UIA, or CV training-data suitability. Record first failures and exact run/job IDs in this PR. Maintain independent security authority SemperSupra/agent-dispatch-private#515, legacy-v1 red contract gate, and review/merge/release gates. Keep DRAFT/UNMERGED; no production image publication.

This PR is deliberately independent so the already-running WGL qualification on #132 is not interrupted by further branch updates.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 exact-head OpenTTD first-failure recovery

Public $0 run: 40005459602, initial source c54cbadc0870e61d2b0948a0246aaf825ba53e34, job 120592111168 completed FAILURE.

Observed boundaries: (1) officially signed checksum assertions for OpenTTD Windows x64 15.3 and OpenGFX 8.0 PASS; (2) full WineBot intent-slim container build PASS; (3) game window smoke UNQUALIFIED — the script terminated the polling loop immediately after the foreground wine launcher exited, before giving detached Windows/X11 child processes time to map the window. This is an oracle/launcher-lifecycle ambiguity, not yet a demonstrated OpenTTD rendering defect. No screenshots, artifact uploads or private endpoints.

Corrective candidate: c65d1c7f694559a95eb85737e48c73c2e4a6ed4e. Removed the premature parent PID-exit break; poll for bounded 60 seconds even if the wrapper exits. WineBot, OpenTTD and OpenGFX binaries/identities unchanged. Observe next exact workflow run to determine genuine window success/failure. No production promotion/merge or game-compatibility PASS inferred yet.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 resumed execution — second OpenTTD failure and renderer dependency fix

Reconciled exact retry 40005780655, job 120593186475: publisher SHA256 checks PASS, WineBot intent-slim image build PASS, full 60 s visible-window poll UNQUALIFIED. First run's launcher-lifecycle early exit is eliminated; persistent no-window under the tested image is now confirmed, but app log was retained job-local and root cause is UNKNOWN, not demonstrated renderer defect.

One missing qualification variable: docker/base.Dockerfile installs Wine/X11 and Vulkan loader, but does not explicitly install Mesa GL software renderer, while our actual Windows OpenGL success on #132 uses a derived Mesa layer. Introduced opt-in docker/openttd-software-gl.Dockerfile with Mesa LLVMpipe stack at commit 4be9b1e94089a2138ba69f15d6ffcbf2b644e008; current workflow head 8f0ce20e73d739bb8aca6e49bffa5df506be957d builds and executes that child image. Public run 40006341201 queued/pending at checkpoint. A pass would establish only game visible-window startup, not rendering fidelity or FPS. A failure needs X11/Wine built-in control and allowlisted error-category probe next. No raw screenshots/log uploads or production promotion.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 OpenTTD Mesa retry and controlled video-driver qualification

Second 60s no-window failure 40005780655 persisted; adding explicit Mesa LLVMpipe in current isolated child image also did not establish a visible window in 40006341201, job 120595737171. Official game/OpenGFX hashes and WineBot build remained PASS. Root cause not established because raw Wine logs were deliberately retained only inside the ephemeral CI job.

Next exact candidate: 675949be68b38ba870ad67a463ecfe475543ba0f. It keeps pinned software/assets and $0 public runner, but qualifies (a) glxinfo llvmpipe rendering in that game cell and (b) an actual Wine Notepad X11 visible window, each with fail-closed allowlisted PASS/UNQUALIFIED. It then runs the same OpenTTD Windows executable with its documented -v win32 video driver, null sound/music and no-config-write -x, matching either window name or class. This is a Windows GDI/video-driver baseline, not proof that OpenTTD itself uses LLVMpipe. If GLX or Notepad fails, stop and classify infrastructure; if both pass but game remains invisible, classify app/asset/video-driver compatibility for deeper investigation. No logs, screenshots or sensitive host fields published. No merge/release authority.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 third game RDTE terminal — Wine X11 baseline isolated

Public run 40007069035, job 120597570208, exact head 675949be68b38ba870ad67a463ecfe475543ba0f, completed FAILURE at Wine built-in baseline, BEFORE the game command. The checks were:

  • Official OpenTTD and OpenGFX checksum/source staging PASS;
  • Derived WineBot + Mesa CPU renderer image build PASS;
  • glxinfo -B inside the actual game container confirmed LLVMpipe software OpenGL PASS;
  • Wine Notepad visible X11 window within 30s UNQUALIFIED.

Therefore, the previous OpenTTD no-window findings cannot be attributed to game compatibility: this user/HOME X11/Wine setup did not even satisfy its built-in Notepad control. This aligns with independent PR #132 WGL stress where the changed user/HOME override produced immediate first-case failure, and reverting user/HOME restored all 3 tests while retaining CPU/memory/PID limits (run 40006273124).

Next exact candidate 8758269f645001061e084dfb1c3a39bff5a941a0 removes only the container --user 1000:1000 and HOME override on this isolated synthetic public run, retaining CPU/memory/PID limits, network isolation, official app hashes, explicit Mesa and safe PASS/UNQUALIFIED controls. This is a comparative RDTE, not approval to use root in production. Follow with non-root proper prefix/home admission, not silent relaxation. Current X11/Game verdict UNKNOWN pending exact rerun.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 terminal Windows OpenTTD game startup success

Exact head 8758269; public $0 Actions run https://github.com/SemperSupra/WineBot/actions/runs/40007543456; job 120599196145 COMPLETED SUCCESS. Actual job logs confirm (1) official SHA-256 verified OpenTTD 15.3 Windows x64 and OpenGFX 8.0 archive staging PASS; (2) WineBot intent-slim plus Mesa child image build PASS; (3) LLVMpipe GLX probe within same isolated runtime PASS; (4) Wine Notepad visible-window control PASS; (5) actual OpenTTD Windows executable with documented Win32 video driver -v win32, null sound/music, configuration-write-disabled -x presented a visible named or class-matched X11 game window PASS. Exact workflow artifact enumeration [] — no ZIPs/screenshots/raw Wine logs, host-identity or credentials published.

Falsification outcome: prior no-window failures on this branch were not proof of OpenTTD game incompatibility; Docker --user 1000:1000 and HOME override defeated even Wine Notepad baseline; removing those overrides while preserving --cpus=2 --memory=3g --pids-limit=256 and --network none restored both built-in and game startup. This is disposable test execution ONLY; root-in-container is NOT recommended as product default. Next independent gate is a properly writable unprivileged HOME and Wine prefix using fresh documented setup, plus programmatic input and visual-frame correctness on a wholly synthetic/window-scoped fixture. Game win32 GDI baseline does not prove 3D/OpenGL game rendering or actual gameplay/simulation FPS. Preserve draft/unmerged, $0/public-safe, security #515, source custody, contract and release gates.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 OpenTTD rendered-content qualification admitted

Previous exact-head run https://github.com/SemperSupra/WineBot/actions/runs/40007543456 qualifies checksum-pinned OpenTTD Windows executable startup, explicitly selected Win32 graphics/video driver, same-environment LLVMpipe GLX probe, and Wine Notepad X11 control. It does not qualify actual game pixels. New additive candidate at source head 2b8effb adds an explicitly window-scoped, temporary PNG capture using ImageMagick X11 import, validates bounded frame dimensions and at least 40 unique pixel values, emits only an allowlisted PASS/UNQUALIFIED boolean, and discards the PNG in the ephemeral container. No screenshots, window identifiers, raw Wine logs, host hardware, credentials or packages are uploaded. Public run https://github.com/SemperSupra/WineBot/actions/runs/40008113964 is in progress. This is a basic nonblank/variety oracle, not semantic CV recognition or controlled game interaction. Next: if passed, qualify comparison of two window frames and bounded input; if failed, preserve the first capture/renderer reason and avoid fabricating correctness.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 scoped screenshot first failure is harness cleanup order

Prior source head 2b8effb, public run https://github.com/SemperSupra/WineBot/actions/runs/40008113964 job 120601139398: official asset checks, derived image build, LLVMpipe GLX, Wine Notepad X11 baseline and visible OpenTTD window ALL PASS. The new scoped PNG color-diversity gate failed with UNQUALIFIED: game window id selection. Source reinspection found definitive harness race: code killed Wine launcher + wineserver BEFORE trying to select window ID for capture. This test was invalid; not an OpenTTD display defect. Candidate exact head 54daa7d delays process termination until AFTER window-specific capture, validating geometry and >=40 distinct colors, exposing only allowlisted PASS/UNQUALIFIED, not PNG/identifiers/logs. Next observe exact CI result, then gate transient frame-difference and real input separately. Draft/unmerged, $0 and independent security/release gates remain.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 OpenTTD scoped framebuffer gate PASS

Exact source head 54daa7d, public Actions run https://github.com/SemperSupra/WineBot/actions/runs/40008658257 job 120603003339 completed SUCCESS. Official OpenTTD 15.3 Win64 and OpenGFX 8.0 checksums PASS, derived WineBot+Mesa image build PASS, llvmpipe GLX PASS, Wine Notepad baseline PASS, actual Win32 OpenTTD window PASS. Import/ImageMagick window-scoped capture and numeric content oracle (width>=200, height>=120, >=40 unique colors) PASS, establishing a visible nonblank 2D game window. No screenshot artifact uploaded, no raw process/window IDs or logs exposed. Earlier capture failure due killing wineserver too early is corrected and preserved. The OpenTTD -v win32 driver is a GDI windowing baseline, not proof of OpenGL render path, gameplay interaction, semantic CV labels, or steady-state performance. Next READY: keep game alive for bounded input, compare idle vs action frames with a calibrated difference oracle, and independently restore least-privilege Wine prefix. PR remains draft/unmerged under security #515.

Copy link
Copy Markdown
Collaborator Author

2026-10-24 next READY gate: nonroot HOME/Wine/X11 qualification

Reconciled #133: exact successful public Win64 OpenTTD + OpenGFX build/rendered-window receipt run 40008658257. Prior startup attempts failed with --user 1000:1000 and HOME changes; removing overrides restored both Wine Notepad baseline and actual game. This did not isolate the precise mechanism; do not promote root execution as production policy.

Added a separately named sequential job step in the already-admitted WineBot+Mesa public workflow at exact source 0614f75c94ae9d2608580d0a81fe18a20c19220b, Actions 40045948648. Reuses same already-built isolated experiment image; runs with --user 1000:1000, explicit HOME, writable isolated /tmp tmpfs (512MB), fresh WINEPREFIX; checks UID/home/tmp permissions, Wine prefix wineboot -u, and Wine Notepad visible X11 window using allowlisted stage verdicts. Limited to network none, 2 CPUs, 3GB and 256 PIDs with local-only suppressed Wine diagnostic logs. The prior OpenTTD game test remains a separate earlier step; this new gate can fail independently. A PASS qualifies unprivileged Wine/X11 baseline, not game or brokered API under nonroot. Observe first failure and no-artifact result, keep draft/unmerged, no release or security #515 bypass.

Copy link
Copy Markdown
Collaborator Author

2026-10-24 nonroot Wine X11 RDTE — terminal qualification receipt

Exact source 2d1778213bd32547df652d6a377abef98ea7c050. Public Actions run 40076034119, job 120819447258, COMPLETED SUCCESS. Official pinned OpenTTD+OpenGFX integrity checks, WineBot/Mesa build, LLVMpipe GLX, Wine Notepad visible-window control, Windows OpenTTD window, and nonblank scoped capture all PASS.

Independent follow-on nonroot control, --user 1000:1000 --cpus=2 --memory=3g --pids-limit=256 --network none, explicitly writable home and isolated tmpfs:

  • UID/writable home/tmp PASS
  • WINEPREFIX=/tmp/winebot-nonroot-fixture wineboot FAILED with exit=1
  • Retried WINEPREFIX=$HOME/.winebot-nonroot-fixture, wineboot PASS
  • Under that HOME-based prefix Wine Notepad produced a visible X11 window PASS.
  • Artifact list []: no screenshots/raw logs/installer/host identity uploaded.

Decision: unprivileged Wine prefix initialization plus visible built-in Windows GUI are QUALIFIED with owned HOME prefix, but tmpfs prefix is UNQUALIFIED and root cause of its rc=1 remains UNKNOWN. The OpenTTD game run is still a separate root-in-container control; do not extend this pass to game under UID1000, WineBot API broker, or production promotion.

Next READY: test real OpenTTD executable using successful UID1000 + HOME-owned prefix in same public disposable container; separately diagnose tmpfs path only if it earns its keep. Keep DRAFT / no merge, no release, $0 only and private security authority #515.

Copy link
Copy Markdown
Collaborator Author

2026-10-24 real Windows game under nonroot HOME Wine prefix — PASS

Exact branch candidate b4731c70c4378abbcd9db4c946835417cbdce2da. Public $0 Actions run 40076299215, job 120820260182, COMPLETED SUCCESS.

Receipts: checksum-pinned official OpenTTD 15.3 Windows x64 and OpenGFX 8.0 integrity PASS, WineBot/Mesa child image build PASS, LLVMpipe software GLX control PASS, Wine Notepad control PASS, OpenTTD real Windows window and nonblank scoped capture PASS. Separate UID=1000 Wine test: writable HOME/tmp PASS, tmpfs WINEPREFIX wineboot exit 1 (UNQUALIFIED), HOME-owned WINEPREFIX wineboot PASS, UID=1000 Notepad X11 PASS. New UID=1000 + HOME-owned WINEPREFIX: official Windows OpenTTD launched with Win32 video backend and produced a nonblank scoped game-frame PASS. Container limits 2 CPUs, 3GB RAM, 256 PIDs, network none; no artifacts uploaded ([]), raw Wine logs or screenshots published.

Adjudication: unprivileged real Windows-game startup and basic frame presentation is QUALIFIED in this derived WineBot image when Wine has a writable home-owned prefix. This does not qualify sound, actual gameplay, WineBot API broker, full OpenGL rendered game path (OpenTTD test selects Win32 video), production rootless image defaults, or recoverability over time. The isolated tmpfs prefix failure remains an optional follow-up, not a reason to block home-owned configurations.

Next READY: qualify container startup and WineBot broker endpoint under this exact UID=1000 HOME prefix in a separate, bounded public synthetic test; then controlled game input and visual-action oracle. Keep PR draft/unmerged; no artifact promotion or security #515 bypass.

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: OpenTTD/OpenTTD tag 15.3 src/openttd.cpp blob 7d585b09e0374362f3fa08cf9fb9819233f1eae2 documents -g immediate new game and -G seed; src/video/win32_v.cpp blob f7821e06772be2b8cd1636f28723a788ad204ca7 forwards Win32 character input through HandleKeypress. Added separate UID1000 HOME Wine prefix -v win32 -m null -s null -g -G 61731 deterministic new-game startup and scoped numeric frame check, reusing existing pinned OpenGFX/WineBot image. This proves requested startup/visualization only, not actual terrain semantics or game input.

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

Verify pending: Public $0 RDTE run 40919284531; 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 OpenTTD source-backed seeded launch (Win32 nonroot) — PASS bounded scope

Exact source 2fbeadec5480c2608a932b4ddf37465aa4f746fa, public $0 Actions 40919284531, job 123607819514 COMPLETED SUCCESS; exact job logs and artifact API verified []. Existing pinned Windows OpenTTD 15.3, official OpenGFX 8.0, LLVMpipe GLX, Wine Notepad built-in control and root/nonroot startup frame all PASS; known tmpfs WINEPREFIX initialization rc=1 still separately recorded, HOME-owned prefix PASS.

New test accepted: Real Windows executable invoked per upstream tag 15.3 src/openttd.cpp documented -g -G 61731 under UID1000 and HOME-owned Wine prefix, with Win32 video/null audio and offline CPU-only disposable container; named window exists, numeric scoped frame 960 × 540 and 401 distinct colors, PASS new-game startup/visible pixels. This is not yet proof of generated map tiles, deterministic map hash, in-game controller state or simulation correctness. No saved game/export, frames/raw logs or private identity published.

Next READY: Test source-defined map-generation invariant and Win32 HandleKeypress action with robust semantic observable (not color entropy); keep prior rootless qualification. Same PR draft/unmerged, $0 and independent security #515/CI contract/release gates.

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 #133 at commit 2fbeadec5480c2608a932b4ddf37465aa4f746fa; 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 OpenTTD 15.3 + OpenGFX 8.0, CPU LLVMPipe, Win32 visible app, UID1000 HOME-owned Wine prefix (not tmpfs), source-defined -g -G 61731 game-start invocation under UID1000, scoped 960x540 401-color frame. Terminal RDTE SUCCESS; artifacts empty. Source: OpenTTD 15.3 src/openttd.cpp and src/video/win32_v.cpp; earlier terminal receipt #6503637262.

Material UNKNOWN / failure boundary: No native map-generation/terrain-state oracle, no game/world correctness and no accepted Win32 action. Tmpfs WINEPREFIX initialization rc=1 remains known and nonblocking for HOME-owned path.

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

Next bounded action / acceptance: P1 READY independently: inspect 15.3 game-creation/native map-state and Win32 HandleKeypress source; add bounded reproducible semantic new-game/map observable and input→native state oracle, not screenshot entropy. Keep seed fixed and existing nonroot launch baseline. If no safe map oracle, record UNKNOWN; do not imply playable game.

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. Independent from #132/#135/#143/#144; avoid duplicating passed Wine startup or GPU smoke.

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 370e17b6099efde673d2e4a5208a1e583dc4825e: only the existing .github/workflows/openttd-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 40919284531 PASS; 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