Bug 76383 - [ivb/hsw/byt/bdw] Gnome impacts the decoding result of some VC1 clips
Summary: [ivb/hsw/byt/bdw] Gnome impacts the decoding result of some VC1 clips
Status: VERIFIED NOTOURBUG
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 05:48 UTC by zhenxiang.li
Modified: 2014-03-28 01:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description zhenxiang.li 2014-03-20 05:48:28 UTC
Summary:
--------------------
These vc1 video are:
SA20018.vc1
SA30026.vc1
SA30027.vc1
SA30028.vc1
SA30029.vc1
SA40011.vc1
SMH0008.rcv

All the above clips decoding more 1 frame comparing with reference tool(using decoder). The result may like this:

$F ${Y_MIN_SSIM} ${Y_AVERAGE_SSIM} ${U_MIN_SSIM} ${U_AVERAGE_SSIM} ${V_MIN_SSIM} ${V_AVERAGE_SSIM} ${REF_FRAME_COUNT} ${DUMP_FRAME_COUNT} ${LOST_FRAMES_COUNT}
SA30027.vc1 0.622797 0.869739 0.943490 0.986726 0.935666 0.981597 25 26 -1

Decoding also is impacted by platform, for example, file SA40011.vc1 decoding pass on ivb both with gnome and under x-window, but fail on hsw when decoding with gnome and pass without gnome-session.
Platform byt & bdw will be verified when the machine are available.

Testing environment:
--------------------
Libva:          
(master)ffdcb500fe50f927a55e35ab19434157fc90f39b
Libva_intel_driver:             
(master)f393de526b37a964572b1e5ea326bef826890d2c
Mplayer:                
(hwaccel-vaapi)1923fa10ed77bbf8408f2ce312d85a97dab1f0f3


command line: 
--------------------
path="/root/media_tools/decoder"
LD_PRELOAD=$path"/i965_drv_video_hook.so" mplayer -nosound -fps 30 -vo vaapi -va vaapi ${F}
Comment 1 zhenxiang.li 2014-03-20 08:21:09 UTC
Issue also reproduced on byt and bdw
Comment 2 haihao 2014-03-24 04:36:23 UTC
Seems your tool doesn't get the right frame number when gnome-session is launched. 

E.g. for SA40011.vc1 on HSW
the frame number is switched between 30 and 31.
Comment 3 zhenxiang.li 2014-03-28 01:12:29 UTC
Modified the testing script and no reproduce again


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.