x11-on-HypriotOS icon indicating copy to clipboard operation
x11-on-HypriotOS copied to clipboard

EGL on HypriotOS

Open FunkMonkey opened this issue 10 years ago • 3 comments

I want to run Kodi within a Docker container. Can't get it to start, as EGL seems to me missing in HypriotOS. Do you have any hints on adding EGL?

Thanks a lot

FunkMonkey avatar Oct 23 '15 19:10 FunkMonkey

What do you need for EGL support? I read here that there are some deb packages which can be installed on the host system.

sudo apt-get install -y libraspberrypi0 libva-egl1 libegl1-mesa libegl1-mesa-drivers gegl

Some time ago I took a RPI openelec image and imported the root filesystem into a docker container perhaps this is another way for installing all dependencies. But keep in mind that you have to rewrite the startup process because container do not have systemd or sysvinit.

Feel free to ask again if installing these packets does not work.

firecyberice avatar Oct 24 '15 09:10 firecyberice

Thank you for your help. Installing libraspberrypi0 did the trick, as it contains the missing EGL libraries.

Unfortunately I am getting another error, concerning vchiq (the raspberry graphics driver), which does not seem to be installed. Don't think I am enough of a Linux / Docker expert to figure out how to get the graphics driver running in a container (not even sure if it needs to run on the docker host or not).

Anyway. I'll try it the other way around: using Hypriot's Docker package on an OSMC (a Raspbian based distribution with Kodi installed) system, as explained here. Sounds like it is easier to achieve. [Update] This way I have Kodi running by default and can run non-graphics applications in docker containers.

Thank you a lot for your help!

FunkMonkey avatar Oct 25 '15 13:10 FunkMonkey

Cool, thanks for the feedback!

DieterReuter avatar Oct 25 '15 13:10 DieterReuter