Bug 92503 - [BDW HSW] pm_rpm subtests gem-execbuf-stress-pc8 fails
Summary: [BDW HSW] pm_rpm subtests gem-execbuf-stress-pc8 fails
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
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: 2015-10-16 18:03 UTC by Jairo Miramontes
Modified: 2018-07-27 08:36 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, HSW
i915 features: power/runtime PM


Attachments
dmesg log for execbuf and pc8 residency (12.29 KB, text/plain)
2015-10-16 18:03 UTC, Jairo Miramontes
no flags Details
BDW__pm_rpm__gem-execbuf-stress-pc8__kern.log (695.18 KB, text/plain)
2016-09-29 14:19 UTC, cprigent
no flags Details
BDW__pm_rpm__gem-execbuf-stress-pc8__output (924 bytes, text/plain)
2016-09-29 14:19 UTC, cprigent
no flags Details
BDW__pm_rpm__modeset-pc8-residency-stress__kern.log (3.58 MB, text/plain)
2016-09-29 14:56 UTC, cprigent
no flags Details
BDW__pm_rpm__pc8-residency__kern.log (424.98 KB, text/plain)
2016-09-29 15:26 UTC, cprigent
no flags Details
BDW__pm_rpm__modeset-pc8-residency-stress__output (907 bytes, text/plain)
2016-09-29 15:28 UTC, cprigent
no flags Details
BDW__pm_rpm__pc8-residency__output (1.01 KB, text/plain)
2016-09-29 15:28 UTC, cprigent
no flags Details

Description Jairo Miramontes 2015-10-16 18:03:19 UTC
Created attachment 118930 [details]
dmesg log for execbuf and pc8 residency

IGT fails when running the following tests on the below configuration.
<%pm_rpm@gem-execbuf-stress-pc8%>
<%pm_rpm@pc8-residency%>

Hardware:
````````````````````````````````````
Motherboard: Lenovo G50-80
CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz

Software:
````````````````````````````````````
BIOS: 1.69
Distribution: Ubuntu 14.04.3 LTS


Test Environment:
````````````````````````````````````
Kernel:4.3.0-rc4 drm-intel-testing-2015-10-10
Mesa: mesa-11.0.2 
Xf86_video_intel: 2.99.917 
Libdrm: libdrm-2.4.65
Cairo: 1.14.2 
libva: libva-1.6.1 
intel-driver: 1.6.1
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 
Intel-gpu-tools: 1.12


Steps to reproduce:
  1. Install intel graphic stack with mentioned configuration
  2. Install igt
  3. Execute ./pm_rpm --run-subtest gem-execbuf-stress-pc8
  4. Execute ./pm_rpm --run-subtest pc8-residency

Expected result:  test should be marked as "SUCCESS"

Actual result: (stack trace)
-----------------------------------------------------------------
Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1303:
Failed assertion: pc8_plus_residency_changed(120)
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf_stress_subtest+0x209]
  #2 [main+0x16d9]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest gem-execbuf-stress-pc8 failed.
**** DEBUG ****
Test requirement passed: has_pc8
Test assertion failure function gem_execbuf_stress_subtest, file        pm_rpm.c:1303:
  Failed assertion: pc8_plus_residency_changed(120)
  ****  END  ****
  Subtest gem-execbuf-stress-pc8: FAIL (121.353s)
--------------------------------------------------------------
Comment 1 cprigent 2015-12-08 21:48:09 UTC
pm_rpm@gem-execbuf-stress-pc8 is fail on BSW and HSW with tag testing 2015-12-04.

Hardware:
Motherboard: SawTooth Peak cpu model name : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
cpu model : 61
cpu family : 6
Graphic card: Broadwell-U Integrated Graphics (rev 09)
Bios: EBH7710H.86A.0096.2012.1012.1645

Hardware:
Motherboard: SawTooth Peak
cpu model name : Intel(R) Core(TM) i7-4550U CPU @ 1.50GHz
cpu model : 69
cpu family : 6
Graphic card: Haswell-ULT Integrated Graphics Controller (rev 09)
Bios: EBH7710H.86A.0096.2012.1012.1645  

Software:
Kernel: tag 2015-12-04-drm-intel-testing 4.4.0-rc3 91587c7 from http://cgit.freedesktop.org/drm-intel/
Ubuntu 14.04.1 LTS
Libdrm: 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
Comment 2 cprigent 2016-09-29 14:19:30 UTC
Created attachment 126869 [details]
BDW__pm_rpm__gem-execbuf-stress-pc8__kern.log

Still failing on BDW

Platform BDW: NUC5i7RYB
CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (Family 6, Model 61, Stepping 4)
Motherboard version: H73774-102
GPU: Intel® Iris™ Graphics 6100 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Kingston 99U5469-045.A00LF
SSD: INTEL SSDSC2KW24

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc8 aab15c2 from http://cgit.freedesktop.org/drm-intel/
   commit aab15c274da587bcab19376d2caa9d6626440335
   Author: Jani Nikula <jani.nikula@intel.com>
   Date:   Mon Sep 26 15:11:53 2016 +0300
   drm-intel-nightly: 2016y-09m-26d-12h-11m-33s UTC integration manifest
libdrm-2.4.70-14 0659558 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-14 ba199cb from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-708 8f33f80 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-101 302cf63 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-30 32b2021 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 3 cprigent 2016-09-29 14:19:46 UTC
Created attachment 126870 [details]
BDW__pm_rpm__gem-execbuf-stress-pc8__output
Comment 4 cprigent 2016-09-29 14:56:50 UTC
Created attachment 126872 [details]
BDW__pm_rpm__modeset-pc8-residency-stress__kern.log
Comment 5 cprigent 2016-09-29 15:26:26 UTC
Created attachment 126874 [details]
BDW__pm_rpm__pc8-residency__kern.log

According to "pc8-residency" subtest, PC8 is not reached.
Comment 6 cprigent 2016-09-29 15:28:28 UTC
Created attachment 126875 [details]
BDW__pm_rpm__modeset-pc8-residency-stress__output
Comment 7 cprigent 2016-09-29 15:28:44 UTC
Created attachment 126876 [details]
BDW__pm_rpm__pc8-residency__output
Comment 8 Jari Tahvanainen 2017-03-28 07:38:09 UTC
This seems still to be problem on drm-intel-qa 4.11.0-rc1 e060007 BDW (BDW102)
igt@pm_rpm@gem-execbuf-stress-pc8	Fail
igt@pm_rpm@pc8-residency		Fail
Comment 9 Jari Tahvanainen 2017-03-28 11:57:42 UTC
Still valid for HSW too
igt@pm_rpm@gem-execbuf-stress-pc8		Fail
(pm_rpm:7463) CRITICAL: Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1283:
(pm_rpm:7463) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
Subtest gem-execbuf-stress-pc8 failed.
**** DEBUG ****
(pm_rpm:7463) DEBUG: Test requirement passed: has_pc8
(pm_rpm:7463) CRITICAL: Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1283:
(pm_rpm:7463) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
****  END  ****
igt@pm_rpm@pc8-residency		Fail
(pm_rpm:8603) CRITICAL: Test assertion failure function pc8_residency_subtest, file pm_rpm.c:718:
(pm_rpm:8603) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
(pm_rpm:8603) CRITICAL: Machine is not reaching PC8+ states, please check its configuration.
Subtest pc8-residency failed.
**** DEBUG ****
(pm_rpm:8603) DEBUG: Test requirement passed: has_pc8
(pm_rpm:8603) CRITICAL: Test assertion failure function pc8_residency_subtest, file pm_rpm.c:718:
(pm_rpm:8603) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
(pm_rpm:8603) CRITICAL: Machine is not reaching PC8+ states, please check its configuration.
****  END  ****
Comment 10 Ricardo Madrigal 2017-08-14 14:02:20 UTC
The issue still present with the following configuration:

======================================
             Software
======================================
kernel version              : 4.13.0-rc3-drm-tip-ww31-commit-04d9fc3+
/bin/bash: BSW-1-BRASWELL: command not found
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 0.33
bios release date           : 08/12/2015
ksc                         : 0.16
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.70
libva                       : 1.7.1-2
vaapi (intel-driver)        : 1.7.1
cairo                       : 1.14.6-1build1
intel-gpu-tools             : 1.16-1

======================================
             Hardware
======================================
platform                   : Braswell
motherboard model          : 10G9000NUS
motherboard id             : BRASWELL
form factor                : Desktop
manufacturer               : LENOVO
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
gpu card                   : Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
memory ram                 : 7.68 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 76
cpu stepping               : 3
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 76, Stepping 3
hard drive                 : 74GiB (80GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3
===========================================

=============================================
IGT-Version: 1.19-g6e1ccfa (x86_64) (Linux: 4.13.0-rc3-drm-tip-ww31-commit-04d9fc3+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Test requirement not met in function gem_execbuf_stress_subtest, file pm_rpm.c:1248:
Test requirement: has_pc8
Subtest gem-execbuf-stress-pc8: SKIP (0.001s)
Comment 11 Hector Velazquez 2017-09-05 20:33:45 UTC
The following tests FAIL on HSW 

Tests List:

igt@pm_rpm@gem-execbuf-stress-pc8
igt@pm_rpm@modeset-pc8-residency-stress
igt@pm_rpm@pc8-residency

This is my configuration:

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

Component: drm
    tag: libdrm-2.4.81-52-g05a830d
    commit: 05a830d382382905d87b55af90aa109fb76e4c16

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-234-g490b386
    commit: 490b386ae36d393cdea514882a2437c6e964c13f

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b

======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-9dd459e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-234-g490b386
intel-gpu-tools (commit)    : 490b386

======================================
	     Hardware
======================================
platform                   : Haswell-Nuc
motherboard id             : D54250WYK
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 1.83 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 69
cpu stepping               : 1
socket                     : Socket LGA1150
signature                  : Type 0, Family 6, Model 69, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
displays connected         : DP-1
Comment 12 Elizabeth 2017-09-07 15:55:42 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 13 Hector Velazquez 2017-12-12 16:20:08 UTC
This tests continue failing on BDW and HSW QA

igt@pm_rpm@modeset-pc8-residency-stress
igt@pm_rpm@gem-execbuf-stress-pc8	
igt@pm_rpm@pc8-residency		

IGT-Version: 1.20-g39ac6b8 (x86_64) (Linux: 4.15.0-rc2-drm-intel-qa-ww49-commit-b5f297e0+ x86_64)

(pm_rpm:25085) CRITICAL: Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1265:
(pm_rpm:25085) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
Subtest gem-execbuf-stress-pc8 failed.
Comment 14 Elizabeth 2018-03-13 20:49:45 UTC
No changes in the 3 tests mentioned above:

Sample Output:
	
IGT-Version: 1.21-g43d7c05 (x86_64) (Linux: 4.16.0-rc4-drm-intel-qa-ww10-commit-970ee17+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf_stress_subtest+0x1bd]
  #2 [main+0xd64]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest gem-execbuf-stress-pc8: FAIL (126.425s)
Err	
(pm_rpm:19410) CRITICAL: Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1265:
(pm_rpm:19410) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
Subtest gem-execbuf-stress-pc8 failed.
**** DEBUG ****
(pm_rpm:19410) DEBUG: Test requirement passed: has_pc8
(pm_rpm:19410) igt-pm-DEBUG: igt_get_runtime_pm_status() == status took 477ms
(pm_rpm:19410) CRITICAL: Test assertion failure function gem_execbuf_stress_subtest, file pm_rpm.c:1265:
(pm_rpm:19410) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
(pm_rpm:19410) igt-core-INFO: Stack trace:
(pm_rpm:19410) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(pm_rpm:19410) igt-core-INFO:   #1 [gem_execbuf_stress_subtest+0x1bd]
(pm_rpm:19410) igt-core-INFO:   #2 [main+0xd64]
(pm_rpm:19410) igt-core-INFO:   #3 [__libc_start_main+0xf1]
(pm_rpm:19410) igt-core-INFO:   #4 [_start+0x29]
(pm_rpm:19410) igt-core-INFO:   #5 [<unknown>+0x29]
****  END  ****
Comment 15 Jani Saarinen 2018-03-29 07:10:30 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 16 Elizabeth 2018-04-06 16:01:26 UTC
This is still valid with these tests on BDW and HSW:

igt@pm_rpm@modeset-pc8-residency-stress
igt@pm_rpm@gem-execbuf-stress-pc8	
igt@pm_rpm@pc8-residency

Results for igt@pm_rpm@pc8-residency
Result: fail

Out	
IGT-Version: 1.21-ge3a0ed9 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-c46052c+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0x14af]
  #2 [__libc_start_main+0xf1]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
Subtest pc8-residency: FAIL (125.908s)
Err	
(pm_rpm:26176) CRITICAL: Test assertion failure function pc8_residency_subtest, file pm_rpm.c:733:
(pm_rpm:26176) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
(pm_rpm:26176) CRITICAL: Machine is not reaching PC8+ states, please check its configuration.
Subtest pc8-residency failed.
Comment 17 Jani Saarinen 2018-04-25 06:31:32 UTC
Same still:
(pm_rpm:1341) CRITICAL: Test assertion failure function modeset_subtest, file ../tests/pm_rpm.c:760:
(pm_rpm:1341) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
Subtest modeset-pc8-residency-stress failed.
**** DEBUG ****
(pm_rpm:1341) DEBUG: Test requirement passed: has_pc8
(pm_rpm:1341) CRITICAL: Test assertion failure function modeset_subtest, file ../tests/pm_rpm.c:760:
(pm_rpm:1341) CRITICAL: Failed assertion: pc8_plus_residency_changed(120)
(pm_rpm:1341) igt_core-INFO: Stack trace:
(pm_rpm:1341) igt_core-INFO:   #0 [__igt_fail_assert+0x180]
(pm_rpm:1341) igt_core-INFO:   #1 [modeset_subtest+0x14d]
(pm_rpm:1341) igt_core-INFO:   #2 [main+0x869]
(pm_rpm:1341) igt_core-INFO:   #3 [__libc_start_main+0xe7]
(pm_rpm:1341) igt_core-INFO:   #4 [_start+0x2a]
****  END  ****

Chris, or someone is this could to be fixed / planned to be fixed?
Comment 18 Jani Saarinen 2018-05-04 07:55:48 UTC
Chris, any help here?
Comment 19 Chris Wilson 2018-07-14 15:57:31 UTC
It's a configuration issue in their kernel; e.g. the device is being kept alive by a child device.


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.