Pass the four Radeon retest overrides through play.ps1 #81

Merged
HandshakeHackin merged 1 commit from upstream-pr/81 into beta-2 2026-11-26 13:52:33 +00:00
HandshakeHackin commented 2026-11-26 13:23:40 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-26T13:23:40Z.


After #52 landed in 5337516, victory.exe honors the four explicit adapter settings. play.ps1 still clears them before starting the executable. A tester using the documented launcher can therefore get two identical configurations when trying to compare a single switch.

Preserve VICTORY_AHEAD_FIRST, VICTORY_CARD_FLAGGED, VICTORY_PASSES_AHEAD and VICTORY_RELAY when supplied. An unset value reaches the executable unset, so the device detection in beta-2 chooses its default. The launcher still clears unrelated inherited switches. The README includes an example of returning to the adapter default.

I exercised the real parent and patched launchers with a child executable that recorded the environment, in Windows PowerShell 5.1 and PowerShell 7. Both prebuild and play dropped all four values on the parent. The patched launcher passed four explicit values or a single RELAY=1 in isolation and preserved the unset case. All 16 checks passed. Windows test log. This verifies launcher behavior. RX 6900 XT stability and frame times still need the physical retest.

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:5510833610 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/81). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-26T13:23:40Z. --- After #52 landed in `5337516`, `victory.exe` honors the four explicit adapter settings. `play.ps1` still clears them before starting the executable. A tester using the documented launcher can therefore get two identical configurations when trying to compare a single switch. Preserve `VICTORY_AHEAD_FIRST`, `VICTORY_CARD_FLAGGED`, `VICTORY_PASSES_AHEAD` and `VICTORY_RELAY` when supplied. An unset value reaches the executable unset, so the device detection in beta-2 chooses its default. The launcher still clears unrelated inherited switches. The README includes an example of returning to the adapter default. I exercised the real parent and patched launchers with a child executable that recorded the environment, in Windows PowerShell 5.1 and PowerShell 7. Both prebuild and play dropped all four values on the parent. The patched launcher passed four explicit values or a single `RELAY=1` in isolation and preserved the unset case. All 16 checks passed. [Windows test log](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45828347407/job/139938259809). This verifies launcher behavior. RX 6900 XT stability and frame times still need the physical retest.
PastiiJay commented 2026-11-26 13:29:44 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:29:44Z.


Good catch, a launcher that silently resets the switch would make every A/B look identical. We will take it on beta-2; #82 is a good first user for it.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193429033 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/81#issuecomment-7193429033). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:29:44Z. --- Good catch, a launcher that silently resets the switch would make every A/B look identical. We will take it on beta-2; #82 is a good first user for it.
PastiiJay commented 2026-11-26 13:30:26 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:30:26Z.


Thanks @HandshakeHackin. Heads-up: 8187780 on beta-2 already stops play.ps1 from forcing RELAY and makes all four default to 0 on RDNA 2. Do you still want the explicit forwarding on top, for testers who set one of them by hand? If so, a rebase on 8187780 would help.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193445292 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/81#issuecomment-7193445292). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:30:26Z. --- Thanks @HandshakeHackin. Heads-up: `8187780` on beta-2 already stops `play.ps1` from forcing `RELAY` and makes all four default to 0 on RDNA 2. Do you still want the explicit forwarding on top, for testers who set one of them by hand? If so, a rebase on `8187780` would help.
HandshakeHackin commented 2026-11-26 13:46:47 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-26T13:46:47Z.


Yes, for the single-switch retest. 8187780 is already the direct parent of 9e0db50. With that parent, a user who sets $env:VICTORY_RELAY=1 before calling play.ps1 gets an unset value in the child process, because the launcher clears Env:VICTORY_*. With this commit the child receives 1. With nothing set, the child receives nothing on both versions and the executable picks the adapter default. The same distinction held in both prebuild and play. Parent and patched launcher output.

I also checked the red CI result. The depth-bounds pixel test read 255 where it expected 0. With #81, #83 and the production depth change from #27 together, that same test passed and the serial beta-2 workspace finished with 653 passed, 0 failed and 11 ignored. Combined Windows job.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193825758 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/81#issuecomment-7193825758). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-26T13:46:47Z. --- Yes, for the single-switch retest. `8187780` is already the direct parent of `9e0db50`. With that parent, a user who sets `$env:VICTORY_RELAY=1` before calling `play.ps1` gets an unset value in the child process, because the launcher clears `Env:VICTORY_*`. With this commit the child receives `1`. With nothing set, the child receives nothing on both versions and the executable picks the adapter default. The same distinction held in both prebuild and play. [Parent and patched launcher output](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45828347407/job/139938259809). I also checked the red CI result. The depth-bounds pixel test read 255 where it expected 0. With #81, #83 and the production depth change from #27 together, that same test passed and the serial beta-2 workspace finished with 653 passed, 0 failed and 11 ignored. [Combined Windows job](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45830001685/job/139943973694).
PastiiJay commented 2026-11-26 13:49:18 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:49:18Z.


Clear, thanks: forwarding still matters for single-switch retests. We will take it together with #83 and #27 for beta-2.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193883649 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/81#issuecomment-7193883649). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:49:18Z. --- Clear, thanks: forwarding still matters for single-switch retests. We will take it together with #83 and #27 for beta-2.
PastiiJay commented 2026-11-26 13:52:49 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-26T13:52:49Z.


In beta-2 now as part of 647ed21. Thanks, single-switch Radeon retests through the launcher should behave as written.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7193964217 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/81#issuecomment-7193964217). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-26T13:52:49Z. --- In beta-2 now as part of `647ed21`. Thanks, single-switch Radeon retests through the launcher should behave as written.
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
PastiiJay/klbf-lab!81
No description provided.