! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Inconsistent mute/unmute behavior
Status:
RESOLVED: WONTFIX
Product:
Xfce4-mixer
Component:
General

Comments

Description Olivier 2012-03-19 19:58:34 CET
Hello,

The bug is the following: when the "Master" volume is muted and then unmuted, the sound doesn't come back. 

I suspect the "Headphone" and "Speaker" are internally muted, although they are not shown as "mute" on the panel. For retrieving the sound again, I need to click two times (mute/unmute) on both the "Headphone" and "Speaker" widgets.

I'm willing to use xfce tools, but because of this bug, I need to use gnome-volume-control instead. I hope one brave guy will correct this bug.

-- 
xfce4-mixer 4.8.0-2 on Debian
Comment 1 Jaison 2012-07-10 20:58:03 CEST
I'm running into the same issue except that I cant get my sound back.

Fedora 17 64bit
Comment 2 Glen Kaukola 2012-08-31 18:48:10 CEST
Is there both an alsa mixer and a pluse audio mixer listed under the sound card dropbox?  If so, when you mute one does the other get muted as well?  And if so does unmuting both bring sound back?
Comment 3 Olivier 2012-09-01 00:29:48 CEST
> Is there both an alsa mixer and a pulse audio mixer listed under the sound 
> card dropbox?

The answer is probably "yes". Under the "sound card" dropbox, I have:
* HDA Intel (Alsa mixer)
* Intel Cantiga HDMI (OSS Mixer)
* Playback: Audio interne Stéréo analogique (PulseAudio mixer)
* Capture: ...

I've always thought that the sound under Linux was a total chaos and gave up trying to understand anything about it. I let my Debian do the configuration... No idea if it did the job well.

> If so, when you mute one does the other get muted as well?  And if so does 
> unmuting both bring sound back?

It seems so:
* If I mute the master volume of "HDA Intel", then the volume of "Playback:..." is also muted (PROBABLY THE EXPECTED BEHAVIOR)
* If I unmute the master volume of "HDA Intel", the volume of "Playback:..." is not unmuted (MAY BE A STRANGE BEHAVIOR)
* But if I unmute the volume of "Playback:...", the master volume of "HDA Intel" is also unmuted (MAY BE THE EXPECTED BEHAVIOR)
Comment 4 Olivier 2012-09-01 00:31:51 CEST
> And if so does unmuting both bring sound back?

Yes it does. 

But unmuting the volume of "Playback:..." is enough because it also unmutes the master volume of "HDA Intel"
Comment 5 Kevin Fenzi 2013-10-18 00:00:31 CEST
There's another user seeing this in Fedora: 

https://bugzilla.redhat.com/show_bug.cgi?id=1017448

amixer -D pulse set Master 1+ unmute

seems to fix it there?
Comment 6 B.J. Herbison 2014-08-19 12:49:46 CEST
I've had this problem for a while, but upgrading to Ubuntu 14.04 made the problem much worse. With the panel audio control in 12.04 there was a mute check box I could uncheck, but with 14.04 that check box is gone.

Since that check box is gone I need to open up the full audio mixer and click four separate boxes to get sound back (Mzsgter, PCM, and for some reason both Headphone and Speaker even though I'm using the internal speakers).

I filed this bug report:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1357928

In the analysis there is a pointer to a kernel patch, but this is certainly something Audio Mixer could handle--either by restoring the mute check box or just by assuming that someone who raises the volume wants to hear something.

The problem also exists with the hardware media keys. I can't find where XF86AudioRaiseVolume is mapped. I hope that goes to the same place as the panel widget.

The command in the previous comment also works for me:
amixer -D pulse set Master 1+ unmute
Comment 7 Liv 2014-10-06 13:05:28 CEST
Yup, same issue here using Xfce 4.10 on Ubuntu 14.04. 

After checking mute (and this works since there is no more sound), unchecking mute doesn't work (even though the thing gets unchecked, the sound is still missing). The issue is that on 'unmute' the mixer doesn't automatically reactivate the 'headphone' and/or 'speaker' control. I always have to manually 'unmute' one of these two channels in order to get sound back. 

This is a bug that was introduced in the gstreamer-based xfce4-mixer 4.10; it wasn't present in 4.8. Needless to say, this is a somewhat annoying behavior that hits users most every day, and it is needlessly confusing especially for atechnical users. (I once had a friend bring me a laptop with "sound doesn't work", and I simply had to hunt down which individual channel got muted and unmute it to "make sound work".) In other words, 'unmute' should should always make sound work again.
Comment 8 Liv 2015-02-11 11:23:05 CET
See this recent and lengthy discussion when this very issue affected yet another confused user:
http://xfce.10915.n7.nabble.com/Problem-with-Sound-settings-td45048.html

It contains clues to what would be causing the bug...
Comment 9 Robby Workman editbugs 2015-03-02 22:43:07 CET
Am I correct in concluding that all of the individuals experiencing this problem are also on distributions using PulseAudio? Note that this is not to *blame* PA, but rather to suggest that if that's the case, the best idea at this point is to call this bug a WONTFIX and use xfce4-pulseaudio-plugin.
Comment 10 Olivier 2015-03-02 23:19:42 CET
I think you're too quick in your conclusion. I use Debian without PulseAudio, and I have this bug (which is now 3 years old)

To reproduce the bug: 
1) start some music
2) start xfce4-mixer
3) click mute for PCM
4) then unmute... the sound doesn't come back, this is not normal. 

Expected behavior: sound should come back after clicking unmute.

To have the sound back, juste slide the PCM sound setting a little bit... sound comes back. But this is just a workaround, this should not be required.
Comment 11 Liv 2015-08-11 17:32:09 CEST
(In reply to Robby Workman from comment #9)
> Am I correct in concluding that all of the individuals experiencing this
> problem are also on distributions using PulseAudio? Note that this is not to
> *blame* PA, but rather to suggest that if that's the case, the best idea at
> this point is to call this bug a WONTFIX and use xfce4-pulseaudio-plugin.

I too am now using Ubuntu *without* PulseAudio, and this bug is very much present. There seems to be some fundamental inconsistency in how xfce4-mixer deals with muting/unmuting...
Comment 12 Todd 2015-08-29 21:04:59 CEST
Hi,

I am on Scientific Linux 7.1 (RHEL clone) and Xfce 4.10.

My Mixer is:
      $ rpm -qa xfce4-mixer 
      xfce4-mixer-4.10.0-7.el7.x86_64

If I use the panel slide control to mute my sound (run the bar to the bottom), my sound stays muted when I slide that bar back from zero.  To unmute, I have to open Audio Mixer, go to "Audio Mixer -- Playback: Built-in Audio Analog Stereo (PulseAudio Mixer)" and click off the mute button.

This is a pain in the neck as sometime I only want my sound to go down and not permanently off and I miss and hit zero (bottom)

Any patch for this in our future?

Many thanks,
-T
Comment 13 B.J. Herbison 2015-08-29 23:47:14 CEST
As a workaround I created a panel shortcut which runs the command:

amixer -D pulse set Master 1+ toggle

I have no clue what it is supposed to do, but the only  effects I've noticed are to unmute my computers sound and reduce my blood pressure.
Comment 14 Todd 2015-08-31 00:25:23 CEST
(In reply to B.J. Herbison from comment #13)
> As a workaround I created a panel shortcut which runs the command:
> 
> amixer -D pulse set Master 1+ toggle
> 
> I have no clue what it is supposed to do, but the only  effects I've noticed
> are to unmute my computers sound and reduce my blood pressure.


Thank you!  I created a launcher item for it and it works beautifully
Comment 15 Skunnyk editbugs 2020-05-22 12:42:37 CEST
Closing old bugs

Bug #8583

Reported by:
Olivier
Reported on: 2012-03-19
Last modified on: 2020-05-22

People

Assignee:
Jannis Pohlmann
CC List:
11 users

Version

Version:
Unspecified

Attachments

Additional information