Description of problem:
After a Fedup-grade from F21 to F22, Pidin's notification sounds have the side effect of setting the currently selected output device's volume to 100%. This is equivalent to changing my system's master volume to 100% and, when plugged into my amplified speakers, making quite a racket. I discussed this with #pulseaudio on Freenode and one person's suggestion was to disable flat volumes which I did, and which fixes the issue.
It is not clear to me whether this is a Pidgin or PA problem but since both #fedora and #pulseaudio blamed PA, and a PA config setting fixed it, I'm starting here.
Version-Release number of selected component (if applicable):
Always happens when pidgin notifies via audio prompt.
Steps to Reproduce:
1. Set GNOME volume (i.e. currently selected output device) to <100%
2. Receive nick mention in Pidgin
3. If using a high wattage amplifier, cover ears.
Check volume, it is now at 100% for the device
Volume unaffected by sounds played by applications.
Other system sounds such as the terminal bell do not affect the output device's volume setting.
As mentioned in the original post, the workaround is to disable flat-volumes in the PA daemon:
$ grep flat /etc/pulse/daemon.conf
flat-volumes = no
Restart the PA daemon with pulseaudio -k && pulseaudio -D
pidgin should not set the volume to 100% but let pulseaudio decide on the volume.
Thanks for the redirect, Wim ... any idea why this suddenly appeared in F22? Was flat-volumes always OFF, thus uncovering this when enabled by default? Or did Pidgin change?
Fedora has been using flat volumes for a long time, it must be something with pidgin. I'll have a look later.
pidgin sets the volume to 100% (it's a config option). it should probably not do this but I think the real problem is that GStreamer should not pass the 100% volume to pulseaudio (I think it didn't do that in older versions, the default is 100%, if you don't change it, it doesn't set anything on pulseaudio). I'll have a closer look tomorrow.
Any updates? I've got the same problem.
Does the flat-volume=no hack has side effects?
(In reply to batisteo from comment #6)
> Any updates? I've got the same problem.
> Does the flat-volume=no hack has side effects?
I have seen no change in behavior. Best I can tell, it behaves like F-21 did for me. ¯\_(ツ)_/¯
As a workaround, in the sound settings in Pidgin I put Method: ALSA, instead of Automatic.
So is this a bug in pidgin, pulseaudio, or gstreamer?
pigdin bug but could be addressed in gstreamer too, see comment #5:
"pidgin sets the volume to 100% (it's a config option). it should probably not do this but I think the real problem is that GStreamer should not pass the 100% volume to pulseaudio"
it seems to be a duplicate of
the method used there to change from Automatic to ALSA worked for me on 2 different installs on Fedora 23)
*** This bug has been marked as a duplicate of bug 1225276 ***