[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 <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jdsn@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> 2011-10-31 13:28:03 UTC --- 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? 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. -- 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#c2 --- Comment #2 from Takashi Iwai <tiwai@suse.com> 2011-10-31 13:28:49 UTC --- BTW, for recovering from the muted status, run alsamixer with -c0 option, and unmute the appropriate elements via 'M' key. -- 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#c3 J. Daniel Schmidt <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jdsn@suse.com | --- Comment #3 from J. Daniel Schmidt <jdsn@suse.com> 2011-10-31 13:55:21 UTC --- (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.
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 <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Component|Sound |KDE4 Applications AssignedTo|tiwai@suse.com |kde-maintainers@suse.de --- Comment #4 from Takashi Iwai <tiwai@suse.com> 2011-10-31 14:08:59 UTC --- (In reply to comment #3)
(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 <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |tiwai@suse.com --- Comment #5 from J. Daniel Schmidt <jdsn@suse.com> 2011-10-31 14:28:07 UTC --- (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. -- 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 <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|tiwai@suse.com | --- Comment #6 from Takashi Iwai <tiwai@suse.com> 2011-10-31 14:50:52 UTC --- (In reply to comment #5)
(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 <jdsn@suse.com> 2011-11-02 14:57:43 UTC --- (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.
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 <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jdsn@suse.com --- Comment #8 from Takashi Iwai <tiwai@suse.com> 2011-11-02 15:38:35 UTC --- (In reply to comment #7)
(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 <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jdsn@suse.com | --- Comment #9 from J. Daniel Schmidt <jdsn@suse.com> 2011-11-03 15:31:39 UTC --- Created an attachment (id=460267) --> (http://bugzilla.novell.com/attachment.cgi?id=460267) alsa-info.txt On behalf of Takashi attachin alsa-info.txt after he examined the bug on my workstation himself. -- 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#c10 J. Daniel Schmidt <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |tiwai@suse.com --- Comment #10 from J. Daniel Schmidt <jdsn@suse.com> 2011-11-03 15:32:55 UTC --- Takashi: alsa-info.txt attached as requested. -- 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#c11 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Component|KDE4 Applications |Sound InfoProvider|tiwai@suse.com | AssignedTo|kde-maintainers@suse.de |tiwai@suse.com --- Comment #11 from Takashi Iwai <tiwai@suse.com> 2011-11-03 16:13:27 UTC --- Thanks. The "hda_codec out of range" errors are because of BIOS bug. But the driver should be clever enough to work around it. The patch below fixes it. For the mysterious mute issue, I still don't figure out what could be wrong. Could you take alsa-info.sh output snapshots (run with --no-upload option) at all-OK, master-muted, and master-unmuted (broken) states? -- 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#c12 --- Comment #12 from Takashi Iwai <tiwai@suse.com> 2011-11-03 16:14:22 UTC --- Created an attachment (id=460275) --> (http://bugzilla.novell.com/attachment.cgi?id=460275) Fix patch for codec errors -- 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#c Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jdsn@suse.com -- 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#c13 --- Comment #13 from J. Daniel Schmidt <jdsn@suse.com> 2011-12-16 14:19:01 UTC --- Ok, here we go. I now have an openSUSE 12.1 GA. Via KMix I can not break the muting anymore nor with plain alsamixer (without -c0). Anyhow with "alsamixer -c0" I still can break it as it is not displaying the muted status of several channels until a restart of "alsamixer -c0". So here is the explanation for the following attachments. I even noted the key strokes - I did not press any other key in between or clicked anywhere. *allOK: no channel is muted, sound works *master-muted: ran "alsamixer -c0" and pressed "m" (to mute "Master") Result: _Only_ master is shown as muted, sound is muted -> correct *master-unmuted: pressed "m" again (to unmute "Master") (in the very same alsamixer) Result: _All_ channels are shown as _un_muted, but sound is still muted -> wrong *last-check: pressed "ESC" (quit alsamixer), ran "alsamixer -c0" again Result: Master shows as unmuted, BUT _all_ of Headphone, Front, Surround, Center, LFE show as muted. Unmuting them all (pressing "Right" and "m") brings sound back. So, my impression is, that alsamixer does not get to know, or just does not show, what channels were muted. Upon a restart of alsamixer it correctly reads the current status for each channel. As I hardly ever use "alsamixer -c0" to tune my sound output this is a rather minor bug. For me it works with Kmix and plain alsamixer (without parameter). -- 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#c14 J. Daniel Schmidt <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #460267|0 |1 is obsolete| | --- Comment #14 from J. Daniel Schmidt <jdsn@suse.com> 2011-12-16 14:20:15 UTC --- Created an attachment (id=467873) --> (http://bugzilla.novell.com/attachment.cgi?id=467873) *allOK: no channel is muted, sound works -- 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#c15 --- Comment #15 from J. Daniel Schmidt <jdsn@suse.com> 2011-12-16 14:21:16 UTC --- Created an attachment (id=467874) --> (http://bugzilla.novell.com/attachment.cgi?id=467874) *master-muted: ran "alsamixer -c0" *master-muted: ran "alsamixer -c0" and pressed "m" (to mute "Master") Result: _Only_ master is shown as muted, sound is muted -> correct -- 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#c16 --- Comment #16 from J. Daniel Schmidt <jdsn@suse.com> 2011-12-16 14:22:05 UTC --- Created an attachment (id=467875) --> (http://bugzilla.novell.com/attachment.cgi?id=467875) *master-unmuted: pressed "m" again *master-unmuted: pressed "m" again (to unmute "Master") (in the very same alsamixer) Result: _All_ channels are shown as _un_muted, but sound is still muted -> wrong -- 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#c17 --- Comment #17 from J. Daniel Schmidt <jdsn@suse.com> 2011-12-16 14:22:45 UTC --- Created an attachment (id=467876) --> (http://bugzilla.novell.com/attachment.cgi?id=467876) *last-check: pressed "ESC" (quit alsamixer), ran "alsamixer -c0" again *last-check: pressed "ESC" (quit alsamixer), ran "alsamixer -c0" again Result: Master shows as unmuted, BUT _all_ of Headphone, Front, Surround, Center, LFE show as muted. Unmuting them all (pressing "Right" and "m") brings sound back. -- 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#c18 J. Daniel Schmidt <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jdsn@suse.com | --- Comment #18 from J. Daniel Schmidt <jdsn@suse.com> 2011-12-16 14:23:17 UTC --- The last 5 comments provide the needed information. -- 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#c19 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jdsn@suse.com --- Comment #19 from Takashi Iwai <tiwai@suse.com> 2012-12-03 17:20:38 UTC --- Does the problem still happen on openSUSE 12.2? I don't remember the last status... -- 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#c20 J. Daniel Schmidt <jdsn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|jdsn@suse.com | Resolution| |FIXED --- Comment #20 from J. Daniel Schmidt <jdsn@suse.com> 2013-02-07 15:37:13 UTC --- I am no longer using KDE and thus can not speak about a changed behaviour in kmix. But all muting and unmuting (now via gmixer) behaves as expected. So I guess this issue is fixed - if kmix still has issues it now must be a bug in kmix. Thank you for your help. -- 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#c21 --- Comment #21 from J. Daniel Schmidt <jdsn@suse.com> 2013-02-07 15:38:22 UTC --- To answer your question: Yes, I am now using 12.2 (anyhow no longer KDE) and the problem does no longer appear. -- 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.
participants (1)
-
bugzilla_noreply@novell.com