Bug 104326

Summary: [IGT] test kms_setmode subtests basic Failed with assertion: accuracy < line_time(kmode)
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: ReadyForDev
i915 platform: CFL i915 features:
Attachments:
Description Flags
otuput
none
dmesg -w none

Description Hector Velazquez 2017-12-18 20:03:08 UTC
Created attachment 136256 [details]
otuput
Comment 1 Hector Velazquez 2017-12-18 20:03:13 UTC
This tests was failing on CFL QA

igt@kms_setmode@basic

====================================================
output sample
====================================================
**** DEBUG ****
(kms_setmode:2792) INFO: Testing: basic 1 connector combinations
(kms_setmode:2792) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:2792) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_setmode:2792) INFO:   Test id#1 CRTC count 1
(kms_setmode:2792) INFO:     CRTC[37] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[49]
(kms_setmode:2792) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:2792) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_setmode:2792) INFO: Expected frametime: 16666us; measured 16666.4us +- 5.850us accuracy 0.11% [1.17 scanlines]
(kms_setmode:2792) CRITICAL: Test assertion failure function check_timings, file kms_setmode.c:491:
(kms_setmode:2792) CRITICAL: Failed assertion: accuracy < line_time(kmode)
(kms_setmode:2792) CRITICAL: vblank accuracy (17.549us, 0.1%) worse than a scanline (14.988us)
(kms_setmode:2792) igt-core-INFO: Stack trace:
(kms_setmode:2792) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_setmode:2792) igt-core-INFO:   #1 [test_one_combination+0xd1a]
(kms_setmode:2792) igt-core-INFO:   #2 [main+0x4c6]
(kms_setmode:2792) igt-core-INFO:   #3 [__libc_start_main+0xf1]
(kms_setmode:2792) igt-core-INFO:   #4 [_start+0x29]
(kms_setmode:2792) igt-core-INFO:   #5 [<unknown>+0x29]
****  END  ****

This is my configuration:
======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.88-42-g831036a
    commit: 831036a6f62005da9fb4a75fe043bd96ce672d27

Component: cairo
    tag: 1.15.8-73-g903b0de
    commit: 903b0de539844c144c63ea57c30e84a23360c290

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-232-gc0be331
    commit: c0be3310715e2f744b892c51f09e62273bcc8e57

Component: piglit
    tag: piglit-v1
    commit: 64775cc0f59820c4d733e480a66f8c31f5b78d1b

======================================
	     Software
======================================
kernel version              : 4.15.0-rc4-drm-intel-qa-ww51-commit-bf5cdf9+
hostname                    : CFL-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.89
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-232-gc0be331
intel-gpu-tools (commit)    : c0be331

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.39, found 9.39
guc version found         : wanted 9.39, found 9.39

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e i915.enable_guc=-1 i915.alpha_support=1 auto panic=1 nmi_watchdog=panic intel_iommu=igfx_off resume=/dev/nvme0n1p3 fastboot
Comment 2 Hector Velazquez 2017-12-18 20:03:41 UTC
Created attachment 136257 [details]
dmesg -w
Comment 3 Maarten Lankhorst 2018-01-29 12:31:54 UTC
Since it's not wildly inaccurate, dupe of 99912.

*** This bug has been marked as a duplicate of bug 99912 ***

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.