After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796469 - msdk: csc from YV12 to NV12 color incorrect.
msdk: csc from YV12 to NV12 color incorrect.
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 789886
 
 
Reported: 2018-05-31 07:53 UTC by Fei
Modified: 2018-06-06 03:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fei 2018-05-31 07:53:30 UTC
Test Env:
============================================
Platform:               APL/KBL
Arch:          		x86_64
Linux release           16.04
Kernel:			4.12.0-rc2 
libva                   https://github.com/01org/libva.gitb
                        commit 3be72a5a110880f70626d7c3bed953cdde124b2
media_driver		https://github.com/intel/media-driver
                        commit 1c2b0615d749c45c07f9aee6586774816989c5b3
MediaSDK:               https://github.com/Intel-Media-SDK/MediaSDK
                        commit 7c2b069dce7bed268806f680412a2f3b09a52ce9
gst-bad 		master branch 0bdcf51baf77926b4f29c01a2fdf133c13aad62e

Reproduce Steps:
============================================

gst-launch-1.0 videotestsrc num-buffers=10 ! video/x-raw,format=YV12 ! msdkvpp ! video/x-raw,format=NV12 ! videoconvert ! video/x-raw,format=I420 ! checksumsink2 frame-checksum=false dump-output=true dump-location=a.I420

check a.I420 in yuv player, image full of green background.

same issue with gst-mfx:
gst-launch-1.0 videotestsrc num-buffers=10 ! video/x-raw,format=YV12 ! mfxvpp ! video/x-raw,format=NV12 ! videoconvert ! video/x-raw,format=I420 ! checksumsink2 frame-checksum=false dump-output=true dump-location=a.I420
Comment 1 Ishmael Visayana Sameen 2018-05-31 08:11:40 UTC
Check known issues and limitations of the media driver, point 2 - https://github.com/intel/media-driver
Comment 2 Fei 2018-05-31 08:17:29 UTC
(In reply to Ishmael Visayana Sameen from comment #1)
> Check known issues and limitations of the media driver, point 2 -
> https://github.com/intel/media-driver

Thanks for your information. media-driver mentioned green color only appear on SKL. We tested it on KBL/APL/SKL, all have green color issue.
Comment 3 Ishmael Visayana Sameen 2018-05-31 08:44:37 UTC
It actually works for me though. KBL 4.16 kernel on Ubuntu 16.04 with latest open-source MSDK and media driver.

gst-launch-1.0 videotestsrc ! video/x-raw, format=I420 ! mfxvpp ! video/x-raw, format=NV12 ! glimagesink

Maybe the patch as mentioned in the media driver limitations needs to be applied for kernel version 4.12?
Comment 4 sreerenj 2018-06-05 22:49:33 UTC
Yup, I too can't reproduce the issue.
Kernel 4.15, KBL.


As Ishmael pointed out, Even on SKL it seems to be a known issue with msdk+ old kernel.
I'm closing it as won't fix from our side. Please feel free to re-open if needed.
Comment 5 Fei 2018-06-06 03:10:29 UTC
Update my kernel to 4.16.13, the issue is gone. Thanks.