<?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 Support for VAAPI to OpenCL Interoperability on Ubuntu Linux 22.04 (image formats) in GPU Compute Software</title>
    <link>https://community.intel.com/t5/GPU-Compute-Software/Support-for-VAAPI-to-OpenCL-Interoperability-on-Ubuntu-Linux-22/m-p/1485061#M857</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am currently working on a project that involves using VAAPI to OpenCL interoperability scenario, following Intel documentation (OpenCL™ Interoperability with Video Acceleration API on Linux* OS, &lt;A href="https://www.intel.com/content/dam/develop/external/us/en/documents/vaintrop-538907.pdf" target="_blank"&gt;https://www.intel.com/content/dam/develop/external/us/en/documents/vaintrop-538907.pdf&lt;/A&gt;). My objective is to build a component that enables zero-copy allowing OpenCL kernel processing on an image2d generated from a VA Surface with various pixel formats, including RGBA and some other single planar formats.&lt;/P&gt;
&lt;P&gt;I have been successful in implementing the target scenario when the VA Surface pixel format is NV12. However, when attempting to export image2d OpenCL object from VA Surfaces with RGBA pixel format, I am unable to access the complete pixel surface through executing the OpenCL kernel. This leads me to believe that the image format of the cl_mem object exported does not match with the VA Surface pixel format due to a limitation or bug of the extension.&lt;/P&gt;
&lt;P&gt;I would greatly appreciate any support or advice from the community on the reason for this behaviour. Please see below some specific information about the platform to assist in troubleshooting.&lt;/P&gt;
&lt;P&gt;Platform information:&lt;/P&gt;
&lt;P&gt;Processor: Intel Atom(R) x6425RE Processor @ 1.90GHz&lt;/P&gt;
&lt;P&gt;OS: Ubuntu Linux 22.04&lt;/P&gt;
&lt;P&gt;Relevant packages and versions:&lt;/P&gt;
&lt;P&gt;intel-gpu-tools 1.26-2 amd64 tools for debugging the Intel graphics driver&lt;/P&gt;
&lt;P&gt;intel-media-va-driver-non-free:amd64 22.3.1+ds1-1 amd64 VAAPI driver for the Intel GEN8+ Graphics family&lt;/P&gt;
&lt;P&gt;intel-opencl-icd 22.14.22890-1 amd64 Intel graphics compute runtime for OpenCL&lt;/P&gt;
&lt;P&gt;Let me know if some other details may be needed. Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 21:51:27 GMT</pubDate>
    <dc:creator>josempeinado</dc:creator>
    <dc:date>2023-05-10T21:51:27Z</dc:date>
    <item>
      <title>Support for VAAPI to OpenCL Interoperability on Ubuntu Linux 22.04 (image formats)</title>
      <link>https://community.intel.com/t5/GPU-Compute-Software/Support-for-VAAPI-to-OpenCL-Interoperability-on-Ubuntu-Linux-22/m-p/1485061#M857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am currently working on a project that involves using VAAPI to OpenCL interoperability scenario, following Intel documentation (OpenCL™ Interoperability with Video Acceleration API on Linux* OS, &lt;A href="https://www.intel.com/content/dam/develop/external/us/en/documents/vaintrop-538907.pdf" target="_blank"&gt;https://www.intel.com/content/dam/develop/external/us/en/documents/vaintrop-538907.pdf&lt;/A&gt;). My objective is to build a component that enables zero-copy allowing OpenCL kernel processing on an image2d generated from a VA Surface with various pixel formats, including RGBA and some other single planar formats.&lt;/P&gt;
&lt;P&gt;I have been successful in implementing the target scenario when the VA Surface pixel format is NV12. However, when attempting to export image2d OpenCL object from VA Surfaces with RGBA pixel format, I am unable to access the complete pixel surface through executing the OpenCL kernel. This leads me to believe that the image format of the cl_mem object exported does not match with the VA Surface pixel format due to a limitation or bug of the extension.&lt;/P&gt;
&lt;P&gt;I would greatly appreciate any support or advice from the community on the reason for this behaviour. Please see below some specific information about the platform to assist in troubleshooting.&lt;/P&gt;
&lt;P&gt;Platform information:&lt;/P&gt;
&lt;P&gt;Processor: Intel Atom(R) x6425RE Processor @ 1.90GHz&lt;/P&gt;
&lt;P&gt;OS: Ubuntu Linux 22.04&lt;/P&gt;
&lt;P&gt;Relevant packages and versions:&lt;/P&gt;
&lt;P&gt;intel-gpu-tools 1.26-2 amd64 tools for debugging the Intel graphics driver&lt;/P&gt;
&lt;P&gt;intel-media-va-driver-non-free:amd64 22.3.1+ds1-1 amd64 VAAPI driver for the Intel GEN8+ Graphics family&lt;/P&gt;
&lt;P&gt;intel-opencl-icd 22.14.22890-1 amd64 Intel graphics compute runtime for OpenCL&lt;/P&gt;
&lt;P&gt;Let me know if some other details may be needed. Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 21:51:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/GPU-Compute-Software/Support-for-VAAPI-to-OpenCL-Interoperability-on-Ubuntu-Linux-22/m-p/1485061#M857</guid>
      <dc:creator>josempeinado</dc:creator>
      <dc:date>2023-05-10T21:51:27Z</dc:date>
    </item>
  </channel>
</rss>

