https://bugs.freedesktop.org/show_bug.cgi?id=110443 Bug ID: 110443 Summary: vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200) Product: Mesa Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: julien.isorce@gmail.com QA Contact: dri-devel@lists.freedesktop.org vaDeriveImage reports wrong stride. Indeed Mesa's vlVaDeriveImage always sets the stride to w * 4 for RGBA format https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/image.c#n259 This results in wrong video output, see https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/100 Is there a way to know the pipe_resource's stride https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/image.c#n283 without exporting it to dmabuf (through whandle.stride) and without mapping it (drv->pipe->transfer_map / pipe_transfer.stride) ? -- You are receiving this mail because: You are the assignee for the bug.