[Bug 800963] New: xfce freeze when audio volume button is shifted
https://bugzilla.novell.com/show_bug.cgi?id=800963 https://bugzilla.novell.com/show_bug.cgi?id=800963#c0 Summary: xfce freeze when audio volume button is shifted Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Xfce AssignedTo: bnc-team-xfce@forge.provo.novell.com ReportedBy: andreas.roehler@online.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 when trying to change the audio volume from button in task bar, xfce becomes unresponsive Reproducible: Always Steps to Reproduce: 1. see above 2. 3. Actual Results: s.o. Expected Results: s.o. -- 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c1
--- Comment #1 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c2
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c3
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c4
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c5
--- Comment #5 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c6
--- Comment #6 from Guido Berhörster
Two solutions:
- Don't link gstreamer into xfce-mixer (why would the mixer need this anyway?)
It is build on the GstMixer API which is a cross-platform abstraction of different audio mixer interfaces.
- Port xfce-mixer to GStreamer 1.0 (in most cases the port is rather simple)
Upstream was so nice to remove the above API without warning before the 1.0 release (http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/gst-libs/gst?i...) so that is simply impossible. -- 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c7
--- Comment #7 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c8
--- Comment #8 from Guido Berhörster
Errr...
'impossible to port to GSTreamer 1.0'...
well, if we switch libcanberre to gst 0.10, all the other apps will break.. GST 0.10 is no longer maintained, so that sounds like a terrible trade off.
As such, the best thing for now is likely to modify /etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
and not have canberra-gtk-module added to GTK_MODULES.
This though should ONLY happen on XFCE imho (what's the best way to identify if the session running is XFCE?)
There isn't really, when /etc/X11/xinit/xinitrc.d/ gets called xfce4-session isn't running yet and environment variables like GDMSESSION or DESKTOP_SESSION are only set by GDM and LightDM. You can e.g. also run xfce4-mixer in LXDE or with Openbox so this doesn't look like a viable solution. This problem is not also specific to the xfce4-mixer panel plugin, it affects any application linking to both GTK and libgstreamer-0.10 which are probably a lot. Only on my Factory Xfce installation this affects firefox, shotwell, and rhythmbox which all have libgstreamer-1.0 and libgstreamer-0.10 in the same process space and libgstreamer does not use symbol versioning. -- 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c9
--- Comment #9 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c10
--- Comment #10 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c11
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c12
--- Comment #12 from Guido Berhörster
It would be much better to just drop gstreamer backend in libcanberra. It already supports Pulseaudio and Alsa and Fedora has disabled gstreamer backend in their package for almost one year, without any issue.
Will it select the backend at runtime based on what is available? This could probably also solve the issue with Firefox noted on the factory list which uses libcanberra 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c13
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c14
--- Comment #14 from Frederic Crozat
Will it select the backend at runtime based on what is available? This could probably also solve the issue with Firefox noted on the factory list which uses libcanberra directly.
Yes, libcanberra will try the various various, in the following order : #ifdef HAVE_PULSE "pulse", #endif #ifdef HAVE_ALSA "alsa", #endif #ifdef HAVE_OSS "oss", #endif #ifdef HAVE_GSTREAMER "gstreamer", #endif so, in our case, gstreamer was probably never case (we build libcanberra with pulse and alsa backend and not oss one). -- 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c15
Guido Berhörster
(In reply to comment #12)
Will it select the backend at runtime based on what is available? This could probably also solve the issue with Firefox noted on the factory list which uses libcanberra directly.
Yes, libcanberra will try the various various, in the following order : #ifdef HAVE_PULSE "pulse", #endif #ifdef HAVE_ALSA "alsa", #endif #ifdef HAVE_OSS "oss", #endif #ifdef HAVE_GSTREAMER "gstreamer", #endif
so, in our case, gstreamer was probably never case (we build libcanberra with pulse and alsa backend and not oss one).
I just checked with a VM containing the Xfce default install, at least the GTK module will load all backends by default: $ leafpad & $ awk '/asound|gstreamer|canberra/ { print $6 }' /proc/$(pidof leafpad)/maps | sort | uniq /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib64/libasound.so.2.0.0 /usr/lib64/libcanberra-0.30/libcanberra-alsa.so /usr/lib64/libcanberra-0.30/libcanberra-gstreamer.so /usr/lib64/libcanberra-0.30/libcanberra-multi.so /usr/lib64/libcanberra-0.30/libcanberra-oss.so /usr/lib64/libcanberra-gtk.so.0.1.9 /usr/lib64/libcanberra.so.0.2.5 /usr/lib64/libgstreamer-1.0.so.0.5.0 $ kill $! ... $ unset GTK_MODULES $ leafpad & $ awk '/asound|gstreamer|canberra/ { print $6 }' /proc/$(pidof leafpad)/maps | sort | uniq $ -- 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c16
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c17
Guido Berhörster
The NEEDINFO is not cleared:
Canberra tries to load the respective modules...
[...]
Better test: Get the cnaberra packages from http://download.opensuse.org/repositories/home:/dimstar:/branches:/GNOME:/Fa... (I'm planning to submit those... if ok)
These packages work fine, sound notifications in Firefox also work. -- 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=800963
https://bugzilla.novell.com/show_bug.cgi?id=800963#c18
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com