video output flickering / tearing using weston 8.0.0 / weston 9.0.0 thru drm-backend.so
The video playback using sample_decode from MSDK library is flickering & tearing happening after upgrade weston 8.0.0 / weston 9.0.0 release. In weston 7.0.0 still didn't see this issue.
This issue not able to reproduce in X11 in weston side in weston 8.0.0 running same video clip and command.
Between 8.0.0 version & 7.0.0 version: Found out the flickering start happen with this commit, we noticed a lot of changed added in. https://github.com/wayland-project/weston/commit/2538aaccc7bef6d6f790731aa4697071eb00e23a
So, we using weston 8.0.0 code based continue help to narrow down what is causing. Just do quick check is this causing my cursor update. At drm_output_prepare_cursor_view function, I put straight return NULL without do any extra execution. The flickering / tearing disappear. We need advice and help at here.
Here is sample code that touch on wayland using wayland-drm-protocol.c. https://github.com/Intel-Media-SDK/MediaSDK/tree/master/samples/sample_misc/wayland/src
Command: export LD_LIBRARY_PATH=/usr/lib64/mfx/samples/ ./sample_decode h264 -i /media/H264_Videos/Demuxed_H264_Videos/Puppies_1920x1080_40mbps_30fps_Main_at_L4.1.h264 -rwld -rgb4 -f 30