scarlett: warn about missing Windows DXC dependencies #52

Manually merged
github merged 1 commit from gh-pr/52/head into gh-pr/52/base 2026-11-26 06:27:53 +00:00
Owner

@⁠Valdi320 on GitHub · 2026-11-24 12:31 UTC · original
Valdi320:work/scarlett-dxc-preflight → main · +89 −2 · 4 files · 1 commits · merged 2026-11-24 17:30 UTC

The public #39 log reports 0x8007007e during pipeline creation. This is a missing-module HRESULT; the existing rectangle geometry compiler explicitly loads dxcompiler.dll, and the Scarlett setup guide currently mentions only Linux DXC. Add a nonblocking app-local x64 Windows DLL preflight for Scarlett, document matching official dxcompiler.dll/dxil.dll staging, and report actual rectangle DXC load errors once. System-provided DXC remains allowed; the check does not install or overwrite anything.

Validation: 127 Python tests passed; Windows D3D12 provider and its smoke guests compiled on Bazzite. No GPU use or retail launch. Missing DXC is a hypothesis for #39, not a confirmed root cause. AI-assisted contribution.

**@⁠Valdi320** on GitHub · 2026-11-24 12:31 UTC · [original](https://github.com/brcly/TuxBox/pull/52) `Valdi320:work/scarlett-dxc-preflight` → `main` · +89 −2 · 4 files · 1 commits · merged 2026-11-24 17:30 UTC The public #39 log reports 0x8007007e during pipeline creation. This is a missing-module HRESULT; the existing rectangle geometry compiler explicitly loads dxcompiler.dll, and the Scarlett setup guide currently mentions only Linux DXC. Add a nonblocking app-local x64 Windows DLL preflight for Scarlett, document matching official dxcompiler.dll/dxil.dll staging, and report actual rectangle DXC load errors once. System-provided DXC remains allowed; the check does not install or overwrite anything. Validation: 127 Python tests passed; Windows D3D12 provider and its smoke guests compiled on Bazzite. No GPU use or retail launch. Missing DXC is a hypothesis for #39, not a confirmed root cause. AI-assisted contribution.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:27:51 +00:00
github manually merged commit 02dcc15cfb into gh-pr/52/base 2026-11-26 06:27:53 +00:00
Author
Owner

@⁠JohnVonWells on GitHub · 2026-11-24 15:09 UTC · original · reviewed

Reviewed on Arch Linux + RX 6950 XT.

  • python -m unittest tests.test_host: 19/19 pass (incl. the two new ScarlettWindowsDxc cases).
  • cargo check -p tuxbox-d3d12 --target x86_64-pc-windows-msvc: clean.

The scope is well-chosen: purely advisory, triggers only on game_scarlett_master.exe, doesn't modify files, and the Rust side is one inspect_err with log_once. The PE checks (Machine 0x8664 + Magic 0x20b + Characteristics IMAGE_FILE_DLL 0x2000) cover the x64 DLL case cleanly.

Appreciate the "not a confirmed fix for #39" line — keeps expectations honest.

One small nit: in docs/PROJECTSCARLETT.md, the "The runtime reports an actual compiler load failure separately from other pipeline errors. This is not a confirmed fix for the black-screen report in #39." sentences sit inside what reads like a positive install step. Separating them into a short "Note" block (or bullet) might make the caveat easier to spot for someone skimming only the install flow — but not a blocker.

LGTM.

**@⁠JohnVonWells** on GitHub · 2026-11-24 15:09 UTC · [original](https://github.com/brcly/TuxBox/pull/52#pullrequestreview-6041854974) · **reviewed** Reviewed on Arch Linux + RX 6950 XT. - `python -m unittest tests.test_host`: 19/19 pass (incl. the two new `ScarlettWindowsDxc` cases). - `cargo check -p tuxbox-d3d12 --target x86_64-pc-windows-msvc`: clean. The scope is well-chosen: purely advisory, triggers only on `game_scarlett_master.exe`, doesn't modify files, and the Rust side is one `inspect_err` with `log_once`. The PE checks (Machine 0x8664 + Magic 0x20b + Characteristics IMAGE_FILE_DLL 0x2000) cover the x64 DLL case cleanly. Appreciate the "not a confirmed fix for #39" line — keeps expectations honest. One small nit: in `docs/PROJECTSCARLETT.md`, the "The runtime reports an actual compiler load failure separately from other pipeline errors. This is not a confirmed fix for the black-screen report in #39." sentences sit inside what reads like a positive install step. Separating them into a short "Note" block (or bullet) might make the caveat easier to spot for someone skimming only the install flow — but not a blocker. LGTM.
This discussion has been locked. Commenting is limited to contributors.
No description provided.