GNOME Bugzilla – Bug 765572
[VPP][STDE] display with green stripe.
Last modified: 2016-10-31 14:27:40 UTC
1. Testing Steps: ======================================================================== gst-launch-1.0 filesrc location=sample.264 ! h264parse ! vaapidecode ! vaapipostproc skin-tone-enhancement=TRUE ! vaapisink 2. Testing Env: ======================================================================== gst_plugins_vaapi: (master)8c260701514ad3d5a7cf2952cd8a55f9f10f4ebb libva: (master)2339d10b9a39ba4f7173053b9eab8d6a151717a5 Libva_intel_driver: (master)2c1bec03889fe759a33c087a7c107ad84bbb72fb 3. Frequency of Occurence: ======================================================================== 100%
Hi, Can you share the file sample.264? My guess is the frame width in that file is not multiple of 16, so the skin-tone-enhance in vaapipostproc will ignore a region: that green bar. For example, we could resize the frame to a width multiple of 16, before passing the filter, and the bar will go away: gst-launch-1.0 filesrc location= ~/patterns/sample.264 ! h264parse ! \ vaapidecode ! vaapipostproc width=336 ! \ vaapipostproc skin-tone-enhancement=TRUE ! vaapisink
@Victor,you can use below two samples to duplicate this issue. And I resized frame width to multiple of 16, green stripe also exist. CVWP1_TOSHIBA_E.264 freh10.264
I can't perceive a green stripe with those samples. But I can see it with attachment 325021 [details] and it is because its width is not multiple of 16. (meanwhile both samples you mentioned have frame sizes multiple of 16 -352x288-) Can you pust a screenshot?
* s/pust/post
Created attachment 326845 [details] use sample.h264 took this picture cmd: gst-launch-1.0 filesrc location=sample.264 ! h264parse ! vaapidecode ! vaapipostproc width=336 ! vaapipostproc skin-tone-enhancement=TRUE ! vaapisink
Created attachment 326846 [details] use CVWP1_TOSHIBA_E.264 took this picture cmd: gst-launch-1.0 filesrc location=CVWP1_TOSHIBA_E.264 ! h264parse ! vaapidecode ! vaapipostproc width=336 ! vaapipostproc skin-tone-enhancement=TRUE ! vaapisink
Created attachment 326847 [details] use freh10.264 took this picture cmd: gst-launch-1.0 filesrc location=freh10.264 ! h264parse ! vaapidecode ! vaapipostproc width=336 ! vaapipostproc skin-tone-enhancement=TRUE ! vaapisink
(In reply to Víctor Manuel Jáquez Leal from comment #3) > I can't perceive a green stripe with those samples. > > But I can see it with attachment 325021 [details] and it is because its > width is not multiple of 16. (meanwhile both samples you mentioned have > frame sizes multiple of 16 -352x288-) > > Can you pust a screenshot? Hi Victor, I have uploaded three pictures about this issue, pls have a check.
Wow! Thanks! Which hardware are you using? KBL? Because with my HSW-base laptops doesn't show that ugly stripes.
If you guys hit any platform specific issues like this recently , the core reason could be this: https://lists.freedesktop.org/archives/libva/2016-April/003908.html Try with the the proposed patch in mailing list.
(In reply to sreerenj from comment #10) > If you guys hit any platform specific issues like this recently , the core > reason could be this: > https://lists.freedesktop.org/archives/libva/2016-April/003908.html > > Try with the the proposed patch in mailing list. and this too: https://lists.freedesktop.org/archives/libva/2016-April/003902.html
libva-intel-driver:4643f94991e4e36ce3a23de63cce9fe543ed1725 gst-vaapi:018ea8b2fc193f64bcaf8f2a58e67d6a806dfce9 I checked with the latest code of intel-driver&gst-vaapi, but problem still exist. @Victor, you are right, this issue did not happen on HSW&BYT here. Only happened on KBL&APL&SKL&BSW&BDW.
(In reply to Fei from comment #12) > libva-intel-driver:4643f94991e4e36ce3a23de63cce9fe543ed1725 > gst-vaapi:018ea8b2fc193f64bcaf8f2a58e67d6a806dfce9 > > I checked with the latest code of intel-driver&gst-vaapi, but problem still > exist. > > @Victor, you are right, this issue did not happen on HSW&BYT here. Only > happened on KBL&APL&SKL&BSW&BDW. I believe it should be investigated from diver side then. If you have tools other than gstreamer-vaapi, please have a test with those.
This driver patch :https://lists.freedesktop.org/archives/libva/2016-June/004030.html will fix the issue. Please test and close once the patch land in driver.
verify Ok: libva: commit c36971c682d890681fe839bbaa8a348fe845aa42 libva-intel: commit bcde10dac40cbc4c8502fa519404c9379372184b gst-vaapi: commit 6970dc127764129a6bcb06fcceb600e057346796