Bug 101356 - [DP][APL] DP_ROTATION causes corruption
Summary: [DP][APL] DP_ROTATION causes corruption
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 19:50 UTC by Armando Antonio
Modified: 2018-04-06 20:05 UTC (History)
2 users (show)

See Also:
i915 platform: BXT
i915 features: display/DP


Attachments
Kernel log, image corruption after rotate, hdmi and dp configuration (875.07 KB, text/plain)
2017-06-08 19:50 UTC, Armando Antonio
no flags Details

Description Armando Antonio 2017-06-08 19:50:53 UTC
Created attachment 131816 [details]
Kernel log, image corruption after rotate, hdmi and dp configuration

-------------------------------------------------
==Bug detailed description==
--------------------------------------------------
After execute xrandr --output DP-1 --rotate left several times, some image corruptions appear.


-------------------------------------------------
==Steps to reproduce==
--------------------------------------------------
*Connect platform to DP and HDMI
*Turn device ON
*Loggin to you user account 
*Perform rotation (xrandr --output DP --rotate left| right | inverted | normal) 
 several times	
*Verify that the displays doesn't have any corruption

--------------------------------------------------
==Actual results==
--------------------------------------------------
Platform shows corruptions image after rotate


-------------------------------------------------
==Expected results==
--------------------------------------------------
Rotations has to be performed correctly


---------------------------------------------------
==Software configuration==
--------------------------------------------------
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 161.11
bios release date           : 10/24/2016
ksc                         : 1.22
Comment 1 Elizabeth 2017-06-09 20:55:51 UTC
Could you please add the HW information?
Comment 2 Armando Antonio 2017-06-12 13:54:58 UTC
Sorry, here is the information:

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

======================================
	     Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 161.11
bios release date           : 10/24/2016
ksc                         : 1.22

======================================
	Graphic drivers
======================================
mesa                        : 17.2.0-devel (git-18efb404cf
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Broxton - 1.7.3
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
	     Hardware
======================================
motherboard model          : BroxtonP
motherboard id             : ApollolakeRVP1A
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : 06/5c
gpu card                   : Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller (rev 0a) (prog-if 00 [VGA controller])
memory ram                 : 7.61 GB
max memory ram             : 16 GB
display resolution         : 3840x1080
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 92
cpu stepping               : 9
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 288000 kHz
maximum cd clock frequency : 624000 kHz
displays connected         : DP-1 DP-2
Comment 3 Dhinakaran Pandiyan 2017-08-14 18:46:27 UTC
(In reply to Armando Antonio from comment #0)
> Created attachment 131816 [details]
> Kernel log, image corruption after rotate, hdmi and dp configuration
> 
> -------------------------------------------------
> ==Bug detailed description==
> --------------------------------------------------
> After execute xrandr --output DP-1 --rotate left several times, some image
> corruptions appear.
> 
> 
> -------------------------------------------------
> ==Steps to reproduce==
> --------------------------------------------------
> *Connect platform to DP and HDMI
> *Turn device ON
> *Loggin to you user account 
> *Perform rotation (xrandr --output DP --rotate left| right | inverted |
> normal) 
>  several times	
> *Verify that the displays doesn't have any corruption
> 
> --------------------------------------------------
> ==Actual results==
> --------------------------------------------------
> Platform shows corruptions image after rotate
> 

Do you mind attaching a screen shot?
Comment 4 Martin Peres 2017-08-25 08:14:04 UTC
I added new platforms, moving this bug to APL instead of BXT.
Comment 5 Elizabeth 2017-09-28 22:52:40 UTC
Couldn't reproduce on SKL and BDW with the latest kernel:

SKL=============================================================================

======================================
             Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-f4bd0d1+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : SKL Canyon
motherboard id             : NUC6i7KYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
gpu card                   : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 31.31 GB
max memory ram             : 32 GB
display resolution         : 1600x900
cpu thread                 : 8
cpu core                   : 4
cpu model                  : 94
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 94, Stepping 3
hard drive                 : 223GiB (240GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-3

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

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe

BDW ============================================================================


======================================
             Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-f4bd0d1+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.6
bios release date           : 01/18/2017

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : BDW
motherboard id             : NUC5i5RYB
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
gpu card                   : Intel Corporation HD Graphics 6000 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 16 GB
display resolution         : 5120x1080
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                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : HDMI-A-1 DP-1

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

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 6 Hector Velazquez 2018-03-15 21:06:08 UTC
this fail couldn't reproduce on SKL QA with the latest kernel/Graphic Stack:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.89-98-ga58490d
    commit: a58490de0d8ae5c290d2db6e59fc44edc829d9c6

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.21-213-g5c146fc
    commit: 5c146fcff2d51ea426efc538599013e887fe456b

Component: piglit
    tag: piglit-v1
    commit: b8a4f6a0eb6bedf1b1d4eb845fabd0f6a635433a
======================================
             Software
======================================
kernel version              : 4.16.0-rc5-drm-intel-qa-ww11-commit-14df087+
os version                  : Ubuntu 17.10 artful x86_64
kernel driver               : i915
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)
======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.19.5 X.Org Video Driver
libdrm                      : 2.4.91
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-213-g5c146fcff
intel-gpu-tools (commit)    : 5c146fcff
======================================
             Hardware
======================================
motherboard id             : NUC7i5BNB
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.56 GB
signature                  : Type 0, Family 6, Model 142, Stepping 9
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1
======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 9.39, found 0.0
guc version found         : wanted 9.39, found 0.0
======================================
             kernel parameters
======================================
drm.debug=0x1e i915.alpha_support=1 i915.enable_guc=-D1 resume=/dev/sda2
Comment 7 Jani Saarinen 2018-03-29 07:11:15 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 8 Elizabeth 2018-04-04 16:38:24 UTC
I can't reproduce it with KBL. Removing platform:


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

======================================
             Software
======================================
kernel version              : 4.16.0
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
kernel driver               : i915
bios revision               : 5.12
bios release date           : 09/12/2016
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory

======================================
             Hardware
======================================
platform                   : Kabylake-Nuc
motherboard model          : MS-B142
motherboard id             : MS-B1421
form factor                : Desktop
manufacturer               : Micro-StarInternationalCo.,Ltd.
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
gpu card                   : Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
memory ram                 : 7.67 GB
max memory ram             : 64 GB
display resolution         : 5440x1080
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 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 9.39, found 0.0
guc version found         : wanted 9.39, found 0.0

======================================
             kernel parameters
======================================
quiet splash drm.debug=0x1e
Comment 9 Elizabeth 2018-04-04 17:09:51 UTC
By the way, I'm using last stable from kernel.org
Comment 10 Elizabeth 2018-04-06 20:05:19 UTC
I neither can replicate issue on BXT, so closing bug. Thank you.

======================================
             Software
======================================
kernel version              : 4.16.0-rc7-drm-intel-qa-ww14-commit-e29a105+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
[sudo] password for gfx: kernel driver               : i915
bios revision               : 148.11
bios release date           : 07/25/2016
ksc                         : 1.14
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================

libdrm                      : 2.4.91
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-261-ge861c22d
intel-gpu-tools (commit)    : e861c22d

======================================
             Hardware
======================================
platform                   : Broxton-P
motherboard model          : BroxtonP
motherboard id             : NOTEBOOK
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : 06/5c
gpu card                   : Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller (rev 0a) (prog-if 00 [VGA controller])
memory ram                 : 7.63 GB
max memory ram             : 32 GB
display resolution         : 7680x2160
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 92
cpu stepping               : 9
socket                     : Other
hard drive                 : 74GiB (80GB)
current cd clock frequency : 576000 kHz
maximum cd clock frequency : 624000 kHz
displays connected         : eDP-1 DP-1 DP-6

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 9.29, found 0.0
guc version found         : wanted 9.29, found 0.0

======================================
             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.