github physicsdolphin/nv-uefi-unlocker v2.1.12-rc8
v2.1.12-rc8(pre-release)——\tx.ini 聚合配置、控制臂大扫除(19 臂退役)、Turing rebar 实验性支持

pre-releaseone hour ago

v2.1.12-rc8(pre-release)——\tx.ini 聚合配置、控制臂大扫除(19 臂退役)、Turing rebar 实验性支持

这是 pre-release;Latest 仍为 v2.1.11。 资产:BOOTX64.EFI.2.1.12-rc8(TX 构建事务版)、BOOTX64.EFI.readonly.2.1.12-rc8(只读负控版)、nv-uefi-unlocker-v2.1.12-rc8.zip(maker 全家桶:双平台制盘脚本 + assets 工具 + 嵌套 EFI/BOOT/BOOTX64.EFI,不含 ssdiag——杀软误报隔离政策,ssdiag 一律单独下载)、ssdiag-x86_64-windows-0.8.14.exe(本版更新,见下方 ssdiag 0.8.10→0.8.14 节)。falcgen-x86_64-windows-0.2.0.exe + falcgen-x86_64-linux-0.2.0(本版更新:FUC4 变体——fuc4 解码器进主车道,oracle 对拍 gp102 sec2 镜像逐位验证;见下方 falcgen 节)。校验和以 SHA256SUMS.2.1.12-rc8 为准。

本版三大主线

1. 配置文件简化(#290)

盘根几十个零字节/单行 marker 文件收进一个 \tx.ini(UTF-8,注释 #/;,key 裸行=开、key = value;完整键表与文法见 docs/tx-ini.md):

  • marker 全部照常工作——没有 \tx.ini 的盘行为与之前逐位相同;ini 是可选聚合层;
  • 同一臂两处都设 = 拒绝引导(INI-REFUSED: 逐行列出冲突,GPU 零写入);解析/取值错误同样拒跑;未知键仅警告;
  • rebar 文法终形:恒 <target>/<advertise> 斜杠形,0 = 该侧不写,0/0 = 整臂跳过;
  • maker 同步:制盘脚本默认生成 \tx.ini(quiet/ultrafast 合并为一个三选问句),-LegacyMarkers/--legacy-markers 保留旧散文件布局给旧二进制;双向冲突清扫——ini 形态检测到目标目录有同臂旧 marker、legacy 形态检测到残留 tx.ini 时列出并询问删除(默认 N,脚本化只警告);
  • zip 布局修正:usbroot/ 不再生成误导性的平铺 BOOTX64.EFI,只发 EFI/BOOT/BOOTX64.EFI(固件唯一认的路径,#142 的完整收尾)。

2. 代码精简(三轮 owner 审查清扫,#296)

19 个 marker 臂退役且核心逻辑连根删除(全部零探测、老盘上放了也无效果):

退役臂 依据
legacy 递归重连路径(+3 marker) 纯负效果功能:早于 native-GOP 默认,自带 #35/#61 死锁族 + R7000 DDC-CI 致病形态
stop-on-failure(+tx_policy 模块) 零现场采纳;失败路径无条件走 emergency FLR + 下一卡
keep-assets 释放无条件执行(v2.1.11 起)
staging 三件套 自动重试梯(STAGING-FALLBACK / FWSEC-FALLBACK)端到端拥有带选择权
meta-in-vram #89 实测证伪轴(VRAM meta 读回垃圾 exit 0x89)
sec2-c-load(连 90 行镜像函数) #17/#62 C 参照火矩阵臂完结
sec-base / bootvec-sec nsstub 摆位季研究残留
no-bridge-master BME 使能无条件(DMA 路径必需)
pre-flr-on(连函数) kernel-matching 流终胜
accept-warm-wpr2 / require-d0 安全阀逃逸口退役;warm 入口的响亮日志+强制 D0 读回即是现场分辨
sbr-gpu SBR 内建进所有 rebar 臂(XVE 页 reset-gated,是前提不是旋钮)
gop-reorder / free-assets no-op 残留;tx-gop-disconnect 同轮改名 gop-disconnect-all

reconnect 键改为 on/off 且默认 rebar 感知:rebar 臂激活时自动暗交棒(对写+重连=已证 Code 12 族)。tx.ini 相关新代码走独立 txini crate(no_std,romcore 模式,host 17 用例);ro/tx 双 profile 0 警告、242 host 测试绿;19 个退役名二进制字符串级核验 ABSENT。

3. Turing rebar 实验性支持(免 BIOS 改、每次引导重放,公告 D#293)

rebar = <target>/<advertise> 在 claim+SBR 窗口内经 XVE 镜像写 0x610(advertise)+0xBC0(select)——NV_30_DXE 模板。TU106 2070 台架全链实证:SS 解锁 + BAR1 8/32G 同 boot 双收益(VERDICT UNLOCKED + canary intact + 32G live)。四边界安全域(select≠厂值且 <4G / advertise≤32G)与回退判据见 evidence 与 D#293。

image

已知边界(重要):rebar 态 + 休眠(S4)重启 = 不可用组合(进 Windows 后硬挂死,Kernel-Power 41;n≈2 100%)。纯 SS 解锁的休眠不受影响(基线实测可用)。3×4 解锁态矩阵与机制候选见 evidence——缓解候选(FAQ 标注 / loader warm 入口拒写)待单 rebar 行空白格裁决后落地。实验特性,自担风险。

falcgen 0.1.0 → 0.2.0(payload 生成器随版更新)

  • FUC4 变体:fuc4 指令集解码进 --gate 车道——oracle 对拍 gp102 sec2 镜像逐位验证(env-gated 静默跳过的 oracle 测试不变);此前 fuc4 只在记忆车道登记未立项,本版落地;
  • 双平台产物随版发布(Windows exe + Linux ELF)。

ssdiag 0.8.10 → 0.8.14(系统内检查/修复工具随版更新)

  • 任意写 --target-offset <off> --value <v>(写+读回验证)与任意读 --read-offset A / A-B(0.8.10/11 新增,写臂的读侧对应物):系统内直接读写任意 BAR0 寄存器面——解锁状态的系统内重放(ssdiag --reapply)、XP3G slot1/slot2 等从未读过的面、gen2 3 写配方的单点验证都靠这一对(读侧只读可重复、区间步进按字、上限 512 字、输出排序去重);
  • BAR1 面三件套:
  • --bar1-scan(0.8.12):真实可用 BAR1 实测(config control 0xBC0 + 0x610 override 读回 + 15 个偏移 256MiB..31GiB 的 0xff 饱和边界扫描,只读)——loader rebar 写之后的休眠恢复孔径问题的直接测量工具;
  • --bar1-scan-write(0.8.13):不停 GPU 的写 differentiate 探针(4 偏移 × 读/翻转/读回/恢复/确认,页中位放置,跨点值比较区分独立解码与混叠窗口);污染 ≤16 字节、微秒级、恢复验证;
  • per-pid 提取路径(0.8.14):ssdiag-pmxdrv-<pid>.sys——两个并发实例不再争抢固定 Temp 名(os error 32 竞态修复),各清各的副本 + 尽力清扫旧固定名。

升级注意

  • 只换 U 盘 EFI\BOOT\BOOTX64.EFI 即可升级(tx 版 sha256 b0949f54…4667d);marker 保持原样。老盘带退役 marker 无任何影响。
  • 想用 ini:盘根新建 \tx.ini(或用新版 maker 重制盘,交互式生成);同臂 marker 记得删(留着会 INI-REFUSED 拒跑——这是 fail-closed 设计,不是 bug)。
  • rc7 的 diag 构建不随 rc8 续发(rc7 是诊断特刊);需要诊断 profile 时从 rc7 tag 取用。

English summary

v2.1.12-rc8 (pre-release) — \tx.ini consolidated config, a 19-arm control-surface retirement sweep, experimental Turing rebar support, and ssdiag 0.8.14.

1. Config simplification (#290)

One optional \tx.ini at the stick root replaces the scattered marker files (UTF-8, #/; comments, bare key = on, key = value; the full key table and grammar live in docs/tx-ini.md):

  • Every marker file keeps working exactly as before — a stick without \tx.ini behaves bit-for-bit identically; the ini is an optional aggregation layer, not a replacement;
  • An arm set in BOTH the ini and its marker file refuses the boot (INI-REFUSED: lines list every conflict, zero GPU writes); parse/value errors refuse the same way; unknown keys only warn (bench/ablation knobs deliberately stay marker-only);
  • rebar grammar terminal form: always <target>/<advertise>, 0 = don't write that side, 0/0 = skip the whole arm; bare and half-slash forms refuse with a rewrite hint;
  • The maker ships the ini by default: quiet and ultrafast merge into one three-way output-profile ask, -LegacyMarkers/--legacy-markers restores the individual-file layout for pre-ini binaries, a bidirectional conflict sweep lists stale conflicting markers (ini shape) or a stale tx.ini (legacy shape) and offers deletion (default N; scripted runs warn only), and the misleading flat BOOTX64.EFI is gone from the layout — only EFI/BOOT/BOOTX64.EFI, the one path firmware auto-boots, is emitted.

2. Code slimming (three owner-reviewed sweeps, #296)

19 marker arms retired WITH their core logic — all zero probes, inert on old sticks:

retired arm basis
legacy recursive-reconnect path (+3 markers) negative-effect-only feature: predated the native-GOP default, carried the #35/#61 deadlock family and the R7000 DDC-CI untrained-panel shape
stop-on-failure (+ the tx_policy module) zero field uptake; the failure path now unconditionally runs emergency FLR + next card
keep-assets the cache free is unconditional (since v2.1.11)
staging trio the automatic retry ladders (STAGING-FALLBACK / FWSEC-FALLBACK) own band selection end-to-end
meta-in-vram falsified axis (#89: VRAM-resident meta reads back as garbage, exit 0x89)
sec2-c-load (+ a 90-line mirror function) the #17/#62 C-reference fire matrix arm, concluded
sec-base / bootvec-sec nsstub placement-season research residue
no-bridge-master BME enable is unconditional (mandatory on the DMA path)
pre-flr-on (+ the function) the kernel-matching flow won and shipped
accept-warm-wpr2 / require-d0 guard escape hatches retired; the loud warm-entry log + forced readback-verified D0 IS the field triage
sbr-gpu SBR is now BUILT-IN to every rebar arm (the XVE page is reset-gated — a precondition, not a knob)
gop-reorder / free-assets no-op residue; tx-gop-disconnect renamed to gop-disconnect-all the same round

The reconnect key became on/off and is rebar-aware by default: an active rebar arm defaults to the dark handoff (rebar pair + any GOP reconnect = the proven Code 12 family). New ini code lives in its own txini crate (no_std, the romcore pattern, 17 host cases); both build profiles are warning-free, 242 host tests green, and all 19 retired names are verified absent from the binary at the string level.

3. Experimental Turing rebar support (no BIOS change, per-boot replay, announcement D#293)

rebar = <target>/<advertise> writes the 0x610 (advertise) + 0xBC0 (select) pair through the XVE mirrors inside the claim+SBR window — the NV_30_DXE template. Full-chain proven on the TU106 2070 bench: SS unlock + 8/32G BAR1 in ONE boot (VERDICT UNLOCKED + canary intact + 32G live). The four-boundary safety domain (select ≠ factory and <4G / advertise ≤ 32G) and the fallback criteria live in the evidence directory and D#293.

image

Known boundary (important): rebar state + S4 hibernate resume = an unusable combination (hard hang inside Windows, Kernel-Power 41; n≈2, 100%). Pure-SS hibernate is unaffected (the baseline survived). The 3×4 unlock-state matrix and the mechanism candidates are in the evidence README — the mitigation candidates (an FAQ note / a loader-side warm-entry refusal) land after the single-rebar blank cell is adjudicated. Experimental — use at your own risk.

4. falcgen 0.1.0 → 0.2.0 (the payload generator, updated with this release)

  • FUC4 variant: the fuc4 instruction-set decoder joins the --gate lane — oracle-verified bit-for-bit against the gp102 sec2 image (the env-gated oracle tests keep their silent-skip contract); fuc4 was a registered-but-unstarted lane until now;
  • dual-platform artifacts ship with the release (Windows exe + Linux ELF).

5. ssdiag 0.8.10 → 0.8.14 (the in-OS inspect/repair tool, updated with this release)

  • Arbitrary write --target-offset <off> --value <v> (write + readback-verified) and arbitrary read --read-offset A / A-B (0.8.10/11, the write arm's read-side counterpart): direct read/write of any BAR0 register face from inside the OS — in-OS reapplication of the unlock state (ssdiag --reapply), never-read faces like XP3G slot1/slot2, and single-point verification of the gen2 three-write recipe all run on this pair (the read side is read-only, repeatable, word-step ranges, 512-word cap, sorted deduped output);
  • The BAR1 trio:
  • --bar1-scan (0.8.12): real usable-BAR1 measurement (config control 0xBC0 + the 0x610 override readback + a 0xff-saturation boundary scan at 15 offsets from 256 MiB to 31 GiB, read-only) — the direct measuring tool for the hibernate-resume aperture question after loader rebar writes;
  • --bar1-scan-write (0.8.13): a live-GPU write-differentiate probe (4 offsets × read/flip/readback/restore/confirm, page-middle placement, cross-point value comparison separates independent decode from an aliased window); corrupts ≤16 bytes for microseconds, restore-verified;
  • per-pid extraction path (0.8.14): ssdiag-pmxdrv-<pid>.sys — two concurrent instances no longer race the fixed Temp name (os error 32); each cleans up its own copy plus a best-effort sweep of the legacy fixed name.

Upgrade

  • Replacing the stick's EFI\BOOT\BOOTX64.EFI is the whole upgrade (tx build sha256 b0949f54…4667d); keep the markers as they are. Retired markers on old sticks have no effect.
  • To adopt the ini: create \tx.ini at the stick root (or remake the stick with the new maker, which generates it interactively) and delete the same-arm markers — a leftover pair refuses the boot (INI-REFUSED). That is the fail-closed design, not a bug.
  • The rc7 diag build is not carried forward (rc7 was the diagnostics special); pull it from the rc7 tag when needed.

Don't miss a new nv-uefi-unlocker release

NewReleases is sending notifications on new releases.