Skip to content

run_guest_scene: take the Wine from $WINE when --wine is not given - #313

Closed
Andretuta wants to merge 1 commit into
mainfrom
old-pr/10047
Closed

Andretuta wants to merge 1 commit into
mainfrom
old-pr/10047

Conversation

@Andretuta

Copy link
Copy Markdown
Collaborator

Carried over from old PR 10047 by SkippySteve in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10047, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
SkippySteve: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7117065492

On Linux, scripts/run_guest_scene.py stops at --wine is required outside Windows even when WINE names the Wine to use (for example UMU-Proton's files/bin/wine). run_wine_tests.py already defaults --wine to $WINE.

  • --wine now defaults to $WINE. A blank WINE counts as unset, and --wine still wins when both are given.
  • The error messages and help text mention WINE, and "not found" now names the path it tried.
  • New tests/test_run_guest_scene_wine.py (synthetic files only) covers: Wine taken from WINE, --wine-arg with Wine from WINE, --wine overriding WINE, unset/blank WINE still refused, and a WINE that does not exist. On main 5 of its 5 tests fail; with this change they pass. test_docs_cli_flags, test_dev_guest_scene and test_dev_discovery still pass.

I checked it on Arch with UMU-Proton 11.0: with WINE=…/UMU-Proton-11.0-2e-x86_64/files/bin/wine, parse_args resolves to that wine. With WINE unset it still exits 2. No game files, no GPU.

AI-assisted (Claude Code, Claude Opus 5.5).

On Linux the script stopped at '--wine is required outside Windows' even
with WINE naming the Wine to use (e.g. UMU-Proton's files/bin/wine), while
run_wine_tests.py already defaults --wine to $WINE. --wine now defaults to
$WINE (blank counts as unset); --wine still wins when both are given.
ubiquitarianism pushed a commit that referenced this pull request Nov 24, 2026
… original

CONTRIBUTING.md, AGENTS.md, the French contributing page and the issue
template's build link sent contributors to ItsNotRexed/Leonida, which went
private on 23 November 2026: the claims search, the gh command an agent is
told to run, #166 and #313 all led nowhere.

They now use ubiquitarianism/leonida, say that older #N numbers are from the
original tracker, and name what replaces them here (#18, #17,
gpu-test-results/, docs/d3d12_vulkan.md). Adds the done: line and the main
target from the coordination issue.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ubiquitarianism pushed a commit that referenced this pull request Nov 24, 2026
--github read the D3D- table with `gh issue view 313`. That number was the
tracking issue of the repository the project started in. Here no such
issue exists, so the D3D12 panel was empty without a word, and once this
repository reaches that number the tool would read an unrelated item.

The issue is now the open one whose title starts with "D3D12 → Vulkan
layer" (looked up like the coordination issue), or the one --d3d-issue N
names. When there is none, or it cannot be read, the sources list says so
(github_d3d12: missing / invalid) and no other issue is read.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ubiquitarianism added a commit that referenced this pull request Nov 24, 2026
progress_dashboard: find the D3D12 tracking issue by title, not as #313 (DASH-D3D-ISSUE)
@MoonEyes

Copy link
Copy Markdown
Collaborator

Thanks a lot for carrying this over, @Andretuta. The same change is in #1239: it keeps SkippySteve's commit from old-pr/10047 and adds one follow-up commit so that, on native Windows, a WINE variable in the environment is ignored unless --wine is given, with tests for that case. It was claimed in #14 as OLD-10047.

I am closing this draft so the review happens in one place. Please continue the discussion on #1239, or reopen this one if you see something it misses.

AI-assisted (Claude Code, Claude Opus 5.5)

@MoonEyes MoonEyes closed this Nov 27, 2026
tiguan26 pushed a commit to tiguan26/leonida that referenced this pull request Nov 28, 2026
…igned-unwind

loader: unwind a 16-byte aligned copy of the context
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.

3 participants