<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:atomnuker@gmail.com" title="atomnuker@gmail.com">atomnuker@gmail.com</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Mapping a DMABUF frame as a VkImage and then copying/blitting the image to another produces blank output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104865">bug 104865</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Mapping a DMABUF frame as a VkImage and then copying/blitting the image to another produces blank output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104865#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Mapping a DMABUF frame as a VkImage and then copying/blitting the image to another produces blank output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104865">bug 104865</a>
              from <span class="vcard"><a class="email" href="mailto:atomnuker@gmail.com" title="atomnuker@gmail.com">atomnuker@gmail.com</a>
</span></b>
        <pre>(In reply to Jason Ekstrand from <a href="show_bug.cgi?id=104865#c1">comment #1</a>)
<span class="quote">> I think the problem you are running into is that
> VK_EXT_external_memory_dma_buf is purely a memory sharing mechanism and
> doesn't actually provide needed APIs for importing images.  That will be
> covered by VK_EXT_image_drm_format_modifier which has not yet been
> finalized.  It's definitely in-progress and we're hoping to get things
> nailed down very soon.

> In the mean time, what you're trying to do is still possible, you just have
> to go about it differently.  Instead of creating a linear VkImage on the
> DMABUF, create a VkBuffer and then use vkCmdCopyBufferToImage and provide
> the image stride using bufferRowLength.  The current Vulkan WSI code in mesa
> already does this internally for cross-GPU sharing via prime.</span >

I see, thanks. I guess I'll wait until that extension gets finalized.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>