knapsu / plex-media-player-flatpak

Linux Flatpak packages for Plex Media Player application.
https://knapsu.eu/plex/
GNU General Public License v3.0
14 stars 2 forks source link

CEC not working #6

Closed Zero0Q closed 3 years ago

Zero0Q commented 4 years ago

Hi, I have a issue with internal CEC adapter from pulse eight on my NUC8i5BE with flatpak PMP. CEC works with PMP app image and kodi but not with flatpac PMP, I prefer flatpak PMP because it can do hardware decoding and app image can’t, is CEC working out of flatpak install or do i need to do anything else?

knapsu commented 4 years ago

Hi @Zero0Q. Flatpak apps runs in a sandbox. Unfortunately there are no permissions that allow to expose USB devices that libCEC wants to use. That is why it does not work. AppImage on the other hand has no security model and can freely communicate with any device in the system.

I am unable to fix this. Will leave the issue open as maybe in the future this will be possible.

Zero0Q commented 4 years ago

Thank you for your help, I guess I will use Appimage instead, do you know if you be adding hardware decoding in Appimage in next release or in the future?

knapsu commented 4 years ago

I spend quite a lot of hours trying to add hardware decoding to AppImage. It is enabled but very fragile. On some system it works and on some it does not. Suspecting this is video driver related but was not able to pinpoint the exact problem.

Zero0Q commented 4 years ago

I installed Ubuntu 18.04 on NUC8i5BEH running intel iris plus graphics 655 but still no luck.

knapsu commented 4 years ago

Intel drivers and their VA-API incompatibilities between minor verions are to blame.