Good morning, On Tue, 30 Apr 2024, 02:15:10 +0200, Masaru Nomiya wrote: > Hello, > > In the Message; > > Subject : [packman] Kodi 21.0 Omega - Update against sound issues on Leap > Message-ID : <[email protected]> > Date & Time: Mon, 29 Apr 2024 13:59:33 +0200 > > [MH] == Manfred Hollstein <[email protected]> has written: > > MH> Hi there, > > MH> Kodi apparently has issues on Leap when both, PulseAudio and Pipewire, > MH> are installed. The reason is that Leap does not install > MH> pipewire-pulseaudio, leaving Kodi assuming it should use Pipewire as its > MH> audio backend - unfortunately, this does not produce any sound at all :-( > > MH> We have therefore extended the /usr/bin/kodi script to detect, if the > MH> installation is kind of broken: > > MH> # Work around a possibly broken installation of pipewire on openSUSE > Leap > MH> # see 'https://bugzilla.opensuse.org/show_bug.cgi?id=1222636' > MH> if [ -x ${prefix}/bin/pulseaudio ] && > MH> [ -x ${prefix}/bin/pipewire ] && > MH> [ ! -x ${prefix}/bin/pipewire-pulse ]; then > MH> ENV_ARGS="--audio-backend=pulseaudio" > MH> fi > > MH> This means that a default installation of Leap 15.5 or 15.6 will cause > MH> kodi to add "--audio-backend=pulseaudio" by itself. Please note, you can > MH> still override this by adding your own preference by adding one of the > MH> following yourself: > > MH> --audio-backend=<backend> Select which audio backend to use. > MH> Available audio backends are: alsa, pipewire, > pulseaudio, alsa+pulseaudio > > MH> This will take priority over an implicitly added option for pulseaudio. > > I have two questions about what is written here. > > 1. If pipewire-pulseaudio is not installed, then there should be a lot > of sound-related problems?
Without the latest fix, yes, there was no sound at all. > As I mentioned before, there are apps that use pulseaudio rather > than pipewire. Which is exactly the situation as tested by the added if ... fi part. This is the situation that a Leap installation with all updates installed is in. It has /usr/bin/pulseaudio and /usr/bin/pipewire, but no /usr/bin/pipewire-pulseaudio. In that configuration Kodi believes it should use Pipewire, but that doesn't work. That's why we instruct Kodi to use "--audio-backend=pulseaudio". > 2. Under the current situation of the sound related apps, wouldn't it > be correct to encourage the installation of pipewire-pulseaudio? Yes, that's what I tried to force the SUSE guys to do, but as can be seen in the bugzilla, they neglected to do that. Hence we came up with the work-around. > Best Regards. HTH, cheers. l8er manfred
signature.asc
Description: PGP signature
_______________________________________________ Packman mailing list [email protected] https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
