Bug 101630 - [IGT] [IVB/HSW/BYT] kms_pipe_color subtests invalid-ctm-matrix-sizes/invalid-lut-sizes assertion failure function
Summary: [IGT] [IVB/HSW/BYT] kms_pipe_color subtests invalid-ctm-matrix-sizes/invalid...
Status: CLOSED FIXED
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-06-28 19:36 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-10-26 17:10 UTC (History)
1 user (show)

See Also:
i915 platform: BYT, HSW, IVB
i915 features: display/Other


Attachments
dmesg.log (252.10 KB, text/plain)
2017-06-28 19:36 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Humberto Israel Perez Rodriguez 2017-06-28 19:36:08 UTC
Created attachment 132311 [details]
dmesg.log

The following test fail on GLK with latest configuration

testlist
=============================================================
igt@kms_pipe_color@invalid-ctm-matrix-sizes
igt@kms_pipe_color@invalid-lut-sizes

test output
=============================================================
(kms_pipe_color:1428) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_pipe_color:1428) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_pipe_color:1428) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_pipe_color:1428) igt-kms-DEBUG: display: init {
(kms_pipe_color:1428) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 60 to 1
(kms_pipe_color:1428) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 68 to 1
(kms_pipe_color:1428) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 72 to 1
(kms_pipe_color:1428) igt-kms-DEBUG: Setting Broadcast RGB mode on connector 75 to 1
(kms_pipe_color:1428) igt-kms-DEBUG: display: }
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) DEBUG: Test requirement passed: p < data->display.n_pipes
(kms_pipe_color:1428) DEBUG: Test requirement passed: pipe->n_planes >= 0
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) igt-debugfs-DEBUG: Using generic frame CRC ABI
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:872:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) DEBUG: Test requirement passed: p < data->display.n_pipes
(kms_pipe_color:1428) DEBUG: Test requirement passed: pipe->n_planes >= 0
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) igt-debugfs-DEBUG: Using generic frame CRC ABI
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:872:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) DEBUG: Test requirement passed: p < data->display.n_pipes
(kms_pipe_color:1428) DEBUG: Test requirement passed: pipe->n_planes >= 0
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) igt-debugfs-DEBUG: Using generic frame CRC ABI
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:872:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:857:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:857:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:857:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
(kms_pipe_color:1428) igt-core-DEBUG: Starting subtest: invalid-ctm-matrix-sizes
(kms_pipe_color:1428) CRITICAL: Test assertion failure function pipe_set_property_blob_id, file kms_pipe_color.c:1069:
(kms_pipe_color:1428) CRITICAL: Failed assertion: kmstest_get_property(pipe->display->drm_fd, pipe->crtc_id, DRM_MODE_OBJECT_CRTC, property, &prop_id, NULL, NULL)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [pipe_set_property_blob_id.isra.8+0x96]
  #2 [pipe_set_property_blob+0x58]
  #3 [__real_main1168+0x369]
  #4 [main+0x33]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest invalid-ctm-matrix-sizes failed.
**** DEBUG ****
(kms_pipe_color:1428) CRITICAL: Test assertion failure function pipe_set_property_blob_id, file kms_pipe_color.c:1069:
(kms_pipe_color:1428) CRITICAL: Failed assertion: kmstest_get_property(pipe->display->drm_fd, pipe->crtc_id, DRM_MODE_OBJECT_CRTC, property, &prop_id, NULL, NULL)
****  END  ****
Subtest invalid-ctm-matrix-sizes: FAIL (0.007s)
(kms_pipe_color:1428) igt-core-DEBUG: Exiting with status code 99
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_pipe_color:1428) igt-kms-DEBUG: VT: original mode 0x0 restored
(kms_pipe_color:1428) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'


======================================
             Software
======================================
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 50.51
bios release date           : 06/02/2017
ksc                         : 1.32


======================================
        Graphic drivers
======================================
Component: drm
    tag: libdrm-2.4.80-29-g7e6bf88
    commit: 7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc
Component: cairo
    tag: 1.15.4-28-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-284-g9918014
    commit: 9918014df55d0393f99a31e3c398a4b38c90bb80
Component: piglit
    tag: piglit-v1
    commit: 1b8356e6dfa07480c154fccb47f6ef9c908ef652


======================================
             Kernel
======================================
commit 1789a777702e41b11133dd23578edbd0b47ccf40
Author:     Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Fri Jun 23 13:43:22 2017 +0100
Commit:     Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Fri Jun 23 13:43:22 2017 +0100
drm-tip: 2017y-06m-23d-12h-42m-45s UTC integration manifest
	
======================================
             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                 : 3.67 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
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             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56

======================================
             kernel parameters
======================================
drm.debug=0x1e i915.alpha_support=1 resume=/dev/sda3 fastboot i915.enable_guc_loading=2 i915.enable_guc_submission=2 log_buf_len=1M


attachments
===========================
dmesg.log
Comment 1 Elizabeth 2017-06-29 15:58:17 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 2 Armando Antonio 2017-07-05 19:38:28 UTC
The following test fail on IVB with latest configuration


testlist
====================================================
igt@kms_pipe_color@invalid-ctm-matrix-sizes
igt@kms_pipe_color@invalid-lut-sizes



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 3 Ricardo Madrigal 2017-07-20 15:21:32 UTC
The following tests fail on BYT with latest configuration

====================================================
Test list
====================================================
igt@kms_pipe_color@invalid-ctm-matrix-sizes
igt@kms_pipe_color@invalid-lut-sizes

====================================================
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 4 Hector Velazquez 2017-07-26 16:58:30 UTC
The following test FAIL on IVB with this commit

Tests List:

igt@kms_pipe_color@invalid-ctm-matrix-sizes
igt@kms_pipe_color@invalid-lut-sizes


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 5 maria guadalupe 2017-08-03 22:58:43 UTC
these test still failing with the following configuration

testlist
=============================================================
igt@kms_pipe_color@invalid-ctm-matrix-sizes
igt@kms_pipe_color@invalid-lut-sizes
 
======================================
             Software
======================================
kernel version              : 4.13.0-rc3-drm-tip-ww31-commit-fcb630a+
/bin/bash: gfx-desktop: command not found
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 52.23
ksc                         : 1.36

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.19.3 X.Org Video Driver
xorg-xserver                : 1.19.3
intel-gpu-tools             : 1.17-1

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
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                 : 5.64 GB
max memory ram             : 16 GB
display resolution         : 3840x1080
cpu thread                 : 4
cpu core                   : 4
hard drive                 : 223GiB (240GB)
current cd clock frequency : 316800 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 HDMI-A-2 DP
Comment 6 Elizabeth 2017-08-23 16:42:21 UTC
These tests are now passed on GLK with the following configuration:
=====================================================
igt@kms_pipe_color@invalid-ctm-matrix-sizes
igt@kms_pipe_color@invalid-lut-sizes
=====================================================

Gfx stack
=====================================================
Component: drm
    tag: libdrm-2.4.81-46-g9d133dd
    commit: 9d133dd08720d80dfc8ce098bf0972ebd05c454d

Component: cairo
    tag: 1.15.6-14-gf351595
    commit: f3515954e0bc9c9ca413a84a8dd842145cec83a7

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-193-g5a17ee2
    commit: 5a17ee2c8f9013f5db852d27564b837f9f2c5a9f

Component: piglit
    tag: piglit-v1
    commit: 2a7047a32bb3a9a4fad5bea0a8185d63af6bddf3

Kernel info
=====================================================
commit ad6ab9f96437f0cb1f4d8a7840fd9eeb894eb12e
Author:     Gustavo Padovan <gustavo.padovan@collabora.com>
AuthorDate: Fri Aug 18 15:26:42 2017 -0300
Commit:     Gustavo Padovan <gustavo.padovan@collabora.com>
CommitDate: Fri Aug 18 15:26:42 2017 -0300

    drm-tip: 2017y-08m-18d-18h-21m-46s UTC integration manifest
=====================================================
Comment 7 Elizabeth 2017-10-12 14:36:02 UTC
According to :
https://intel-gfx-ci.01.org/tree/drm-tip/igt@kms_color@pipe-invalid-ctm-matrix-sizes.html
https://intel-gfx-ci.01.org/tree/drm-tip/igt@kms_color@pipe-invalid-lut-sizes.html
This issue isn't present on HSW anymore.

On IVB:
$ : sudo -E ./kms_color --r pipe-*
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
Test requirement not met in function run_tests_for_pipe, file kms_color.c:878:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:878:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:878:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Subtest pipe-invalid-lut-sizes: SUCCESS (0.000s)
Subtest pipe-invalid-ctm-matrix-sizes: SUCCESS (0.000s)

On BYT:

$ : sudo -E ./kms_color --r pipe*
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
Test requirement not met in function run_tests_for_pipe, file kms_color.c:878:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:878:
Test requirement: igt_pipe_get_property(&data->display.pipes[p], "DEGAMMA_LUT_SIZE", NULL, &data->degamma_lut_size, NULL)
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Test requirement not met in function run_tests_for_pipe, file kms_color.c:863:
Test requirement: p < data->display.n_pipes
Last errno: 2, No such file or directory
Subtest pipe-invalid-lut-sizes: SUCCESS (0.000s)
Subtest pipe-invalid-ctm-matrix-sizes: SUCCESS (0.000s)

Test renamed on:

author	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>	2017-09-21 08:48:54 (GMT)
committer	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>	2017-10-02 09:30:18 (GMT)
commit	7bc1fd8638356f728f200b9377e76f286d964c7e (patch)
tree	9aa893c75019c78817c79e266041f49d5797aeac
parent	09f8cb1a3758fa9868a07b83a3d3db2973d795cc (diff)
tests: Rename kms_pipe_color to kms_color
Rename kms_pipe_color to kms_color, and rename the invalid tests to pipe-invalid.
To prepare for adding support for plane color management.

Closing.


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.