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

Sebastien Bacher seb128 at ubuntu.com
Tue Aug 8 23:45:33 UTC 2017


** Changed in: intel-vaapi-driver (Ubuntu)
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

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