MACHYBRIS
machybris is a packaged libhybris solution for rockchip devices (RK3288, RK3188, RK312X) that exposes the following android libs that can be used to develop your linux apps:
graphical HW acceleration (EGL, GLES libs)
rockchips video HW acceleration (vpu, rkon2 libs)
androids media service (media lib)
makes, for instance, kodi / spmc run in linux (just install mackodi)
NEW RELEASE
Finally a new release of machybris (v0.1.1)! It can now also use androids native surfaceflinger as window composer allowing for a smooth vsync at 60 fps. machybris already ran on RK3288 devices, now I also added support for RK3188 and RK312X devices (disclaimer: I only tested this on my good old mk809iii and my FirePrime (sponsored by firefly): so would be interested if this runs on other devices too!)
EXAMPLE SOURCE CODE
And with this release see also some example application code to show how you can use machybris for your application development. See: https://github.com/mac-l1/machybris_examples.git Here you can find the code for the demos that I put on youtube like the h264 movie player and h264 screen recorder. I also put a simple hevc/h265 movie player in there.
Hope this helps to unleash and show the power of rockchip hardware acceleration in linux applications for all of us!
Have fun!
And if you like it: please get me a faster computer by giving a small donation; it will benefit my impatience during compilation/building, my nails and future releases; any help is welcome!
hi sun_echo,
i just checked your mac-l1.com link in the post and it works, so don’t know what the problem is? is it still a problem, maybe the site was just down a bit… if it still does not work, then let me know and i will put my stuff on some other backup-site…
cheers – mac-l1
Hi mac_l1,
Thanks for answering my question.I can now have a normal visit with the site “http://mac-l1.com/” .
But in accordance with the script “http://mac-l1.com/install_machybris.sh” after the completion of the installation of the entire system of color and contrast have changed, use ffplay to play the video is the same;
But the use of the system original player Mplayer playback when the color and contrast on the normal,
I looked at Linux GPU acceleration via the link below, I hope the same test with firep …
hi newold,
for rotozoom: it seems you get some decent framerates; i wonder do you see the demo on the screen rotozooming around? it seems it works? anyways, it is better to execute the ./roto.sh script (not in root mode but in user mode) instead of the rotozoom executable.
the chvt error you see is not so important; chvt switches to another framebuffer and chvt( 7 ) switches to the X11 framebuffer, while i believe all machybris stuff is displayed at chvt( 10 ) or so. in root mode chvt does not work.
for glmark2-es: the ubuntu one you installed with apt-get does not work as this is the original X11 one, i.e. made for X11. machybris rendering is done completely without X11 as it is bases on android graphics (that has no X11).
i have ported a glmark2 from rpi to firefly with machybris before, see: https://github.com/mac-l1/glmark2, just to check it performance. dont know if i tested this on fireprime too, at least it worked on firefly. maybe you can get it running too?