<?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: i.MX6 Dual - GPU hang in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1244135#M170699</link>
    <description>&lt;P&gt;Hi Shajin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what bsp used in the case. GPU is working fine on nxp linux releases from&lt;/P&gt;
&lt;P&gt;source.codeaurora.org/external/imx/linux-imx repository :&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 11:32:41 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-03-11T11:32:41Z</dc:date>
    <item>
      <title>i.MX6 Dual - GPU hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1244063#M170691</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I'm working on a custom platform based out of i.MX6 Dual core processor. The software running on the platform is Yocto thud with QT 5.15.2. The Linux kernel version is 4.9.168 and the GPU driver version is&amp;nbsp;6.2.4.p1.8-r0 (&lt;A href="https://github.com/Freescale/kernel-module-imx-gpu-viv.git" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Freescale/kernel-module-imx-gpu-viv.git&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Tag - 6.2.4.p1.8).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm observing an error (ES30: some draw get error and skipped during validation) on the serial console after a long usage of the device. Soon after this error occurs, the QT fails to render to the display. Based on the internet search about the string i understand this error could be related to the GPU driver. Unfortunately, I couldn't see the error statements in the GPU driver source code. Is there anyone faced this error before and resolved? Any pointers on this case would be helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shajin&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 09:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1244063#M170691</guid>
      <dc:creator>shajin</dc:creator>
      <dc:date>2021-03-11T09:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 Dual - GPU hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1244135#M170699</link>
      <description>&lt;P&gt;Hi Shajin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what bsp used in the case. GPU is working fine on nxp linux releases from&lt;/P&gt;
&lt;P&gt;source.codeaurora.org/external/imx/linux-imx repository :&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 11:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1244135#M170699</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-03-11T11:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 Dual - GPU hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1250892#M171336</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response. Our BSP is based out of Freescale's Yocto Thud release. But the Linux kernel and QT are updated to higher versions. In our case the Linux kernel was updated to 4.9.168 and similarly the GPU drivers used is&amp;nbsp;&lt;SPAN&gt;6.2.4.p1.8-r0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On further investigating about this error ES30, I found one place in &lt;A href="https://www.nxp.com/docs/en/user-guide/i.MX_Graphics_User's_Guide_Linux.pdf" target="_self"&gt;i.MX6 User Graphics user guide&lt;/A&gt; under section 15.4 where it talks about GPU hang scenario.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;15.4 Avoid GPU hang and data corruption when use occlusion query&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Description:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;On i.MX6D/Q GPU IP, both Hierarchical Depth (HZ) write and Occlusion Query (OQ) write share the same port. If HZ Fast Clear(FC) is enabled, and OQ uses the HZ port to perform a write, the HZ FC data may become corrupted, even lead to GPU hang unexpectedly.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Software Workaround:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;A software workaround is recommended for this issue and is available from L4.9 bsp release. Because the issue occurs very infrequently, a per-application work around is most efficient. Software will disable HZ with a per-app detection and also provide a new environment variable control (VIV_DISABLE_HZ).&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. As per the document, A fix was integrated in 4.9 BSP release. Can you provide more information about this patch set? It will help me to cross check it out in our BSP source code.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Can you provide more information on&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;a per-application work around &lt;/EM&gt;&lt;FONT color="#000000"&gt;mentioned under Software workaround? Is it something we can have contol factor on the GUI side where there is GPU failure?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;Thanks&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;Shajin&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 05:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Dual-GPU-hang/m-p/1250892#M171336</guid>
      <dc:creator>shajin</dc:creator>
      <dc:date>2021-03-24T05:54:37Z</dc:date>
    </item>
  </channel>
</rss>

