[packman] Kodi 21.0 Omega - Update against sound issues on Leap

Manfred Hollstein manfred.h at gmx.net
Tue Apr 30 11:42:01 CEST 2024


Moin,

On Tue, 30 Apr 2024, 11:15:14 +0200, Masaru Nomiya wrote:
> Hello,
> 
> In the Message; 
> 
>   Subject    : Re: [packman] Kodi 21.0 Omega - Update against sound issues on Leap
>   Message-ID : <20240430072150.GA3487 at saturn.hollstein.homelinux.org>
>   Date & Time: Tue, 30 Apr 2024 09:21:50 +0200
> 
> [MH] == Manfred Hollstein <manfred.h at gmx.net> has written:
> 
> MH>  Good morning,
> 
> Guten Morgen, aber in Japan, guten Abend. 
> 
> Anyway,
> 
> [...]
> MH>>>  This will take priority over an implicitly added option for pulseaudio.
>  
> MN> > I have two questions about what is written here.
>  
> MN> > 1. If pipewire-pulseaudio is not installed, then there should be a lot
> MN> >   of sound-related problems?
> 
> MH>  Without the latest fix, yes, there was no sound at all.
> 
> MN> >   As I mentioned before, there are apps that use pulseaudio rather
> MN> >   than pipewire.
> 
> MH>  Which is exactly the situation as tested by the added if ... fi part.
> MH>  This is the situation that a Leap installation with all updates
> MH>  installed is in. It has /usr/bin/pulseaudio and /usr/bin/pipewire, but
> MH>  no /usr/bin/pipewire-pulseaudio. In that configuration Kodi believes it
> MH>  should use Pipewire, but that doesn't work. That's why we instruct Kodi
> MH>  to use "--audio-backend=pulseaudio".
> 
> Pulseaudio and pipewrire-pulse are exclusive, so if you install
> pulseaudio, you cannot install pipewire-pulse, but you should still be
> able to play sound, although kodi will have no sound.

Correct.

> MN> > 2. Under the current situation of the sound related apps, wouldn't it
> MN> >   be correct to encourage the installation of pipewire-pulseaudio?
> 
> MH>  Yes, that's what I tried to force the SUSE guys to do, but as can be
> MH>  seen in the bugzilla, they neglected to do that. Hence we came up with
> MH>  the work-around.
> 
> I understand your anger, but wouldn't it be faster to rebuild with
> -DENABLE_PULSEAUDIO=AUTO option?

I understand the AUTO that PA gets enabled if the files for it are
installed at compile time; if not, you don't get an error message.

> Of course, you need libpulse-devel.

Sure, and that would mean the same as -DENABLE_PULSEAUDIO=YES, you would
however not see an error message at build time when there is no
libpulse-devel (see above).

This whole mess is not an issue at compile/build time, but at run time.
Kodi should not just blindly assume, PW is usable when it finds a
/usr/bin/pipewire program.

> Best Regards.

Cheers.

l8er
manfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20240430/92810981/attachment-0001.sig>


More information about the Packman mailing list