Skip to content

Guided BIOS tuning flow: walk the operator through firmware changes, then re-verify after reboot #80

@VijitSingh97

Description

@VijitSingh97

Builds on the BIOS/firmware advisory in #78 and the optimization-target selector in #79.

Gap. #78 makes doctor passively report suboptimal firmware settings. But BIOS tuning is inherently manual — RigForge can't write setup variables from a booted OS (see the feasibility note in #78) and most changes need a reboot — so it doesn't fit the headless, auto-applying tune flow (tune is non-interactive and self-applies in --live; rigforge.sh:1340). What's missing is a guided, resumable walk-through that detects the current firmware state, hands the operator a prioritized, board-specific checklist, and then verifies the changes actually took on the next run.

Proposed approach. An interactive flow — a new bios subcommand (dispatch at rigforge.sh:2115) or a tune --bios mode — that runs a detect → guide → reboot → re-verify loop, reusing the existing read -r -p prompt pattern (rigforge.sh:188, :888):

  1. Detect current firmware state via doctor: BIOS/firmware advisory — recommend setup changes from system info (XMP/EXPO, SMT, board/BIOS context) #78's probes (board + BIOS version/date, XMP/EXPO/DOCP on?, SMT on?, RAM channels, boost/power cap).
  2. Guide: present a prioritized checklist of the specific BIOS/UEFI changes for the detected hardware — XMP/EXPO/DOCP, SMT, and power/boost settings chosen by the tune: selectable optimization target — raw hashrate vs. hashrate-per-watt (efficiency) #79 target (perf → PBO + max memory profile; efficiency → Eco-Mode/cTDP + Curve-Optimizer undervolt). Walk one item at a time, with the exact setting names.
  3. Reboot: instruct the operator to enter BIOS and apply them (RigForge does not and cannot apply them itself).
  4. Re-verify: on the next run, re-read the same probes and report which changes took and which are still pending — so the loop converges.

Non-goals. Never writes/flashes BIOS (per #78's feasibility note); strictly guided + advisory. Not part of the automated tune sweep — this is the manual, interactive companion to it.

Acceptance. An interactive flow that walks the operator through the relevant BIOS changes for their detected hardware, respects the #79 optimization target, is honest that the changes are manual, and re-verifies each one after a reboot (reporting what's still pending); documented (docs/operations.md, docs/tuning.md) and tested with fake probes driving both the checklist and the verify pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceHashrate / tuning / efficiencysetuprigforge.sh, config.json, first-run setup

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions