Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
retitle 677014 gstreamer-pulse: xfce4-volumed can't control volume when switching output reassign 677014 gstreamer0.10-pulseaudio severity 677014 normal affects 677014 xfce4-volumed thanks Well, there's no special support for multiple cards or multiple volumes in volumed, but that's ok imho, the point is to have a tiny daemon handling multimedia keys for general volume. If you want more specific control, then there are other tools for that. Now, for the fact that it doesn't work with pulseaudio, indeed, that looks like a gstreamer-pulseaudio bug, since it works just fine with alsa when using gstreamer-alsa. Agreed. Reassigning to gstreamer-pulse. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
Hi, On Mon, Jun 11, 2012 at 02:38:30AM -0400, Andres Cimmarusti wrote: Package: xfce4-volumed Version: 0.1.13-3 Severity: normal I need to use pulseaudio and pavucontrol to be able to easily toggle between HDMI audio output to a TV and laptop speakers. I also want to use xfce volumed and mixer to control audio with special Fn keys. Sadly xfce volumed does not use pulse by default, but interacts directly with the sound card. Volumed points to sound card, and when I mute with Fn+keyboard, it mutes master and pulseaudio but cannot unmute pulseaudio! This is a well known bug: https://bugs.launchpad.net/xfce4-volumed/+bug/883485 In the ubuntu bug thread, two workarounds are suggested. One is to do away with xfce4-volumed (a developer admits it doesn't support pulse), so that custom key bindings can be defined (more robust solution) or do this: Actually, it supports pulseaudio, through the gstreamer0.10-pulse backend (which unfortunately isn't very great, but that's another issue...). $ xfconf-query -c xfce4-mixer -p /active-card -s `xfconf-query -c xfce4-mixer -p /sound-card` This last command works, but it's not robust enough to handle multiple cards (e.g. HDMI outputs): When I switch to HDMI, audio control with Fn keys is useless. Furthermore, when I use pavucontrol to switch back to laptop speakers, volumed continues to be useless... There is a patch referred in the ubuntu thread: https://launchpadlibrarian.net/101001716/xfce4-volumed_0.1.13-2ubuntu2.debdiff However, Ubuntu uses pulseaudio by default while Debian does not. I'm not sure this patch is robust enough to handle both cases. I hope the maintainer can take a look. I made the original patch for Xubuntu (http://launchpadlibrarian.net/97800154/xfce4-volumed_0.1.13-2_0.1.13-2ubuntu1.diff.gz), and I'm not very proud of it. ;-) TBH, it's hackish (let's try to make it work for the LTS-thing), and not robust at all: when your system has several audio outputs (e.g. laptop speaker and hdmi), the output selected by xfce4-volumed will be random -- it depends on the output's ordering done by gstreamer... And that's why some people complain that on 12.04, xfce4-volumed selects their HDMI audio output while it's not the default card. Thanks. For now, I try to make the first workaround work. If you feel lucky/adventurous (and know how to use git and compile sources), you can try an experimental port of xfce4-volumed to PulseAudio I wrote 2 weeks ago: http://lionel.lefolgoc.net/code/xfce4-volumed-pulse It doesn't support gstreamer anymore, only pulseaudio, hasn't received much testing (well, I installed PulseAudio to test :), but at least here, it seems to work, and it should do what you want (i.e. it follows what output you set as default in pavucontrol). (It's for testing purposes only, and not really ready for inclusion in any distribution. I haven't decided yet what to do with it: merge it back in xfce4-volumed, or release a pulse-only fork. I need to talk with the original author about that...) -- Best, Lionel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
On lun., 2012-06-11 at 02:38 -0400, Andres Cimmarusti wrote: Package: xfce4-volumed Version: 0.1.13-3 Severity: normal I need to use pulseaudio and pavucontrol to be able to easily toggle between HDMI audio output to a TV and laptop speakers. I also want to use xfce volumed and mixer to control audio with special Fn keys. Sadly xfce volumed does not use pulse by default, but interacts directly with the sound card. Volumed points to sound card, and when I mute with Fn+keyboard, it mutes master and pulseaudio but cannot unmute pulseaudio! This is a well known bug: https://bugs.launchpad.net/xfce4-volumed/+bug/883485 In the ubuntu bug thread, two workarounds are suggested. One is to do away with xfce4-volumed (a developer admits it doesn't support pulse), so that custom key bindings can be defined (more robust solution) or do this: $ xfconf-query -c xfce4-mixer -p /active-card -s `xfconf-query -c xfce4-mixer -p /sound-card` This last command works, but it's not robust enough to handle multiple cards (e.g. HDMI outputs): When I switch to HDMI, audio control with Fn keys is useless. Furthermore, when I use pavucontrol to switch back to laptop speakers, volumed continues to be useless... There is a patch referred in the ubuntu thread: https://launchpadlibrarian.net/101001716/xfce4-volumed_0.1.13-2ubuntu2.debdiff However, Ubuntu uses pulseaudio by default while Debian does not. I'm not sure this patch is robust enough to handle both cases. I hope the maintainer can take a look. Thanks. For now, I try to make the first workaround work. Didn't yet read the whole ubuntu bug, but xfce4-volumed uses gstreamer, it doesn't “speak directly to the sound card”. Can't you just switch to gstreamer-pulseaudio? Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
Didn't yet read the whole ubuntu bug, but xfce4-volumed uses gstreamer, it doesn't “speak directly to the sound card”. Can't you just switch to gstreamer-pulseaudio? I have it installed and I used these two commands to make it use pulseaudio by default: $ gconftool-2 -t string --set /system/gstreamer/0.10/default/audiosink pulsesink $ gconftool-2 -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc But that didn't work at all. In gnome I remember using a GUI called gstreamer-properties to adjust this sort of thing, but from what I found online, these two commands should have done the same thing. Is there anything I need to do to switch? If you feel lucky/adventurous (and know how to use git and compile sources), you can try an experimental port of xfce4-volumed to PulseAudio I wrote 2 weeks ago: http://lionel.lefolgoc.net/code/xfce4-volumed-pulse It doesn't support gstreamer anymore, only pulseaudio, hasn't received much testing (well, I installed PulseAudio to test :), but at least here, it seems to work, and it should do what you want (i.e. it follows what output you set as default in pavucontrol). (It's for testing purposes only, and not really ready for inclusion in any distribution. I haven't decided yet what to do with it: merge it back in xfce4-volumed, or release a pulse-only fork. I need to talk with the original author about that...) I might give this a try later when I have a bit more time. Shouldn't xfce4-volumed (for purposes of Debian wheezy release) be uninstallable if pulseaudio and pavucontrol are to be used? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
On lun., 2012-06-11 at 09:07 -0400, Andres Cimmarusti wrote: Didn't yet read the whole ubuntu bug, but xfce4-volumed uses gstreamer, it doesn't “speak directly to the sound card”. Can't you just switch to gstreamer-pulseaudio? I have it installed and I used these two commands to make it use pulseaudio by default: $ gconftool-2 -t string --set /system/gstreamer/0.10/default/audiosink pulsesink $ gconftool-2 -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc But that didn't work at all. In gnome I remember using a GUI called gstreamer-properties to adjust this sort of thing, but from what I found online, these two commands should have done the same thing. Is there anything I need to do to switch? No idea, I don't use pulseaudio. If you feel lucky/adventurous (and know how to use git and compile sources), you can try an experimental port of xfce4-volumed to PulseAudio I wrote 2 weeks ago: http://lionel.lefolgoc.net/code/xfce4-volumed-pulse It doesn't support gstreamer anymore, only pulseaudio, hasn't received much testing (well, I installed PulseAudio to test :), but at least here, it seems to work, and it should do what you want (i.e. it follows what output you set as default in pavucontrol). (It's for testing purposes only, and not really ready for inclusion in any distribution. I haven't decided yet what to do with it: merge it back in xfce4-volumed, or release a pulse-only fork. I need to talk with the original author about that...) I might give this a try later when I have a bit more time. Shouldn't xfce4-volumed (for purposes of Debian wheezy release) be uninstallable if pulseaudio and pavucontrol are to be used? Why? If there's a problem somewhere, it might just be in gstreamer-pulseaudio. -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
Why? If there's a problem somewhere, it might just be in gstreamer-pulseaudio. Indeed. gstreamer-pulseaudio is very limited. I've found and modified a little script that can be used instead of xfce4-volumed for users of pulseaudio. It works well for me: http://forums.debian.net/viewtopic.php?f=16t=74762p=438627#p438627 (last post) I had to create my own keyboard shortcuts and remove xfce4-volumed to make it work properly. It follows pulseaudio's output when changed in pavucontrol. Should the bug be reassigned or simply closed? (People are aware of the problem) Andres -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677014: [Pkg-xfce-devel] Bug#677014: xfce4-volumed: no support for pulseaudio / multiple cards
On lun., 2012-06-11 at 21:22 -0400, Andres Cimmarusti wrote: Why? If there's a problem somewhere, it might just be in gstreamer-pulseaudio. Indeed. gstreamer-pulseaudio is very limited. I've found and modified a little script that can be used instead of xfce4-volumed for users of pulseaudio. It works well for me: http://forums.debian.net/viewtopic.php?f=16t=74762p=438627#p438627 (last post) I had to create my own keyboard shortcuts and remove xfce4-volumed to make it work properly. It follows pulseaudio's output when changed in pavucontrol. Should the bug be reassigned or simply closed? (People are aware of the problem) Well, there's no special support for multiple cards or multiple volumes in volumed, but that's ok imho, the point is to have a tiny daemon handling multimedia keys for general volume. If you want more specific control, then there are other tools for that. Now, for the fact that it doesn't work with pulseaudio, indeed, that looks like a gstreamer-pulseaudio bug, since it works just fine with alsa when using gstreamer-alsa. Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part