Add RX 9060 XT / Ryzen 5 7500F performance profile #243

Open
ytmonster297-cpu wants to merge 1 commit from upstream-pr/243 into main
ytmonster297-cpu commented 2026-11-30 14:44:15 +00:00 (Migrated from github.com)

Imported from DexNom/VIctory. Originally posted by ytmonster297-cpu on 2026-11-30T14:44:15Z.


Add a Start-menu shortcut that runs without ray tracing, renders at 1080p to a 1440p output and skips benchmark readback capture. Add a -NoDiagnostics Setup switch that builds without the diagnostics feature to reduce CPU overhead. Document the profile in the README.

Claude-Session: https://claude.ai/code/session_01Uu9NvKqwBzG9WxQEDDvsgx

<!-- greyfinch-sync:DexNom/VIctory:issue:5567500298 --> Imported from [DexNom/VIctory](https://github.com/DexNom/VIctory/pull/243). Originally posted by [ytmonster297-cpu](https://github.com/ytmonster297-cpu) on 2026-11-30T14:44:15Z. --- Add a Start-menu shortcut that runs without ray tracing, renders at 1080p to a 1440p output and skips benchmark readback capture. Add a -NoDiagnostics Setup switch that builds without the diagnostics feature to reduce CPU overhead. Document the profile in the README. Claude-Session: https://claude.ai/code/session_01Uu9NvKqwBzG9WxQEDDvsgx
Zippp69 commented 2026-11-30 16:08:45 +00:00 (Migrated from github.com)

Imported from DexNom/VIctory. Originally posted by Zippp69 on 2026-11-30T16:08:45Z.


Review of 729af93

Clarify or enforce the capture guarantee. The built launcher forwarded an inherited VICTORY_CAPTURE_READBACKS=1 to a stub runtime when started with the shortcut's exact arguments. The runtime compiles the capture check without diagnostics and honors this variable when relay is enabled. If the profile must force capture off, explicitly disable it for that shortcut. Otherwise describe capture as off by default and update the setup comment about capture hooks. The no-diagnostics release build and five launcher tests passed. Launcher · Runtime

<!-- greyfinch-sync:DexNom/VIctory:comment:7284187380 --> Imported from [DexNom/VIctory](https://github.com/DexNom/VIctory/pull/243#issuecomment-7284187380). Originally posted by [Zippp69](https://github.com/Zippp69) on 2026-11-30T16:08:45Z. --- Review of `729af93` **Clarify or enforce the capture guarantee.** The built launcher forwarded an inherited `VICTORY_CAPTURE_READBACKS=1` to a stub runtime when started with the shortcut's exact arguments. The runtime compiles the capture check without diagnostics and honors this variable when relay is enabled. If the profile must force capture off, explicitly disable it for that shortcut. Otherwise describe capture as off by default and update the setup comment about capture hooks. The no-diagnostics release build and five launcher tests passed. [Launcher](https://github.com/DexNom/VIctory/blob/729af930f61ae8cd1767ae25d1b75221b71d1e00/apps/victory/src/play_launcher.rs#L225-L234) · [Runtime](https://github.com/DexNom/VIctory/blob/729af930f61ae8cd1767ae25d1b75221b71d1e00/crates/victory-gpu/src/host.rs#L1769-L1772)
Zippp69 commented 2026-11-30 19:31:10 +00:00 (Migrated from github.com)

Imported from DexNom/VIctory. Originally posted by Zippp69 on 2026-11-30T19:31:10Z.


Tested fix for inherited readback capture. Follow-up to the capture review at 729af93.

Change LaunchOptions::capture_readbacks to Option<bool>, defaulting to None. Parse both flags as follows:

} else if option == "--capture-readbacks" || option == "--no-capture-readbacks" {
    let enable = option == "--capture-readbacks";
    if options.capture_readbacks.replace(enable).is_some_and(|old| old != enable) {
        bail!("Choose one readback capture mode");
    }

Remove capture from the enable-only environment list and set it explicitly when requested:

if let Some(enabled) = capture_readbacks {
    child.env("VICTORY_CAPTURE_READBACKS", if enabled { "1" } else { "0" });
    if enabled {
        writeln!(log, "Dirty-page readback capture requested")?;
    } else {
        writeln!(log, "Dirty-page readback capture disabled")?;
    }
}

Add --no-capture-readbacks to the RX 9060 XT shortcut and document it in the README and usage string. Remove the setup comment's claim that the no-diagnostics build has no capture hooks. Six launcher tests passed, including both orders of conflicting flags. The built launcher and a stub runtime confirmed that the exact shortcut forces inherited capture from 1 to 0, the normal launcher preserves it, and the explicit enable flag still sets it to 1.

<!-- greyfinch-sync:DexNom/VIctory:comment:7289525340 --> Imported from [DexNom/VIctory](https://github.com/DexNom/VIctory/pull/243#issuecomment-7289525340). Originally posted by [Zippp69](https://github.com/Zippp69) on 2026-11-30T19:31:10Z. --- **Tested fix for inherited readback capture.** Follow-up to [the capture review](https://github.com/DexNom/VIctory/pull/243#issuecomment-7284187380) at `729af93`. Change `LaunchOptions::capture_readbacks` to `Option<bool>`, defaulting to `None`. Parse both flags as follows: ```rust } else if option == "--capture-readbacks" || option == "--no-capture-readbacks" { let enable = option == "--capture-readbacks"; if options.capture_readbacks.replace(enable).is_some_and(|old| old != enable) { bail!("Choose one readback capture mode"); } ``` Remove capture from the enable-only environment list and set it explicitly when requested: ```rust if let Some(enabled) = capture_readbacks { child.env("VICTORY_CAPTURE_READBACKS", if enabled { "1" } else { "0" }); if enabled { writeln!(log, "Dirty-page readback capture requested")?; } else { writeln!(log, "Dirty-page readback capture disabled")?; } } ``` Add `--no-capture-readbacks` to the RX 9060 XT shortcut and document it in the README and usage string. Remove the setup comment's claim that the no-diagnostics build has no capture hooks. Six launcher tests passed, including both orders of conflicting flags. The built launcher and a stub runtime confirmed that the exact shortcut forces inherited capture from 1 to 0, the normal launcher preserves it, and the explicit enable flag still sets it to 1.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/243:upstream-pr/243'
git switch 'upstream-pr/243'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/243'
git switch 'upstream-pr/243'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/243'
git switch 'upstream-pr/243'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/243'
git switch 'main'
git merge --squash 'upstream-pr/243'
git switch 'main'
git merge --ff-only 'upstream-pr/243'
git switch 'main'
git merge 'upstream-pr/243'
git push origin 'main'
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
DexNom/VIctory!243
No description provided.