[Bug 727348] New: when using pulseaudio unmuting the master volume is not possible via kmix
https://bugzilla.novell.com/show_bug.cgi?id=727348 https://bugzilla.novell.com/show_bug.cgi?id=727348#c0 Summary: when using pulseaudio unmuting the master volume is not possible via kmix Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@suse.com ReportedBy: jdsn@suse.com QAContact: qa@suse.de Found By: Product Management Blocker: --- In openSUSE 12.1 RC1 using pulseaudio and KDE it is no possible to "unmute" the master volume after it was muted with Kmix. Once the master channel is muted it is not possible to enable sound via Kmix. I don't know wheter the bug is in Kmix or pulseaudio. The workaround is to unmute it using alsamixer on the commandline. --------------- This is the sound device that was used: $ hwinfo --sound 15: PCI 1b.0: 0403 Audio device [Created at pci.319] Unique ID: u1Nb.F9GrCco9uN5 SysFS ID: /devices/pci0000:00/0000:00:1b.0 SysFS BusID: 0000:00:1b.0 Hardware Class: sound Model: "Intel 5 Series/3400 Series Chipset High Definition Audio" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x3b56 "5 Series/3400 Series Chipset High Definition Audio" SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x3b56 Revision: 0x06 Driver: "snd_hda_intel" Driver Modules: "snd_hda_intel" Memory Range: 0xc0520000-0xc0523fff (rw,non-prefetchable) IRQ: 48 (1878 events) Module Alias: "pci:v00008086d00003B56sv00008086sd00003B56bc04sc03i00" Driver Info #0: Driver Status: snd_hda_intel is active Driver Activation Cmd: "modprobe snd_hda_intel" Config Status: cfg=yes, avail=yes, need=no, active=unknown -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c1
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c2
--- Comment #2 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c3
J. Daniel Schmidt
I remember a similar bug. The problem was that kmix doesn't unmute the underlying volume elements like "Speaker" and "Headphone" although it mutes these. Is it so in your case, too?
Maybe. At least Kmix only shows the "muted" symbol on _one_ channel only. The master volume can be muted by muting just _one_ of "Master, Front, Surround, Center, FLE, Speaker". It can not be unmuted by clicking the "mute" icon again. The workaround is, as written in the description, to use alsamixer to unmute. Btw. alsamixer only knows of one channel, the master channel. There are no others - like I had in openSUSE 11.4.
I guess it's a bug of kmix. Could you check whether the same problem occurs with alsamixer? Simply run alsamixer, and it'll give only "Master" control. Mute/unmute via 'M' key.
As I already wrote in the description alsamixer is the only way that I found that can restore the sound. Yes, alsamixer can unmute the master channel - the only channel it shows or knows. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c4
Takashi Iwai
(In reply to comment #1)
I remember a similar bug. The problem was that kmix doesn't unmute the underlying volume elements like "Speaker" and "Headphone" although it mutes these. Is it so in your case, too?
Maybe. At least Kmix only shows the "muted" symbol on _one_ channel only. The master volume can be muted by muting just _one_ of "Master, Front, Surround, Center, FLE, Speaker". It can not be unmuted by clicking the "mute" icon again. The workaround is, as written in the description, to use alsamixer to unmute. Btw. alsamixer only knows of one channel, the master channel. There are no others - like I had in openSUSE 11.4.
OK, so it's a bug in kmix. Reassigned to KDE guys.
I guess it's a bug of kmix. Could you check whether the same problem occurs with alsamixer? Simply run alsamixer, and it'll give only "Master" control. Mute/unmute via 'M' key.
As I already wrote in the description alsamixer is the only way that I found that can restore the sound. Yes, alsamixer can unmute the master channel - the only channel it shows or knows.
alsamixer shows only one channel unless -c0 option or such is given. It's because the pulse plugin is enabled as default. With -c0 (equivalent with -Dhw:0) option, you can access the hardware layer more directly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c5
J. Daniel Schmidt
OK, so it's a bug in kmix. Reassigned to KDE guys.
Wait, see below ...
alsamixer shows only one channel unless -c0 option or such is given. It's because the pulse plugin is enabled as default. With -c0 (equivalent with -Dhw:0) option, you can access the hardware layer more directly.
When using "alsamixer -c0" it is possible to mute the sound in a way that I can not get it back working as well. The only way to make it work is to exit and either: - call "alsamixer" (without parameter) and unmute the only master channel OR - call "alsamixer -c0" again - but now it shows different settings than before I left it. Example: 1. music playing 2. call "alsamixer -c0" 3. mute master channel 4. unmute master channel Result: - NO channel is shown as muted in alsamixer now - BUT music is still muted Solution: 5. exit alsamixer 6. call "alsamixer -c0" again Now alsamixer shows that all channels are muted. 7. unmute all channels Result: - No channel is shown as muted in alsamixer finally - music is playing again So there seems to be a problem in alsa as well, I think. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c6
Takashi Iwai
(In reply to comment #4)
OK, so it's a bug in kmix. Reassigned to KDE guys.
Wait, see below ...
alsamixer shows only one channel unless -c0 option or such is given. It's because the pulse plugin is enabled as default. With -c0 (equivalent with -Dhw:0) option, you can access the hardware layer more directly.
When using "alsamixer -c0" it is possible to mute the sound in a way that I can not get it back working as well. The only way to make it work is to exit and either: - call "alsamixer" (without parameter) and unmute the only master channel OR - call "alsamixer -c0" again - but now it shows different settings than before I left it.
Example: 1. music playing 2. call "alsamixer -c0" 3. mute master channel 4. unmute master channel Result: - NO channel is shown as muted in alsamixer now - BUT music is still muted
Solution: 5. exit alsamixer 6. call "alsamixer -c0" again Now alsamixer shows that all channels are muted. 7. unmute all channels Result: - No channel is shown as muted in alsamixer finally - music is playing again
So there seems to be a problem in alsa as well, I think.
No, it's no problem of the driver side. The mute status indicates only the status of the master mute. And it's individual from the individual channels. Imagine you muted only the front line and unmute the surround line. Should it be muted, or unmuted? In the driver side, it doesn't matter. It's just a matter of what to take as the main indicator. It's actually a problem of the combination between PA and kmix. PA mutes all related channels to be consistent about the mute behavior. Also, it unmutes all changes as well when unmuted. So, when you mute the master, then re-login, you'll notice that all related channels are muted as well. Now, when you try to unmute via kmix, it handles only the master for mute/unmute behavior by some reason. This is the reason you got no outputs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c7
--- Comment #7 from J. Daniel Schmidt
It's actually a problem of the combination between PA and kmix.
The example I described in comment #5 is WITHOUT kmix. I only used alsamixer and saw the same bug. Is this really a kmix issue? I doubt it.
Now, when you try to unmute via kmix, it handles only the master for mute/unmute behavior by some reason. This is the reason you got no outputs.
This is the exact behaviour that I have seen WITHOUT kmix but with alsamixer instead (see comment #5). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c8
Takashi Iwai
(In reply to comment #6)
It's actually a problem of the combination between PA and kmix.
The example I described in comment #5 is WITHOUT kmix. I only used alsamixer and saw the same bug. Is this really a kmix issue? I doubt it.
Then I couldn't follow what you wrote. Please be more exact what to do. For example,
1. music playing 2. call "alsamixer -c0"
At this moment, all mixer channels are unmuted, right?
3. mute master channel
Mute only master channel while others are unmuted (so alsamixer shows)?
4. unmute master channel
Do you restart alsamixer (with -c0) or continuously unmute the channel?
Result: - NO channel is shown as muted in alsamixer now - BUT music is still muted
Then it's a different problem. Get alsa-info.sh (run with --no-upload option) at this moment to see what's wrong.
Now, when you try to unmute via kmix, it handles only the master for mute/unmute behavior by some reason. This is the reason you got no outputs.
This is the exact behaviour that I have seen WITHOUT kmix but with alsamixer instead (see comment #5).
Do you mean alsamixer with -c0 or without -c0? The latter means it's a PulseAudio-generic problem while the former is the driver problem (likely). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c9
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c10
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c11
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c12
--- Comment #12 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c13
--- Comment #13 from J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c14
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c15
--- Comment #15 from J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c16
--- Comment #16 from J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c17
--- Comment #17 from J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c18
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c19
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c20
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=727348
https://bugzilla.novell.com/show_bug.cgi?id=727348#c21
--- Comment #21 from J. Daniel Schmidt
participants (1)
-
bugzilla_noreply@novell.com