<?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>i.MX ProcessorsのトピックDecoder Initialization Failed with hevcdec on i.MX8MP (imx-vpu-hantro)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2180387#M241151</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with the i.MX8M Plus platform and using the `imx-vpu-hantro` package for hardware-accelerated video decoding. While testing the HEVC decoder using the provided testbench (`hevcdec` from `decoder_sw`), I'm encountering a decoder initialization failure.&lt;/P&gt;&lt;P&gt;Here are the details:&lt;/P&gt;&lt;P&gt;- Platform: i.MX8MP&amp;nbsp;&lt;BR /&gt;- Kernel: 6.6.52&lt;BR /&gt;- Package: imx-vpu-hantro&lt;BR /&gt;- Testbench: hevcdec&lt;BR /&gt;- Input stream: Animation.h265 (valid HEVC stream)&lt;BR /&gt;- CMA: Enabled (`CmaTotal: 983040 kB`, `CmaFree: 945624 kB`)&lt;BR /&gt;- Driver: `hantro_vpu`&amp;nbsp; found&lt;BR /&gt;- DTS: VPU node status is `"okay"`&lt;/P&gt;&lt;P&gt;**Console Output:**&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./hevcdec Animation.h265 

Hevc SW build: 196609 - HW build: 67323088

Decoder Macro Block Error Concealment 0
Decoder RLC 0
Decoder Clock Gating 1
Decoder Clock Gating Runtime0
Decoder Data Discard 0
Decoder Latency Compensation 0
Decoder Output Picture Endian 1
Decoder Bus Burst Length 16
Decoder Asic Service Priority 0
Decoder Output Format 0
TB Packet by Packet  0
TB Nal Unit Stream 0
TB Seed Rnd 1
TB Stream Truncate 0
TB Stream Header Corrupt 0
TB Stream Bit Swap 0; odds 0
TB Stream Packet Loss 0; odds 0
DWL Before:0
DWL After:0
DECODER INITIALIZATION FAILED
Decoding ended, flush the DPB
Releasing 0 external frame buffers
Output file: out.yuv
OUTPUT_SIZE 0
SW_PERFORMANCE 0.00001
DECODING DONE&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It appears the DWL layer is failing to initialize, possibly due to missing hardware bindings or driver registration. I’ve verified that CMA is available, but the Hantro VPU driver may not be loaded or built correctly.&lt;/P&gt;&lt;P&gt;Could you please advise on:&lt;BR /&gt;- Required kernel config options for Hantro HEVC decoding&lt;BR /&gt;- Device tree bindings for enabling the VPU&lt;BR /&gt;- Whether `hevcdec` requires `/dev/videoX` nodes or specific firmware&lt;BR /&gt;- Any known issues with `imx-vpu-hantro` on recent kernels&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Oct 2025 07:16:33 GMT</pubDate>
    <dc:creator>Hariharan1</dc:creator>
    <dc:date>2025-10-06T07:16:33Z</dc:date>
    <item>
      <title>Decoder Initialization Failed with hevcdec on i.MX8MP (imx-vpu-hantro)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2180387#M241151</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with the i.MX8M Plus platform and using the `imx-vpu-hantro` package for hardware-accelerated video decoding. While testing the HEVC decoder using the provided testbench (`hevcdec` from `decoder_sw`), I'm encountering a decoder initialization failure.&lt;/P&gt;&lt;P&gt;Here are the details:&lt;/P&gt;&lt;P&gt;- Platform: i.MX8MP&amp;nbsp;&lt;BR /&gt;- Kernel: 6.6.52&lt;BR /&gt;- Package: imx-vpu-hantro&lt;BR /&gt;- Testbench: hevcdec&lt;BR /&gt;- Input stream: Animation.h265 (valid HEVC stream)&lt;BR /&gt;- CMA: Enabled (`CmaTotal: 983040 kB`, `CmaFree: 945624 kB`)&lt;BR /&gt;- Driver: `hantro_vpu`&amp;nbsp; found&lt;BR /&gt;- DTS: VPU node status is `"okay"`&lt;/P&gt;&lt;P&gt;**Console Output:**&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./hevcdec Animation.h265 

Hevc SW build: 196609 - HW build: 67323088

Decoder Macro Block Error Concealment 0
Decoder RLC 0
Decoder Clock Gating 1
Decoder Clock Gating Runtime0
Decoder Data Discard 0
Decoder Latency Compensation 0
Decoder Output Picture Endian 1
Decoder Bus Burst Length 16
Decoder Asic Service Priority 0
Decoder Output Format 0
TB Packet by Packet  0
TB Nal Unit Stream 0
TB Seed Rnd 1
TB Stream Truncate 0
TB Stream Header Corrupt 0
TB Stream Bit Swap 0; odds 0
TB Stream Packet Loss 0; odds 0
DWL Before:0
DWL After:0
DECODER INITIALIZATION FAILED
Decoding ended, flush the DPB
Releasing 0 external frame buffers
Output file: out.yuv
OUTPUT_SIZE 0
SW_PERFORMANCE 0.00001
DECODING DONE&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It appears the DWL layer is failing to initialize, possibly due to missing hardware bindings or driver registration. I’ve verified that CMA is available, but the Hantro VPU driver may not be loaded or built correctly.&lt;/P&gt;&lt;P&gt;Could you please advise on:&lt;BR /&gt;- Required kernel config options for Hantro HEVC decoding&lt;BR /&gt;- Device tree bindings for enabling the VPU&lt;BR /&gt;- Whether `hevcdec` requires `/dev/videoX` nodes or specific firmware&lt;BR /&gt;- Any known issues with `imx-vpu-hantro` on recent kernels&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 07:16:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2180387#M241151</guid>
      <dc:creator>Hariharan1</dc:creator>
      <dc:date>2025-10-06T07:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Decoder Initialization Failed with hevcdec on i.MX8MP (imx-vpu-hantro)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2180624#M241166</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please refer to the Section 6.6 "Video Processing Unit (VPU)" document. Also, what exactly unit_test flow did you use?&lt;/P&gt;
&lt;P&gt;Check this from gstreamer:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Freescale/gstreamer-imx/issues/296" target="_blank"&gt;https://github.com/Freescale/gstreamer-imx/issues/296&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please specify in more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 14:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2180624#M241166</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-10-06T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Decoder Initialization Failed with hevcdec on i.MX8MP (imx-vpu-hantro)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2182667#M241262</link>
      <description>&lt;P&gt;I was trying to get clk_summary of vpu. i was &lt;FONT size="5" color="#000000"&gt;getting &lt;/FONT&gt;&lt;FONT size="5" color="#000000"&gt;&amp;nbsp;vpu_g1 set has Y but vpu_g2 set has N&lt;/FONT&gt;. What could be the reason. Is that the reason i am getting more cpu load like 85% when i was decoding H265 whereas H264 decoding was taking just 7% CPU Load.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;cat /sys/kernel/debug/clk/clk_summary | grep vpu&lt;BR /&gt;&lt;BR /&gt;vpu_g1 0 0 0 800000000 0 0 50000&lt;FONT color="#FF0000"&gt; Y&lt;/FONT&gt; deviceless no_connection_id&lt;BR /&gt;vpu_g1_root_clk 0 0 0 800000000 0 0 50000 N 38300000.vpu_g1 clk_hantro&lt;BR /&gt;vpu_pll_ref_sel 0 0 0 24000000 0 0 50000 Y deviceless no_connection_id&lt;BR /&gt;vpu_pll 0 0 0 700000000 0 0 50000 Y deviceless no_connection_id&lt;BR /&gt;vpu_pll_bypass 0 0 0 700000000 0 0 50000 Y deviceless no_connection_id&lt;BR /&gt;vpu_pll_out 0 0 0 700000000 0 0 50000 N deviceless no_connection_id&lt;BR /&gt;vpu_g2 0 0 0 700000000 0 0 50000 &lt;FONT color="#FF0000"&gt;N&lt;/FONT&gt; deviceless no_connection_id&lt;BR /&gt;vpu_g2_root_clk 0 0 0 700000000 0 0 50000 N 38310000.vpu_g2 clk_hantro&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 04:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decoder-Initialization-Failed-with-hevcdec-on-i-MX8MP-imx-vpu/m-p/2182667#M241262</guid>
      <dc:creator>Hariharan1</dc:creator>
      <dc:date>2025-10-09T04:17:22Z</dc:date>
    </item>
  </channel>
</rss>

