Red Hat Bugzilla – Bug 495148
Bad default mixer initialization
Last modified: 2009-05-21 11:52:12 EDT
Description of problem:
PCM volume is set to less than 100% by default, but cannot be turned up in the audio applet. This results in dramatically reduced sound capabilities in several makes and models of laptop/notebook computers.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Turn up all volume levels in audio applet. Run alsamixer at command line and observe PCM volume level.
2. Play media with audio.
3. Use alsamixer to increase PCM volume. Play media again, hear difference.
Reduced PCM audio output by default, which can be changed at the command-line.
Full PCM audio output by default, which can be changed through the sound control applet.
The PCM volume can be set using alsamixer at the command line as a short-term workaround.
Also applies to Intel HDAudio devices. These have "front" and need to be turned up in addition to PCM.
If the PCM slider is not initialized properly by default this is a problem with the alsa default mixer database.
Reassigning to alsa-utils.
Sam, please tell us which sound card you have, i.e. paste the output of alsa-info.sh --no-upload.
Created attachment 339082 [details]
Output of alsa-info.sh
Output of alsa-info.sh attached.
You may change /lib/alsa/init/hda files for your systems, but setting everything to max as default seems insane to me so I might not accept your changes. With the default settings sound should be hearable, but not on max.
Lennart, why mixer applet does not allow to control also the hardware mixer? It's gnome issue?
Not sure if it should be at max. But it should be at a level that 'makes sense', i.e. that everything has a good volume on default initialization.
PA only exposes one volume control, which is usually 'Master' (if available), not 'PCM'.
I'm okay with dropping the PCM max default part if we can get full mixer control back. Seems someone decided to oversimplify the interface at some point.
I had a similar problem with an Ensoniq AudioPCI ENS1370. In my case the effective volume was 0! I used alsamixer -c to set everything "flat" and then the pulseaudio volume controls worked well.
I'm attaching my alsa-info.txt file.
Created attachment 343780 [details]
alsa-info for Ensoniq AudioPCI ENS1370
I initially had zero effective volume and had to rescue the situation with alsamixer -c
Well, this is basically an AlsaVolume bug, so setting it as blocking that.
Jaroslav, as with all the other AlsaVolume cases, as Lennart said, we need the default ALSA setting to be 'sane' so that Pulse can effectively adjust the volume: the default should be such that Pulse modifying the Master slider gives a useful range of control.
Sam: Pulse-type mixers are intended to be simplified to this level, they will not be made more complex in this respect. It ought to be possible for the underlying ALSA elements to be set such that the single control in a Pulse-type mixer gives a reasonable volume range.
Peter, please create a bug report for your hardware.
indeed, Peter, we need separate bugs for all different cards that exhibit this problem, we cannot combine them into one. please file a separate report according to the instructions here:
The alsa-utils-1.0.20-3 package should fix this issue. Reopen this bug if the problem persist.