Bug 726377

Summary: xrandr breaks display when mirroring
Product: Red Hat Enterprise Linux 6 Reporter: Nikola Pajkovsky <npajkovs>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED WORKSFORME QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: airlied, dhoward, tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-18 15:21:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nikola Pajkovsky 2011-07-28 12:34:50 UTC
Description of problem:
last update of xorg-x11-server-utils breaks xrandr. I have a laptop in docking station (T500) and other monitor (SyncMaster 2243bw). Monitor is connected to docking station by VGA cable.

$ xrandr -q
Screen 0: minimum 320 x 200, current 3360 x 1050, maximum 8192 x 8192
LVDS1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1680x1050      60.0*+   60.0     59.9     50.0  
   1400x1050      60.0     59.9  
   1280x1024      60.0  
   1440x900       59.9     59.9  
   1280x960       60.0  
   1360x768       60.0  
   1280x800       59.8     59.9  
   1280x768       59.9     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
VGA1 connected 1680x1050+1680+0 (normal left inverted right x axis y axis) 459mm x 296mm
   1680x1050      59.9*+
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)

I was using this command for almost an year and it works as charm. Now when I trying to mirror only laptop display survive and SyncMaster has some random non-sense. 

$ xrandr --output LVDS1 --auto --output VGA1 --auto --same-as LVDS1

$ cat ~/.xinitrc 
#!/bin/bash

[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources

#xrandr --output LVDS1 --auto --output VGA1 --auto --same-as LVDS1

# lock screen via xscreensaver
xscreensaver &

# background
display -window root ~/wallpapers/sunday_morning_ii_2560x1600.jpg &

# turn off capslock and put there ctrl
setxkbmap -layout us -option ctrl:nocaps

#conky | while read -r; do xsetroot -name "$REPLY"; done &
conky -c .conkyrc-clock &

# clock in status bar
while true; do
   xsetroot -name "$(date +"%F %R")"
   sleep 1m    # Update time every minute
done &


emacs --daemon

if test -x /home/npajkovs/.dwm/dwm
then
    exec /home/npajkovs/.dwm/dwm
else
    exec dwm
fi

Version-Release number of selected component (if applicable):
yum history 
   Updated xorg-x11-drv-evdev-2.3.2-8.el6.x86_64
    Update                     2.6.0-2.el6.x86_64
    Updated xorg-x11-drv-fbdev-0.4.2-1.el6.x86_64
    Update                     0.4.2-2.el6.x86_64
    Updated xorg-x11-drv-intel-2.14.0-1.el6.x86_64
    Update                     2.15.0-2.el6.x86_64
    Updated xorg-x11-drv-keyboard-1.4.0-3.el6.x86_64
    Update                        1.6.0-1.el6.x86_64
    Updated xorg-x11-drv-mouse-1.5.0-4.el6.x86_64
    Update                     1.7.0-4.el6.x86_64
    Updated xorg-x11-drv-qxl-0.0.14-2.el6.x86_64
    Update                   0.0.14-3.el6.x86_64
    Updated xorg-x11-drv-synaptics-1.2.1-5.el6.x86_64
    Update                         1.4.1-3.el6.x86_64
    Updated xorg-x11-drv-vesa-2.3.0-1.el6.x86_64
    Update                    2.3.0-2.el6.x86_64
    Updated xorg-x11-drv-void-1.3.0-4.el6.x86_64
    Update                    1.4.0-1.el6.x86_64
    Updated xorg-x11-font-utils-1:7.2-10.el6.x86_64
    Update                      1:7.2-11.el6.x86_64
    Updated xorg-x11-proto-devel-7.6-11.el6.noarch
    Update                       7.6-12.el6.noarch
    Updated xorg-x11-server-Xorg-1.7.7-29.el6.x86_64
    Update                       1.10.3-3.el6.x86_64
    Updated xorg-x11-server-Xvfb-1.7.7-29.el6.x86_64
    Update                       1.10.3-3.el6.x86_64
    Updated xorg-x11-server-common-1.7.7-29.el6.x86_64
    Update                         1.10.3-3.el6.x86_64
    Updated xorg-x11-server-utils-7.4-15.el6_0.2.x86_64
    Update                        7.5-5.1.el6.x86_64

How reproducible:
$ xrandr --output LVDS1 --auto --output VGA1 --auto --same-as LVDS1

Comment 2 Dave Airlie 2011-07-28 15:27:08 UTC
can you confirm downgrading this package helps as you may have picked up a new driver + server stack as well.

Comment 3 Nikola Pajkovsky 2011-07-29 09:37:49 UTC
ok, it's not a xrandr, but it's xorg-x11-drv-intel; thanks

Comment 5 Adam Jackson 2011-08-18 15:21:17 UTC
I'm unable to reproduce this on as equivalent of a setup as I have handy (Dell 2005FPW which is the same size as the Samsung, otherwise identical).

kernel-2.6.32-188.el6
xorg-x11-drv-intel-2.16.0-1.el6

Please reopen if this is still an issue for you with a current 6.2 image.

Comment 6 Nikola Pajkovsky 2011-08-18 15:59:50 UTC
intel-2.15-stable.patch patch fixes the issue...I forgot to close it :-/