[Bug 84252] [SNA/HSW] DRI3 rendering gets stuck waiting for present idle notify event

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 23 13:40:40 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84252

--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140923/3225210a/attachment.html>


More information about the intel-gfx-bugs mailing list