Jump to content

sans-ltd

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Ahh OK I see. What solution can you suggest in conjuction with Electron / Chromium / (Firefox)? Is there a way to get them working directly on EGL instead of GL? We want to run a HTML 5 application on the Allwinner A20. If all fails, we would port it to Qt/QML which hopefully has better EGL support. But the alternatives information would still be great, maybe with a lower priority than Mesa, so it could be activated easily if needed. I fully agree that it cannot be a default solution when it has issues with browsers. Regards Florian
  2. Hello finally it turns out that the package libglshim is missing alternative information. But this package is needed to use the Mali EGL driver as GL driver. To work around this we manually added the alternative information: echo /usr/lib/arm-linux-gnueabihf/glshim > /usr/lib/arm-linux-gnueabihf/glshim/ld.so.conf export DEB_HOST_MULTIARCH=arm-linux-gnueabihf sudo update-alternatives --force --install /etc/ld.so.conf.d/${DEB_HOST_MULTIARCH}_GL.conf ${DEB_HOST_MULTIARCH}_gl_conf /usr/lib/${DEB_HOST_MULTIARCH}/glshim/ld.so.conf 500 Then we switched to glshim instead of Mesa for GL: sudo update-alternatives --config arm-linux-gnueabihf_gl_conf There are 2 choices for the alternative arm-linux-gnueabihf_gl_conf (providing /etc/ld.so.conf.d/arm-linux-gnueabihf_GL.conf). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/arm-linux-gnueabihf/mesa/ld.so.conf 500 auto mode 1 /usr/lib/arm-linux-gnueabihf/glshim/ld.so.conf 500 manual mode 2 /usr/lib/arm-linux-gnueabihf/mesa/ld.so.conf 500 manual mode Choose 1 here In addition we checked if Mali-EGL is used instead of Mesa-EGL: sudo update-alternatives --config arm-linux-gnueabihf_egl_conf There are 2 choices for the alternative arm-linux-gnueabihf_egl_conf (providing /etc/ld.so.conf.d/arm-linux-gnueabihf_EGL.conf). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/arm-linux-gnueabihf/mali-egl/ld.so.conf 600 auto mode 1 /usr/lib/arm-linux-gnueabihf/mali-egl/ld.so.conf 600 manual mode 2 /usr/lib/arm-linux-gnueabihf/mesa-egl/ld.so.conf 500 manual mode And finally sudo ldconfig Now glxgears runs with 140FPS and 60% CPU on a Allwinner A20. @Armbian Maintainers: It would be great if you could fix the libglshim package in the future and add the alternatives information. Greetings Florian
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines