Skip to content

Gain reduction exceeded threshold #27

Description

@dkwo

I can consistently crash speakersafetyd by playing mpv 'https://www.youtube.com/watch?v=YyKTRZcOSGU' at full volume.
Is this expected behavior?

Here's a log summary:

(many lines similar to this)
INFO  [speakersafetyd] Speaker group 0 gain limited to -7.05 dBFS
thread 'main' panicked at src/main.rs:360:25:
Gain reduction exceeded threshold
WARN  [speakersafetyd] Panic!
WARN  [speakersafetyd::blackbox] Preserving blackbox 2025-05-24T19:20:32.810826360+02:00

and

wpctl status
Audio
 ├─ Devices:
 │      39. Built-in Audio                      [alsa]
 │      40. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │      43. Built-in Audio Headphones           [vol: 1.00]
 │  
 ├─ Sources:
 │  *   41. Built-in Audio Multichannel         [vol: 1.00]
 │      44. Built-in Audio Headset Microphone   [vol: 1.00]
 │  
 ├─ Filters:
 │    - filter-chain-1398-14                                        
 │  *   53. audio_effect.j313-convolver                                  [Audio/Sink]
 │      54. effect_output.j313-convolver                                 [Stream/Output/Audio]
 │  
 └─ Streams:

I can provide full logs full.log from restart to crash, as well as the blackbox (I see both a cvr and fdr file: are both relevant?), and asahi-diagnose asahi-diagnose-20250524-194640.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions