Bug 95236 - [BAT various] kms_flip fails with "inter-flip ts jitter: 0s, 183334usec" or similar time around 180msec
Summary: [BAT various] kms_flip fails with "inter-flip ts jitter: 0s, 183334usec" or s...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: highest normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-02 08:16 UTC by Daniel Vetter
Modified: 2016-09-01 09:37 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, BSW/CHT, BYT, ILK, SNB
i915 features: display/Other


Attachments

Description Daniel Vetter 2016-05-02 08:16:06 UTC
Various machines seem to be affected on various testcases. Looking at igt@kms_flip@basic-flip-vs-wf_vblank affected machines are bsw-nuc-2, bdw-ultra, byt-nuc, snb-x220t, ild-hp8440p. There might be more. Example log from igt:

 	

(kms_flip:6410) CRITICAL: Test assertion failure function check_state, file kms_flip.c:698:
(kms_flip:6410) CRITICAL: Failed assertion: fabs((((double) diff.tv_usec) - usec_interflip) / usec_interflip) <= 0.005
(kms_flip:6410) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:6410) CRITICAL: inter-vblank ts jitter: 0s, 183335usec
Subtest basic-flip-vs-wf_vblank failed.
Comment 1 Dave Gordon 2016-06-14 13:41:44 UTC
Example from bdw-i7-5600u:

IGT-Version: 1.15-gbc570aa (x86_64) (Linux: 4.7.0-rc2-gfxbench-RO_Patchwork_1178+ x86_64)
Using monotonic timestamps
Beginning basic-flip-vs-wf_vblank on pipe A, connector eDP-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1111 0x9 0x48 138700
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [check_state+0x32b]
  #2 [<unknown>+0x32b]
Subtest basic-flip-vs-wf_vblank: FAIL (4.838s)

(kms_flip:7666) CRITICAL: Test assertion failure function check_state, file kms_flip.c:698:
(kms_flip:7666) CRITICAL: Failed assertion: fabs((((double) diff.tv_usec) - usec_interflip) / usec_interflip) <= 0.005
(kms_flip:7666) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:7666) CRITICAL: inter-vblank ts jitter: 0s, 216597usec
Subtest basic-flip-vs-wf_vblank failed.

Somewhat longer than 180ms in this example, but otherwise very similar.
Comment 2 Zhi Wang 2016-06-16 12:43:17 UTC
Got one log from ro-bdw-i5-5250u

IGT-Version: 1.15-g87a1dca (x86_64) (Linux: 4.7.0-rc2-gfxbench-RO_Patchwork_1193+ x86_64)
Using monotonic timestamps
Beginning basic-flip-vs-wf_vblank on pipe A, connector DP-1
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500

basic-flip-vs-wf_vblank on pipe A, connector DP-1: PASSED

Beginning basic-flip-vs-wf_vblank on pipe B, connector DP-1
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [check_state+0x32b]
  #2 [<unknown>+0x32b]
Subtest basic-flip-vs-wf_vblank: FAIL (7.965s)

 
Stderr (kms_flip:8214) CRITICAL: Test assertion failure function check_state, file kms_flip.c:698:
(kms_flip:8214) CRITICAL: Failed assertion: fabs((((double) diff.tv_usec) - usec_interflip) / usec_interflip) <= 0.005
(kms_flip:8214) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:8214) CRITICAL: inter-vblank ts jitter: 0s, 216663usec
Subtest basic-flip-vs-wf_vblank failed
Comment 3 Jari Tahvanainen 2016-09-01 09:27:05 UTC
This failure (for igt@kms_flip@basic-flip-vs-wf) has not been visible in Patchwork Intel GFX CI Testing during last week. I propose this to be closed as Resolved + Worksforme. Please comment if you disagree.
Comment 4 yann 2016-09-01 09:37:26 UTC
I confirm this is working also on QA side on all platforms


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.