Bug 321611

Summary: Global volume control does not work
Product: [Fedora] Fedora Reporter: Julian Sikorski <belegdol>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: drago01, pierre-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.9.8-4.fc8.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-18 23:55:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Julian Sikorski 2007-10-06 21:03:57 UTC
Description of problem:
I recently installed f8t3 and did some pulseaudio testing. The problem is that I
can control volume per-stream only, not per-device. I guess that's the reason:
W: alsa-util.c: Cannot find mixer control "Master".
Indeed, there is no Master here, the main channel was called PCM when I used
alsa. As a side effect, volume control applet is useless.
pulseaudio-0.9.7-0.15.svn20071001.fc8.x86_64

Comment 1 Lennart Poettering 2007-10-15 17:01:39 UTC
Please make sure to enable the PA output plugin in gnome-sound-properties.
(Which should be the case by default)

The volume that you can adjust with GNOME's mixer applet is the device volume,
if the GStreamer plugin for Pulse is being used.

The warning you mentioned is just that: a warning. PA will fallback to use "PCM"
if "Master" is not available. If neither PCM nor Master are found PA falls back
to software volume control.

Comment 2 Julian Sikorski 2007-10-15 19:19:42 UTC
I'll test it later. Do you actually mean that I need to use gstreamer (no xine,
alsa plugin) to be able to use volume applet, if so, it's quite a regression.
GStreamer is insufficient for certain applications, most notably DVD videos.

Comment 3 Julian Sikorski 2007-10-17 21:26:45 UTC
OK, testing done. I read on fedora-devel-list that gnome-volume-control needs
some work, so let's put that one aside for now. Unfortunately, I am not able to
control global volume with pavucotrol either - sliding the slider in output
devices tab has no effect, however clicking mute has. Per-stream control works
fine. I have a HDA Audio here, Realtek ALC861 if that matters. It would be nice
to have some kind of global volume control, if not in gnome applet, then in
pavucontrol at least.

Comment 4 Lennart Poettering 2007-10-17 21:46:24 UTC
Hmm, so you say that the PA volume control is practically useless? if you open
"alsamixer" and play around with the "Master" slider, does this change anything
with the volume?

If that's the case, then you have a driver bug. 

Comment 5 Julian Sikorski 2007-10-17 21:52:34 UTC
For reference, alsamixer master slider (with pulse plugins set as default) also
does not seem to work.

Comment 6 Julian Sikorski 2007-10-17 23:27:57 UTC
We figured out what is going out on IRC. It turns out this chip (Realtek ALC861)
does not support hardware volume control, and thus needs upstream work for
proper fix.

Comment 7 Lennart Poettering 2007-11-30 01:31:25 UTC
*** Bug 388271 has been marked as a duplicate of this bug. ***

Comment 8 Julian Sikorski 2008-01-13 19:56:33 UTC
Not sure what happened. I updated to 0.9.8 from rawhide a while ago, but IIRC it
did not solve the issue. I checked today, and voila, global volume control works
perfectly. Maybe an ALSA update delivered support for hardware volume control
for this chip?

Comment 9 drago01 2008-01-14 10:08:32 UTC
I have upgraded to pulseaudio-0.9.8-4.fc8.1 and now pulse seems to use front:0
instead of hw:0 and therefor the software volume control provided by alsa is
used by PA. (Soundcard Realtek ALC 861). This also has a positive side effect
that the volume is remembered between reboots. 

Comment 10 Julian Sikorski 2008-01-14 10:33:39 UTC
Looks like it is pulseaudio that fixed the issue then. Shall we close this bug now?

Comment 11 Lubomir Kundrak 2008-01-14 11:28:47 UTC
Julian: I'll reference this bug in the pulseaudio update and it will be closed
by Bodhi when the update is out.

Comment 12 Fedora Update System 2008-01-15 22:57:20 UTC
pulseaudio-0.9.8-4.fc8.1 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pulseaudio'

Comment 13 Fedora Update System 2008-01-18 23:55:28 UTC
pulseaudio-0.9.8-4.fc8.1 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.