GNOME Bugzilla – Bug 578174
gnome-volume-control mutes my audio
Last modified: 2015-01-19 11:49:49 UTC
Please describe the problem: The program is muting my audio when I quit it, making it impossible to record anything - when I need to. It also gives no reason as to why did it mute it (technical problem? I don't know). Steps to reproduce: 1. Open volume control 2. unmute capture and digital in recording tab 3. close it 4. open again, observe them muted Actual results: Expected results: I'd expect my preference to stay. Does this happen every time? Yes Other information:
Video: http://drop.io/bokmpxp bugzilla did not want to accept the attachment, hence why on an external website.
Please tell us way more information about your system (e.g. the distribution).
Ubuntu 8.10 64bit, and here is my hardinfo report: http://dl.getdropbox.com/u/84880/hardinfo_report.html Let me know if anything else is needed.
This bug was filed for the wrong product, it should be gnome-volume-control IMHO No idea how to change this...
gnome-volume-control does not exist
The preferences in gnome-volume-control 2.24.0 (in fedora 10 packaged under gnome-media-2.24.0.1-2.fc10.i386) also will not get saved. Each time after a reboot, the muted PCM channel needs to be un-muted again, which is very annoying. This might be a duplicate of bug 577341 (though reported against a different version). The product for this bug should be gnome-media, which includes g-v-c. Please change.
Might be related to https://bugzilla.redhat.com/show_bug.cgi?id=488620 .
On my system it's not related to https://bugzilla.redhat.com/show_bug.cgi?id=488620 at all. The sound buttons on my keyboard function just fine. But then, I'm not using a Thinkpad but a desktop (with cordless Logitech keyboard).
Thank you for reporting. I can confirm this bug.
lower severity to minor since: - gstmixer is deprecated - the bug does not affect hw alsamixer state (it's only UI side)
Created attachment 136967 [details] [review] Correctly sets the recoding toggle for capture tracks on startup This fixes a definite problem with the recording toggle not being set on startup. There appears to be another problem with the mute input being shown for capture tracks but it not being stored. This mute is not shown in alsamixer but GST_MIXER_TRACK_NO_MUTE is not set for this track. I suspect there is a problem in another layer (GST/Alsa). I'm not if this fixes what the reporters of this bug or the downstream bug (https://bugs.launchpad.net/ubuntu/+source/gnome-media/+bug/299642) are reporting though, please confirm if you are getting the problem this is what you are seeing
Created attachment 136971 [details] [review] Fixes initial state of recording toggle and only shows mute button for input tracks I can't find confirmation but I think the mute should be disabled for tracks that do not have GST_MIXER_TRACK_OUTPUT set. The description of GST_MIXER_TRACK_NO_MUTE is "play track doesn't support mute" implying to me that there must be a play track. http://library.gnome.org/devel/gst-plugins-libs/unstable/gst-plugins-base-libs-gstmixertrack.html#GstMixerTrackFlags
Sorry... what do you want me to do?
I am sorry to bother you, but I think I have the same problem. I am actually using a USB hard-drive on a Dell Optiplex 755 (I may use some other configuration). My OS is Ubuntu 9.04 (Jaunty) with 2.6.28-13 kernel This computer has the intel 82801I (ICH9) sound card. I haven't updated anything regarding sound (only the codecs). The issue is that I can't record anything at all, not microphone nor sounds coming from the computer (audacious, for instance). I know that Audacious is using the ALSA output. I have configured everything on the Sound Preferences (System > Preferences > Sound) to use ALSA (even the HDA Intel (Alsa Mixer) ). When I go to the gnome-sound-recorder, I see the Capture in the Input option, and I can even see a little bar moving back and forth, without getting any sound. Just very recently (while I was writing this), I started to play around with the mixer in the volume control. I had already tried to ummute the Capture mixer in the Recording tab without any success (I ummuted it, closed the mixer and when re-opened, the damn thing was muted again and again). Just now, I left the Input Source (in the Options tab of the volume control mixer) to Front Mic and (don't ask me why there is another just below that) the second Input Source to just Mic. The outcome is that the gnome-sound-recorder DOES record, but at a VERY low level. I would like to try using your patches, but my ignorance does not let me. I come to you in the hope that you can tell me how to compile, run, install or :S whatever I have to do to use it, please? help?! If in your magnanimous response you can tell me what is going on with the sound recording, I would forever thank you :D .
(In reply to comment #14) > I would like to try using your patches, but my ignorance does not let me. I > come to you in the hope that you can tell me how to compile, run, install or :S This is out of scope for Bugzilla. Please ask in a forum.
Well, I finally managed to learn how to compile the patch just run: $ sudo apt-get build-dep gnome-media $ sudo apt-get source gnome-media $ cd gnome-media-xxxx download the patches to the gnome-media-xxxx folder (use $ sudo cp PATCH-FOLDER/PATCH-FILE . ) the dot is not a typo. $ patch -p1<PATCH-FILE $ sudo ./configure $ sudo make $ sudo make install Well, my outcome was that I could not record anything at all. The Capture, Mic, Front Mic, Boost (and virtually every other level bar, except for the main volume) went away. Besides there is a second Sound button in System > Preferences. I hope this helps. Thank you ;)
Robert, I don't understand the point of the first patch. About the second patch, could you make some comments about Hielos results? and eventually send a second patch (which would not also contain the first patch) thanks!
Hi Marc-Andre, The first patch is due to the fact the boolean value is actually internally an integer. In track.c gnome_volume_control_button_set_active() is called with GST_MIXER_TRACK_HAS_FLAG(track, GST_MIXER_TRACK_RECORD) which does a bitmask and returns a non-zero value. Unfortunately the value is not the same as TRUE so gtk_button_clicked() is called even though button->active was already set. The patch ensures that a non-zero value is always the same number. (This code is the same as in the GTK+ toggle button code). I believe this is is the reason for the "there's something fishy" comment above the code. Helios, First try compiling without the patch, this way you can check if it is the patch that is causing the problem or something else. You are missing the --enable-gstmix flag to configure to build the correct mixer as used by Ubuntu. For reference to build this package for Ubuntu you should do the following: $ sudo apt-get build-dep gnome-media $ apt-get source gnome-media $ cd gnome-media-xxxx $ cp 06_track_capture_toggle.patch debian/patches $ debuild This will produce a new .deb file built with all the Ubuntu patches and configure options But I'd recommend building locally like this: $ sudo apt-get build-dep gnome-media $ apt-get source gnome-media $ cd gnome-media-xxxx $ patch -p1 <06_track_capture_toggle.patch $ ./autogen.sh --prefix=`pwd`/build --enable-gstmix $ make $ make install $ ./build/bin/gnome-volume-control If you do this second form you need to look into debian/rules to see what configure flags are required.
Hello Robert Ancell, I am very sorry, but right now I am very busy doing school stuff. I managed to do what I wanted by removing the gnome-media from Synaptic and installing almost everything there is to install regarding pulse-audio and alsa. I will try to do as you say as soon as possible. However, I honestly believe that compiling without the patch would do no difference, since I had not modified the audio configuration prior to installing your patch. I am also guessing that the --enable-gstmix will only let me see the mixer bars that I was missing. As I said, I will eventually give it a try, but I don't think I'll play with my actual configuration (it's working now). I may try it by means of another computer. Farewell for now. Hielos
gnome-media has been obsolete since the release of GNOME 3, nearly 4 years ago. Furthermore, the gnome-volume-control program in gnome-media has been replaced by the Sound panel in gnome-control-center. The new Settings panel should not be affected by the bugs you filed, however, please make sure to file new bugs against the gnome-control-center product.