Hi,
After upgrading to 4.4.3_2.0.0 we're having problems with low graphics performance, this seems to affect only 2D drawing.
I've been running the 0xBench app (0xbench - Comprehensive Benchmark Suite for Android - Google Project Hosting ) with 2D and 3D tests.
Android 4.4.2 using hwcomposer_viv.imx6.so, 3.0.35 kernel
Draw Rect test: 37 fps
Flying teapot: 60 fps
Android 4.4.3_2.0.0 using hwcomposer_fsl.imx6.so, 3.10.53 kernel
Draw Rect test: 7.0 fps
Flying teapot: 59 fps
Android 4.4.3_2.0.0 using hwcomposer_viv.imx6.so, 3.10.53 kernel
Draw Rect test: 6.9 fps
Flying teapot: 60 fps
Android 5.1.1 (beta) using hwcomposer_viv.imx6.so, 3.14.53 kernel
Draw Rect test: 6.8 fps
Flying teapot: 44 fps
Any ideas what would cause this?
I don't know if it's related but I've noticed that the function "eglSetSwapRectangleANDROID" is present in libEGL_VIVANTE.so for 4.4.2 release, but missing (or renamed to eglSetSwapRectangleVIV?) on Android releases. Which makes the call to eglSetSwapRectangleANDROID in surfaceflinger/DisplayDevice.cpp useless.
Solved! Go to Solution.
Hi Emil,
This is a bug in the in the GPU driver, we already have found the root cause of this situation of performance drop, however fix will appear in 5.0.11p8 driver version in next BSP release.
Sorry for these inconveniences.
Regards
No update??? We also find the poor performance in Android5 and 6 for iMX6.
Just have a simple try on Android 6.0.1 but only got 18.666 FPS on Draw Canvas test.
Yes, we still have this problem on Lollipop 5.1.1. I don't know why this is marked as resolved, someone at freescale/nxp must have assumed it is fixed?
Problem not yet resolved - please re-open this issue!
Any updates on this
Why this thread is marked as "resolved"?
The GPU driver 5.0.11p8 in Android M still does not fix the performance issue - see results from Gurtaj Singh.
Interesting discussion, subscribed for further updates.
I've tested this with 5.1.1_2.0.0-ga release, and still not very impressive results.
Draw Rect performs at 5.9 FPS.
Any idea what could be wrong here?
Hi Emil,
This is a bug in the in the GPU driver, we already have found the root cause of this situation of performance drop, however fix will appear in 5.0.11p8 driver version in next BSP release.
Sorry for these inconveniences.
Regards
Hi Sir,
The Android M6.0.1_1.0.0 have been released recently with 5.0.11p8 GPU driver , does the issue fix now ?
Can you provide me the related info ? Tks
Hi,
I have verified it and there are Reno improvement so far.
The GPU driver + Vivanta EGL libraries seems to be degrading performance in each new release.
In KitKat and JB 4.2_1.1.0, we used to get optimal performance to support 1080p@60 FPS video's
[UPDATE]
MarshMallow
============================================================
Draw Canvas
------------------------------------------------------------
Round 0 fps = 29.478235
Round 1 fps = 29.585798
Round 2 fps = 29.591637
Average: fps = 29.55189
============================================================
Draw Circle
------------------------------------------------------------
Round 0: fps = 23.674242
Round 1: fps = 23.533102
Round 2: fps = 23.7023
Average: fps = 23.636549
============================================================
Draw Circle2
------------------------------------------------------------
Round 0: fps = 40.1714
Round 1: fps = 39.968025
Average: fps = 40.06971
============================================================
Draw Rect
------------------------------------------------------------
Round 0: fps = 32.48863
Round 1: fps = 29.112082
Round 2: fps = 27.78035
Average: fps = 29.793686
============================================================
Draw Arc
------------------------------------------------------------
Round 0: fps = 42.753315
Round 1: fps = 42.683968
Average: fps = 42.718643
============================================================
Draw Image
------------------------------------------------------------
Round 0: fps = 18.485655
Round 1: fps = 18.508236
Average: fps = 18.496944
============================================================
Draw Text
------------------------------------------------------------
Round 0: fps = 59.241703
Round 1: fps = 59.31198
Round 2: fps = 59.464817
Average: fps = 59.339497
============================================================
Lollipop
============================================================
Draw Canvas
------------------------------------------------------------
Round 0 fps = 29.735355
Round 1 fps = 29.685335
Round 2 fps = 29.688274
Average: fps = 29.702988
============================================================
Draw Circle
------------------------------------------------------------
Round 0: fps = 27.777777
Round 1: fps = 27.886223
Round 2: fps = 28.103045
Average: fps = 27.922348
============================================================
Draw Circle2
------------------------------------------------------------
Round 0: fps = 38.991425
Round 1: fps = 40.344273
Average: fps = 39.667847
============================================================
Draw Rect
------------------------------------------------------------
Round 0: fps = 17.694939
Round 1: fps = 17.199863
Round 2: fps = 13.174074
Average: fps = 16.022959
============================================================
Draw Arc
------------------------------------------------------------
Round 0: fps = 29.392746
Round 1: fps = 29.663027
Average: fps = 29.527885
============================================================
Draw Image
------------------------------------------------------------
Round 0: fps = 21.114864
Round 1: fps = 21.113974
Average: fps = 21.114418
============================================================
Draw Text
------------------------------------------------------------
Round 0: fps = 58.846607
Round 1: fps = 58.742905
Round 2: fps = 58.696926
Average: fps = 58.762146
============================================================
The draw rectangles have improved and nothing else.
Regards,
Gurtaj
Excellent, thanks!
When is the next BSP release planned? Will this be the January(?) release? If I've understood correct that's when imx6DL will have official support for Lollipop 5.1.1.