Bug 101738 - [IGT] [BYT/GLK] gem_reset_stats fail subtest
Summary: [IGT] [BYT/GLK] gem_reset_stats fail subtest
Status: CLOSED DUPLICATE of bug 92715
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-10 14:20 UTC by Ricardo Madrigal
Modified: 2017-09-27 19:43 UTC (History)
1 user (show)

See Also:
i915 platform: BYT, GLK
i915 features: GEM/Other


Attachments
testlog.log (20.38 KB, text/plain)
2017-07-10 14:20 UTC, Ricardo Madrigal
no flags Details
kern.log (426.97 KB, text/plain)
2017-07-10 14:20 UTC, Ricardo Madrigal
no flags Details
dmesg.log (300.72 KB, text/plain)
2017-07-10 14:21 UTC, Ricardo Madrigal
no flags Details

Description Ricardo Madrigal 2017-07-10 14:20:33 UTC
Created attachment 132587 [details]
testlog.log

The following test fail on KBL  with latest configuration

Test list
====================================================
sudo -E ./gem_reset_stats --r defer-hangcheck-bsd --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r defer-hangcheck-default --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r defer-hangcheck-render --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r defer-hangcheck-vebox --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r params --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-blt --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-bsd --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-bsd1 --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-bsd2 --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-ctx-render --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-default --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-render --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r reset-count-vebox --d >>  ~/pruebas.log

==================================================

====================================================
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
======================================
motherboard id             : NUC7i5BNB
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
gpu card                   : Intel Corporation Device 5926 (rev 06) (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 142
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 142, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1


Attaching:
dmesg.log
kern.log
testlog.log
Comment 1 Ricardo Madrigal 2017-07-10 14:20:58 UTC
Created attachment 132588 [details]
kern.log
Comment 2 Ricardo Madrigal 2017-07-10 14:21:20 UTC
Created attachment 132589 [details]
dmesg.log
Comment 3 Elizabeth 2017-07-10 21:16:53 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 4 Ricardo Madrigal 2017-07-19 20:24:49 UTC
The following test fail on BYT with latest configuration

====================================================
Test list
====================================================
igt@gem_reset_stats@params
igt@gem_reset_stats@reset-count-blt
igt@gem_reset_stats@reset-count-bsd
igt@gem_reset_stats@reset-count-default
igt@gem_reset_stats@reset-count-render
igt@gem_reset_stats@reset-stats-vebox

====================================================
Graphic Stack
====================================================
Component: drm
     tag: libdrm-2.4.81-31-g23e234a
     commit: 23e234a3503f51b9d9c585123d33b936f522808d
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-96-gfb1ddc4
    commit: fb1ddc47003ad6a683db79beeb81b6cbab1feb7c
Component: piglit
    tag: piglit-v1
    commit: 56e7e5583cd4a3ca15a8cda154d46d168959dd25

======================================
             Hardware
======================================
motherboard model          : .................................
motherboard id             : DN2820FYK
form factor                : Desktop
manufacturer               : .................................
cpu family                 : Celeron
cpu family id              : 6
cpu information            : Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
gpu card                   : Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA controller])
memory ram                 : 7.66 GB
max memory ram             : 8 GB
cpu thread                 : 2
cpu core                   : 2
cpu model                  : 55
cpu stepping               : 8
socket                     : <OUT OF SPEC>
signature                  : Type 0, Family 6, Model 55, Stepping 8
hard drive                 : 111GiB (120GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : HDMI-A-1
Comment 5 Hector Velazquez 2017-08-30 19:16:17 UTC
The following tests Fail on GLK with this configuration

Test List:

igt@gem_reset_stats@reset-count-blt
igt@gem_reset_stats@reset-count-bsd
igt@gem_reset_stats@reset-count-default
igt@gem_reset_stats@reset-count-render
igt@gem_reset_stats@reset-count-vebox


This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-51-gf19dbb7
    commit: f19dbb79fe54994ecd505ac67ad15d19f591933a

Component: cairo
    tag: 1.15.6-25-g12b875a
    commit: 12b875aef374636d1693a631524dd3b622277415

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-206-g60f6a12
    commit: 60f6a12195395934f179d5ecc080353190d19a6c

Component: piglit
    tag: piglit-v1
    commit: 739bcd89179ea9aa752f2f5c9eb405fb9dd396b0

======================================
             Software
======================================
kernel version              : 4.13.0-rc6-drm-tip-ww35-commit-00b77f6+
hostname                    : GLK-2-GLKRVP1DDR405
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 60.34
bios release date           : 08/09/2017
ksc                         : 1.41
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-206-g60f6a12
intel-gpu-tools (commit)    : 60f6a12

======================================
             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 3185 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 3.7 GB
max memory ram             : 16 GB
cpu thread                 : 2
cpu core                   : 2
cpu model                  : 122
cpu stepping               : 1
socket                     : Other
hard drive                 : 74GiB (80GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 DP-1 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : no
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic resume=/dev/sda3 fastboot
Comment 6 Armando Antonio 2017-09-06 13:49:07 UTC
Hi, I was testing the following test cases on KBL with latest configuration:

===================================================
Test list
===================================================
sudo -E ./gem_reset_stats --r defer-hangcheck-bsd --d
sudo -E ./gem_reset_stats --r defer-hangcheck-default --d
sudo -E ./gem_reset_stats --r defer-hangcheck-render --d
sudo -E ./gem_reset_stats --r defer-hangcheck-vebox --d 
sudo -E ./gem_reset_stats --r params --d
sudo -E ./gem_reset_stats --r reset-count-blt --d
sudo -E ./gem_reset_stats --r reset-count-bsd --d
sudo -E ./gem_reset_stats --r reset-count-bsd1 --d
sudo -E ./gem_reset_stats --r reset-count-bsd2 --d
sudo -E ./gem_reset_stats --r reset-count-ctx-render --d
sudo -E ./gem_reset_stats --r reset-count-default --d
sudo -E ./gem_reset_stats --r reset-count-render --d
sudo -E ./gem_reset_stats --r reset-count-vebox --d

What I found

The following tests are working well now. 
sudo -E ./gem_reset_stats --r defer-hangcheck-bsd --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r defer-hangcheck-default --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r defer-hangcheck-render --d >>  ~/pruebas.log
sudo -E ./gem_reset_stats --r defer-hangcheck-vebox --d >>  ~/pruebas.log

This (https://bugs.freedesktop.org/show_bug.cgi?id=101638) is a new bug for this test, there are new logs with different outputs.
sudo -E ./gem_reset_stats --r params --d


For the following test cases,
sudo -E ./gem_reset_stats --r reset-count-blt --d
sudo -E ./gem_reset_stats --r reset-count-bsd --d
sudo -E ./gem_reset_stats --r reset-count-bsd1 --d
sudo -E ./gem_reset_stats --r reset-count-bsd2 --d
sudo -E ./gem_reset_stats --r reset-count-ctx-render --d
sudo -E ./gem_reset_stats --r reset-count-default --d
sudo -E ./gem_reset_stats --r reset-count-render --d
sudo -E ./gem_reset_stats --r reset-count-vebox --d

there is a new bug with new logs
https://bugs.freedesktop.org/show_bug.cgi?id=92715
Comment 7 Elizabeth 2017-09-06 22:32:29 UTC

*** This bug has been marked as a duplicate of bug 92715 ***
Comment 8 Hector Velazquez 2017-09-27 19:43:42 UTC
This test is still failing on GLK QA

Tests List:

igt@gem_reset_stats@reset-count-blt
igt@gem_reset_stats@reset-count-bsd
igt@gem_reset_stats@reset-count-default
igt@gem_reset_stats@reset-count-render
igt@gem_reset_stats@reset-count-vebox


====================================================
Output
====================================================
. . .


This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-56-g7c71188
    commit: 7c71188610b4ceba0339c2bc884320bcb749adee

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-332-g0a91a5e
    commit: 0a91a5e9624d41d23b79e2540eda111cb56d42d9

Component: piglit
    tag: piglit-v1
    commit: 95e2f51a28b6cf7ff77d84e1234121c98f10ef64
	
======================================
             Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-d76cbbc+
hostname                    : GLK-2-GLKRVP1DDR405
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 62.30
bios release date           : 08/22/2017
ksc                         : 1.41
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-332-g0a91a5e
intel-gpu-tools (commit)    : 0a91a5e

======================================
             Hardware
======================================
. . .

======================================
             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 drm.debug=0xe pci=pcie_bus_safe i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic resume=/dev/sda3 fastboot


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.