"xrandr -o left" at wrong monitor in dual-monitor configuration always messes up both monitor displays

Aaron Plattner aplattner at nvidia.com
Sun Sep 26 15:23:58 PDT 2010


On Sun, Sep 26, 2010 at 10:00:22AM -0700, ddreamer at ms93.url.com.tw wrote:
> My Equipment
>
>  *   ASUS M51SN with nVIDIA 9500M
>  *   Ubuntu 10.04
>  *   Current nVIDIA proprietary driver
>  *   2 Monitors: one with the laptop, another is SAMSUNG 24" supporting HDMI
>
> I have configured the two monitors to use separate X server using nvidia-settings.
>
> "xrandr -q" indicates the monitor with the laptop as screen 0 and the SAMSUNG screen
> 1.
>
> The 24" display can only be successfully rotated by opening a terminal in that 24"
> monitor with the command of "xrandr -o left".
>
> Adding "--screen 1" to the command above works fine.
>
>
> However, while opening a terminal in the laptop(screen 0), entering the above commands with
> "--screen 1" option will always deteriorate both screens so that I must restart X.

Are you running Compiz?  I have a similar problem where Compiz appears to
get confused about the layout of a pair of screens when you rotate one of
them.  The terminal you used to run xrandr should still have the keyboard
focus, so try running "killall compiz" (or possibly "killall compiz.real")
to see if your screens get fixed.  If you start compiz again with the
screen already rotated then it seems to work.

I haven't gotten around to tracking down exactly where the bug is,
unfortunately.

-- Aaron



More information about the xorg mailing list