GNOME Bugzilla – Bug 764633
[HEVC][decode]md5 mismatch for hevc streams with current git master.
Last modified: 2016-10-31 14:20:40 UTC
1. Testing Steps: ======================================================================== gst-launch-1.0 -q filesrc location=/media/HEVC/JVT10.0/$filename ! h265parse ! vaapidecode ! vaapipostproc format=i420 ! checksumsink2 frame-checksum=FALSE file-checksum=TRUE | tail -1 >> file_checksum_vaapi.txt 2. Testing Env: ======================================================================== gst_plugins_vaapi: (master)45145d73dd7d0bf2563f4d857667e7cb508834b5 libva: (master)2339d10b9a39ba4f7173053b9eab8d6a151717a5 Libva_intel_driver: (master)759e44d4cbe78cf12d287799cee5ff519080052d 3. Frequency of Occurence: ======================================================================== 100% 4. fail cases: HEVC_MSFT_MSHDRef_Texture_High_01_320x240p30f_intra_main.bin(vpg_md5=bf3797c78143d7194e81c52f6df38792 otc_md5=46f457f63b3bcc80367a1b5a91be7a5d) fail HEVC_MSFT_MSHDRef_Texture_High_01_320x240p30f_lowdelay_main.bin(vpg_md5=a205d5234b9add086b4534a345a4eddd otc_md5=f7c6c39ff4d4a39f862d578fa581a2f9) fail HEVC_MSFT_MSHDRef_Texture_High_01_320x240p30f_lowdelay_P_main.bin(vpg_md5=c4b325a8d8407c21f3918b85fa7451fa otc_md5=7c63e05ee5869bf0b52167e4e45c5015) fail HEVC_MSFT_MSHDRef_Texture_High_01_320x240p30f_randomaccess_main.bin(vpg_md5=a36f4088007c0dbef56b549ef0314b35 otc_md5=a41b70433020720132f5126be53080d5) fail HEVC_MSFT_MSHDRef_Texture_SkinTones_08_320x240p24f_intra_main.bin(vpg_md5=7ea8af4759fc48da9bad8fff2d9e6c80 otc_md5=4c0d0de57741838ed6ebcfd80275386c) fail HEVC_MSFT_MSHDRef_Texture_SkinTones_08_320x240p24f_lowdelay_P_main.bin(vpg_md5=378cf7ec8b38e1ea8d4704899318d3b9 otc_md5=47c3860defddfb4c7fe18245cf7f8bba) fail HEVC_MSFT_MSHDRef_Texture_SkinTones_08_320x240p24f_lowlevel_main.bin(vpg_md5=561d9671aabbe62d1e2470aa16d19ca3 otc_md5=dd4eb8713ba3de444ccf299177863f73) fail HEVC_MSFT_MSHDRef_Texture_SkinTones_08_320x240p24f_randomaccess_main.bin(vpg_md5=23b2d9a6182c3ff5564c81591a187028 otc_md5=0fec16eeb64291d0254311e4a4d9ccd5) fail HEVC_JVT_AMVP_A_MTK_4.bin(vpg_md5=5dd1b1099391ad659225fbf94965a6c7 otc_md5=d018bb968972a9ebc1c5e41f936312e9) fail HEVC_JVT_AMVP_B_MTK_4.bin(vpg_md5=7fecb4fe8ee4d4838f4a9873b062b819 otc_md5=8ca2dbdfe50ae15a1c84f2ad7128f775) fail HEVC_JVT_AMVP_C_Samsung_4.bin(vpg_md5=7366914f40b54fee391a070b5fea6bab otc_md5=c64783fd0eaa7110b2d0b074fa1575ed) fail HEVC_JVT_CAINIT_A_SHARP_4.bin(vpg_md5=550c5a918fecda6a284aa5f44c0e2f33 otc_md5=248f032d7ef0f5eed3602142fce2ba7b) fail HEVC_JVT_CAINIT_B_SHARP_4.bin(vpg_md5=0c633f8ee5a4c5779cff48ca86273685 otc_md5=794f00a738d501f6de0ee0131700561e) fail HEVC_JVT_CAINIT_C_SHARP_3.bin(vpg_md5=9c6c5363724a8bad54e2869b655fbf3b otc_md5=40ead43eada574a74c289633a8a3e090) fail HEVC_JVT_CAINIT_D_SHARP_3.bin(vpg_md5=0231e327044e45971fc30a43a1bd8275 otc_md5=476ac0e5f67ab702bc85058af855f086) fail HEVC_JVT_CAINIT_E_SHARP_3.bin(vpg_md5=55af76d5527af999d12ccc37b1f6b7ae otc_md5=975c0a8ac7df63d3dd864fb68c946b0d) fail HEVC_JVT_CAINIT_F_SHARP_3.bin(vpg_md5=88d8cd2d303b662f0a92a25256957b69 otc_md5=47dd340ef028756648fd2a04f2ecdd67) fail HEVC_JVT_CAINIT_G_SHARP_3.bin(vpg_md5=a7036eac7798f6e8691f0975786d6811 otc_md5=67090498dab8da41eb90a7c5cedcbc32) fail HEVC_JVT_CAINIT_H_SHARP_3.bin(vpg_md5=cfdd3ce0f4cf1eafd012dcb266311d06 otc_md5=e47d898867a9b321bb83eca231cde3d6) fail HEVC_JVT_CIP_A_Panasonic_3.bin(vpg_md5=4cbf601ba98d63f642defab5eaa12c8d otc_md5=7d6d6f475ff4e43cc4d0617e98ae2b6a) fail HEVC_JVT_cip_B_NEC_3.bin(vpg_md5=1315714c7b3f3237b469259f66d9b7aa otc_md5=81eed986ea7fba31a722f6b028fdde1c) fail HEVC_JVT_CIP_C_Panasonic_2.bin(vpg_md5=ed985932fef2aa8a74ded970070bdab2 otc_md5=83749a6ad780f5a6fc39d85c4ff0af7c) fail HEVC_JVT_DBLK_A_SONY_3.bin(vpg_md5=42486a48ea12d5ab6cd98ed2e2807cfe otc_md5=d36f9b730434817e3803367bc45a646b) fail HEVC_JVT_DBLK_B_SONY_3.bin(vpg_md5=cf5de25a94a33e2d4237b8d1c773db06 otc_md5=d493c42ba4261d7489cc549a5c8173f7) fail HEVC_JVT_DBLK_C_SONY_3.bin(vpg_md5=41f89edc63b1175ffc1fae909f4fed82 otc_md5=434a977a3c2738ed2808eff2822dfbc1) fail HEVC_JVT_DELTAQP_B_SONY_3.bin(vpg_md5=f02fa96633c63bd5e1ce0f103447d1ed otc_md5=7fbfe948488a0e6fdfb0c2907aada210) fail HEVC_JVT_DELTAQP_C_SONY_3.bin(vpg_md5=1c2be685b1ae953787e0e93c656ee502 otc_md5=672df926aafd1805ff6b673c16a66b78) fail HEVC_JVT_EXT_A_ericsson_3.bin(vpg_md5=5797b3114fe12daf1ce522ed70ce4078 otc_md5=0d934a02ffe88b4a78a16849ab5d7df5) fail HEVC_JVT_HRD_A_Fujitsu_2.bin(vpg_md5=12aa6cecce3d60521c5e5f1d0b890061 otc_md5=c50c7c63ad6670f9e20bc040bfdade70) fail HEVC_JVT_ipcm_A_NEC_3.bin(vpg_md5=8049988c383486e076ea2494edda3831 otc_md5=e6a07cd96f1b7aee1b8f57b5d0a10c9b) fail HEVC_JVT_ipcm_B_NEC_3.bin(vpg_md5=23a3b7024fd9bc64b946b9961ab0f51e otc_md5=e8946e04e706b6dc2d1e19ede4d40cdd) fail HEVC_JVT_ipcm_C_NEC_3.bin(vpg_md5=c3e74c399b73a5ab2dbd20523f583464 otc_md5=75aa7156ffbb0135df2e5cc3924a6259) fail HEVC_JVT_ipcm_D_NEC_3.bin(vpg_md5=aa64a16240064bc2a90fadf979a62a7b otc_md5=cb036c4e4b181b756b1989f124cde4fb) fail HEVC_JVT_ipcm_E_NEC_2.bin(vpg_md5=e1cd7a16d3f6a342855044ccba3e41f5 otc_md5=0e9a46deb032334d9ffdcd6510e81498) fail HEVC_JVT_IPRED_A_docomo_2.bin(vpg_md5=0e4e9bd00b74e30e400de46ee7ad8023 otc_md5=25000ae421464aa714a3f11474bd15c3) fail HEVC_JVT_IPRED_C_Mitsubishi_3.bin(vpg_md5=6043c04fecc60ee88f4247aaca96441f otc_md5=6f72b761b378f54efb3b251e5fa6dd1d) fail HEVC_JVT_LS_A_Orange_2.bin(vpg_md5=e14f82958f87a87be73a6f51e76ffdab otc_md5=c1f633f553b57a2eccfbfeceb7e9f132) fail HEVC_JVT_LS_B_Orange_4.bin(vpg_md5=05ac9b36977c98001cc6c5a45e363662 otc_md5=a82fa9781a772707e41c9a14243b6378) fail HEVC_JVT_MAXBINS_A_TI_4.bin(vpg_md5=81566d298a656a112a26c086d09a0094 otc_md5=365fa2b78918d75c21b8e9fa3d361939) fail HEVC_JVT_MAXBINS_B_TI_4.bin(vpg_md5=f2469c03557755a851d183d4fb402b66 otc_md5=f6b333ba8c84bf9929d1e8da05d5bb6a) fail HEVC_JVT_MAXBINS_C_TI_4.bin(vpg_md5=3289ca3abb2283c640bc50f64337fd2c otc_md5=43a23109e64453ce5c3df47d36e1663d) fail HEVC_JVT_MERGE_A_TI_3.bin(vpg_md5=3a15886a0158ef1aaf557869b2e9c522 otc_md5=d7981fd6d24f5c6c0a63cecf37a3a6df) fail HEVC_JVT_MERGE_B_TI_3.bin(vpg_md5=83b4dc9f229a8fba3777d9f4f87ce144 otc_md5=7f774aca6ba7ef822b89dc690983d1ff) fail HEVC_JVT_MERGE_C_TI_3.bin(vpg_md5=216f0cc869e3989c8fb2cf261243160b otc_md5=f1682561c83ac2eae3c5bd0a4a20ccf8) fail HEVC_JVT_MERGE_D_TI_3.bin(vpg_md5=104cccf2b8441862624777955d6ecdc4 otc_md5=5effb37a9a006d558c6f015ccb6a9221) fail HEVC_JVT_MERGE_E_TI_3.bin(vpg_md5=6e74dbd450123246c22bf01b389bbe11 otc_md5=3b323d37b25602a07be38831e3b98ae8) fail HEVC_JVT_MERGE_F_MTK_4.bin(vpg_md5=a8f0982f026dfda1c02b4d4d3eb88132 otc_md5=5ea77cbd80997f41ada7c209cc649c33) fail HEVC_JVT_MERGE_G_HHI_4.bin(vpg_md5=c82f4c88d9b2c73fabbeac8944da35a1 otc_md5=bcec7fe48a5223366ba6f8f47b1e1453) fail HEVC_JVT_MVCLIP_A_qualcomm_3.bin(vpg_md5=78b398c201089b6b17bcbda2bbccf3ae otc_md5=914ca9089624b91e97c385273d5b562e) fail HEVC_JVT_MVDL1ZERO_A_docomo_3.bin(vpg_md5=593d1936f6fc2e1775ea2a691a601c34 otc_md5=bab90628c6dd7fbc24fdab440ab5e3ad) fail HEVC_JVT_MVEDGE_A_qualcomm_3.bin(vpg_md5=101c5bfe16ff1739909161794af29a2d otc_md5=6d8c6a6abe896a0de7b4699e408bcc19) fail HEVC_JVT_NUT_A_ericsson_4.bin(vpg_md5=9dbe33badd0cc6dfcd1b53e546968fbd otc_md5=ef4a02d6aaad0db18ef0efb14111a66d) fail HEVC_JVT_PMERGE_A_TI_3.bin(vpg_md5=6e74dbd450123246c22bf01b389bbe11 otc_md5=3b323d37b25602a07be38831e3b98ae8) fail HEVC_JVT_PMERGE_B_TI_3.bin(vpg_md5=7d0e57ebdbbc6633c972083a17d97550 otc_md5=fa89cf19fc836b3eb0f15918aefc00c0) fail HEVC_JVT_PMERGE_C_TI_3.bin(vpg_md5=7e23d874b198ec7a9f6086a20de0db76 otc_md5=7c14c789be1a18fff2009e1b9376b3e3) fail HEVC_JVT_PMERGE_D_TI_3.bin(vpg_md5=9771b8c8a71e41547f14032e07be7d61 otc_md5=81e7aac22e96f7954fa2d530f810d037) fail HEVC_JVT_PMERGE_E_TI_3.bin(vpg_md5=26aed56afdb6cb7011fd5c3303379a9d otc_md5=927dce322f7c726453ea382072d4c899) fail HEVC_JVT_POC_A_Bossen_3.bin(vpg_md5=faf33bec64d3e58c426ed2772903a0bf otc_md5=1fa97b244b740c660d98829922f1852a) fail HEVC_JVT_PPS_A_qualcomm_7.bin(vpg_md5=bccf29fab6744215fe007ea3a5d6da42 otc_md5=978fad355641c54ac1a71a683925138a) fail HEVC_JVT_PS_A_VIDYO_3.bin(vpg_md5=eb85521ee103333eac61a8253637eac4 otc_md5=2a06eb9b52d6fcef56211af816cb56b3) fail HEVC_JVT_PS_B_VIDYO_3.bin(vpg_md5=eb85521ee103333eac61a8253637eac4 otc_md5=2a06eb9b52d6fcef56211af816cb56b3) fail HEVC_JVT_RAP_A_docomo_4.bin(vpg_md5=8a536a80ed42b37b1ac5810bc046f82a otc_md5=e49abf59f68a91e21e3d2b227964ca6b) fail HEVC_JVT_RAP_B_Bossen_1.bin(vpg_md5=f38befcc280f2fd0d23f48f807f843c2 otc_md5=6f1033262dd21edc2fa214b67fda4d60) fail HEVC_JVT_RPLM_A_qualcomm_4.bin(vpg_md5=011794872709c341880ee42ade036ed3 otc_md5=82206ee4943d43560791e2688612b795) fail HEVC_JVT_RPLM_B_qualcomm_4.bin(vpg_md5=653ac7c46fa7b9d7d966e3db317eb938 otc_md5=0db6677d1fdaf179d4a37c20b43c6e9b) fail HEVC_JVT_RPS_A_docomo_4.bin(vpg_md5=7f4ad6c6b3de54558b0db59629b87db9 otc_md5=2ef73b4755914c8e77b77df92479b152) fail HEVC_JVT_RPS_B_qualcomm_5.bin(vpg_md5=6d1ed392b067050ebd3a24a37281da03 otc_md5=de0c6246a35fa7de7454933869f9f94e) fail HEVC_JVT_RPS_C_ericsson_4.bin(vpg_md5=0306b9e3ec365115ccb7060c0a437b32 otc_md5=99f1d6c2d00fe96544df1b3c07fd24f9) fail HEVC_JVT_RPS_D_ericsson_5.bin(vpg_md5=d0fcd71e6266b1ae1f66b9cb1802ea03 otc_md5=ea0c31d3674ef965ce20eda2b37afd24) fail HEVC_JVT_RPS_E_qualcomm_5.bin(vpg_md5=c30d38bbd7ea483dc7ffe81325118e16 otc_md5=3dc3c3685570205a9bf28759dc4a3549) fail HEVC_JVT_RPS_F_docomo_1.bin(vpg_md5=fd6e6d973d39622d197dbdf4543643f2 otc_md5=18d067c0bfaa650e510baee13be8866a) fail HEVC_JVT_RQT_A_HHI_4.bin(vpg_md5=aa7f6ef07bf76ebddd52f7e528cd6ab8 otc_md5=f332bf57e751b3e179350d304db43c22) fail HEVC_JVT_RQT_B_HHI_4.bin(vpg_md5=a63f4f4e966e77a5eb4e65dcdcc488a4 otc_md5=0707b91c468ab1d2f3e558ec6636d88c) fail HEVC_JVT_RQT_C_HHI_4.bin(vpg_md5=c82f4c88d9b2c73fabbeac8944da35a1 otc_md5=bcec7fe48a5223366ba6f8f47b1e1453) fail HEVC_JVT_RQT_D_HHI_4.bin(vpg_md5=33b58b954fa82753526fda9e9e6bc8cb otc_md5=c3d0336828b89046ee8fab0dea0218f4) fail HEVC_JVT_RQT_E_HHI_4.bin(vpg_md5=65f22431d0eb149e04c327f881ce6581 otc_md5=197ea83bf90a1cfc7b0a49ca63d2f315) fail HEVC_JVT_RQT_F_HHI_4.bin(vpg_md5=56ba354d919d06a33b44862dd18e9437 otc_md5=2d5282677d453ef653da8a7d7bb3a7bf) fail HEVC_JVT_RQT_G_HHI_4.bin(vpg_md5=2fb67256014a6840b69ca6dad2426304 otc_md5=52eb5921e7157b768a0287c9e955d549) fail HEVC_JVT_SAO_A_MediaTek_4.bin(vpg_md5=272e694a2262a2b34f6248f787a4431d otc_md5=89fed23f49a36ac35542644b47de5b8b) fail HEVC_JVT_SAO_B_MediaTek_5.bin(vpg_md5=90cc57237e3ce47eb3b4c901e200112d otc_md5=96ab85c7d618948bf1cd28639b0f6231) fail HEVC_JVT_SAO_C_Samsung_4.bin(vpg_md5=8f4a3167549cd2f6d344a670d2fb2795 otc_md5=fff76598e5c13584b420b7861d373290) fail HEVC_JVT_SAO_D_Samsung_4.bin(vpg_md5=55d92f6ed88c894db0f9ed7266e4c087 otc_md5=4d71ab3975ed0c376f03177dc6a7d20a) fail HEVC_JVT_SAO_E_Canon_4.bin(vpg_md5=0b04a1378274a6ffbb8f6121e027290c otc_md5=973f301817f39530d0e93a634f2cefdf) fail HEVC_JVT_SAO_F_Canon_3.bin(vpg_md5=5c295ecba132d1e68a12dd8209e86a02 otc_md5=15781725325a0d7d64656c15306e0c43) fail HEVC_JVT_SAO_G_Canon_3.bin(vpg_md5=1f743a3e28617b8bae3e348096edcf76 otc_md5=817ca7a205c1c63d183480babec7540c) fail HEVC_JVT_SLIST_A_Sony_4.bin(vpg_md5=b00bc5362e6fad1a0e704aad8e69b863 otc_md5=31fa4b44c4266095a7270f328b21fa75) fail HEVC_JVT_SLIST_B_Sony_8.bin(vpg_md5=312b4ebb3e885587d5e12b78aa95977a otc_md5=b478596afbcda308a9ea0ef3fa9b6d29) fail HEVC_JVT_SLIST_C_Sony_3.bin(vpg_md5=61024c25cbd60e9bf86dbe3bc5b9b48b otc_md5=6bf81330bed33c5df2b3930a76dce5bc) fail HEVC_JVT_SLIST_D_Sony_9.bin(vpg_md5=8d38ce43b17627ff1f86e526bfb7ffc4 otc_md5=1b5f84224b2ff01786f0457c38dea09a) fail HEVC_JVT_STRUCT_A_Samsung_5.bin(vpg_md5=83355b1a2883f7940e43e4bfcff289a6 otc_md5=8d4b4e95a05ac284292094950d0585e8) fail HEVC_JVT_STRUCT_B_Samsung_4.bin(vpg_md5=f9a1e3853e6c9c21f0594512215ea86c otc_md5=d5d076f72bb53c51f1508358a3a2f1ea) fail HEVC_JVT_TMVP_A_MS_3.bin(vpg_md5=168f8096e56b8a8c1aa03fa5fffdfd23 otc_md5=f32fb3da483f322b62e1e17d08806f32) fail HEVC_JVT_TSCL_A_VIDYO_5.bin(vpg_md5=27cbe23eabe1b174d745c286cc2ed8ff otc_md5=49b100ac24c2de8ac08452af154d2929) fail HEVC_JVT_TSCL_B_VIDYO_4.bin(vpg_md5=95e7910b85c08a01e2e9ce72c92d7d62 otc_md5=ec0418cb0ac940ac2ada71744ed1afb3) fail HEVC_JVT_WPP_A_ericsson_MAIN_2.bin(vpg_md5=cd7e815eb47e8138fec2185d4de84304 otc_md5=c84cf595290b16a46fa8a6498a2e1111) fail HEVC_JVT_WPP_B_ericsson_MAIN_2.bin(vpg_md5=e37c7e561a1226640a7bf98e81df78b1 otc_md5=4261d0e0f5e662a20ecc94d97b1fd761) fail HEVC_JVT_WPP_C_ericsson_MAIN_2.bin(vpg_md5=e067aa3a6a12cd5743849ded793c8d3f otc_md5=7d07fd726c55fcb50cf5b7bacabcb385) fail HEVC_JVT_WPP_D_ericsson_MAIN_2.bin(vpg_md5=f710612103f386c415be3e6300693451 otc_md5=fa8e635bdc34e21f0b6ff664074ce6cd) fail HEVC_JVT_WPP_F_ericsson_MAIN_2.bin(vpg_md5=2aaf16274fe8e799d72fa08a4963850d otc_md5=f18f4c3ce604e79bdf8245596d176aac) fail HEVC_JVT_WP_A_Toshiba_3.bin(vpg_md5=127b99d0c11c930b6f248750b5848a0b otc_md5=f170952a04f9ac334b63e36fb300c04d) fail HEVC_JVT_WP_B_Toshiba_3.bin(vpg_md5=82d39f8cd09e532b8fa9d35894c96258 otc_md5=109dd4e5e80d8b988c633d2ce868bc6c) fail
We need fixes in driver too, I am currently discussing with the driver guys regarding the same.
@Fei, BTW, this is not just related with hevc decoding, you might hit same type bugs with vp9 samples too depending up on the resolution. The root cause is related with Color Space conversion. What I mean is, no need to file new bugs for other streams, we will track the core issue here :)
Is there a bug in https://bugs.freedesktop.org/buglist.cgi?product=libva&component=intel ??
(In reply to Víctor Manuel Jáquez Leal from comment #3) > Is there a bug in > https://bugs.freedesktop.org/buglist.cgi?product=libva&component=intel ?? No I think :)
(In reply to sreerenj from comment #4) > (In reply to Víctor Manuel Jáquez Leal from comment #3) > > Is there a bug in > > https://bugs.freedesktop.org/buglist.cgi?product=libva&component=intel ?? > > No I think :) Anyway I have created a new bug against driver: https://bugs.freedesktop.org/show_bug.cgi?id=94845
Created attachment 325481 [details] [review] workaround: temporary solution for testing Fei, I hope the attached workaround can be used for testing: -- Apply the patch to gstreamer-vaapi git master -- Use the below pipeline for testing: gst-launch-1.0 -q filesrc location=MSHDRef_Texture_High_01_320x240p30f_intra_main.bin ! h265parse ! vaapidecode ! videoconvert ! video/x-raw, format=I420 ! checksumsink2 frame-checksum=FALSE file-checksum=TRUE Please let me know if issue reproducible with any other sample.
@sreerenj, all sample pass with your work-arround patch.
(In reply to Fei from comment #7) > @sreerenj, all sample pass with your work-arround patch. K great, hopefully a fix will land in driver soon (after that we can avoid the workaround in gstreaemr-vaapi). But in any case I prefer to stick on with "vaapidecode ! videoconvert ! video/x-raw, format=I420 "! checksumsink2 for checksum comparison since VPP (vaapipostproc) giving different values in KBL.
Patch from libva-intel-driver developer can fix this bug, Just wait this patch merge into libva-intel-driver's master branch, and then I will have a check.
Patch for libva-intel-driver still not upstreamed. So this issue still exist.
Use libva-intel-driver:4643f94991e4e36ce3a23de63cce9fe543ed1725, all case pass. So close this bug.