Bug 66245

Summary: [HSW regression fbc] Xv freezes at start (using UXA so no vsync)
Product: DRI Reporter: shui yangwei <yangweix.shui>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: medium CC: rodrigo.vivi
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg: mplayer screen frozen
none
Xorg.0.log none

Description shui yangwei 2013-06-27 08:28:37 UTC
Created attachment 81535 [details]
dmesg: mplayer screen frozen

Environment:
-----------------------------
Kernel: (drm-intel-next-queued)6dd8224ec64c809dad5ceceac299918f5d9c7c31
Some additional commit info:
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Wed Jun 26 17:44:15 2013 +0300

    drm/i915: Mask out hardware status bits from VLV DPLL register

HSW mobile:
MSI Haswell Notebook MSI MS-16GC Notebook 15.6; Host bridge ID=0x0c04 (rev 06);VGA ID=0x0416 (rev06);CPU: i7-4700MQ 2.4GHz stepping c3; BIOS: E16GCIMS.509 (04/24/2013) EC: 16GCEMS1 ver5.00 (04/12/2013);ME: 9.0.2.1345; MEM: 8G ;

Descripiton:
------------------------------
Starting X, then play a video with mplayer, the screen is frozened at the beginning frames.

Reproduce steps:
------------------------------
1. xinit &
2. mplayer -vo xv /home/testframework/MPEG-2.mpeg
Comment 1 Chris Wilson 2013-06-27 08:38:46 UTC
Xorg.log would be useful as well, thanks.
Comment 2 Chris Wilson 2013-06-27 09:05:31 UTC
Also test with i915.i915_enable_fbc=0
Comment 3 shui yangwei 2013-06-28 01:44:30 UTC
Created attachment 81596 [details]
Xorg.0.log
Comment 4 shui yangwei 2013-06-28 01:50:13 UTC
(In reply to comment #2)
> Also test with i915.i915_enable_fbc=0

I added i915.i915_enable_fbc=0 in grub.cfg, then the video can play well.
Comment 5 Gordon Jin 2013-06-28 07:42:17 UTC
Does UXA or SNA matter here?
Comment 6 shui yangwei 2013-06-28 12:21:41 UTC
(In reply to comment #5)
> Does UXA or SNA matter here?

Our machine is built up only just, and new machine doesn't have the config file  " /etc/X11/xorg.conf", So I didn't switch it to UXA or SNA.
Comment 7 Daniel Vetter 2013-06-28 13:26:57 UTC
fbc is new in 3.11, so we need to treat this as a regression.
Comment 8 shui yangwei 2013-07-01 01:39:21 UTC
(In reply to comment #5)
> Does UXA or SNA matter here?

Today, I find this issue suddenly gone, no matter I use UXA or SNA, I tested -testing and -next-queued branch kernels, all passed. Then I test it without command "i915.i915_enable_fbc=0", it also worked well. I backtrack to the original environment, and this issue also gone. I can't explain the reason, maybe we can close it now.
Comment 9 Daniel Vetter 2013-07-01 08:15:19 UTC
So even with old UXA/SNA the bug is gone now?
Comment 10 shui yangwei 2013-07-01 08:35:15 UTC
(In reply to comment #9)
> So even with old UXA/SNA the bug is gone now?

Yes, with old UXA/SNA, I just can't reproduce it.
Comment 11 Elizabeth 2017-10-06 14:45:36 UTC
Closing old verified.

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.