Hi Andrey, thank you for supporting.
Actually, i am not sure if i need 'lima' driver or not... Because i run a
simple web based (Javasctipt) GUI application in firefox in fullscreen
kiosk mode. It has only two tabs (contexts) with fixed size without
scrolling, a few buttons and window space for playing video on top of all
without desktop environment.
GUI application is very simple. I am not a web programmer but i know that i
am not using any specific openGL code in web application.
Maybe lima can help with CPU load because no matter how simple my GUI
application is, it does not run smoothly when i switch between these two
tabs. CPU can take more than 50% during switching and showing different
contexts to the user.
Anyway i also tried to load Lima driver and i got /dev/dri/card0, card1
and renderD128 but i am not sure how to test it.
When i try to load xwindow or kmscube i get following error message:
root@olinuxino:~/workspace# kmscube
gbm: failed to open any driver (search paths
/usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/sun4i-drm_dri.so: cannot open shared
object file: No such file or directory
failed to load driver: sun4i-drm
kmscube fail at this point but xwindow show only this error and continue
running. I can run gui application after xwindow is started.
My LVDS display is working well and one of my issues is how to put decoded
video to a specific location in GUI application.
After the video is decoded by cedar VE it is in YUV NV12 RAW format. I have
to scale it to another resolution and show it inside of GUI application.
On legacy kernel i used Display Engine and /dev/disp device node for this
purpose.
Unfortunately on mainline /dev/disp vanish and we are forced to use drm
driver instead of it which is if i understand well the same Display Engine
driver in the background.
Regards,
Milos Ladicorbic
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/linux-sunxi/49e7f2a7-5c34-4265-8c2c-d868eeb9af14o%40googlegroups.com.