Bug 31314

Summary: when playing a media file, suspend and resume will cause video garbage
Product: DRI Reporter: Hai <hai.lan>
Component: DRM/IntelAssignee: haihao <haihao.xiang>
Status: CLOSED FIXED QA Contact: Ouping Zhang <ouping.zhang>
Severity: normal    
Priority: medium CC: ben, chris, daniel, jbarnes, ouping.zhang
Version: unspecifiedKeywords: regression
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Hai 2010-11-02 02:02:10 UTC
Environment:
xf86-video-intel   master branch
       commit d4c013cb9d92d2959c9a98eca20e43ab14ae22e3 (=2.12.902) 

mesa   7.9 branch
       commit 5d3a4317e81cf168edd1c5f21cbbfce937833153 (=7.9-rc2)

kernel	v2.6.35.5
        (master)9fe6206f400646a2322096b56c59891d530e8d51

libdrm	master branch
       commit 624e58e3e43c0b2c6803cb9263863444abeb3acb (=2.4.22)

cairo  master branch 
	commit cb0bc64c16b3a38cbf0c622830c18ac9ea6e2ffe (=1.10.0) 

libva  master branch
	commit e68bb8bc8ba844f0a5c840fa47467d7056dcd85d (=1.0.5)

os: Fedora 13
cpu: core i5 650
mem: 2048MB

when play a h264 file use mplayer with vaapi plugin, then suspend the system and resume it, the video will show some garbage for some frames, then it will be OK soon. Use xv output is OK. 

Reproduce steps:
mplayer -vo vaapi -va vaapi filename
suspend
resume
Comment 1 Chris Wilson 2012-05-09 02:26:12 UTC
This should be retested against the current stack.
Comment 2 Daniel Vetter 2012-05-11 06:40:21 UTC
Also, if this is still an issue, we need the usual info-dump per http://intellinuxgraphics.org/how_to_report_bug.html

But given that this report is pretty old and hasn't received any update, I'll presume this is fixed meanwhile. Please reopen with the required information attached if this is still an issue on the latest versions.
Comment 3 Gordon Jin 2012-10-23 05:54:11 UTC
Ouping to verify
Comment 4 Du Yan 2012-12-31 08:28:39 UTC
Libdrm:(master)libdrm-2.4.40-3-g0980633afd9c7eecc0c75ef3bea4d3c6b7aa1898
Mesa:(master)66ea6e8ec3f7ee44e0011b1dd563fef76ead8bc5
Xserver:	(master)xorg-server-1.13.99.901
Xf86_video_intel:(master)2.20.17-22-g736b89504a32239a0c7dfb5961c1b8292dd744bd
Cairo:(master)c29ab389fb2b3b91c895f2df684b0e9af8225d12
Libva:staging)2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e
Libva_intel_driver:(staging)16dc6293002995da07148279f3846a2a9749ded3
Kernel:(drm-intel-nightly) 071f0a705c081ed6b1d61b6fa8be969a5b15ddf8

Issue can't be reproduced.
Comment 5 Jari Tahvanainen 2016-11-03 12:28:39 UTC
Closing verified+fixed.

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.