Bug 66307 - [HSW]De-interlace/ProcAmp display green, if kernel (3.9) doesn't support VEBOX
Summary: [HSW]De-interlace/ProcAmp display green, if kernel (3.9) doesn't support VEBOX
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: high major
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 08:43 UTC by Yang Lianyue
Modified: 2014-01-02 01:30 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
GreenScreen (17.79 KB, image/png)
2013-06-28 08:43 UTC, Yang Lianyue
Details

Description Yang Lianyue 2013-06-28 08:43:55 UTC
Created attachment 81628 [details]
GreenScreen

System Environment:
----------------------------------------
Platform: HSW
Libva:        (master)88ed1ebe960b1c4a7970e12f8df1ed7d7031352a
Intel-driver: (master)6898ab7145ab53d6edeaa42591c5445ab58e0cf1
Gst-vaapi:    (0.4)   e842ba7df999fcb1655894b3009650ab57b5b5e5


Bug Info:
----------------------------------
VPP didn't work with green display when de-interlace(method=1,3), scalling or ProcAmp.

Steps:
---------------------------------
xinit&
de-interlace(method=1):
gst-launch-0.10 filesrc location=/home/Stream/vts_06_1_remux.ts ! tsdemux ! vaapidecode ! vaapipostproc deinterlace=1 deinterlace-method=1 ! vaapisink 

de-interlace(method=3):
xinit&
gst-launch-0.10 filesrc location=/home/Stream/vts_06_1_remux.ts ! tsdemux ! vaapidecode ! vaapipostproc deinterlace=1 deinterlace-method=3 ! vaapisink 

scalling:
xinit&
gst-launch-0.10 filesrc location=/root/media_tools/Mux_Stream/H264_640x368_frame300.MP4 ! qtdemux ! vaapidecode ! vaapipostproc hue=150.0 brightness=50.0 contrast=5.0 saturation=5.0 auto-brightness=1 auto-contrast=1 auto-saturation=1 ! vaapisink

ProcAmp:
xinit&
gst-launch-0.10 filesrc location=/home/Stream/Sally.ts ! tsdemux ! vaapidecode ! vaapipostproc hue=150.0 brightness=50.0 contrast=5.0 saturation=5.0 auto-brightness=1 auto-contrast=1 auto-saturation=1 ! video/x-surface,width=600,height=800,type=vaapi,format=\(fourcc\)YV12 ! vaapisink
Comment 1 haihao 2013-06-28 08:55:49 UTC
Please don't mix scaling with other filters 

 hue=150.0 brightness=50.0 contrast=5.0 saturation=5.0 auto-brightness=1  is used for procamp testing.
Comment 2 Ouping Zhang 2013-06-28 09:17:56 UTC
Use cmd:
gst-launch-0.10 filesrc location=/home/Stream/Sally.ts ! tsdemux ! vaapidecode ! vaapipostproc ! video/x-surface,width=600,height=800,type=vaapi,format=\(fourcc\)YV12 ! vaapisink 

Scaling test OK
(In reply to comment #1)
> Please don't mix scaling with other filters 

 hue=150.0 brightness=50.0
> contrast=5.0 saturation=5.0 auto-brightness=1  is used for procamp testing.
Comment 3 Yang Lianyue 2013-06-28 09:31:24 UTC
This bug can not reproduced on staging libva/intel-driver. Test OK on IVB.

System Environment:
----------------------------------------
Libva:        (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0
Intel-driver: (staging)bb24c8a81e512d19aad0359d81f7247e6f20cc29
Comment 4 haihao 2013-07-01 00:26:18 UTC
(In reply to comment #3)
> This bug can not reproduced on staging libva/intel-driver.

Do you mean you can't reproduce this bug on HSW ? 


>  Test OK on IVB.
> 
> System Environment:
> ----------------------------------------
> Libva:        (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0
> Intel-driver: (staging)bb24c8a81e512d19aad0359d81f7247e6f20cc29
Comment 5 Yang Lianyue 2013-07-01 01:42:31 UTC
(In reply to comment #4)
>> (In reply to comment #3)
>> This bug can not reproduced on staging
>> libva/intel-driver.

>Do you mean you can't reproduce this bug on HSW ? 

Test again, staging can reproduced on HSW.
Comment 6 haihao 2013-07-01 05:20:39 UTC
Fixed.

If the underlying OS doesn't support VEBOX, the driver doesn't advertise the corresponding VPP filters.
Comment 7 Yang Lianyue 2013-07-01 08:04:08 UTC
This issue has been fixed.

System Environment:
----------------------------------------
Libva:        (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0
Intel-driver: (staging)6e7e29e637ed89da38f493239dbceb059c9b3106
Comment 8 Gordon Jin 2014-01-02 01:30:10 UTC
give the credit to Haihao.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.