Bug 98971 - [BSW] Color management fails
Summary: [BSW] Color management fails
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: Elio
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-02 12:13 UTC by cprigent
Modified: 2017-08-16 19:02 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/color management


Attachments
bsw__kms_pipe_color__output (20.42 KB, text/plain)
2016-12-02 12:13 UTC, cprigent
no flags Details
bsw__kms_pipe_color__kern.log (317.36 KB, text/plain)
2016-12-02 12:14 UTC, cprigent
no flags Details

Description cprigent 2016-12-02 12:13:26 UTC
Created attachment 128308 [details]
bsw__kms_pipe_color__output

Hardware BSW: Acer Desktop
Motherboard: Aspire XC-704
CPU: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz (Family 6, Model 76, Stepping 3)
GPU:  Intel® HD Graphics - Intel Corporation Device 22b1 (rev 21)
Memory card: 1 card 4GB Hynix HMT451S6BFR8APB
HDD: Western Digital WDC WD10EZEX-21M (1TB)

Software:
Bios: R01-A2
Linux distribution: Ubuntu 16.04 64 bits

Kernel: 4.9.0-rc7 8f02d21 branch drm-tip from https://cgit.freedesktop.org/drm-tip
  commit 8f02d2103390e48e9e76c9e75d16dbb4396484c8
  Author: Jani Nikula <jani.nikula@intel.com>
  Date:   Mon Nov 28 14:38:48 2016 +0200
  drm-tip: 2016y-11m-28d-12h-38m-14s UTC integration manifest

libdrm-2.4.73-12 23d10b8 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.0 df1b0a5 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.19.0-4 2de37eb from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-736 bde9460 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-44 598fb9e from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-189 ce55d7e from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tools-1.16-164 7797517 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
1. Execute IGT test kms_pipe_clor

Actual results:
---------------
1. Tests are fail

Expected result:
-----------------
1. Tests are Pass

Info
-----
Tests are 100% Pass on APL, KBL, SKL, BDW 
ctm-0 tests were failing on all platforms, associated patchset: https://patchwork.freedesktop.org/series/12654/
Comment 1 cprigent 2016-12-02 12:14:26 UTC
Created attachment 128309 [details]
bsw__kms_pipe_color__kern.log
Comment 2 Jari Tahvanainen 2017-03-28 08:34:20 UTC
AFAIK - all tests are now skip on BSW - if this is expected behaviour then let's mark this bug resolved+fixed.
Comment 3 Ricardo 2017-04-10 13:58:48 UTC
please retest and update
Comment 4 Elio 2017-08-16 18:49:49 UTC
./kms_pipe_color
IGT-Version: 1.19-gc881133 (x86_64) (Linux: 4.13.0-rc5-drm-tip-ww33-commit-5118c7f+ x86_64)
Subtest ctm-red-to-blue-pipe0: SUCCESS (0.399s)
Subtest ctm-green-to-red-pipe0: SUCCESS (0.383s)
Subtest ctm-blue-to-red-pipe0: SUCCESS (0.384s)
Subtest ctm-0-25-pipe0: SUCCESS (1.899s)
Subtest ctm-0-5-pipe0: SUCCESS (1.865s)
Subtest ctm-0-75-pipe0: SUCCESS (2.633s)
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:1010:
Test requirement: !IS_CHERRYVIEW(data->devid)
Subtest ctm-max-pipe0: SKIP (0.000s)
Subtest ctm-negative-pipe0: SUCCESS (0.383s)
Subtest degamma-pipe0: SUCCESS (0.399s)
Subtest gamma-pipe0: SUCCESS (0.333s)
Subtest legacy-gamma-pipe0: SUCCESS (0.383s)
Subtest legacy-gamma-reset-pipe0: SUCCESS (0.150s)
Subtest ctm-red-to-blue-pipe1: SUCCESS (0.455s)
Subtest ctm-green-to-red-pipe1: SUCCESS (0.400s)
Subtest ctm-blue-to-red-pipe1: SUCCESS (0.383s)
Subtest ctm-0-25-pipe1: SUCCESS (1.900s)
Subtest ctm-0-5-pipe1: SUCCESS (1.916s)
Subtest ctm-0-75-pipe1: SUCCESS (2.700s)
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:1010:
Test requirement: !IS_CHERRYVIEW(data->devid)
Subtest ctm-max-pipe1: SKIP (0.000s)
Subtest ctm-negative-pipe1: SUCCESS (0.399s)
Subtest degamma-pipe1: SUCCESS (0.366s)
Subtest gamma-pipe1: SUCCESS (0.316s)
Subtest legacy-gamma-pipe1: SUCCESS (0.350s)
Subtest legacy-gamma-reset-pipe1: SUCCESS (0.150s)
Subtest ctm-red-to-blue-pipe2: SUCCESS (0.376s)
Subtest ctm-green-to-red-pipe2: SUCCESS (0.400s)
Subtest ctm-blue-to-red-pipe2: SUCCESS (0.366s)
Subtest ctm-0-25-pipe2: SUCCESS (1.935s)
Subtest ctm-0-5-pipe2: SUCCESS (1.984s)
Subtest ctm-0-75-pipe2: SUCCESS (2.751s)
Test requirement not met in function run_tests_for_pipe, file kms_pipe_color.c:1010:
Test requirement: !IS_CHERRYVIEW(data->devid)
Subtest ctm-max-pipe2: SKIP (0.000s)
Subtest ctm-negative-pipe2: SUCCESS (0.399s)
Subtest degamma-pipe2: SUCCESS (0.399s)
Subtest gamma-pipe2: SUCCESS (0.366s)
Subtest legacy-gamma-pipe2: SUCCESS (0.399s)
Subtest legacy-gamma-reset-pipe2: SUCCESS (0.150s)
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
Subtest ctm-red-to-blue-pipe3: SKIP
Subtest ctm-green-to-red-pipe3: SKIP
Subtest ctm-blue-to-red-pipe3: SKIP
Subtest ctm-0-25-pipe3: SKIP
Subtest ctm-0-5-pipe3: SKIP
Subtest ctm-0-75-pipe3: SKIP
Subtest ctm-max-pipe3: SKIP
Subtest ctm-negative-pipe3: SKIP
Subtest degamma-pipe3: SKIP
Subtest gamma-pipe3: SKIP
Subtest legacy-gamma-pipe3: SKIP
Subtest legacy-gamma-reset-pipe3: SKIP
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
Subtest ctm-red-to-blue-pipe4: SKIP
Subtest ctm-green-to-red-pipe4: SKIP
Subtest ctm-blue-to-red-pipe4: SKIP
Subtest ctm-0-25-pipe4: SKIP
Subtest ctm-0-5-pipe4: SKIP
Subtest ctm-0-75-pipe4: SKIP
Subtest ctm-max-pipe4: SKIP
Subtest ctm-negative-pipe4: SKIP
Subtest degamma-pipe4: SKIP
Subtest gamma-pipe4: SKIP
Subtest legacy-gamma-pipe4: SKIP
Subtest legacy-gamma-reset-pipe4: SKIP
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
Subtest ctm-red-to-blue-pipe5: SKIP
Subtest ctm-green-to-red-pipe5: SKIP
Subtest ctm-blue-to-red-pipe5: SKIP
Subtest ctm-0-25-pipe5: SKIP
Subtest ctm-0-5-pipe5: SKIP
Subtest ctm-0-75-pipe5: SKIP
Subtest ctm-max-pipe5: SKIP
Subtest ctm-negative-pipe5: SKIP
Subtest degamma-pipe5: SKIP
Subtest gamma-pipe5: SKIP
Subtest legacy-gamma-pipe5: SKIP
Subtest legacy-gamma-reset-pipe5: SKIP
Subtest invalid-lut-sizes: SUCCESS (0.012s)
Subtest invalid-ctm-matrix-sizes: SUCCESS (0.006s)
Comment 5 Elio 2017-08-16 19:02:47 UTC
This test is passing with the following configuration, since it only has 2 physical devices, that can explain the skip tests.

Configuration

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

======================================
             Software
======================================
kernel version              : 4.13.0-rc5-drm-tip-ww33-commit-5118c7f+
hostname                    : BSW-2-BRASWELL
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
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.82
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-190-gc881133
intel-gpu-tools (commit)    : c881133

======================================
             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                 : 476GiB (512GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3

======================================
             Firmware
======================================

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e 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.