Bug 102087

Summary: [IGT][GLK]gem_reset_stats takes more than 10 minutes (guc enabled)
Product: DRI Reporter: Armando Antonio <armando.antoniox.mora.reos>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=92715
Whiteboard:
i915 platform: GLK i915 features: GEM/execlists
Attachments:
Description Flags
dmesg log
none
kernel log
none
debug.conf none

Description Armando Antonio 2017-08-07 19:26:14 UTC
Created attachment 133335 [details]
dmesg log

The following test cases fail on GLK with latest configuration,  these test cases take more than ten minutes and sometimes they never finish of execute.

======================================
Test list
======================================
igt@gem_reset_stats@ban-blt
igt@gem_reset_stats@ban-bsd
igt@gem_reset_stats@ban-ctx-render
igt@gem_reset_stats@ban-default
igt@gem_reset_stats@ban-render
igt@gem_reset_stats@ban-vebox
igt@gem_reset_stats@close-pending-blt
igt@gem_reset_stats@close-pending-bsd
igt@gem_reset_stats@close-pending-ctx-render
igt@gem_reset_stats@close-pending-default
igt@gem_reset_stats@close-pending-fork-blt
igt@gem_reset_stats@close-pending-fork-bsd
igt@gem_reset_stats@close-pending-fork-default
igt@gem_reset_stats@close-pending-fork-render
igt@gem_reset_stats@close-pending-fork-reverse-blt
igt@gem_reset_stats@close-pending-fork-reverse-bsd
igt@gem_reset_stats@close-pending-fork-reverse-default
igt@gem_reset_stats@close-pending-fork-reverse-render
igt@gem_reset_stats@close-pending-fork-reverse-vebox
igt@gem_reset_stats@close-pending-fork-vebox
igt@gem_reset_stats@close-pending-render
igt@gem_reset_stats@close-pending-vebox
igt@gem_reset_stats@defer-hangcheck-blt
igt@gem_reset_stats@defer-hangcheck-bsd
igt@gem_reset_stats@defer-hangcheck-default
igt@gem_reset_stats@defer-hangcheck-render
igt@gem_reset_stats@defer-hangcheck-vebox
igt@gem_reset_stats@reset-count-blt
igt@gem_reset_stats@reset-count-bsd
igt@gem_reset_stats@reset-count-ctx-render
igt@gem_reset_stats@reset-count-default
igt@gem_reset_stats@reset-count-render
igt@gem_reset_stats@reset-count-vebox
igt@gem_reset_stats@reset-stats-blt
igt@gem_reset_stats@reset-stats-bsd
igt@gem_reset_stats@reset-stats-ctx-render
igt@gem_reset_stats@reset-stats-default
igt@gem_reset_stats@reset-stats-render
igt@gem_reset_stats@reset-stats-vebox
igt@gem_reset_stats@unrelated-ctx-render

======================================
             Software
======================================
kernel version              : 4.13.0-rc3-drm-tip-ww31-commit-372e2eb+
/bin/bash: gfx-desktop: command not found
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
[sudo] password for gfx: kernel driver               : i915
bios revision               : 52.23
bios release date           : 06/24/2017
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.82
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-126-g6e1ccfa
intel-gpu-tools (commit)    : 6e1ccfa

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller])
memory ram                 : 7.6 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet splash drm.debug=0x1e log_buf_len=4M i915.alpha_support=1 i915.enable_guc_submission=2 i915.enable_guc_loading=2
Comment 1 Armando Antonio 2017-08-07 19:26:34 UTC
Created attachment 133336 [details]
kernel log
Comment 2 Elizabeth 2017-08-10 19:41:37 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 3 Elizabeth 2017-08-22 22:17:45 UTC
After testing and research from our QA team, it was found that the specific config file from FI that was being used to compile the kernel, had a lot of disable parameters to improve performance while running IGT. The problem was that some of those parameters were required to use the firmware effectively. It was agreed to use a generic config file from kernel.org. 

These tests still are failing with a different issue. They would be tested again and if needed a new bug will be open. Thank you.
Comment 4 Elizabeth 2017-08-22 22:18:04 UTC
Created attachment 133694 [details]
debug.conf

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.