Repository navigation
Fix halt:N, stride overflow, and the window's live status - #1
Open
PrimeBuild-pc wants to merge 3 commits into
Open
PrimeBuild-pc wants to merge 3 commits into
PrimeBuild-pc wants to merge 3 commits into
Conversation
errors=halt:N was accepted and then run as log, including as a CLI override of a config that had it. cpu-stride near usize::MAX wrapped the span check and aborted. A tmr-cfg.json that did not parse could be replaced by defaults, and unknown keys were dropped on save. WHEA corrected and total were two atomics, so one step could call a corrected event uncorrected. The window can stop its own calibration, keeps the error count in the header on every tab, and no longer paints a running soak green. Common plan, memory, cycles and errors settings write into the same parameters box. A sound on the first error is off by default. Timings and temperatures are read only, from a ZenTimings snapshot or LibreHardwareMonitor, when those are already running.
…results The window's Calibrate no longer passes --yes. When a calibration is already stored, a dialog asks to replace it or keep it; Esc and a closed window keep it. Nothing stored is still saved without a question. A run records ZenTimings primaries and a DIMM temperature when those tools are already running. The field is left out of the results file otherwise, so older files and the goldens stay as they are. Compare names the primaries when two runs differ.
tmr --get-readings fetches the official releases into companions\, checks the hashes, and does not install their drivers. --launch starts them; used alone it does not start a test. The window menu does the same download and puts the instructions in the Log tab.
jlpetz
added a commit
that referenced
this pull request
Nov 25, 2026
…ers keep their names, a rounded half-rate clock lands on its JEDEC rate, and an unchanged machine keeps its memory_id Review of 5c4bdfa (TODO 132's forum feedback): - Slots: a board that prints its slots from 0 (EC2 m6a.metal's CPU0_DIMM_A0, c5.metal's DIMM_A0) gave A-0 labels, and A-1 meant its second slot where it means the first on AMD's default. parse_smbios now keeps every Type 17's Device and Bank Locator, empty sockets too, and a 0 printed in any of them counts the machine's printed numbers from 1. Dell PowerEdge's bare A1..A16 (the letter a CPU socket, the number across its channels) no longer reads as channel A slot 16: a bare letter and number keeps the board's name. A machine mixing the printed scheme with AMD's default takes the board's names. Each number is 1 or 2 digits, so a firmware string "DIMM 4294967295" no longer overflows the + 1 (a debug-build panic). - A module SMBIOS names nothing (a VM's) keeps an empty slot again, so the console says "a module" and the window "DIMM 1", as their fallbacks mean, not "#1". sysinfo.rs's two doc comments follow. - Speeds: a pre-3.1 half-rate clock's double goes to the JEDEC rate within 2 MT/s of it (rates are multiples of 200/3 MT/s), so an MSI B350 TOMAHAWK ARCTIC's 1067 reads 2133 MT/s, not "2134 MT/s (SMBIOS max 2133)"; DDR4-2933's 1466/1467 read 2933, DDR3-1333's 667 1333. The Speed field (0x15, MHz before 3.1 too) takes the same rule. A clock at or above the type's slowest rate (1600, DDR4-3200's) can't be told from DDR4-1600 without a firmware table and stays as it reads; the doc says so. - memory_id: the fingerprint hashes the maximum as earlier builds hashed speed_mts, and the configured speed only where it is known and differs, so a machine whose configured speed is 0 or the maximum keeps the memory_id its earlier results and the 2026-11-03 baselines recorded (this dev box: 68da59656cfb2e1c again), while an XMP/EXPO change still moves it. Where it moves, compare_identity now says why: a "Module speeds" line, "not recorded" for a result from before 5c4bdfa. - Tests: parse_smbios over a built firmware table (the version reaching the speeds, the Bank Locator from 0x11, an empty socket's name reaching the slots, the fingerprint against the old formula); the dead MemoryModule::speed_mts() is gone; test_detect_smbios no longer prints "MT/sMT/s".
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Evidence
tmr errors=halt:5is accepted and the console saysError Mode: Log and continue.cpus=2 cpu-stride=18446744073709551615wraps the span check and aborts. A badtmr-cfg.jsoncan be replaced by defaults on the next calibration save. A running soak stays green on every tab except Run.After: session tests assert
errors=halt:5isHaltAfter(5). A stride that overflows returns an error. A file that does not parse is left as it was, and an unknown key survives a save. GUI tests still pass, including the calibration progress line.cargo +nightly test --libon the engine modules touched, andcargo +nightly test -p test-memory-r-gui --lib.Merge Danger
Door: two-way
The results JSON schema is unchanged.
MBnow means 1024×1024 on bothmemory=2048MBandmemory=2048MB-from-available(it was decimal only on the second). A window that had nonotifykey stays quiet.Blast Radius: a soak that asked to stop at N errors, and the window during a failing run.