On 30/03/17 09:16 PM, Jan Burgmeier wrote:
Hi,
with versions newer than libdrm-2.4.66 I have heavy artifacts during hw accelerated playback of wmv files vaapi/vdpau tested with gstreamer- 0.10 and ffmpeg based mpv.
Bisect result: db138b9ba12a0de5d6140832c0679c2418e3e7e0 is the first bad commit commit db138b9ba12a0de5d6140832c0679c2418e3e7e0 Author: Michel Dänzer michel.daenzer@amd.com Date: Thu Jan 21 18:08:49 2016 +0900
radeon: Pass radeon_bo_open flags to the DRM_RADEON_GEM_CREATE
ioctl
Not doing so makes it impossible for radeon_bo_open callers to set
any RADEON_GEM_* flags for the newly created BO.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
If I revert this commit on the current master branch the artefacts are gone.
Without this change, the flags passed to radeon_bo_open are ignored. The question is which flag passed from where is causing the trouble.