[PR #1541] tests: launch the draw and scene guests with PC command lists (TEST-GUEST-DRAW-LIST-ABI) #1569

Open
opened 2026-11-26 20:21:42 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1541
Author: @Rain156
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: rain/guest-draw-list-abi


📝 Commits (1)

  • 6824246 tests: launch the Windows SDK guest draw with PC command lists

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 runtime/test/run_guest_draw.cmake (+2 -0)
📝 scripts/run_guest_scene.py (+3 -1)

📄 Description

Claimed in the coordination issue as: TEST-GUEST-DRAW-LIST-ABI. Claim

Depends on: #984 (merged).

What and why

Both render launchers run tiny_guest_draw.exe, built against the Windows SDK. On current main they start the loader with its default Xbox command-list method order. The first frame calls the wrong methods and Close() returns E_INVALIDARG. The native in-process draw already selects the matching interface.

Set the existing LEONIDA_D3D12_LISTS=pc in the CMake single-draw launcher and in the child environment of the Python scene runner. This scopes the setting to the fixture process and records it in the Python run report.

Tested

Windows 11 x64, MSVC RelWithDebInfo, NVIDIA GeForce RTX 5070 Ti, driver 617.42, main bfef489cb. All scene inputs are synthetic.

  • Before the change, CTests d3d12_translated_draw_guest and d3d12_guest_scene both failed on frame 1 when the fixture closed its list. Supplying the matching ABI in the parent made both pass.
  • Ran both updated launchers with the parent explicitly requesting the console list order. The single draw passed its 4,096-pixel check. The scene completed all 600 frames, reproduced the saved run on resume, and rejected both a corrupted scene and a corrupted checkpoint. The frame-chain digest was 424a0ed99442a42a.
  • The six guest-scene reference tests and the changed-file game-data check passed. The translator suite on the shared base passed all 6,279 tests in 487 files.

AI-assisted: Yes (Codex).

The claim linked above was posted before this PR. Issue #14 reached GitHub's 2,500-comment limit before the completion notice could be posted.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1541 **Author:** [@Rain156](https://github.com/Rain156) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `rain/guest-draw-list-abi` --- ### 📝 Commits (1) - [`6824246`](https://github.com/ubiquitarianism/leonida/commit/6824246d9b861954814b15905eae228065a9fb90) tests: launch the Windows SDK guest draw with PC command lists ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/run_guest_draw.cmake` (+2 -0) 📝 `scripts/run_guest_scene.py` (+3 -1) </details> ### 📄 Description Claimed in the coordination issue as: TEST-GUEST-DRAW-LIST-ABI. [Claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7152211519) Depends on: #984 (merged). ### What and why Both render launchers run `tiny_guest_draw.exe`, built against the Windows SDK. On current main they start the loader with its default Xbox command-list method order. The first frame calls the wrong methods and `Close()` returns `E_INVALIDARG`. The native in-process draw already selects the matching interface. Set the existing `LEONIDA_D3D12_LISTS=pc` in the CMake single-draw launcher and in the child environment of the Python scene runner. This scopes the setting to the fixture process and records it in the Python run report. ### Tested Windows 11 x64, MSVC RelWithDebInfo, NVIDIA GeForce RTX 5070 Ti, driver 617.42, main `bfef489cb`. All scene inputs are synthetic. - Before the change, CTests `d3d12_translated_draw_guest` and `d3d12_guest_scene` both failed on frame 1 when the fixture closed its list. Supplying the matching ABI in the parent made both pass. - Ran both updated launchers with the parent explicitly requesting the console list order. The single draw passed its 4,096-pixel check. The scene completed all 600 frames, reproduced the saved run on resume, and rejected both a corrupted scene and a corrupted checkpoint. The frame-chain digest was `424a0ed99442a42a`. - The six guest-scene reference tests and the changed-file game-data check passed. The translator suite on the shared base passed all 6,279 tests in 487 files. AI-assisted: Yes (Codex). The claim linked above was posted before this PR. Issue #14 reached GitHub's 2,500-comment limit before the completion notice could be posted. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1569
No description provided.