GNOME Bugzilla – Bug 757010
Wayland Gstreamer vaapisink fullscreen=true causing video playback with multiple vertical line
Last modified: 2015-11-05 10:01:19 UTC
Fedora22 with Wayland Weston compositor. gst-launch-1.0 -v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true. This issue only happen in Wayland weston environment not happen in X.
gst command: able to see vertical lines. gst-launch-1.0 –v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true gst-launch-1.0 –v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapipostproc ! vaapisink fullscreen=true gst command: not able to see vertical lines. Ever the video clip resolution is 800x600, just need to set width and height the vertical green line will disappear. gst-launch-1.0 –v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapipostproc width=1920 height=1080 ! vaapisink fullscreen=true gst-launch-1.0 –v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapipostproc width=800 height=600 ! vaapisink fullscreen=true The original dst_rect.x = 171 and dst_rect.width=1578. dst_rect.x=171 and dst_rect.width=1578 (gst-launch-1.0 –v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true.) I’m trying in set the input the dst_rect.x=160 and dst_rect.width=1600 in gst_vaapi_window_wayland_render function, in gst-launch-1.0 –v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true. I can’t reproduce the vertica green line anymore. I’m looking around the code how this dst_rect.x and dst_rect.width is been calculate and set
Force it to use the software VPP by changing the has_vpp = 0 in the chv_hw_codec_info there. The full screen issue for vertical green lines issue go away. This can proving there is a bug inside the VA driver side for HW VPP didn't handle well in support Wayland Weston environment side. Can close this issue in gstreamer vaapi side. Link it back to the issue submit in VA driver side "https://bugs.freedesktop.org/show_bug.cgi?id=92811".
(In reply to Lim Siew Hoon from comment #2) > Force it to use the software VPP by changing the has_vpp = 0 in the > chv_hw_codec_info there. The full screen issue for vertical green lines > issue go away. This can proving there is a bug inside the VA driver side for > HW VPP didn't handle well in support Wayland Weston environment side. > > Can close this issue in gstreamer vaapi side. Link it back to the issue > submit in VA driver side > "https://bugs.freedesktop.org/show_bug.cgi?id=92811". Great! Thanks for taking the time to report this and dig on it. Since this is not a gstreamer-vaapi specific issue, I'm closing it as RESOLVED - NOTGNOME We'll keep an eye on the bug in freedesktop. If something it's need to be done in gstreamer-vaapi, we can re-open this bug.