<?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 Graphics中的主题 g2d_open() and renderD129</title>
    <link>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802519#M524</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an application that decodes JPEG images in hardware to RGB. This works fine on older Dunfell Yocto release. I now have built the Kirkstone release and the application can no longer call g2d_open(). It fails with errno = 2.&lt;/P&gt;&lt;P&gt;When I run my app through "strace" I get the following output:&lt;/P&gt;&lt;P&gt;strace -f -e open,openat ./HWcompress 2&amp;gt;&amp;amp;1 | grep -i "open"&lt;BR /&gt;openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libimxdmabuffer.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libg2d.so.2", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libdrm.so.2", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libOpenCL.so.3", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libv4lconvert.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libjpeg.so.62", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libGAL.so", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libVSC.so", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libEGL.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libwayland-server.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libwayland-client.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libgbm.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libgbm_viv.so", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libffi.so.8", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/dev/dma_heap/linux,cma-uncached", O_RDONLY) = 3&lt;BR /&gt;openat(AT_FDCWD, "/dev/dma_heap/linux,cma-uncached", O_RDWR) = 4&lt;BR /&gt;openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR|O_CLOEXEC) = 5&lt;BR /&gt;openat(AT_FDCWD, "/dev/dri/renderD129", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)&lt;BR /&gt;g2d_open: Init Dpu Handle fail !&lt;BR /&gt;dpuv1/dpu_lib.c:388 open file error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my Dunfell release renderD129 does not exist either, yet g2d_open() works, so it is not trying to open renderD129.&lt;/P&gt;&lt;P&gt;Do I need to add renderD129 (somehow) to my Kirkstone image, or is there something new in Kirkstone trying to use renderD129 that I don't need so can remove from the image?&lt;/P&gt;&lt;P&gt;This is an embedded device with no screens, etc. Only network interface. The only graphics hardware being used is to decode JPEG images off the CPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 09:06:45 GMT</pubDate>
    <dc:creator>Jonners</dc:creator>
    <dc:date>2024-02-06T09:06:45Z</dc:date>
    <item>
      <title>g2d_open() and renderD129</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802519#M524</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an application that decodes JPEG images in hardware to RGB. This works fine on older Dunfell Yocto release. I now have built the Kirkstone release and the application can no longer call g2d_open(). It fails with errno = 2.&lt;/P&gt;&lt;P&gt;When I run my app through "strace" I get the following output:&lt;/P&gt;&lt;P&gt;strace -f -e open,openat ./HWcompress 2&amp;gt;&amp;amp;1 | grep -i "open"&lt;BR /&gt;openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libimxdmabuffer.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libg2d.so.2", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libv4l2.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libdrm.so.2", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libOpenCL.so.3", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libv4lconvert.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libjpeg.so.62", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libGAL.so", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libVSC.so", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libEGL.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libwayland-server.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libwayland-client.so.0", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libgbm.so.1", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libgbm_viv.so", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/usr/lib64/libffi.so.8", O_RDONLY|O_CLOEXEC) = 3&lt;BR /&gt;openat(AT_FDCWD, "/dev/dma_heap/linux,cma-uncached", O_RDONLY) = 3&lt;BR /&gt;openat(AT_FDCWD, "/dev/dma_heap/linux,cma-uncached", O_RDWR) = 4&lt;BR /&gt;openat(AT_FDCWD, "/dev/dri/renderD128", O_RDWR|O_CLOEXEC) = 5&lt;BR /&gt;openat(AT_FDCWD, "/dev/dri/renderD129", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)&lt;BR /&gt;g2d_open: Init Dpu Handle fail !&lt;BR /&gt;dpuv1/dpu_lib.c:388 open file error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my Dunfell release renderD129 does not exist either, yet g2d_open() works, so it is not trying to open renderD129.&lt;/P&gt;&lt;P&gt;Do I need to add renderD129 (somehow) to my Kirkstone image, or is there something new in Kirkstone trying to use renderD129 that I don't need so can remove from the image?&lt;/P&gt;&lt;P&gt;This is an embedded device with no screens, etc. Only network interface. The only graphics hardware being used is to decode JPEG images off the CPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802519#M524</guid>
      <dc:creator>Jonners</dc:creator>
      <dc:date>2024-02-06T09:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: g2d_open() and renderD129</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802739#M526</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;this is with i.MX8MPlus? I tested and works nicely in mickledore, not with kirckstone. You can update you yocto to 6.1 from:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX" target="_blank"&gt;https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802739#M526</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-06T14:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: g2d_open() and renderD129</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802760#M527</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Many thanks for your reply, and ultimately I can upgrade to Mickledore. However, may I ask, on your setup do you have:&lt;/P&gt;&lt;P&gt;/dev/dri/renderD129&lt;/P&gt;&lt;P&gt;My Dunfell does not and neither does my Kirkstone. On Dunfell my application runs find (g2d_open is OK) but on Kirkstone g2d_open() is trying to open renderD129. I don't believe it should!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 15:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/g2d-open-and-renderD129/m-p/1802760#M527</guid>
      <dc:creator>Jonners</dc:creator>
      <dc:date>2024-02-06T15:25:03Z</dc:date>
    </item>
  </channel>
</rss>

