GNOME Bugzilla – Bug 764366
Fail to play video (VC1, H264, VP8, VP9) in wayland weston
Last modified: 2016-04-01 10:01:48 UTC
Created attachment 325008 [details] gst_debug.log gstreamer-vaapi: git master gstreamer: git master gst-plugins-bad: git master gst-plugins-base: git master gst-plugins-good, gst-plugins-ugly, gst-libav : 1.8.0 version wayland: 1.8.1 weston: 1.8.0 cmrt: (https://github.com/01org/cmrt) commit id: f60b0a6996e5288d8aa605bd355c3922e5fb8a3e intel-hybrid-driver: commit id: 0375a7287e556fedaf7628a85b143c1233a9ef84 Using the image environment contains wayland weston and X11, I'm confirm it working in X11 but not in wayland weston. I'm also having the same issue ever with this simple command: gst-launch-1.0 ! videotestsrc ! vaapisink display=wayland But I'm able to play jpeg decode, but still got error message. 0:00:01.784185319 783 0x82c0a0 ERROR vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1 0:00:01.950980792 783 0x82c0a0 ERROR vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1 0:00:02.118604159 783 0x82c0a0 ERROR vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1 0:00:02.284264903 783 0x82c0a0 ERROR vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1
Created attachment 325011 [details] sample_vp8.webm
Created attachment 325012 [details] sample_vc1.wmv
That's strange. I can play the vp8 sample in weston (1.10) using the hybrid driver. Reading the log it seems that is something wrong in your weston/wayland setup: vaapi gstvaapiwindow_wayland.c:203:gst_vaapi_window_wayland_sync:ESC[00m Error on dispatching events: Broken pipe How do you setup your weston environment?
The image I'm using for linux is pre-built image using Yocto build tool. Currently my image can't detect the gstreamer-vaapi at ever I already installed. Something setup in the system not working correctly now. The image already have installed with X11 and wayland Weston with libva and libva-va driver. I'm flashing the new image in another HDD, and install the cmrt -> hybrid driver -> upgrade gstreamer framework -> upgrade gstreamer-vaapi, I can play the video in wayland weston. It could be some step sequence didn't build correctly in my previous image side. You can close the ticket first.