Fedora Flatpak Kodi 21 No Passthrough
#1
HI I did a fresh install of Kodi 21 from flatpak, although Dolby and DTS 5.1 are working for pipewire.
However, when I enable ALSA, None of them are working, although I do see an option of Pass-through for TrueHD. I hear a disturbing noise

flatpak run tv.kodi.Kodi --audio-backend=alsa

Any suggestions?

Thanks

PS: How do I load images (Screen shots)?
Reply
#2
Hello, having exactly the same results on Kodi 21 and Ubuntu 24. Did you find any solution?
Reply
#3
I'll have a try oer the weekend. Have you both tried swapping pipewire with wireplumber and without alsa as a backend?

sudo dnf swap --allowerasing pipewire-media-session wireplumber

That command will remove pipewire and will install wireplumber

To check which is currently in use/active use: rpm -qa | grep -i wireplumber which should show some output if wireplumber is installed
Reply
#4
--audio-backend=alsa doesn't necessarily mean that Kodi is using ALSA directly. Only if PipeWire currently isn't using the ALSA device at all will Kodi be able to grab it, otherwise it will still go through the PipeWire ALSA compatibility layer. To make sure Kodi is using PipeWire directly you can check pw-top, if Kodi isn't showing up as a client while playing audio it is using ALSA directly. If it's using the PipeWire ALSA compatibility it looks something like this:
Code:

S   ID  QUANT   RATE    WAIT    BUSY   W/Q   B/Q  ERR FORMAT           NAME                                                                                                                                                                                                   
I   29      0      0   0,0us   0,0us  ???   ???     0                  Dummy-Driver
S   30      0      0    ---     ---   ---   ---     0                  Freewheel-Driver
S   47      0      0    ---     ---   ---   ---     0                  Midi-Bridge
S   52      0      0    ---     ---   ---   ---     0                  bluez_midi.server
R   55   2048  48000 159,1us  33,3us  0,00  0,00    0    S32LE 2 48000 alsa_output.pci-0000_05_00.6.analog-stereo
R   73   2400  48000  79,3us  37,1us  0,00  0,00    0    F32LE 2 48000  + alsa_playback.kodi.bin
S   56      0      0    ---     ---   ---   ---     0                  alsa_input.pci-0000_05_00.6.analog-stereo
S   67      0      0    ---     ---   ---   ---     0                  Firefox
I   76      0      0   0,0us   0,0us  ???   ???     0    F32LE 2 48000 Firefox
Note that Kodi doesn't keep the ALSA device busy all the time so PipeWire may grab it at some point and then Kodi and PipeWire try to use the same ALSA device simultaneous which can cause terrible distortions.
(2024-08-02, 00:28)DaVu Wrote: That command will remove pipewire and will install wireplumber
This really shouldn't remove PipeWire. Both pipewire-media-session and WirePlumber are PipeWire session managers and only work with PipeWire. The difference between the two is that WirePlumber is more powerful and has become the recommended default.
Reply
#5
I have the same issue running Ubuntu 24.04 on a NanoPC-T6.

There was some comment that the problem in related to Pipewire and was fixed in Pipewire V1.0.6.
Pipewire release V1.0.6. states 'A regression in kodi with IEC958 formats playback was fixed.' 

Too bad, for me ( and maybe you as well) the current version is V1.0.5. - so I have to wait
Reply
#6
(2024-08-02, 02:29)Neo1973 Wrote: This really shouldn't remove PipeWire. Both pipewire-media-session and WirePlumber are PipeWire session managers and only work with PipeWire. The difference between the two is that WirePlumber is more powerful and has become the recommended default.

True. Wink
Reply

Logout Mark Read Team Forum Stats Members Help
Fedora Flatpak Kodi 21 No Passthrough0