mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3795] [Engine] Field report: 0.1.41 -> 0.2.2 upgrade on two AMD rigs - mixed NVIDIA+AMD installer mispick + silent tuning-flag rollback #1602
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1602
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @twining69-tech on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3795
Ran the full 0.1.41 -> 0.2.2 (engine 0.1.47) upgrade on two Windows AMD rigs this week. One daily-driver, one test bench. Summary + two concrete fixes you could ship.
What went great
Bug 1: mixed NVIDIA+AMD rig — installer picks the wrong GPU, silently wrong build
On a rig with an RTX 3060 + RX 7900 XTX, setup asks "which cards?" with NVIDIA as the default, and WMI on that machine reports BOTH GPUs as 4 GB (measured: 12 and 24). So the default answer installs the CUDA build on the weaker card. First install attempt was a full waste.
Suggest: enumerate adapters via DXGI (or at least cross-check reported VRAM against the actual adapter) and make
--backend hipprominent in install docs — mixed rigs are increasingly common (game GPU + compute GPU).Bug 2: "keep user settings" silently reverts undocumented tuning flags
Setup preserved core flags but reset an undocumented tuning set: a spec-min-p style ratio went back to 0.5 and two adaptation flag groups vanished from the args (they exist in the binary but not in --help). Only caught by diffing the config against a pre-update snapshot.
Suggest: either document the tuning flags in --help, or preserve user_args verbatim and diff-report anything reverted.
Corroboration
Hardware: RX 7900 XTX 24GB (gfx1100, daily) / RX 6700 XT 12GB (gfx1031, bench), Windows, 64GB RAM (96GB coming).
@github-actions[bot] commented on GitHub (Oct 23, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@twining69-tech commented on GitHub (Oct 23, 2026):
Edited the title to carry the [Engine] prefix per the housekeeping note - thanks for the pointer. Both flagged findings still reproduce cleanly on two separate Windows AMD rigs (7900 XTX daily + 6700 XT bench): the installer preferring CUDA bits on mixed-rig machines, and tuning flags silently rolling back across the upgrade. Logs and exact repro steps on request. Happy the first-party HIP vision reader let us retire a hand-built bridge we had maintained since 0.1.41 - that is the win worth shipping in the changelog.
@github-actions[bot] commented on GitHub (Oct 23, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Oct 26, 2026):
Thanks for the field report. For the setup question 'Which cards?' on the mixed RTX 3060 and RX 7900 XTX rig, please send the setup output from that prompt, including where the 4 GB figure appeared. For the tuning flags that went back to defaults, please send the config's args list before and after the update (remove the keys you do not want to share) and the Strata version you started from. You can reopen with those at any time.
@twining69-tech commented on GitHub (Oct 28, 2026):
Reopening with the three items you asked for.
1. Setup output from the "Which cards?" prompt — mixed RTX 3060 + RX 7900 XTX rig
The Oct 26 update run was console-only (no log was kept). We re-ran the same 0.2.2
setup.py --checkon the same rig and the prompt block reproduces:With
--check(like--yes) theask("Which cards?", ["1", "2"], "1")call auto-answers the default — the CUDA build on the 3060 is picked even though the XTX is the bigger card. The default answer on a mixed rig is the mispick.Where the 4 GB figure comes from:
Win32_VideoController.AdapterRAMon this machine reports the same capped value for both discrete GPUs:setup.py's Windows AMD enumerator (
amd_gpus_windows()) prefers the registry's 64-bitHardwareInformation.qwMemorySizeand falls back to the WMI 32-bit figure when it is absent — the code's own comment:# WMI's 32-bit figure (at most 4 GB)(0.2.2 setup.py, L4186-4187). On the first install attempt, before any HIP engine existed,hip_devices()was empty and this WMI path was the enumerator: the AMD line showed "4 GB" for the 7900 XTX. The registry values are present now (24.0 / 12.0 GB), which is why a re-run today shows correct numbers — the fallback fires exactly when the driver has not provisioned them, which is the state a fresh mixed-rig install starts in. Suggestion stands: cross-check the WMI figure against the registry/qwMemorySize(or DXGI) before printing it, and consider making the bigger card the default rather than NVIDIA-by-default.2. Config args before and after the update
Before (working hip config, snapshotted pre-update):
After (written by the 0.2.2 updater):
What the updater silently changed on an AMD rig:
--spec-min-p0.70 → 0.5 (the ratio reset from the report)--pcie-frac,--adapt-every,--adapt-swaps,--adapt-decay— all four dropped from argsbackend: "hip"removed;lib_dirsswitched to CUDA v13.0 (the installer mispick made permanent in the config)STRATA_HIPBLASLT_TUNINGenv removed--vram-reserve-mib700 → 1152; visiongpufalse → true,max_tokens300 → 1024user_argspreserved only--vram-reserve-mib— the four tuning flags were not in itNo secrets in these args; only this rig's paths, genericized.
3. Version started from: Strata 0.1.41 → upgraded to 0.2.2 (engine 0.1.47 hip-rdna3 was the working live build; the CUDA mis-build was parked as
engine-CUDA-backup-0151).@RandomGHUser commented on GitHub (Oct 30, 2026):
I'm getting a (related/similar) multigpu issue on the latest version of Strata (wanting to run with AMD RX 7900 XTX, but Strata picking up my NVIDIA card and refuses to run, stating I need to use the NVIDIA version).
This is running in a k8s container on Linux. I've been able to work around the issue by creating an apparmor profile that blocks access to my NVIDIA card devices under the applicable /sys/devices and /proc/bus/pci nodes.