Repository navigation
wireplumber: add AYN Odin 3 ALSA buffer quirk - #893
ShrimpTale wants to merge 1 commit into
Conversation
This configuration file adjusts the ALSA headroom and session properties for the AYN Odin 3 device to prevent audio crackling under load.
|
Related: #615 (disable audio power suspension). This drop-in is deliberately |
@FeralAI one title so far, and I think it's a different mechanism from #876, so it should still be a valid test of the headroom part: Trails in the Sky 2nd Chapter — the September 2026 remake of SC, not the 2006 original (there is a free demo on Steam if you want to reproduce it cheaply). Proton 11.0 arm64 + FEX, on an Odin 3 running the stock 20261109 image. Launch options: What it sounds like: broadband crackle in bursts of a few seconds over BGM and voice, and it always coincides with a frame stutter. Resuming playback after silence gives a single small click. It is not restricted to loud passages, and the Odin 3 profile has the headphone compander off, so I don't think this is the class-H window issue from #876 — I'd expect that one to show up on loud passages. Why I put it down to headroom rather than the codec: ALSA on Two caveats you should have before you test: (a) my data is from image 20261109, i.e. before #876, so I can't yet say whether this headroom override is still needed on top of it; (b) I have not A/B'd the three pieces separately — that needs Happy to run whichever you prefer:
And if #876 covers the power-suspend side of this, say so and I'll drop |
What
Adds a WirePlumber drop-in for the AYN Odin 3 (
SM8750-AYN), scoped to that card only.Why
Intermittent audio crackle in Proton/FEX games on Odin 3, plus a click when playback restarts after silence.
Measured on Armada 20261109.dfed5d6: hardware runs
S16_LE / 48000 / 2ch,period_size 480,buffer_size 3840(80 ms). The crackle reproduces with bothstableandwinnativeTurnip drivers, so it is not GPU-related. Thor Lite and PocketMax already shipwireplumber.conf.ddrop-ins; Odin 3 had none.What it does
api.alsa.headroom = 1024session.suspend-timeout-seconds = 0+node.pause-on-idle = falseNot setting
api.alsa.period-sizeon purpose: the hardware period is fixed at 480 frames and a hint there gets overridden.Tested
Note
Crackle also disappears with
PULSE_LATENCY_MSEC=60in the game launch options, so the effective lever may be the Wine/Pulse fragment size. Happy to run A/B tests on the hardware if you prefer apipewire-pulselevel fix.