Closed relh closed 6 years ago
I tried to recreate this bug, and the best I could do without rebooting was that whatever volume information PulseEffects shows, it is set to 100 and volume goes up when I click "ON". I'm guessing maybe there is a config that is making my volume auto set to 100 when it turns on?
I never saw this happening. Considering you are on ubuntu 18 and have the module module-switch-on-connect
loaded you may have problems if your Pulseaudio version is not 12 or above. Try to see if any of the hints in our FAQ makes any change.
When you switch on an app in PulseEffects all that is done is moving this app from the default output device(usually your sound card) to the PulseEffects null sink PulseEffects(apps)
. The volume should not be touched.
Run PE from the command line in debug mode G_MESSAGES_DEBUG=pulseeffects pulseeffects
what it prints to the terminal may give hints to what is happening.
Yeah I only see that the application was destroyed when I try running it that way. Maybe I need to disable run on boot or something:
(pulseeffects:3228): pulseeffects-DEBUG: 09:34:50.303: application: destroyed
I will explore the hints in the FAQ and see if I can get any debugging logs for when this happens after reboot. Thanks for the quick response!
You probably have an instance of PulseEffects running. First kill it using pulseeffects -q
and then restart it in debug mode. You can see other command line options here Command-Line-Options
I've toggled it a few times sans reboot, and the volume slider switches to 100 from wherever it is whenever I click the "ON" button. It doesn't seem to show up in logs:
Nothing strange. I think we will have to take a look at Pulseaudio's log. There is a step by step in the advanced section of Reporting-Bugs.
Hello!
I'm having a issue very similar to @relh, albeit using the "Enable All Applications" option instead of turning on for each app.
Steps done during the log (attached below):
Environment:
This is bizarre... I can see in the logs that the volume is being changed but Pulseaudio does not tell who asked for this. I know for sure that PE did not do that. These are the lines related to the volume change:
[alsa-sink-ALC282 Analog] sink.c: Requesting rewind due to started move
[alsa-sink-ALC282 Analog] alsa-sink.c: Requested volume: front-left: 45871 / 70% / -9,30 dB, front-right: 45871 / 70% / -9,30 dB
[alsa-sink-ALC282 Analog] alsa-sink.c: Got hardware volume: front-left: 46396 / 71% / -9,00 dB, front-right: 46396 / 71% / -9,00 dB
[alsa-sink-ALC282 Analog] alsa-sink.c: Calculated software volume: front-left: 64794 / 99% / -0,30 dB, front-right: 64794 / 99% / -0,30 dB (accurate-enough=no)
[alsa-sink-ALC282 Analog] sink.c: Volume going up to 46396 at 911100321
The hardware volume stays at 71% but Pulseaudio is changing its software volume to 100% right after PE sink is loaded. In order words before you hit play. I wonder if this is related to a Pulseaudio feature called flat volume. Which value do you have for the variable flat-volumes
in the file /etc/pulse/daemon.conf
? Also check if you have a file name daemon.conf
in the directory ~/.config/pulse
. Pulseaudio gives more priority to files in this folder.
I have
flat-volumes = no
in my /etc/pulse/daemon.conf and nothing in my home config
I have flat-volumes = no
for both /etc/pulse/daemon.conf
and ~/.config/pulse/daemon.conf
.
Verifying the output of pulseaudio --dump-conf
, I noticed that it was reading the configuration from another file (~/.pulse/daemon.conf
), and there the setting flat-volumes
was missing, which makes PA default to flat-volumes = yes
. I added the option to this other file, and the issue disappeared for me.
I did not know about this option. Very useful
Arch Linux and derivatives make the sane decision of disabling flat volumes. Other distros follow upstream, which is pretty dangerous because you can get blasted with 100% volume when turning on PE. Anyway, that's what happened to me when I accidentally turned on flat volumes. Perhaps it would be good to put this in the FAQ, @wwmm?
Good idea. I added it to the FAQ
When I click "ON" for any application, the slider controlling volume for that application (all applications?) is immediately set to 100, regardless of its current position. My system headphone volume also jumps to 100 (these are linked/match to each other the entire time).
I am on Ubuntu 18.04. I think this bug could be quite dangerous to people who are not treating audio adjusting applications with appropriate caution. I love PulseEffects, thank you to all contributors!
Logs