Bug 103074 - After Xrandr rotate command, the linux looks like execute a logout command....
Summary: After Xrandr rotate command, the linux looks like execute a logout command....
Status: CLOSED WORKSFORME
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 12:46 UTC by Hector Velazquez
Modified: 2018-02-12 12:20 UTC (History)
1 user (show)

See Also:
i915 platform: CFL, CNL
i915 features: display/Other


Attachments
dmesg log (97.58 KB, text/plain)
2017-10-19 14:55 UTC, Armando Antonio
no flags Details
kernel log (208.77 KB, text/plain)
2017-10-19 14:55 UTC, Armando Antonio
no flags Details
kern.log (8.73 MB, text/plain)
2018-01-17 22:49 UTC, maria guadalupe
no flags Details
Xorg.0.log (16.78 KB, text/plain)
2018-01-17 22:49 UTC, maria guadalupe
no flags Details
All modes (27.51 KB, application/zip)
2018-01-18 21:32 UTC, Elio
no flags Details

Description Hector Velazquez 2017-10-03 12:46:32 UTC

    
Comment 1 Hector Velazquez 2017-10-03 12:46:38 UTC
-------------------------------------------------
==Bug detailed description==
--------------------------------------------------
when try to run the rotate commands and executed, the linux looks like execute a logout command....

-------------------------------------------------
==Steps to reproduce==
--------------------------------------------------
There are 3 display connected to the platform (1xHDMI,1xDP,1xeDP)..
1.Setup with Ubuntu 17.04 64 bits
2. after run an Xserver...
3. Try to change screens orientation with command, example:
xrandr --output HDMI2 --rotate left
xrandr --output DP1 --rotate right
xrandr --output eDP --rotate inverted

--------------------------------------------------
==Actual results==
--------------------------------------------------
After any rotate command, the linux looks like execute a logout command....


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


======================================
	     Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-0b65077+
hostname                    : gfx-CoffeeLake-Client-Platform
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
	Graphic drivers
======================================
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-781-gc899057
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-331-gc117213c
intel-gpu-tools (commit)    : c117213c

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.59 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1 DP-2

======================================
	     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
======================================
drm.debug=0xe i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda2 intel_iommu=igfx_off
Comment 2 Elizabeth 2017-10-03 15:49:57 UTC
Also happened on APL. Hector please add logs. Thanks.
Comment 3 Armando Antonio 2017-10-19 14:54:44 UTC
This issue is happening on CNL with the following configuration

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

======================================
	     Software
======================================
kernel version              : 4.14.0-rc5-drm-tip-ww42-commit-920fa32+
hostname                    : gfx-CannonLake-Client-Platform
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 100.1
bios release date           : 08/15/2017
ksc                         : 1.28
hardware acceleration       : only available on X
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
	Graphic drivers
======================================
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-796-g04b4f3b
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.84
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-29-gd4d976de
intel-gpu-tools (commit)    : d4d976de

======================================
	     Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.62 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

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

======================================
	     kernel parameters
======================================
quiet splash i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 4 Armando Antonio 2017-10-19 14:55:04 UTC
Created attachment 134918 [details]
dmesg log
Comment 5 Armando Antonio 2017-10-19 14:55:20 UTC
Created attachment 134919 [details]
kernel log
Comment 6 maria guadalupe 2018-01-17 22:48:21 UTC
The problem still hapenning with modesetting and xf86. It is failing only when rotate left and right 

---------------------------------
STEPS WITH XRANDR:
open  the terminal 
type the next command: xrandr --output <display type output> --rotate <select left/right>

output:
screen is log out when executes "left and right", this issues is not happening when apply "inveted and normal"

=====================================
STEPS WITH SYSTEM SETTING:
* go to system setting
* select Displays
* change rotation with availables modes  

output:
* screen is log out when executes "right and left" Options, this issues is not happening when apply "180 Degrees and normal"


             Software
======================================
kernel version              : 4.15.0-rc6-drm-tip-debug-ww1-commit-0cb68b0+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 118.7
bios release date           : 01/04/2018
ksc                         : 1.13
hardware acceleration       : enabled
swap partition              : enabled on (/dev/sda2)

======================================r is up-to-date
        Graphic drivers
======================================
mesa                        : 17.4.0-devel (git-0158565924
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-804-g708255c
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.89
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Coffee Lake - 2.0.1.pre1 (2.0.0-                                                                                                26-g3d5c53d)
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-261-gd86d53b0
intel-gpu-tools (commit)    : d86d53b0

======================================
             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 controller])
memory ram                 : 31.29 GB
max memory ram             : 32 GB
display resolution         : 1920x1080
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 74GiB (80GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1

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

======================================
             kernel parameters
======================================
quiet splash i915.alpha_support=1 i915.enable_guc=-1 drm.debug=0x1e log_buf_len=4M
Comment 7 maria guadalupe 2018-01-17 22:49:22 UTC
Created attachment 136818 [details]
kern.log
Comment 8 maria guadalupe 2018-01-17 22:49:49 UTC
Created attachment 136819 [details]
Xorg.0.log
Comment 9 Elio 2018-01-18 21:30:05 UTC
It seems that the Xorg.logs were from and old execution before installing latest components, sharing both, with modesetting and xf86
Comment 10 Elio 2018-01-18 21:32:51 UTC
Created attachment 136838 [details]
All modes
Comment 11 Elio 2018-01-23 16:39:03 UTC
The problem is related to xserver version and support for CFL. The problem is not present with following commit f704620e5db8305c54c6b6981


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.