scarlett: warn about missing Windows DXC dependencies #52

Merged
Valdi320 merged 1 commit from upstream-pr/52 into main 2026-11-24 17:30:45 +00:00
Valdi320 commented 2026-11-24 12:31:02 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-24T12:31:02Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:issue:6581837142 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/52). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-24T12:31:02Z. --- 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.
JohnVonWells commented 2026-11-24 15:09:47 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by JohnVonWells on 2026-11-24T15:09:47Z.

Review: COMMENTED


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.

<!-- greyfinch-sync:brcly/TuxBox:review:6041854974 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/52#pullrequestreview-6041854974). Originally posted by [JohnVonWells](https://github.com/JohnVonWells) on 2026-11-24T15:09:47Z. **Review:** COMMENTED --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
brcly/TuxBox!52
No description provided.