After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509592 - Media key window sometimes shows 0% volume
Media key window sometimes shows 0% volume
Status: RESOLVED DUPLICATE of bug 478498
Product: gnome-settings-daemon
Classification: Core
Component: plugins
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2008-01-15 10:40 UTC by Michael Monreal
Modified: 2008-05-04 12:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Screenshot (39.83 KB, image/png)
2008-01-15 10:42 UTC, Michael Monreal
  Details
add some debugging output (931 bytes, patch)
2008-04-28 19:56 UTC, Jens Granseuer
none Details | Review

Description Michael Monreal 2008-01-15 10:40:49 UTC
Sometimes, when adjusting volume, the volume bar suddenly shows 0% volume, while it should show more than that. Pressing +/- again makes the volume bar show up correctly. This does not happen all the time, but I manager to take a screenshot now, see attachment.
Comment 1 Michael Monreal 2008-01-15 10:42:19 UTC
Created attachment 102890 [details]
Screenshot

Notice how the popup still shows one wave, something that is not true when volume is all the way down (it shows the muted icon in that case).
Comment 2 Jens Granseuer 2008-01-27 12:38:09 UTC
Actually, it's possible for the volume bar to be (very close to) zero, and sound still not being muted, so the screenshot doesn't necessarily show a bug.
Comment 3 Michael Monreal 2008-01-27 20:20:46 UTC
(In reply to comment #2)
> Actually, it's possible for the volume bar to be (very close to) zero, and
> sound still not being muted, so the screenshot doesn't necessarily show a bug.
> 

But the pressing volume down should not set the volume to something bigger then 0 again...
Comment 4 Paul Rawson 2008-04-26 22:22:37 UTC
I also have encountered this issue. Furthermore, using the media keys to adjust the volume will (seemingly) randomly adjust the left and right channels at different rates. Pressing the volume+ or volume- button one more time fixes this, making the channels equal volume.
Comment 5 Jens Granseuer 2008-04-27 10:16:52 UTC
Are you by any chance using the same hardware and/or ALSA driver?
Comment 6 Michael Monreal 2008-04-27 18:01:06 UTC
snd_hda_intel here (and still happening with up-to-date gnome-cc.
Comment 7 Jens Granseuer 2008-04-27 20:18:08 UTC
Are you both using the composited version? Can you reproduce it with the non-composited one as well? Paul, what's your driver?
Comment 8 Michael Monreal 2008-04-28 03:52:46 UTC
(In reply to comment #7)
> Are you both using the composited version?

For me, that would be a "yes". I seldomly  see the non-composite one, but I will try to reproduce it there as well.
Comment 9 Paul Rawson 2008-04-28 04:49:18 UTC
I'm using the intel hda driver as well. No compositing here.
Comment 10 Jens Granseuer 2008-04-28 19:56:31 UTC
Created attachment 110063 [details] [review]
add some debugging output

Could you please apply this patch, run g-s-d with --no-daemon --debug, and post the output of when it happens?
Comment 11 Paul Rawson 2008-04-28 20:18:16 UTC
Uhh, any idea what the package is in gentoo? Also, what is the command to run g-s-d?
Comment 12 Paul Rawson 2008-04-28 20:23:18 UTC
Sorry, I just realized I am running gnome 2.20.3, and I don't have g-s-d installed.
Comment 13 Michael Monreal 2008-04-28 20:30:36 UTC
(In reply to comment #12)
> Sorry, I just realized I am running gnome 2.20.3, and I don't have g-s-d
> installed.
> 

You have, it was part of gnome-control-center. I think I can test with the patch, but I have trouble reproducing this... Paul, did you find any indication what you actually have to do to reproduce this? Or is it mostly random for you, too?
Comment 14 Michael Monreal 2008-04-28 20:47:16 UTC
** (gnome-settings-daemon-bak:31530): DEBUG: after: mute 0, vol 61, step 4
** (gnome-settings-daemon-bak:31530): DEBUG: before: mute 0, vol 61
** (gnome-settings-daemon-bak:31530): DEBUG: after: mute 0, vol 58, step 4
** (gnome-settings-daemon-bak:31530): DEBUG: before: mute 0, vol 58
** (gnome-settings-daemon-bak:31530): DEBUG: after: mute 0, vol 55, step 4
** (gnome-settings-daemon-bak:31530): DEBUG: before: mute 0, vol 55
** (gnome-settings-daemon-bak:31530): DEBUG: after: mute 0, vol 0, step 4 <----
** (gnome-settings-daemon-bak:31530): DEBUG: before: mute 0, vol 52
** (gnome-settings-daemon-bak:31530): DEBUG: after: mute 0, vol 48, step 4
** (gnome-settings-daemon-bak:31530): DEBUG: before: mute 0, vol 48
** (gnome-settings-daemon-bak:31530): DEBUG: after: mute 0, vol 45, step 4

I tested a bit, I couldn't really reproduce it but I guess this is related. I noticed some "flashing" now and then. Look at the marked line. The volume jumps to 0 without any reason. I guess you must be "lucky" to hit suck a 0-step.
Comment 15 Paul Rawson 2008-04-28 21:02:56 UTC
When I cycle from max volume to min volume, or vice versa, using the multimedia keys, it will almost always happen at least once. Reaching max or min volume is not required, just an example of how frequently this occurs.
Comment 16 Bastien Nocera 2008-04-30 15:25:54 UTC
The first thing to check is whether the GStreamer, ALSA, or OSS audio backend is used.

For GStreamer, I'm pretty certain that this is a dupe of very a many gnome-volume-control and mixer-applet bugs where ALSA gives GStreamer bogus data, and GStreamer believes it.

See bug 518082, and bug 478498
Comment 17 Jens Granseuer 2008-05-04 12:06:44 UTC
Michael at least is using the gst backend, so I'm marking this as a duplicate.

*** This bug has been marked as a duplicate of 478498 ***