12-12-2017, 12:18 PM
(12-12-2017, 10:09 AM)Mrfixit2001 Wrote: @Kwiboo - I am in this same situation and have been checking back into this post for awhile and am anxiously awaiting any further direction from you! Thank you in advance!
The main part of the required code for hw decoding in FFmpeg, mpv and Kodi has already been upstreamed, the LibreELEC related parts is currently kept in a feature branch in upstream repo.
X11 support is nothing that is really planed as that would require importing the video frame into GPU and limits rendering to what the GPU can handle (struggles with 1080p 60hz and 2160p 24hz). Wayland support might be possible in the future but has very low priority.
To be able to render video at 4K 50/60hz the video frame needs to be sent directly to the Display Controller (VOP), and also the gui layer rendered by the GPU must be disable or limited in size to no more then 720p or there wont be enough memory bandwidth available.
This is what we aim to do in Kodi running on LibreELEC with the switch to use the Atomic DRM API for rendering.
I recommend that you test Raybuntu's LibreELEC image for ROCK64 for Kodi use, and if you need to run other services install the docker add-on and run any other service in one or more containers.