the SGX540 libs ARE the EGL libs. They all get loaded.. here's a snippet from my logcat after pushing them and enabling pvrsrvinit
Code:
D/libEGL ( 275): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 275): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 275): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 275): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
Surface flinger recognizes the GPU
Code:
I/SurfaceFlinger( 253): Client API: OpenGL ES
I/SurfaceFlinger( 253): EGLSurface: 8-8-8-0, config=0x7
I/SurfaceFlinger( 253): OpenGL informations:
I/SurfaceFlinger( 253): vendor : Imagination Technologies
I/SurfaceFlinger( 253): renderer : PowerVR SGX 540
I/SurfaceFlinger( 253): version : OpenGL ES-CM 1.1
This could be why the display color is borked
Code:
E/libEGL ( 241): eglSetSwapRectangleANDROID:1460 error 3008 (EGL_BAD_DISPLAY)