Skip to content
This repository has been archived by the owner on May 30, 2018. It is now read-only.

EGL on HypriotOS #2

Open
FunkMonkey opened this issue Oct 23, 2015 · 3 comments
Open

EGL on HypriotOS #2

FunkMonkey opened this issue Oct 23, 2015 · 3 comments

Comments

@FunkMonkey
Copy link

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
Copy link
Member

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
Copy link
Author

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
Copy link
Collaborator

Cool, thanks for the feedback!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants