<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IMX6 Solo GPU Performance Issue With opengl ES  1.1 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1779840#M217841</link>
    <description>&lt;P&gt;Please check the chapter 5.3.8 xorg.conf for i.MX.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Dec 2023 03:57:11 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2023-12-26T03:57:11Z</dc:date>
    <item>
      <title>IMX6 Solo GPU Performance Issue With opengl ES  1.1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1778414#M217703</link>
      <description>&lt;P&gt;We have an IMX6 solo custom device running with WinCE7 &amp;amp; Linux running&lt;/P&gt;&lt;P&gt;We have developed a custom benchmark application using&amp;nbsp;OpenGL ES1.1&lt;/P&gt;&lt;P&gt;When I ran the benchmark application on WinCE7 the performance looked good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Environment information
-----------------------
EGL version : 1.4
GL vendor   : Vivante Corporation
GL renderer : Vivante GC880
GL version  : OpenGL ES1.1
 
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&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Running the same application on Linux shows a 50 % drop in performance&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Environment information
-----------------------
EGL version : 1.4
GL vendor   : etnaviv
GL renderer : Vivante GC880 rev 5106
GL version  : OpenGL ES 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&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;On Linux, we are using Mainline 5.15 kernel,&amp;nbsp;&amp;nbsp;&lt;A href="git://github.com/VCTLabs/xf86-video-armada" target="_self"&gt;xf86-video-armada&lt;/A&gt;, and below is the xorg.conf &amp;nbsp;configuration&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Section "Device"
    Identifier  "Kernel Framebuffer Device"

    Screen      0

    Driver      "armada"

    Option      "fbdev"            "/dev/fb0"
    Option      "Hotplug"          "FALSE"
    Option      "HWCursor"         "TRUE"
    Option      "UseGPU"           "TRUE"
    Option      "XvAccel"          "TRUE"
    Option      "XvPreferOverlay"  "TRUE"
    Option      "AccelModule"      "etnadrm_gpu"
    Option      "AccelModule"      "etnaviv_gpu"
    Option      "DRI"              "TRUE"
EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm investigating the cause of the performance drop in Linux but I'm unsure where to look. Any help is appreciated. Thanks in advance &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 06:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1778414#M217703</guid>
      <dc:creator>vishnu_motghare</dc:creator>
      <dc:date>2023-12-21T06:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Solo GPU Performance Issue With opengl ES  1.1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1779840#M217841</link>
      <description>&lt;P&gt;Please check the chapter 5.3.8 xorg.conf for i.MX.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 03:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1779840#M217841</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2023-12-26T03:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Solo GPU Performance Issue With opengl ES  1.1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1779973#M217859</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422"&gt;@jimmychan&lt;/a&gt;&amp;nbsp; Thanks for your reply. I'm using the following combination&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Yocto:  Kirkstone

Kernel:  5.15 (Mainline)

GPU Driver:   Etnaviv

X Driver: xf86-video-armada (ethnaviv enabled)

OpenGL: OpenGL ES 1.1&lt;/LI-CODE&gt;&lt;P&gt;We are having performance issues with the above combination, So I thought to try with linux-imx kernel&amp;nbsp; &lt;STRONG&gt;lf-5.15.y&lt;/STRONG&gt; available in the Kirkstone version.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Kernel:  lf-5.15.y (IMX)

GPU Driver: Vinante

X Driver: xf86-video-armada (Vivante enabled) (etnaviv disabled)

OpenGL: OpenGL ES 1.1&lt;/LI-CODE&gt;&lt;P&gt;Following is my xorg.conf file&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Section "Device"
    Identifier  "i.MX Accelerated Framebuffer Device"
    Driver      "vivante"
    Option      "fbdev"     "/dev/fb0"
    Option      "vivante_fbdev" "/dev/fb0"
    Option      "HWcursor"  "false"
EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection&lt;/LI-CODE&gt;&lt;P&gt;With the above settings, I'm getting errors like being unable to load the "Vivante" module. The following files are present in &lt;STRONG&gt;"/usr/lib/xorg/modules/drivers&lt;/STRONG&gt;"&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;armada_drv.so etnadrm_gpu.so fbdev_drv.so vivante_gpu.so&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does IMX kernel with GPU Vivante driver enabled &amp;amp; xf86-video-armada (Vivante enabled) work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As per chapter 5.3.8, It is mentioned that we have to use &lt;STRONG&gt;"xf86-video-imxfb-vivante" &lt;/STRONG&gt;X11driver but I can not find this recipe in the Kirkstone version. I see it was part of&amp;nbsp;&lt;STRONG&gt;meta-fsl-arm &lt;/STRONG&gt;but this is a very old repo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please let me know how to build IMX kernel with Vivante driver &amp;amp; xf86-video-imxfb-vivante?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 08:38:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1779973#M217859</guid>
      <dc:creator>vishnu_motghare</dc:creator>
      <dc:date>2023-12-26T08:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Solo GPU Performance Issue With opengl ES  1.1</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1780365#M217923</link>
      <description>&lt;P&gt;I think this document should useful for you. Chapter 17 is the different environment building and setup.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 07:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Solo-GPU-Performance-Issue-With-opengl-ES-1-1/m-p/1780365#M217923</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2023-12-27T07:14:59Z</dc:date>
    </item>
  </channel>
</rss>

