[Bug 111236] VA-API radeonsi SIGSEGV __memmove_avx_unaligned

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 26 16:34:02 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111236

--- Comment #8 from Michel Dänzer <michel at daenzer.net> ---
Created attachment 145171
  --> https://bugs.freedesktop.org/attachment.cgi?id=145171&action=edit
si_video_buffer_create fixups

I've traced this to the si_video_buffer_create function, which makes multiple
pipe_resources use the same buffer, but doesn't update the bo_size or make sure
si_can_invalidate_texture returns false for those resources. So
si_texture_transfer_map may allocate a new buffer of the original bo_size,
which is smaller than the combined size of the resources => its CPU mapping
doesn't always cover the calculated address.

This quick'n'dirty patch prevents the crash, but now totem just hangs for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190826/87ac454b/attachment.html>


More information about the dri-devel mailing list