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

Bug Watch Updater 1708091 at bugs.launchpad.net
Wed Aug 2 07:34:21 UTC 2017


** Changed in: libva
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1708091

Title:
  External buffers of factually correct size get rejected by
  vaCreateSurfaces

Status in Libva:
  Fix Released
Status in intel-vaapi-driver package in Ubuntu:
  In Progress

Bug description:
  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);

To manage notifications about this bug go to:
https://bugs.launchpad.net/libva/+bug/1708091/+subscriptions



More information about the Ubuntu-sponsors mailing list