Bug 92225 - [IGT][BDW]pm_lpsp/edp-panel-fitter fail because a test assertion failure
Summary: [IGT][BDW]pm_lpsp/edp-panel-fitter fail because a test assertion failure
Status: CLOSED FIXED
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-01 20:55 UTC by Elio
Modified: 2018-03-26 17:48 UTC (History)
1 user (show)

See Also:
i915 platform: BDW
i915 features: display/eDP


Attachments
dmesg log for kms_panel_fitting (120.58 KB, text/plain)
2015-10-02 16:01 UTC, Elio
no flags Details
dmesg log (132 bytes, text/plain)
2015-10-16 17:33 UTC, Jairo Miramontes
no flags Details
software configuration (4.79 KB, text/plain)
2017-03-30 20:49 UTC, Elio
no flags Details
dmesg file (53.25 KB, text/plain)
2017-03-30 20:50 UTC, Elio
no flags Details
attachment-14377-0.html (1.71 KB, text/html)
2018-03-05 19:49 UTC, Elio
no flags Details
successful test dmesg log (42.62 KB, text/plain)
2018-03-26 17:43 UTC, Elizabeth
no flags Details

Description Elio 2015-10-01 20:55:20 UTC
Test enviroment:
Name: drm-intel-testing

Description: IGT tools manage all basic functions for graphics stack

CPU: Intel(R) CPU @ 1.60GHz

Board: : Wilson Beach DVT2 Ultrabook

GPU: SoC: Broadwell 2+2 D0 (QDF : QGHA)

Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu

Steps to reproduce:

1. Install intel graphic stack with mentioned configuration
2. Install igt
3. Execute ./run-test.sh pm_lpsp@edp-panel-fitter

Expected result:  test should exit without issues 

Actual result:
Returncode	99
Time	0:00:02.193137
Stdout	
IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [edp_subtest.constprop.2+0x3e6]
  #2 [__real_main221+0x368]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest edp-panel-fitter: FAIL (0.321s)
Stderr	
Test assertion failure function edp_subtest, file pm_lpsp.c:145:
Failed assertion: c->count_modes && c->modes[0].vdisplay > 768
Subtest edp-panel-fitter failed.
**** DEBUG ****
Test assertion failure function edp_subtest, file pm_lpsp.c:145:
Failed assertion: c->count_modes && c->modes[0].vdisplay > 768
****  END  ****

Logs are going to be attached as soon as possible
Comment 1 Elio 2015-10-02 16:01:25 UTC
Created attachment 118619 [details]
dmesg log for kms_panel_fitting
Comment 2 Jairo Miramontes 2015-10-16 17:33:07 UTC
Created attachment 118929 [details]
dmesg log

Reproduced same issue, getting same stack trace with the following configurations

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
Comment 3 Ricardo 2017-02-20 18:43:06 UTC
Elio this test has been skipped in the latest executions of IGT All, please review further
Comment 4 Elio 2017-03-30 20:48:53 UTC
The latest tests were executed on NuCs without eDP, testing with laptop BDW shows this with latest configuration:

Attaching dmesg.


(02:40 PM) [gfx@gfx-desktop] [tests]$ : sudo -E ./pm_lpsp --run-subtest edp-panel-fitter
IGT-Version: 1.18-gbb97a05 (x86_64) (Linux: 4.10.2-mainline-ww12-version-4.10.2 x86_64)
(pm_lpsp:1799) CRITICAL: Test assertion failure function edp_subtest, file pm_lpsp.c:115:
(pm_lpsp:1799) CRITICAL: Failed assertion: c->count_modes && c->modes[0].vdisplay > 768
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [edp_subtest.constprop.2+0x355]
  #2 [__real_main191+0x295]
  #3 [main+0x33]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest edp-panel-fitter failed.
**** DEBUG ****
(pm_lpsp:1799) CRITICAL: Test assertion failure function edp_subtest, file pm_lpsp.c:115:
(pm_lpsp:1799) CRITICAL: Failed assertion: c->count_modes && c->modes[0].vdisplay > 768
****  END  ****
Subtest edp-panel-fitter: FAIL (0.327s)

Attaching Dmesg and config file
Comment 5 Elio 2017-03-30 20:49:57 UTC
Created attachment 130596 [details]
software configuration
Comment 6 Elio 2017-03-30 20:50:18 UTC
Created attachment 130597 [details]
dmesg file
Comment 7 Elio 2017-07-17 19:56:18 UTC
The test still present with kernel 4.12.0 
IGT version: 1.19
OS: Ubuntu 17.04

Output message:


(pm_lpsp:2433) CRITICAL: Test assertion failure function edp_subtest, file pm_lpsp.c:115:
(pm_lpsp:2433) CRITICAL: Failed assertion: c->count_modes && c->modes[0].vdisplay > 768
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [edp_subtest.constprop.2+0x355]
  #2 [__real_main191+0x295]
  #3 [main+0x33]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest edp-panel-fitter failed.
**** DEBUG ****
(pm_lpsp:2433) CRITICAL: Test assertion failure function edp_subtest, file pm_lpsp.c:115:
(pm_lpsp:2433) CRITICAL: Failed assertion: c->count_modes && c->modes[0].vdisplay > 768
****  END  ****
Subtest edp-panel-fitter.
Comment 8 Elizabeth 2018-03-05 19:49:12 UTC
This issue needs to be re-tested with latest drm-tip, I'll do it tomorrow.
Comment 9 Elio 2018-03-05 19:49:16 UTC
Created attachment 137797 [details]
attachment-14377-0.html

In Aniversary trip! See you in ww.11!
Comment 10 Elizabeth 2018-03-26 17:43:20 UTC
Created attachment 138360 [details]
successful test dmesg log

Sorry for the delay, this test doesn't fail anymore on BDW:

$ : sudo -E ./pm_lpsp --r edp-panel-fitter
IGT-Version: 1.22-ga9741da (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww13-commit-94f5d91+ x86_64)
Subtest edp-panel-fitter: SUCCESS (1.057s)
Comment 11 Elizabeth 2018-03-26 17:48:19 UTC
FWIW:

======================================
             Software
======================================
kernel version              : 4.16.0-rc6-drm-intel-qa-ww13-commit-94f5d91+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
kernel driver               : i915
bios revision               : 95.9
bios release date           : 10/30/2014
ksc                         : 1.34
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
libdrm                      : 2.4.91
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-247-ga9741da5
intel-gpu-tools (commit)    : a9741da5

======================================
             Hardware
======================================
motherboard model          : BroadwellClientplatform
motherboard id             : WilsonBeachSDS
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
gpu card                   : Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 7.7 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 61
cpu stepping               : 4
socket                     : Socket BGA1168
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 167GiB (180GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : eDP-1

======================================
             kernel parameters
======================================
splash drm.debug=0x1e


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.