Bug 92093 - [KBL/APL/SKL/HSW/BDW/BSW/CFL/IVB] Kernel Test, rotation is dismissed after plugging back monitors
Summary: [KBL/APL/SKL/HSW/BDW/BSW/CFL/IVB] Kernel Test, rotation is dismissed after p...
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: PatchSubmitted
Keywords:
: 102304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-23 17:07 UTC by Elio
Modified: 2018-04-09 15:38 UTC (History)
4 users (show)

See Also:
i915 platform: BDW, BSW/CHT, BXT, CFL, GLK, HSW, IVB, KBL, SKL
i915 features: display/Other


Attachments
Dme (243.97 KB, text/plain)
2015-12-10 22:22 UTC, Elio
no flags Details
dmesg.log (249.62 KB, text/plain)
2015-12-11 06:00 UTC, Humberto Israel Perez Rodriguez
no flags Details
Xorg.log (25.18 KB, text/plain)
2015-12-11 06:00 UTC, Humberto Israel Perez Rodriguez
no flags Details
xrandr output before unplugging (1.25 KB, text/plain)
2016-05-26 21:25 UTC, Jairo Miramontes
no flags Details
Attaching xrandr output after plugging monitor back in (1.24 KB, text/plain)
2016-05-26 21:26 UTC, Jairo Miramontes
no flags Details
dmesg_BSW (53.87 KB, text/plain)
2016-08-03 21:38 UTC, Humberto Israel Perez Rodriguez
no flags Details
Xorg.0_BSW (30.80 KB, text/plain)
2016-08-03 21:38 UTC, Humberto Israel Perez Rodriguez
no flags Details
xrandr_BSW (3.90 KB, text/plain)
2016-08-03 21:38 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Elio 2015-09-23 17:07:22 UTC
System enviroment
------------------------------

Platform: SKL-U
OS: Ubuntu 14.04
Kernel = 4.2 drm-intel-testing 2015-08-28.
Mesa = 10.6.7
xf86-video-intel = 2.99.917 
libdrm = 2.4.64 
libva = 1.6.1 
vaapi-intel-driver = 1.6.1
Cairo = 1.14.2 
Xorg Xserver = 1.17.2 
intel-gpu-tools = v1.12 

Tests steps:

X start
"do rotation: 
xrandr --output ${DISPLAY1} --rotation (left|right|normal|inverted) --output ${DISPLAY2} --rotation (left|right|normal|inverted)"
Unplug the monitor
Plugin the monitor

X can start successfully
The two screens rotate successfully
Monitor is off
Monitor displays correctly the rotated screen

Actual result:

After plugin back the monitor doesn't keep the rotated value on the screen changing back to original state, this happens with all rotations and with all the monitors, no matter the pipe number.
Comment 1 Chris Wilson 2015-09-23 17:16:58 UTC
Paste the output of "xrandr" at each stage and find out who is executing the change in configuration (as neither the kernel or xserver will do it by themselves).
Comment 2 Elio 2015-12-10 22:22:06 UTC
Created attachment 120456 [details]
Dme
Comment 3 Humberto Israel Perez Rodriguez 2015-12-11 05:59:28 UTC
The issue still present on SKL-Y and the latest configuration, attached dmesg.log and Xorg.log



 --- Hardware information ---
Motherboard model             : Skylake Client platform
Motherboard type              : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer      : Intel Corporation
CPU information               : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
GPU Card                      : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
KSC                           : 1.15

Linux distribution: Ubuntu 15.10 LTS 64 bits
Kernel: 4.3 mainline from https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v4.3
Bios SKL: SKLSE2R1.R00.B104.B01.1511110114)
xorg-server-1.18.0 from http://cgit.freedesktop.org/xorg/xserver
libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm/
xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
mesa-11.0.4 from http://cgit.freedesktop.org/mesa/mesa/
libva-1.6.2.pre1 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver 1.6.2.pre1 from http://cgit.freedesktop.org/vaapi/intel-driver
cairo 1.14.4 from http://cgit.freedesktop.org/cairo
Rendercheck 1.5 from http://cgit.freedesktop.org/xorg/app/rendercheck
SKL-Y :  DMC 1.23 and GUC 4.3 firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares
IGT 1.13: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/commit/?id=2db78a4995a8ee298ae0cd68879baf80407a0e5e
Add Comment
Comment 4 Humberto Israel Perez Rodriguez 2015-12-11 06:00:17 UTC
Created attachment 120458 [details]
dmesg.log
Comment 5 Humberto Israel Perez Rodriguez 2015-12-11 06:00:56 UTC
Created attachment 120459 [details]
Xorg.log
Comment 6 Luis Botello 2016-03-31 22:30:43 UTC
This issue also happens on BXT-P with the following configuration:


Hardware configuration
=======================
Platform	BXT - P (APL)
Motherboard model	Apollo Lake
Motherboard type	 NOTEBOOK Hand Held
Motherboard manufacturer	Intel Corp.
CPU family	Other
CPU information	06/5c
GPU Card	Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller])
Memory ram	8 GB


Software configuration
=======================
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67-11-gea78c17 
	 commit : ea78c17 
	 author : Emil Velikov <emil.l.velikov@gmail.com> 
	 age : 20 hours ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.1.2 
	 commit : 7bcd827 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 7 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917-590-g094924f 
	 commit : 094924f 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 4 days ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0-1-g2339d10 
	 commit : 2339d10 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 13 days ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0-5-g759e44d 
	 commit : 759e44d 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 13 days ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 4 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.0-254-g44e1c97 
	 commit : 44e1c97 
	 author : Olivier Fourdan <ofourdan@redhat.com> 
	 age : 8 days ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-129-g41a26b5 
	 commit : 41a26b5 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 26 hours ago  


kernel configuration
=====================
Branch : drm-intel-nightly
commit f5d413cccefa1f93d64c34f357151d42add63a84
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Thu Mar 24 14:35:16 2016 +0000

    drm-intel-nightly: 2016y-03m-24d-14h-34m-29s UTC integration manifest
Kernel version : 4.5.0
Architecture : source amd64 all
Comment 7 yann 2016-04-29 10:56:50 UTC
Milestone feature blocker so increasing priority
Comment 8 Jani Nikula 2016-05-04 09:40:40 UTC
(In reply to Chris Wilson from comment #1)
> Paste the output of "xrandr" at each stage and find out who is executing the
> change in configuration (as neither the kernel or xserver will do it by
> themselves).

This.
Comment 9 yann 2016-05-04 16:55:48 UTC
Ricardo, can you work with the team and get more log with xrand?
thanks
Comment 10 Jairo Miramontes 2016-05-26 21:25:05 UTC
Created attachment 124115 [details]
xrandr output before unplugging

Attaching output of xrandr before unplugging
Comment 11 Jairo Miramontes 2016-05-26 21:26:39 UTC
Created attachment 124116 [details]
Attaching xrandr output after plugging monitor back in

Xrandr output after plugging monitor back in, rotation is lost
Comment 12 Jairo Miramontes 2016-05-26 21:42:06 UTC
So I added the output of xrandr, but I doubt I can find much information there on who executed the change in configuration, Chris, can you point me to the right direction? any log that you suggest so I can take a look at it
Comment 13 cprigent 2016-05-27 13:25:44 UTC
Reassigned to Chris to check logs and question from Jairo.
Comment 14 yann 2016-06-24 10:12:53 UTC
Changing to high since this is not a milestone blocker.

BTW, I would like to confirm what is the expected behavior here and therefore if this is a real bug.
Comment 15 Humberto Israel Perez Rodriguez 2016-08-03 21:38:05 UTC
the rotation is dismissed also after wake up the system from s3 with the following configuration

Kernel version,4.7.0-mainline # From 01.org
Linux distribution,Ubuntu 16.04.1 LTS.
Architecture,64-bit,
Mesa version,11.2.2,
xf86-video-intel version,2.99.917,
Xorg-Xserver version,1.18.3,
libdrm version,2.4.68,
libva version,1.7.1-0intel1,
VAAPI-Intel-Driver version,1.7.1-0intel1,
Cairo version,1.15.2-0intel1,
Intel GPU Tools version,1.15-1intel1,
Bios revision,0.33
KSC revision,0.16

 === Hardware information ===,
Platform,BSW,
Motherboard model,10G9000NUS-,
Motherboard type,BRASWELL Desktop,
Motherboard manufacturer,LENOVO,
CPU family,Pentium,
CPU information,Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz,
GPU Card,Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller]),


Attachments
=========================
Xorg.0_BSW.log
xrandr_BSW.log
dmesg_BSW.log
Comment 16 Humberto Israel Perez Rodriguez 2016-08-03 21:38:28 UTC
Created attachment 125515 [details]
dmesg_BSW
Comment 17 Humberto Israel Perez Rodriguez 2016-08-03 21:38:43 UTC
Created attachment 125516 [details]
Xorg.0_BSW
Comment 18 Humberto Israel Perez Rodriguez 2016-08-03 21:38:51 UTC
Created attachment 125517 [details]
xrandr_BSW
Comment 19 Elio 2016-08-03 21:46:01 UTC
The problem persists with following configuration on SKL

Kernel version,4.6.4-301
Linux distribution,Fedora 24 
Architecture,64-bit,
Mesa version,11.2.2,
xf86-video-intel version,2.99.917,
Xorg-Xserver version,1.18.3,
libdrm version,2.4.68,
libva version,1.7.1-0intel1,
VAAPI-Intel-Driver version,1.7.1-0intel1,
Cairo version,1.15.2-0intel1,
Intel GPU Tools version,1.15-1intel1,


--- Hardware information ---
Motherboard model             : Skylake Client platform
Motherboard type              : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer      : Intel Corporation
CPU information               : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
Comment 20 maria guadalupe 2016-11-15 16:04:59 UTC
The problem persists with following configuration over BDW (ubuntu 32,64 bits and Fedora 32, 64bits)

configuration for 64bits

xf86-video-intel : xorg-x11-drv-intel-2.99.917-24.20160712.fc24.x86_64
mesa : mesa-libgbm-12.0.3-2.fc24.x86_64
cairo : cairo-1.15.2-24.intel20162
drm : libdrm-2.4.71-2.fc24.x86_64
libva : libva-intel-driver:x86_64 (1.7.2-24.intel20162)

configuration for 32bits

xf86-video-intel : xorg-x11-drv-intel-2.99.917-24.20160712.fc24.i686
mesa : mesa-libgbm-12.0.3-2.fc24.i686
cairo : cairo-1.15.2-24.intel20162.i686
drm : libdrm-2.4.71-2.fc24.i686
libva : libva-intel-driver 1.7.2-24.intel20162.i686
Comment 21 Luis Botello 2016-11-15 21:29:30 UTC
Issue is still present on KBL with the same SW config as previous comment:

Motherboard model               : KabylakeClientplatform
Motherboard type                : KabylakeUDDR3LRVP7 Laptop
CPU information                 : Genuine Intel(R) CPU 0000 @ 1.80GHz
GPU Card                        : Intel Corporation Device 5926 (rev 03) (prog-if 00 [VGA controller])
Comment 22 Elio 2016-11-24 18:04:04 UTC
All logs are attached, resigning an changing state
Comment 23 Humberto Israel Perez Rodriguez 2017-02-07 20:55:28 UTC
the issue still occurs with the following configuration on SKL

======================================
             Software
======================================
kernel version            : 4.8.0-34-generic
architecture              : x86_64
os version                : Ubuntu 16.10
os codename               : yakkety
kernel driver             : i915
bios revision             : 5.6
bios release date         : 09/29/2016

======================================
        Graphic drivers
======================================
mesa                      : 12.0.3
xorg-xserver              : 1.18.4
libva                     : 1.7.3-2
vaapi (intel-driver)      : 1.7.3
intel-gpu-tools           : 1.16-1
xserver-xorg-video-intel  :2:2.99.917-git20160706
Comment 24 Ricardo 2017-05-09 17:37:21 UTC
Adding tag into "Whiteboard" field - ReadyForDev
The bug still active
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 25 Maarten Lankhorst 2017-06-12 16:01:23 UTC
Could this be retested on drm-tip? Issue is likely fixed with Ville's watermark changes.
Comment 26 Jari Tahvanainen 2017-06-13 12:33:32 UTC
Assuming PatchMerged based on the previous comment.
Comment 27 Ricardo 2017-06-13 13:03:34 UTC
Maria can you please verify if this is solved.. also maybe impacted by DP work
Comment 28 maria guadalupe 2017-06-14 16:19:50 UTC
(In reply to Ricardo from comment #27)
> Maria can you please verify if this is solved.. also maybe impacted by DP
> work

The issue still present over KBL with the following configuration ;

steps
=====================================
Tests steps:

X start
"do rotation: 
xrandr --output ${DISPLAY1} --rotation (left|right|normal|inverted) --output ${DISPLAY2} --rotation (left|right|normal|inverted)"
Unplug the monitor
Plugin the monitor

Software
======================================
kernel version              : 4.12.0-rc4-drm-tip-ww24-commit-4f89fbd+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 161.11


======================================
        Graphic drivers
======================================
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
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         : eDP-1 DP-1 DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 29 Ricardo Madrigal 2017-08-14 13:55:58 UTC
The issue still present over KBL with the following configuration ;

steps
=====================================
Tests steps:

X start
"do rotation: 
xrandr --output ${DISPLAY1} --rotation (left|right|normal|inverted) --output ${DISPLAY2} --rotation (left|right|normal|inverted)"
Unplug the monitor
Plugin the monitor

======================================
             Software
======================================
kernel version              : 4.13.0-rc4-drm-tip-2d0288b5b-ok+
hostname                    : KBL-5
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 05/03/2017
ksc                         : 8.1
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.70
libva                       : 1.7.1-2
vaapi (intel-driver)        : 1.7.1
cairo                       : 1.14.6-1build1
intel-gpu-tools             : 1.16-1

======================================
             Hardware
======================================
motherboard id             : NUC7i7BNB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
gpu card                   : Intel Corporation Device 5927 (rev 06) (prog-if 00 [VGA controller])
memory ram                 : 15.57 GB
max memory ram             : 32 GB
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                 : 167GiB (180GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1 DP-2
Comment 30 Ricardo 2017-08-24 20:32:02 UTC
*** Bug 102304 has been marked as a duplicate of this bug. ***
Comment 31 maria guadalupe 2017-10-11 22:37:29 UTC
This issue also happens on CFL with the following configuration: 

======================================
             Software
======================================
kernel version              : 4.14.0-rc4-drm-tip-ww41-commit-cdca11b+
hostname                    : gfx-system
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
[sudo] password for gfx: kernel driver               : i915
bios revision               : 98.0
bios release date           : 07/30/2017
ksc                         : 1.5
hardware acceleration       : enabled
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
        Graphic drivers
======================================
mesa                        : 17.3.0-devel (git-7824cb4b03
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.83
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Coffee Lake - 2.0.1                                                                                                             .pre1 (1.8.3-154-gc8f2493)
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-390-gd8954f05
intel-gpu-tools (commit)    : d8954f05

======================================
             Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeHDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 2.80GHz
gpu card                   : Intel Corporation Device 3e9b (prog-if 00 [VGA cont                                                                                                             roller])
memory ram                 : 31.29 GB
max memory ram             : 32 GB
display resolution         : 3200x1800
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 74GiB (80GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : SUCCESS
guc version wanted        : 9.14
guc version found         : 9.14
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet splash i915.enable_guc_loading=2 i915.enable_guc_submission=2 drm.debug=0x                                                                                                             e i915.alpha_support=1 resume=/dev/nvme0n1p2
Comment 32 Hector Velazquez 2017-10-17 16:36:45 UTC
This issue also happens on GLK with the following configuration:

======================================
	     Software
======================================
kernel version              : 4.13.5-041305-generic
hostname                    : GLK-1-GLKRVP1DDR405
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 62.30
bios release date           : 08/22/2017
ksc                         : 1.48
hardware acceleration       : enabled
swap partition              : enabled on (/dev/sda2)

======================================
	Graphic drivers
======================================
mesa                        : 17.1.10 (git-834d6c60
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.83
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Gemini Lake - 2.0.0.pre2 (2.0.0.pre2)
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20
intel-gpu-tools (commit)    : 7f93a263

======================================
	     Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
gpu card                   : Intel Corporation Device 3184 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.63 GB
max memory ram             : 16 GB
display resolution         : 7808x2160
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 1
socket                     : Other
signature                  : Type 0, Family 6, Model 122, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 316800 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
huc fw loaded             : yes

======================================
	     kernel parameters
======================================
quiet splash i915.alpha_support=1 pci=pcie_bus_safe intel_iommu=igfx_off auto i915.enable_guc_loading=2 i915.enable_guc_submission=2 drm.debug=0xe resume=/dev/sda2 fastboot
Comment 33 Hector Velazquez 2017-11-02 22:21:33 UTC
This tests has failing on SKL QA

Tests steps:

X start
"do rotation: 
xrandr --output ${DISPLAY1} --rotation (left|right|normal|inverted) --output ${DISPLAY2} --rotation (left|right|normal|inverted)"
Unplug the monitor (any monitor)
Plugin the monitor

======================================
	     Software
======================================
kernel version              : 4.13.5-041305-generic
hostname                    : KBL-01
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016
hardware acceleration       : enabled
swap partition              : enabled on (/dev/sda2)

======================================
	Graphic drivers
======================================
mesa                        : 17.1.10 (git-834d6c60
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.83
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Skylake - 2.0.0.pre2 (2.0.0.pre2)
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20
intel-gpu-tools (commit)    : 7f93a263

======================================
	     Hardware
======================================
platform                   : Skylake 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         : 1920x1080
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-1 DP-2 DP-3

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26
guc fw loaded             : SUCCESS
guc version wanted        : 6.1
guc version found         : 6.1
huc fw loaded             : yes

======================================
	     kernel parameters
======================================
quiet splash drm.debug=0xe pci=pcie_bus_safe intel_iommu=igfx_off i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda2
Comment 34 Hector Velazquez 2017-11-28 16:07:25 UTC
This test was failing on IVB QA

rotation is dismissed after plugging back monitors

====================================================
Tests steps:
====================================================
X start
"do rotation: 
xrandr --output ${DISPLAY1} --rotation (left|right|normal|inverted) --output ${DISPLAY2} --rotation (left|right|normal|inverted)"
Unplug the monitor (any monitor)
Plugin the monitor


This is my configuration:
======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.83-56-g18ffe48
    commit: 18ffe485cdfa41d48b6f2d3080cb990d28c27d57

Component: mesa
    tag: 17.2-branchpoint-3591-gce221cb
    commit: ce221cbbcf25238771b9a59e06ce4995e08c091e

Component: macros
    tag: util-macros-1.19.1-3-g6694c97
    commit: 6694c973c8c2b5fae5934a49578f69d2817ab49c

Component: xproto
    tag: xproto-7.0.31-6-gab86666
    commit: ab8666661fc68f075b8d6ffabe22c6b577c30ac1

Component: glproto
    tag: glproto-1.4.17-8-g3f6d569
    commit: 3f6d569b583e3df9ca130f00548837e560d185c3

Component: dri2proto
    tag: dri2proto-2.8-4-gb118dfb
    commit: b118dfbf91dcec6d82dfddc3f41031e23ea3c039

Component: xserver
    tag: xorg-server-1.19.0-494-gfc7fb5b
    commit: fc7fb5bbe1c8f787e53500b9a2ca4af815f310d1

Component: libXfont
    tag: libXfont2-2.0.2
    commit: d82dfe25491c599f650b2ad868772c3b8e6ba7bc

Component: xf86-input-evdev
    tag: xf86-input-evdev-2.10.5-3-g8c1058f
    commit: 8c1058f2ebd9355068fb1b67329f3428ca64775b

Component: xf86-input-libinput
    tag: xf86-input-libinput-0.26.0
    commit: 2be6487de417473aac85ebd800392cdd8604c4a6

Component: xf86-video-fbdev
    tag: xf86-video-fbdev-0.4.4-11-g3cf9923
    commit: 3cf99231199bd5bd9e681e85d9da1f9eb736e3e7

Component: xf86-video-vesa
    tag: xf86-video-vesa-2.3.4-5-gb9f9c95
    commit: b9f9c95ca2383460aa283adeeee6e0a66eed722b

Component: xf86-video-vmware
    tag: xf86-video-vmware-13.0.2-55-g08ad438
    commit: 08ad438e2793248452dab100822cbfcaa05b9938

Component: xf86-video-qxl
    tag: xf86-video-qxl-0.1.5-9-gee8f904
    commit: ee8f904ab0d590c741e640e9548c472e6a58b3cc

Component: xf86-video-chips
    tag: xf86-video-chips-1.2.7-5-gc2711ee
    commit: c2711eedaac20af973721111a909a6f575078410

Component: x11proto
    tag: xproto-7.0.31-6-gab86666
    commit: ab8666661fc68f075b8d6ffabe22c6b577c30ac1

Component: libxtrans
    tag: xtrans-1.3.5-12-g2836667
    commit: 28366676effaa512e43bfd2276a317389a992511

Component: libX11
    tag: libX11-1.6.5-21-ge835a9d
    commit: e835a9dcc3362b5e92893be756dd7ae361e64ced

Component: libXext
    tag: libXext-1.3.3-7-ga07b4bb
    commit: a07b4bb8290d0c1bba7bcecd5bb6896fbe1b169c

Component: xrdb
    tag: xrdb-1.1.0-15-gae86081
    commit: ae86081a92522653ff1523c92524ff892f75d496

Component: xf86-video-intel
    tag: 2.99.917-800-g37a682a
    commit: 37a682aa8a420a75a920e0fa7cf8659f834ed60f

Component: xkbcomp
    tag: xkbcomp-1.4.0-1-g3e2a6ad
    commit: 3e2a6ad4edfbf21c3f76f8319f0039b7f589944f

Component: xf86-input-wacom
    tag: xf86-input-wacom-0.34.2-14-g4a96a58
    commit: 4a96a58f2693b291b91e21b7e34f5c5e04015f3f

Component: pixman
    tag: pixman-0.33.6-24-g85467ec
    commit: 85467ec308f8621a5410c007491797b7b1847601

Component: libpciaccess
    tag: libpciaccess-0.13.5-2-g13854f6
    commit: 13854f603f720c45caf51d785a874d3c7e8c5f58

Component: libinput
    tag: 1.8.1
    commit: cc9a4debd3889a3b3a5139576ea873eebcf7dde7

Component: xkeyboard-config
    tag: xkeyboard-config-2.22-1-ga6cba79
    commit: a6cba79b4ba1760b348db5145f597514e1773a16

Component: xf86-input-mouse
    tag: xf86-input-mouse-1.9.2-4-g3c8f243
    commit: 3c8f243b750a92d5837a449d344ff884dbd02b57

Component: xf86-input-keyboard
    tag: xf86-input-keyboard-1.9.0-3-g940f441
    commit: 940f44149d1037cfc14bbb3628044a2bd002c33e

Component: xf86-input-synaptics
    tag: xf86-input-synaptics-1.9.0-4-g59eb0c3
    commit: 59eb0c372b615fce5039e69b5067adc0efe5b64b

Component: libva
    tag: 2.0.0.pre2-11-gb95c2a4
    commit: b95c2a4c648d9e34770c4364854d4501f7bca3db

Component: libva-utils
    tag: 2.0.0.pre2-5-g071dd74
    commit: 071dd74acbf6ddf675924dc579771e226f87f7a9

Component: intel-vaapi-driver
    tag: 2.0.0.pre2-11-g35fc70f
    commit: 35fc70f09e343ccb91c7957757ec27a5c0f9fcd1

Component: cairo
    tag: 1.15.8-57-g17e2abc
    commit: 17e2abc992b012ac3dceb2f66fba17d312ae6d77

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-117-gf8f6db9
    commit: f8f6db9ced0061229018fa658cf1c80c56464686

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

======================================
	     Software
======================================
kernel version              : 4.14.0-drm-tip-ww47-commit-f710441+
hostname                    : gfx-ThinkPad-T430
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 2.71
bios release date           : 08/08/2016
ksc                         : 1.13
hardware acceleration       : enabled
swap partition              : enabled on (/dev/sda2)

======================================
	Graphic drivers
======================================
mesa                        : 17.4.0-devel (git-ce221cbbcf
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.88
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Ivybridge Mobile - 2.0.1.pre1 (2.0.0.pre2-11-g35fc70f)
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-117-gf8f6db9c
intel-gpu-tools (commit)    : f8f6db9c

======================================
	     Hardware
======================================
motherboard model          : 2349AZ2
motherboard id             : 2349AZ2
form factor                : Notebook
manufacturer               : LENOVO
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
gpu card                   : Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 3.68 GB
max memory ram             : 16 GB
display resolution         : 5440x2160
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 58
cpu stepping               : 9
socket                     : Socket rPGA988B
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : LVDS-1 DP-1

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

======================================
	     kernel parameters
======================================
quiet splash drm.debug=0xe resume=/dev/sda2
Comment 35 Rodrigo Vivi 2018-02-07 22:58:09 UTC
The use case is valid, but I'm inclined to close this as NOTOURBUG.
As Chris already pointed out nor kernel or x saves this information for the user.
So if no one request this mode we will use the preferred mode determined
by panel's EDID info.
Comment 36 Jani Saarinen 2018-03-29 07:11:14 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 37 Elizabeth 2018-04-04 17:20:41 UTC
This has the same behavior as reported before, but based on comment 1 and comment 35, I believe this can be closed as NOTOURBUG. Please reopen otherwise, thank you.
Comment 38 Hector Velazquez 2018-04-09 15:38:44 UTC
This test was failing on APL/BXT QA

rotation is dismissed after plugging back monitors

====================================================
Tests steps:
====================================================
X start
"do rotation: 
xrandr --output ${DISPLAY1} --rotation (left|right|normal|inverted) --output ${DISPLAY2} --rotation (left|right|normal|inverted)"
Unplug the monitor (any monitor)
Plugin the monitor

====================================================
Software:
====================================================

OS= Ubuntu 17.10 Artful x86-64
Kernel = Linux gfx-desktop 4.16.0-041600-generic #201804012230 SMP Sun Apr 1 22:31:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
3D:
Mesa = 18.0.0
2D:vainfo
xf86-video-intel = 2.99.917
Xorg/xserver =  1.19.99.901
Cairo =   1.15.10
Cross-driver middleware:
libdrm =  2.4.91
Media:
intel-vaapi-driver =  2.1.0 <- other version
libva = 2.1.0
libva-utils = 2.1.0
Validation Tools:
intel-gpu-tools = 1.22
firmware: 
DMC 1.07
GuC 9.29
HuC 1.07.1398


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.