Public bug reported: 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 ** Changed in: intel-vaapi-driver (Ubuntu) Importance: Undecided => High ** Bug watch added: github.com/01org/intel-vaapi-driver/issues #222 https://github.com/01org/intel-vaapi-driver/issues/222 ** Also affects: libva via https://github.com/01org/intel-vaapi-driver/issues/222 Importance: Unknown Status: Unknown ** Changed in: intel-vaapi-driver (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: intel-vaapi-driver (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1708091 Title: External buffers of factually correct size get rejected by vaCreateSurfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1708091/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp