Description of problem:
When adjusting the PCM mixer slider of my hardware (Intel HDA), the '75%' level is 0dB gain.
If it's adjusted higher, it starts causing distortion.
As PA adjusts the PCM value when doing volume adjustments, this means that it can set the volume this high, degrading the sound output.
Is there a way to have PA essentailly 'cap' its raising of the PCM volume at 75% (config file or otherwise)? I'm not finding one.
Version-Release number of selected component (if applicable):
pavucontrol shows the "base" volume on the slider, which is where PCM and master are at what alsa calls 0dB. Just make sure not to move the slider higher than this position and you are safe.
g-v-c unfortunately does not show the position of the "base" volume on its sliders. It does do that for recording, but not for playback. It would be good if g-v-c did for both.
Will reassign to gnome-media.
You can use "pacmd list-sinks" to check whether your volume is higher than the 'base' volume.
This bug is pretty much the same:
Can you please attach the output of "pacmd list-sinks" as requested by Lennart?
If the base volume is different from the "100%" volume, then you'd see an "unamplified" with the upstream patch.
$ pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
* index: 0
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
volume: 0: 56% 1: 56%
0: -15.00 dB 1: -15.00 dB
base volume: 56%
alsamixer says the hw Master is 97 (0dB), PCM 74 (0dB).
The upstream bug should fix it. I'll do a build for you to test when I've checked it doesn't have side-effects.
Bastien, any update on this ?
Fixed in 2.28.1 builds across F-11, F-12 and rawhide.