how do you set the master channel from master to pcm in Kmix? I don’t see a setting for that. Is it a code hack?
No, that is not a hack. Just right click on the speaker icon (in KDE 3 or KDE 4), then ‘Select Master Channel’. Though, it seems, that KDE 3 resets this setting back to ‘Master’. (And by the way Windows Vista on the same laptop does not have Master or PCM - just one slider, which works smoothly.)
Also, for me the pcm channel increases the gain so much that anything above 80% induces distortion at any given master volume level? Does that happen on desktops too?
Hmm, I hardly hear any distortions on desktop (Gigabyte GA-P35-DS3R), but I do on laptop (Intel GM965 - indeed with PCM somewhere above 80 %). But that actually is ‘normal’ behaviour, as I understand.
Try adjusting PCM through alsamixer in your laptop:
You see, then you go above green zone - 74 (it may be another number in your chipset) dB gain goes above 0.00 and the highest possible value 100 corresponds to 3.00 dB gain. Whyle on my desktop system highest possible value of PCM - 100 corresponds to 0.00 dB gain.
The same with ‘Master’ which goes up to 3.00 on Laptop (0.00 corresponds to 97) and up to 0.00 (100) on my desktop.
The interesting thing is that for humans to hear linear volume changes, the volume control should actually follow a logarithmic scale from an electronic respect.
I didn’t knew which scale (curve) it is, so I called it ‘smooth’ (maybe ‘natural’ will suit even better).
I also discovered that running alsamixer in a terminal gives different results to the Kmixer. Alsamixer actually works correctly. Try this:
Run alsamixer in a terminal. Open Kmixer so you can see the sliders. Set volume to 100% (use arrow keys). The Kmixer volume should also be 100% now. Now reduce the alsamixer volume controller and you’ll see the Kmixer volume slider follow a different scale. So when alsamixer is at 55%, kmixer is only at 73%, with alsmixer at 20%, kmixer is at 49%, etc.
Hmm, that appears to be yet another bug. In my two systems Kmix and Alsamixer map to each other well. The only difference is that Alsamixer has 100 steps and Kmix 3 has 64 steps (Kmix 4 does not show number of steps), so 25% equals to 25 steps in Alsamixer and to 16 steps in Kmix.
Nethertheless, ‘Master’ sound volume does not change smoothly (naturally) with Kmix, nor with Alsamixer.
I don’t know enough about how sound works with all the different sound systems in Linux but it seems Kmixer is not working correctly and judging by that bug report the same appears with Gnome’s volume controller.
Yes, if Kmix maps ALSA sound adjustments incorrectly, that is a bug (which is not present in my system). But Ubuntu bug report you mention is another problem - unnatural volume adjustment with ‘Master’ slider (that bug IS present in my system too).
At least that is how I understand the situation.
By the way, in the upper part of Alsamixer you can see version of ALSA, then Card and Chip. So to be sure we are on the same page I will list my systems’ specifications:
Laptop - ALSA v1.0.18 (default openSUSE 11.1 version) - Card: HDA Intel - Chip: Analog Devices AD1981. Kernel: 2.6.31.3-1-default (from openSUSE 11.2 factory repository). This one has that ‘non-smooth’ volume adjustment problem.
Desktop - ALSA v1.0.16 - Card: HDA Intel - Chip: Realtek ALC885 - kernel 2.6.25.20-0.5-default (openSUSE 11.0). This one works smoothly.