Fix outdated D3D compiler disabling ray tracing on Linux #308

Manually merged
github merged 1 commit from github-bot/gh-308 into gh-pr/308/base 2026-12-06 01:06:03 +00:00 AGit
Owner

@⁠oguska on GitHub · 2026-12-05 22:58 UTC · original
oguska:fix/linux-modern-d3dcompiler → linux-test · +34 −4 · 4 files · 1 commits · merged 2026-12-05 23:18 UTC

Problem

Winetricks can install the 2013 Windows 8.1 d3dcompiler_47.dll. It is native and passes the current size check, but rejects cs_5_1/vs_5_1 with X3506, leaving host ray tracing disabled. See https://github.com/Winetricks/winetricks/issues/2522.

Change

  • Detect the exact known 2013 x64 DLL and warn in setup checks and the launcher.
  • After Winetricks installation, upgrade that version from the Microsoft Windows SDK 10.0.28000.2705 CAB, verify the extracted DLL SHA-256, and retain a backup. Other native versions are left untouched.
  • Document the failure and how to confirm RT is enabled.

Verification

  • bash -n linux/common.sh linux/setup.sh linux/run.sh
  • shellcheck -s bash linux/common.sh linux/setup.sh linux/run.sh
  • Isolated prefix: old-DLL detection, upgrade, SHA-256, backup, and repeat setup.
  • On an RX 9070 with GE-Proton 11-16, installing this Microsoft DLL changed the game log from X3506 / host RT off to host ray tracing: on. Visual lighting was not independently verified.

Targets linux-test because that branch contains the Linux setup scripts.

**@⁠oguska** on GitHub · 2026-12-05 22:58 UTC · [original](https://github.com/gamingwithhomie/larp/pull/308) `oguska:fix/linux-modern-d3dcompiler` → `linux-test` · +34 −4 · 4 files · 1 commits · merged 2026-12-05 23:18 UTC ## Problem Winetricks can install the 2013 Windows 8.1 `d3dcompiler_47.dll`. It is native and passes the current size check, but rejects `cs_5_1`/`vs_5_1` with X3506, leaving host ray tracing disabled. See https://github.com/Winetricks/winetricks/issues/2522. ## Change - Detect the exact known 2013 x64 DLL and warn in setup checks and the launcher. - After Winetricks installation, upgrade that version from the Microsoft Windows SDK 10.0.28000.2705 CAB, verify the extracted DLL SHA-256, and retain a backup. Other native versions are left untouched. - Document the failure and how to confirm RT is enabled. ## Verification - `bash -n linux/common.sh linux/setup.sh linux/run.sh` - `shellcheck -s bash linux/common.sh linux/setup.sh linux/run.sh` - Isolated prefix: old-DLL detection, upgrade, SHA-256, backup, and repeat setup. - On an RX 9070 with GE-Proton 11-16, installing this Microsoft DLL changed the game log from X3506 / host RT off to `host ray tracing: on`. Visual lighting was not independently verified. Targets `linux-test` because that branch contains the Linux setup scripts.
- Upgrade the known 2013 compiler from Microsoft SDK after verifying its hash.
- Warn about the outdated DLL and document shader model 5.1 failures.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 23:02:49 +00:00
github-bot changed target branch from linux-test to gh-pr/308/base 2026-12-05 23:24:59 +00:00
github manually merged commit 908a1ca601 into gh-pr/308/base 2026-12-06 01:06:03 +00:00
github-bot referenced this pull request from a commit 2026-12-06 01:07:47 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.