Skip to content

Hotfix: smooth attenuation above 7 dB on the deployed build - #19

Closed
RyanTheTide wants to merge 2 commits into
unified/rework-20261024from
fix/smooth-attenuation-deployed
Closed

RyanTheTide wants to merge 2 commits into
unified/rework-20261024from
fix/smooth-attenuation-deployed

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Keep ordinary model requests above 7 dB on the existing gain ramp, up to the card’s discovered attenuation range. Hard model/sense faults, lost observations, failed writes and unrepresentable requests still give the volume lock back. A range fault needs 3 dB of headroom before re-arming.

This is directly above deployed 2f7d16d: the attenuation backport eb8634c, then one fixture-cleanup line in 46dcd79. Current head is 46dcd79. It excludes PR #15’s onset reserve and PR #18’s late-wake change. Profiles, thermal models, ordinary ramps and service settings are unchanged. There are no new CLI options or config knobs; headroom is a constant and the range comes from the card.

The full unmodified Linux aarch64 suites pass: 218/218 on the base and 222/222 on this head. Release builds, Python checks and clippy pass. Linux-native paired coverage is complete for 144 long cases, 20,000 V/I seeds and 10,000 legacy seeds per source. All original case properties pass. The 7.9 dB continuity, inclusive range/hysteresis and failed-write regressions pass.

Hold this draft. The stronger continuous-temperature criterion fails: 845 simulated cases exceed a speaker limit on this head, including 17 newly crossing cases. These are modeled oracle temperatures, not device measurements. Minimum margins to the limit are:

Profile Base K Hotfix K
J316 -319.439970 -319.439970
J413 -453.858017 -453.858017
J700 -16.831823 -16.831823

The equal worst margins do not describe every case: 6,077 cases have an active driver peak rise above 1e-6 K. Per-case CSVs list every positive rise, its amount, all margins below 5 K and new crossings. There are 1,114 after-cases below 5 K, including 15 newly below that margin. The shared historical matrix also retains 14 violations on this head, versus 24 on the base.

A public synthetic witness is seed 7312900005: J316 copy-gain queue, dead current and a 54 ms pause. Left/right tweeter maxima are 184.738149/166.363624 C against 150 C on both sources. Linux reporting reproduces this. Existing harness assertions inspect narrower accounted/armed states, so their passing result does not establish the requested continuous limit guarantee.

The archived listening comparison meets the 1 dB budget, with brief half-dB recovery differences. Detailed archive results remain in the private task evidence. The evidence also contains source hashes, AArch64 ELF identities, the independent exact thermal checks and retained preparation failures. Extended campaigns ran on native Linux; full standard unmodified suites ran on aarch64 under QEMU.

The revised criterion allows higher peaks than the old near-mute handoff, but requires every case to stay within its speaker limit. These failures block ready-for-review status. No target access, audio, service change, deployment, merge or force push was performed.

Use the unlocked control range for ordinary model and onset requests. Keep the existing ramp, hard latches and control/sense fault paths, and re-arm a range fault only with 3 dB of headroom. Retain old threshold options for config and recording compatibility.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>

Assisted-by: LLM
Clear the synthetic stopping flag before asserting that the lease is retaken. The fixture no longer uses the retired model threshold to hold a test handoff.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>

Assisted-by: LLM
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Superseded by #27: the release candidate already carries this change as ae0ac4e, smooth attenuation through the hardware range. Closing to keep one release PR (fewer, bigger PRs).

@RyanTheTide RyanTheTide closed this Nov 4, 2026
@RyanTheTide
RyanTheTide deleted the fix/smooth-attenuation-deployed branch November 6, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant