Bug 94183

Summary: [KBL] xrandr rotation is not working
Product: xorg Reporter: Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
dmesg.log
none
Xorg.log_after_xrandr
none
Xorg.0.log.old logfile none

Description Humberto Israel Perez Rodriguez 2016-02-16 22:11:12 UTC
Created attachment 121792 [details]
Xorg.0.log

==System Environment==
--------------------------
 --- Software information ---	
 ++ Kernel version	4.5.0-rc3-nightly+
 ++ Linux distribution	Ubuntu 15.10
 ++ Architecture	64-bit
 ++ Mesa version	11.1.2
 ++ xf86-video-intel version	2.99.917
 ++ Xorg-Xserver version	1.17.4
 ++ DRM version	2.4.65
 ++ Cairo version	1.15.2
 ++ Kernel driver in use	i915
	
 --- Hardware information ---	
 ++ Motherboard model	Kabylake Client platform
 ++ Motherboard type	Skylake U DDR3L RVP7 Laptop
 ++ Motherboard manufacturer	Intel Corporation
 ++ CPU family	Other
 ++ CPU information	Genuine Intel(R) CPU 0000 @ 2.60GHz
 ++ GPU Card	Intel Corporation Device 5916 (prog-if 00 [VGA controller])



==kernel==
--------------------------
drm-intel-nightly
commit cdb3ed2924659856334b1f78fab72e875139bc78
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Feb 14 22:41:16 2016 +0100

    drm-intel-nightly: 2016y-02m-14d-21h-40m-55s UTC integration manifest


==Bug detailed description==
-----------------------------
When try to rotate the screen ubuntu log off 

==Reproduce steps==
---------------------------- 
1-try to rotate the display in any angle with xrandr --output eDP1 --rotation left

==Actual result==
---------------------------- 
Ubuntu log off when try to rotate the screen

==Expected result==
---------------------------- 
rotation must be done without any issues


== attachments == :
-------------------
dmesg.log
Xorg.0.log
Comment 1 Humberto Israel Perez Rodriguez 2016-02-16 22:11:30 UTC
Created attachment 121793 [details]
dmesg.log
Comment 2 Chris Wilson 2016-02-17 09:26:03 UTC
Please attach the xorg.log from after applying the xrandr transform.
Comment 3 Humberto Israel Perez Rodriguez 2016-02-17 16:31:36 UTC
Created attachment 121818 [details]
Xorg.log_after_xrandr
Comment 4 Chris Wilson 2016-02-17 18:59:02 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #3)
> Created attachment 121818 [details]
> Xorg.log_after_xrandr

That logfile doesn't contain the rotation, so I still do not know what is happening as the xrandr command is performed. Please find the right logfile for the failure.
Comment 5 Humberto Israel Perez Rodriguez 2016-02-17 21:04:11 UTC
(In reply to Chris Wilson from comment #4)
> (In reply to Humberto Israel Perez Rodriguez from comment #3)
> > Created attachment 121818 [details]
> > Xorg.log_after_xrandr
> 
> That logfile doesn't contain the rotation, so I still do not know what is
> happening as the xrandr command is performed. Please find the right logfile
> for the failure.

i dont know why the latest Xorg.0.log does not contain the error, maybe i need some variables, if yes could you tell me which are please ?
Comment 6 Chris Wilson 2016-02-17 22:47:06 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #5)
> (In reply to Chris Wilson from comment #4)
> > (In reply to Humberto Israel Perez Rodriguez from comment #3)
> > > Created attachment 121818 [details]
> > > Xorg.log_after_xrandr
> > 
> > That logfile doesn't contain the rotation, so I still do not know what is
> > happening as the xrandr command is performed. Please find the right logfile
> > for the failure.
> 
> i dont know why the latest Xorg.0.log does not contain the error, maybe i
> need some variables, if yes could you tell me which are please ?

Check if the Xorg.0.log.old contains the error. If not, the bug would not appear to be in the Xserver.
Comment 7 Jairo Miramontes 2016-02-29 22:38:20 UTC
Created attachment 122043 [details]
Xorg.0.log.old logfile

Attaching Xorg.0.log.old file which does have an entry for left rotation on eDP
Comment 8 Chris Wilson 2016-03-01 11:57:51 UTC
So an actual segfault in the ddx. Step 1 install the upstream ddx, step 2 build with full-debug, step 3 attach gdb and get a full backtrace.
Comment 9 Rami 2016-04-07 14:58:12 UTC
Not reproduced on kbl.

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.