hypriot / x11-on-HypriotOS

Instructions how to install X11 on a HypriotOS based Raspberry Pi system
MIT License
38 stars 19 forks source link

EGL on HypriotOS #2

Open FunkMonkey opened 9 years ago

FunkMonkey commented 9 years ago

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

firecyberice commented 9 years ago

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.

FunkMonkey commented 9 years ago

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!

DieterReuter commented 9 years ago

Cool, thanks for the feedback!