Get the latest tech news
How does hardware acceleration work with containers?
June 05, 2024 Written by Leonardo Held, Torizon Developer At Toradex we build Torizon OS, which is a container-based embedded system. What do we mean by that? It means that the applications run in isolated environments called containers.
I’ll choose GLMark2 because I also wanna show that there’s no performance penalty when running an application from the container; I hope it will become clear that it’s just another Linux process with a different root filesystem. If you build the package (or download through the GitHub Actions artifacts) you’ll see the libraries we saw in the strace log before (shortened for brevity, there are lots of other libs): somehow expose the device descriptors created by the drivers inside this container should be the same thing as simply running the applications in the “usual” root filesystem
Or read this on Hacker News