[EXTERNAL] Re: etnaviv : IMX6 Solo GPU Performance Issue With OpenGL ES-CM 1.1

Motghare, Vishnu VishnuMotghare at eaton.com
Tue Jan 30 08:13:48 UTC 2024


Hi Christian,

We have updated to Mesa 23.3.3 & used the modesetting driver. We can see performance improvement with it. 

Another issue I'm facing now with rotation (90 or 270) that performance is very bad. I'm getting 21 to 20 FPS for all test cases. Similar result is observed with glmark2

What could be the reason for degraded performance after screen rotation?  Any help is appreciated. Thanks 😊

Improved Performance with Normal Rotation:

Environment information
-----------------------
EGL version : 1.4
GL vendor   : Mesa
GL renderer : Vivante GC880 rev 5106
GL version  : OpenGL ES-CM 1.1 Mesa 23.3.3

run scene 'Floating Frame3D VBO'
initialize, DATA_SIZE:11264, No of Frames:512
Average FPS = 47.385946
---

run scene 'Floating Frame3D'
initialize, DATA_SIZE:11264, No of Frames:512
Average FPS = 42.250705
---

run scene 'Frame 3D Fixed'
initialize, DATA_SIZE:11264, No of Frames:512
Average FPS = 41.271802
---

run scene 'Floating graph'
Average FPS = 105.772926
---

run scene 'Fixed graph'
Average FPS = 105.613382


Degraded performance with 90 or 270 rotation:

Environment information
-----------------------
EGL version : 1.4
GL vendor   : Mesa
GL renderer : Vivante GC880 rev 5106
GL version  : OpenGL ES-CM 1.1 Mesa 23.3.3

run scene 'Floating Frame3D VBO'
initialize, DATA_SIZE:11264, No of Frames:512
Average FPS = 21.731504
---

run scene 'Floating Frame3D'
initialize, DATA_SIZE:11264, No of Frames:512
Average FPS = 21.553090
---

run scene 'Frame 3D Fixed'
initialize, DATA_SIZE:11264, No of Frames:512
Average FPS = 21.526896
---

run scene 'Floating graph'
Average FPS = 21.850456
---

run scene 'Fixed graph'
Average FPS = 21.904910

>>> We have an IMX6 solo custom device running with WinCE7 & Linux on it
>>>
>>> We have developed a custom benchmark application using OpenGL ES-CM 1.1
>>>

>> Is it possible to share this test application?

> I have placed the application here https://github.com/vishnumotghare/opengl  in tar format (application-opengl.tar.gz). Let me know if you face problem accessing it. 

> One observation that when I run the application, top command shows that application uses 70-80 % of CPU, that is strange, It should be using GPU instead of CPU. Right?

> I have also tried using modesetting driver and with that performance is even worse than armada.

>>> When I ran the benchmark application on WinCE7 the performance looked good but with similar application on Linux gives 50 % reduction in performance.
>>>
>>> Following is our configuration
>>>
>>> Linux             - Mainline 5.15
>>> GPU driver  -  Etnaviv
>>> X Driver      -   xf86-video-armada
>>> OpenGL      -   OpenGL ES-CM 1.1
>>>
>>> WinCE Result:
>>>
>>> EGL version : 1.4
>>> GL vendor   : Vivante Corporation
>>> GL renderer : Vivante GC880
>>> GL version  : OpenGL ES-CM 1.1 Mesa 22.0.3
>>>
>>> run scene 'Floating Frame3D VBO'
>>> initialize, DATA_SIZE:11264, No of Frames:512 Average FPS = 48.075005
>>> ---
>>>
>>> run scene 'Floating Frame3D'
>>> initialize, DATA_SIZE:11264, No of Frames:512 Average FPS = 31.975005
>>> ---
>>>
>>> run scene 'Frame 3D Fixed'
>>> initialize, DATA_SIZE:11264, No of Frames:512 Average FPS = 31.505484
>>> ---
>>>
>>> run scene 'Floating graph'
>>> Average FPS = 238.403093
>>> ---
>>>
>>> run scene 'Fixed graph'
>>> Average FPS = 238.187271
>>>
>>>
>>> Linux result:
>>>
>>> EGL version : 1.4
>>> GL vendor   : etnaviv
>>> GL renderer : Vivante GC880 rev 5106
>>> GL version  : OpenGL ES-CM 1.1 Mesa 22.0.3
>>>
>>> run scene 'Floating Frame3D VBO'
>>> initialize, DATA_SIZE:11264, No of Frames:512 Average FPS = 26.872623
>>> ---
>>>
>>> run scene 'Floating Frame3D'
>>> initialize, DATA_SIZE:11264, No of Frames:512 Average FPS = 24.373300
>>> ---
>>>
>>> run scene 'Frame 3D Fixed'
>>> initialize, DATA_SIZE:11264, No of Frames:512 Average FPS = 23.783205
>>> ---
>>>
>>> run scene 'Floating graph'
>>> Average FPS = 136.624447
>>> ---
>>>
>>> run scene 'Fixed graph'
>>> Average FPS = 136.510016
>>>
>>> glmark2 which uses opengl 2.2 gives 80 % score. Can it be issue with OpenGl 1.1 ? Or X driver?
>>>
>>> At the moment not able to figure out where is the problem.  Any help is appreciable.
>>>

Thanks,
Vishnu


More information about the etnaviv mailing list