Bug 56597 - [SNB] GPU hang when decoding SA40011.vc1
Summary: [SNB] GPU hang when decoding SA40011.vc1
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 01:38 UTC by Du Yan
Modified: 2012-12-28 06:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg log (47.71 KB, text/plain)
2012-10-31 01:38 UTC, Du Yan
Details

Description Du Yan 2012-10-31 01:38:23 UTC
Created attachment 69337 [details]
dmesg log

Environment:
--------------
Platform: SNB
Libdrm:         (master)libdrm-2.4.39
Mesa:           (9.0)03785fe360e2e63d1a63a6130e7e44141444c9d8
Xserver:                (server-1.13-branch)xorg-server-1.13.0
Xf86_video_intel:               (master)2.20.12
Cairo:          (master)fab6958eff35a94cf46e38f19a7e75e10aa2b182
Kernel:  3.6.3
Libva (staging)c59c512df262cdc44fb6e9101621f246eda176df
Inter-drvier (staging)6fdd5a24a5099d45a01da5a9f1337d26749898bb

Bug Info:
--------------
GPU hang when decoding SA40011.vc1, dmesglog has attached.

Reproduce steps:
----------------
1.	xinit&
2.	LD_PRELOAD=/home/MPEG2_conformance/i965_drv_video_hook.so mplayer -nosound -fps 1000 -vo vaapi -va vaapi SA40011.vc1
Comment 1 Du Yan 2012-12-03 08:26:13 UTC
you can get the test files from /var/www/html/media/Fedora.FrameWork/VC1_conformance/bitstreams
Comment 2 xiaowei 2012-12-13 09:03:32 UTC
Patches are in review.

Three issues are found to related with this bug:
a)	Bitplane buffer size in driver is not calculated correctly on freedesktop/staging branch, the issue has already fixed on freedesktop/master, b)	The overlap flag(used for deblocking for VC1 intra frame) is not set correctly for I frame in advance profile. Which cause error decoding result on HSW. 
c)	when decoding VC1 skip frame ,driver can not accept correct bitplane information from ffmpeg, which cause the GPU hang issue on SNB.
Comment 3 xiaowei 2012-12-17 07:11:14 UTC
patches are already merged to freedesktop/staging. Please validate.
Comment 4 Du Yan 2012-12-28 06:08:34 UTC
Test OK on SGB, Issue can't be reproduced.

Libva: (staging) b8d3cf092c9b07cfd909552a3c160b7db3b5a91d
Intel-driver: (staging) 2ac15d815cfd4d43aff75bebf6cd82039b227399


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.