Enable GPU read-through for compatible fills in linux/play.sh #415

Closed
safesearch77 wants to merge 661 commits from upstream-pr/415 into main
safesearch77 commented 2026-11-28 13:26:44 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by safesearch77 on 2026-11-28T13:26:44Z.


#374 (0148258 / 7706eb9) enabled VICTORY_PLACED_FILL_REDIRECT=1 beside VICTORY_PLACED_ORDER=1 in scripts/play.ps1 for NVIDIA launches outside -Safe.

linux/play.sh is kept in sync by hand with scripts/play.ps1's NVIDIA preset, so add VICTORY_PLACED_FILL_REDIRECT=1 beside VICTORY_PLACED_ORDER=1 outside SAFE=1 there as well.

Verification

  • bash -n linux/play.sh: clean.
  • cargo +1.98.1 xtask policy: asset policy: 322 files ok.
  • Not yet tested through linux/play.sh directly (our separate Proton launcher already sets VICTORY_PLACED_FILL_REDIRECT=1 under GE-Proton11-14).
<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5540585994 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/415). Originally posted by [safesearch77](https://github.com/safesearch77) on 2026-11-28T13:26:44Z. --- `#374` (`0148258` / `7706eb9`) enabled `VICTORY_PLACED_FILL_REDIRECT=1` beside `VICTORY_PLACED_ORDER=1` in `scripts/play.ps1` for NVIDIA launches outside `-Safe`. `linux/play.sh` is kept in sync by hand with `scripts/play.ps1`'s NVIDIA preset, so add `VICTORY_PLACED_FILL_REDIRECT=1` beside `VICTORY_PLACED_ORDER=1` outside `SAFE=1` there as well. ### Verification - `bash -n linux/play.sh`: clean. - `cargo +1.98.1 xtask policy`: `asset policy: 322 files ok`. - Not yet tested through `linux/play.sh` directly (our separate Proton launcher already sets `VICTORY_PLACED_FILL_REDIRECT=1` under `GE-Proton11-14`).
TaynanGT commented 2026-11-29 11:35:46 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:46Z.


Thanks for bringing the Linux launcher in line with #374. Please keep the Safe path and explicit overrides intact. A matched Linux run should check placed-copy correctness and rendered FPS independently of the Windows result.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255218924 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/415#issuecomment-7255218924). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:35:46Z. --- Thanks for bringing the Linux launcher in line with #374. Please keep the Safe path and explicit overrides intact. A matched Linux run should check placed-copy correctness and rendered FPS independently of the Windows result.
safesearch77 commented 2026-11-29 13:20:04 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by safesearch77 on 2026-11-29T13:20:04Z.


Updated linux/play.sh to use VICTORY_PLACED_FILL_REDIRECT="${VICTORY_PLACED_FILL_REDIRECT-1}" inside the non-SAFE branch, keeping SAFE=1 untouched while preserving any explicit caller override (including 0, 1, or empty "").

Verified with bash -n linux/play.sh, shell env-override checks (default -> 1, override_0 -> 0, override_empty -> "", safe_1 -> unset), and cargo xtask policy (322 files ok). Note: this was not tested in a live linux/play.sh world run (our local runs use scripts/run-vice-tay-sandbox.sh, which sets VICTORY_PLACED_FILL_REDIRECT=1 directly).

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7256460571 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/415#issuecomment-7256460571). Originally posted by [safesearch77](https://github.com/safesearch77) on 2026-11-29T13:20:04Z. --- Updated `linux/play.sh` to use `VICTORY_PLACED_FILL_REDIRECT="${VICTORY_PLACED_FILL_REDIRECT-1}"` inside the non-`SAFE` branch, keeping `SAFE=1` untouched while preserving any explicit caller override (including `0`, `1`, or empty `""`). Verified with `bash -n linux/play.sh`, shell env-override checks (`default -> 1`, `override_0 -> 0`, `override_empty -> ""`, `safe_1 -> unset`), and `cargo xtask policy` (`322 files ok`). Note: this was not tested in a live `linux/play.sh` world run (our local runs use `scripts/run-vice-tay-sandbox.sh`, which sets `VICTORY_PLACED_FILL_REDIRECT=1` directly).
TaynanGT commented 2026-11-29 14:39:04 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T14:39:04Z.


Thanks for preserving SAFE=1 and explicit overrides, including the empty value. That is the behavior I want to retain in the launcher. Your shell checks are useful; live Linux placed-copy correctness and FPS remain unverified.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7257468641 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/415#issuecomment-7257468641). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T14:39:04Z. --- Thanks for preserving SAFE=1 and explicit overrides, including the empty value. That is the behavior I want to retain in the launcher. Your shell checks are useful; live Linux placed-copy correctness and FPS remain unverified.
TaynanGT commented 2026-11-30 17:08:19 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:08:19Z.


main has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current main and open a new PR; I'll review it there.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285777962 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/415#issuecomment-7285777962). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:08:19Z. --- `main` has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current `main` and open a new PR; I'll review it there.

Pull request closed

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
TaynanGT/Vice-Tay!415
No description provided.