Bug 101717 - [IGT] [IVB] gem_spin_batch subtest fail due to Failed assertion
Summary: [IGT] [IVB] gem_spin_batch subtest fail due to Failed assertion
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-07 14:28 UTC by Armando Antonio
Modified: 2017-10-11 17:05 UTC (History)
1 user (show)

See Also:
i915 platform: IVB
i915 features: GEM/Other


Attachments
dmesg log (1009.87 KB, text/plain)
2017-07-07 14:28 UTC, Armando Antonio
no flags Details
execution log (58.88 KB, text/plain)
2017-07-07 14:29 UTC, Armando Antonio
no flags Details
debug log (78.44 KB, text/plain)
2017-07-20 17:01 UTC, Armando Antonio
no flags Details

Description Armando Antonio 2017-07-07 14:28:43 UTC
Created attachment 132492 [details]
dmesg log

The following test fail on IVB with latest configuration

====================================================
Test list
====================================================
igt@gem_spin_batch@basic-blt
igt@gem_spin_batch@basic-bsd
igt@gem_spin_batch@basic-bsd1
igt@gem_spin_batch@basic-bsd2
igt@gem_spin_batch@basic-render


Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff
======================================
             Hardware
======================================
platform                   : Ivy Bridge
motherboard model          : Inspiron660
motherboard id             : 0XR1GT
form factor                : Desktop
manufacturer               : DellInc.
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
gpu card                   : Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 7.7 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 58
cpu stepping               : 9
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 74GiB (80GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : VGA-1 HDMI-A-1
Comment 1 Armando Antonio 2017-07-07 14:29:47 UTC
Created attachment 132493 [details]
execution log
Comment 2 Chris Wilson 2017-07-07 15:28:38 UTC
Please report the test debug log with

igt commit a8bfef786bf56a7b37e76c0d7f0e4363fe9e92ff
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 7 16:27:05 2017 +0100

    igt/gem_spin_batch: Add per-loop timing info
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=101717
Comment 3 Armando Antonio 2017-07-20 17:01:14 UTC
Created attachment 132793 [details]
debug log

attached new log
Comment 4 Chris Wilson 2017-07-20 17:08:05 UTC
So what's running the background? You see 60ms delays on a 100ms timer, that is quite severe.
Comment 5 Armando Antonio 2017-07-20 17:29:19 UTC
It is a fresh image, only to run these test cases
Comment 6 Chris Wilson 2017-07-20 17:35:32 UTC
Never trust an idle system. We basically need to trace the scheduler and see why the timer is delayed, if it is not obvious from looking at top/ps etc.
Comment 7 Hector Velazquez 2017-07-26 15:24:53 UTC
The following test FAIL on IVB with this commit

Tests List:

igt@gem_spin_batch@basic-blt
igt@gem_spin_batch@basic-bsd
igt@gem_spin_batch@basic-bsd1
igt@gem_spin_batch@basic-bsd2
igt@gem_spin_batch@basic-render


This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787
Comment 8 Elizabeth 2017-10-11 17:05:26 UTC
This tests are now SUCCESS on IVB with 4.14:

$ : sudo -E ./intel-graphics/intel-gpu-tools/tests/gem_spin_batch --r basic-render
IGT-Version: 1.19-g1e99f8b (x86_64) (Linux: 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+ x86_64)
Completed 33 loops in 3305488945 ns, target 33
Subtest basic-render: SUCCESS (3.335s)

$ : sudo -E ./intel-graphics/intel-gpu-tools/tests/gem_spin_batch --r basic-b*
IGT-Version: 1.19-g1e99f8b (x86_64) (Linux: 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+ x86_64)
Completed 32 loops in 3264439840 ns, target 32
Subtest basic-bsd: SUCCESS (3.284s)
Completed 32 loops in 3253000646 ns, target 32
Subtest basic-bsd1: SUCCESS (3.276s)
Completed 32 loops in 3258571436 ns, target 32
Subtest basic-bsd2: SUCCESS (3.272s)
Completed 33 loops in 3304760902 ns, target 33
Subtest basic-blt: SUCCESS (3.320s)


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.