<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [SNA/HSW] DRI3 rendering gets stuck waiting for present idle notify event"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84252#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [SNA/HSW] DRI3 rendering gets stuck waiting for present idle notify event"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84252">bug 84252</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>In the debug log, there is one oddity: mesa reuses an active pixmap.



[ 90578.146] sna_dri3_pixmap_from_fd(fd=48, width=1000, height=678,
stride=4096, depth=24, bpp=32)
[ 90578.146] kgem_create_for_prime(name=48)
[ 90578.146] kgem_create_for_prime: estimated size=2777088, actual=2777088
[ 90578.146] kgem_create_for_prime: new handle=22, tiling=0
[ 90578.146] __kgem_bo_init(handle=22, num_pages=678)
[ 90578.146] kgem_create_for_prime: imported handle=22 has caching 0
[ 90578.146] kgem_create_for_prime: interpreting handle=22 as a foreign scanout
[ 90578.146] kgem_check_surface_size(width=1000, height=678, bpp=32, tiling=0,
pitch=4096, size=2777088)
[ 90578.146] kgem_surface_size: tile_width=8, tile_height=1 => aligned
pitch=4000, height=678
[ 90578.146] kgem_check_surface_size: min_pitch=4000, min_size=2715648
[ 90578.146] kgem_check_surface_size: tile_width=1, tile_size=1
[ 90578.146] create_pixmap: allocating pixmap 0x0, depth=24, size=0
[ 90578.146] create_pixmap: serial=11003, usage=-1, 0x0
[ 90578.146] sna_pixmap_attach_to_bo: attaching GPU handle=22 to pixmap=11004
...
[ 90578.157] sna_dri3_pixmap_from_fd(fd=48, width=1000, height=678,
stride=4096, depth=24, bpp=32)
[ 90578.157] kgem_create_for_prime(name=48)
[ 90578.157] kgem_create_for_prime: estimated size=2777088, actual=2777088
[ 90578.157] kgem_create_for_prime: new handle=22, tiling=0
[ 90578.157] __kgem_bo_init(handle=22, num_pages=678)
[ 90578.157] kgem_create_for_prime: imported handle=22 has caching 0
[ 90578.157] kgem_create_for_prime: interpreting handle=22 as a foreign scanout
[ 90578.157] sna_dri3_pixmap_from_fd: imported fd matches existing DRI3
pixmap=11004
[ 90578.157] _kgem_bo_destroy: handle=0, proxy? 0
[ 90578.157] __kgem_bo_destroy: handle=0, size=2777088
[ 90578.157] kgem_bo_free: handle=0, size=2777088
[ 90578.157] kgem_bo_free: releasing 0x0:0x0 vma for handle=0, count=0
[ 90578.157] sna_sync_flush(pixmap=11004)
[ 90578.157] sna_sync_flush: flushing prime GPU bo, handle=22
[ 90578.157] sna_pixmap_move_to_gpu(pixmap=11004, usage=-1), flags=4b
[ 90578.157] sna_pixmap_move_to_gpu: already all-damaged
[ 90578.157] sna_pixmap_mark_active: pixmap=11004, handle=

But that looks to be used for copying onto the scanout, so the compositor. Why
it is not tiled is beyond, but that's the clients perogative. Anyway, my guess
is that it is unrelated to the game.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>