Skip to content

Commit b355c2a

Browse files
committed
v0.2.1: add GB202 validated XBAR bank fallback so wizard works without driver_profile.json
1 parent dc700da commit b355c2a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎src/xbar5090/vf_points.py‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,15 @@ def detect_xbar_bank(api: NvApi, info_id: int = VF_INFO, status_id: int = VF_STA
154154
candidates.append((s, e))
155155

156156
if not candidates:
157-
return _profile_bank()
157+
profile_bank = _profile_bank()
158+
if profile_bank is not None:
159+
return profile_bank
160+
# Validated fallback for the exact GB202 648-active-flat layout.
161+
# This is not a blanket assumption: it only triggers when the live
162+
# active mask matches the known RTX 5090 layout.
163+
if len(active) == 648 and active[0] == 0 and active[-1] == 647:
164+
return (127, 253)
165+
return None
158166

159167
for s, e in candidates:
160168
if s == 127:

0 commit comments

Comments
 (0)