<?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: imx8qm linux5.4 GlTexDirectVIVMap cause gpu hangs in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-linux5-4-GlTexDirectVIVMap-cause-gpu-hangs/m-p/1154190#M161937</link>
    <description>&lt;P&gt;Hello huangjacky,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently is not the gpu instead you are playing with non supported resolution camara however further investigation revealed that mxc-isi driver is making cameras not plug and play.&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;That means, you remove one camera, you wont be able to use the other four until rebooting.&lt;/P&gt;&lt;P&gt;At least this is what happens in my experience. You are not even able to stream with gstreamer if the camera connection is lost once, or unplugged.&lt;/P&gt;&lt;P&gt;Freeze issue still remains a mystery.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 12:53:22 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2020-09-16T12:53:22Z</dc:date>
    <item>
      <title>imx8qm linux5.4 GlTexDirectVIVMap cause gpu hangs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-linux5-4-GlTexDirectVIVMap-cause-gpu-hangs/m-p/1153331#M161818</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I use the opengl +&amp;nbsp;GlTexDirectVIVMap as demoApp to display the camera data which is come from max9286.&lt;/P&gt;&lt;P&gt;My demoApp works in imx8qm + linux4.14,&amp;nbsp; however, when I porting&amp;nbsp;My demoApp to&amp;nbsp;linux5.4. I got the error print as below :&lt;/P&gt;&lt;P&gt;root@imx8qmmek:~/camera# ./vivmap&lt;BR /&gt;cur index 0 devname /dev/video0&lt;BR /&gt;Width = 1280 Height = 792&lt;BR /&gt;Image size = 2027520&lt;BR /&gt;Pixelformat YUYV&lt;BR /&gt;VIDIOC_G_PARM failed&lt;BR /&gt;WxH@fps = 1280x792@30 Image size = 2027520&lt;BR /&gt;buffer[0] startAddr=0x93cf2000, offset=0x0, buf_si[ 50.506085] bypass csc&lt;BR /&gt;ze=2027520&lt;BR /&gt;buffer[1] startAddr=0x93b03000, offset=0x1ef000, buf_[ 50.510213] input fmt YUV4&lt;BR /&gt;size=2027520&lt;BR /&gt;buffer[2] startAddr=0x93914000, offset=0x3de000, bu[ 50.518565] output fmt YUYV&lt;BR /&gt;f_size=2027520&lt;BR /&gt;buffer[3] startAddr=0x93725000, offset=0x5cd000, buf_size=2027520&lt;BR /&gt;[ 50.846968] max9286_s_stream&lt;BR /&gt;[ 50.851787] AXI BUS ERROR&lt;BR /&gt;[ 50.854457] AXI BUS ERROR&lt;BR /&gt;[ 50.857103] GPU[0](ChipModel=0x7000 ChipRevision=0x6009):&lt;BR /&gt;[ 50.862882] GPU[1](ChipModel=0x7000 ChipRevision=0x6009):&lt;BR /&gt;[ 50.868299] **************************&lt;BR /&gt;[ 50.872074] **************************&lt;BR /&gt;[ 50.875830] *** GPU STATE DUMP ***&lt;BR /&gt;[ 50.879592] *** GPU STATE DUMP ***&lt;BR /&gt;[ 50.883351] **************************&lt;BR /&gt;[ 50.887106] **************************&lt;BR /&gt;[ 50.890868] axi = 0x000000AF&lt;BR /&gt;[ 50.894360] axi = 0x000000AF&lt;BR /&gt;[ 50.897868] idle = 0x7FFFBFFE&lt;BR /&gt;[ 50.901616] idle = 0x7FFFFFFE&lt;BR /&gt;[ 50.905121] FE not idle&lt;BR /&gt;[ 50.907927] FE not idle&lt;BR /&gt;[ 50.910733] DMA address is constant, but state is changing:&lt;BR /&gt;[ 50.916486] MC not idle&lt;BR /&gt;[ 50.919284] 0x00000800&lt;BR /&gt;[ 50.921984] 0x00000000&lt;BR /&gt;[ 50.924704] DMA address is constant, but state is changing:&lt;BR /&gt;[ 50.930475] dmaLow = 0x40000002&lt;BR /&gt;[ 50.933972] 0x00000800&lt;BR /&gt;[ 50.936693] dmaHigh = 0x96103798&lt;BR /&gt;[ 50.940209] dmaState = 0x00000000&lt;BR /&gt;[ 50.943734] 0x00000000&lt;BR /&gt;[ 50.946443] command state = 0 (PAR_IDLE_ST)&lt;BR /&gt;[ 50.951517] dmaLow = 0x40000002&lt;BR /&gt;[ 50.955016] command DMA state = 0 (CMD_IDLE_ST)&lt;BR /&gt;[ 50.960084] dmaHigh = 0x96101E38&lt;BR /&gt;[ 50.963603] dmaState = 0x00000000&lt;BR /&gt;[ 50.967123] command fetch state = 0 (FET_IDLE_ST)&lt;BR /&gt;[ 50.972182] command state = 0 (PAR_IDLE_ST)&lt;BR /&gt;[ 50.977273] command DMA state = 0 (CMD_IDLE_ST)&lt;BR /&gt;[ 50.982361] DMA request state = 0 (REQ_IDLE_ST)&lt;BR /&gt;[ 50.987420] command fetch state = 0 (FET_IDLE_ST)&lt;BR /&gt;[ 50.992494] cal state = 0 (CAL_IDLE_ST)&lt;BR /&gt;[ 50.997557] DMA request state = 0 (REQ_IDLE_ST)&lt;BR /&gt;[ 51.002616] VE request state = 0 (VER_IDLE_ST)&lt;BR /&gt;[ 51.007681] Debug registers:&lt;BR /&gt;[ 51.010753] cal state = 0 (CAL_IDLE_ST)&lt;BR /&gt;[ 51.015824] RA[0] debug registers:&lt;BR /&gt;[ 51.019580] VE request state = 0 (VER_IDLE_ST)&lt;BR /&gt;[ 51.024654] [00] 216FD500 08621EE7 08621EE7 00000918 031F0008 00000100 04844F23 6810805F&lt;BR /&gt;[ 51.033096] Debug registers:&lt;BR /&gt;[ 51.036161] [08] 911D7E00 00000000 00000000 00000000 00000030 1E12B2F1 29D71B5A 00000000&lt;BR /&gt;[ 51.044637] [10] 1E17B597 D13203E0 3A000000 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.053110] RA[0] debug registers:&lt;BR /&gt;[ 51.056874] [18] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.065323] [00] 21AED800 0871A3E6 0871A3E6 00000B0E 031F0008 00000422 04844F23 6810805F&lt;BR /&gt;[ 51.073795] [20] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.082253] [28] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.090722] [08] 911D7E00 00000000 00000000 00000000 00000030 1E370012 2EAD21DB 00000000&lt;BR /&gt;[ 51.099179] [30] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.107639] [10] 1E3C10C2 D13203FB 3A000000 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.116103] [38] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.124556] [18] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.133011] [40] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.141460] [20] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.149931] [48] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.158395] [28] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.166855] [50] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.175310] [30] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;BR /&gt;[ 51.183784] [58] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jacky&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 08:13:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-linux5-4-GlTexDirectVIVMap-cause-gpu-hangs/m-p/1153331#M161818</guid>
      <dc:creator>huangjacky</dc:creator>
      <dc:date>2020-09-15T08:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm linux5.4 GlTexDirectVIVMap cause gpu hangs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-linux5-4-GlTexDirectVIVMap-cause-gpu-hangs/m-p/1154190#M161937</link>
      <description>&lt;P&gt;Hello huangjacky,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently is not the gpu instead you are playing with non supported resolution camara however further investigation revealed that mxc-isi driver is making cameras not plug and play.&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;That means, you remove one camera, you wont be able to use the other four until rebooting.&lt;/P&gt;&lt;P&gt;At least this is what happens in my experience. You are not even able to stream with gstreamer if the camera connection is lost once, or unplugged.&lt;/P&gt;&lt;P&gt;Freeze issue still remains a mystery.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 12:53:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-linux5-4-GlTexDirectVIVMap-cause-gpu-hangs/m-p/1154190#M161937</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-09-16T12:53:22Z</dc:date>
    </item>
  </channel>
</rss>

