[Bug 1708091] [NEW] External buffers of factually correct size get rejected by vaCreateSurfaces

Launchpad Bug Tracker 1708091 at bugs.launchpad.net
Wed Aug 2 07:23:39 UTC 2017


You have been subscribed to a public bug by Daniel van Vugt (vanvugt):

Calling vaCreateSurfaces with:

data_size = 8388608 (0x800000) from drm_gem_open
stride = 7680
width = 1920
height = 1080

fails:

i965_drv_video.c:1507: i965_suface_external_memory: Assertion
`(((obj_surface->height) & ((16)-1)) == 0)' failed.

To workaround this failure I need to reduce the data_size to satisfy the
above assertion and its sibling that requires 32-row alignment:

data_size -= data_size % (stride * 32);

** Affects: libva
     Importance: Unknown
         Status: Unknown

** Affects: intel-vaapi-driver (Ubuntu)
     Importance: High
     Assignee: Daniel van Vugt (vanvugt)
         Status: In Progress

-- 
External buffers of factually correct size get rejected by vaCreateSurfaces
https://bugs.launchpad.net/bugs/1708091
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list