You are not logged in.

#1 2012-11-26 03:40:57

miscsubbin
Member
Registered: 2012-10-30
Posts: 37

[SOLVED] Rotate only one screen

I have two monitors, and one is in portrait. I would like to be able to rotate one of the X screens so this setup makes sense. I feel like I've tryed everything, but nothing seems to be able to rotate it at all, let alone one screen. Here's my current xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.64  (buildmeister@swio-display-x86-rhel47-12)  Tue Oct 30 12:04:34 PDT 2012


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 1080 
    Screen      1  "Screen1" 1920 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VE228"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VE228"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
    Option         "Rotate" "Right"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 570"
    BusID          "PCI:4:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 570"
    BusID          "PCI:3:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-0: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-1: 1920x1080 +0+0 { Rotation=right }"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Also, this happens when I run xranr, and I can't seem to find anything online about it.

RANDR extension missing

Thanks.

Last edited by miscsubbin (2012-11-26 16:33:48)

Offline

#2 2012-11-26 06:58:30

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,816

Re: [SOLVED] Rotate only one screen

Get rid of xorg.conf, reboot, then run xrandr.. xorg.conf hasn't been needed in quite a while, and it might interfere with xrandr.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2012-11-26 07:08:09

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,019

Re: [SOLVED] Rotate only one screen

I found nvidia-xconfig to be pretty good for setting up the displays here. I don't think xrandr works with the nvidia blob so it might be a better option.


You're just jealous because the voices only talk to me.

Offline

#4 2012-11-26 13:23:09

miscsubbin
Member
Registered: 2012-10-30
Posts: 37

Re: [SOLVED] Rotate only one screen

ngoonee wrote:

Get rid of xorg.conf, reboot, then run xrandr.. xorg.conf hasn't been needed in quite a while, and it might interfere with xrandr.

Ok, so now I try to run this and it just shows me the help. Is there something I'm doing wrong? I have a 1920x1080 monitor on the left in landscape connected to the first DVI port on my first video card, and another 1920x1080 monitor on the right in portrait connected to HDMI on my second video card.

xrandr --output DVI-I-1 --mode 1920x1080 --pos 0x420 --ouput HDMI-1 --mode 1920x1080 --rotate right --pos 1920x0

Here's my xrandr --prop:

  % xrandr --prop                                                        !1535
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
	SignalFormat:	VGA
		supported: VGA         
	ConnectorType:	DVI-I
	ConnectorNumber: 0 (0x00000000)
	_ConnectorLocation: 0 (0x00000000)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
	SignalFormat:	VGA
		supported: VGA         
	ConnectorType:	DVI-I
	ConnectorNumber: 1 (0x00000001)
	_ConnectorLocation: 1 (0x00000001)
DVI-I-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
	EDID:
		00ffffffffffff000469fa2201010101
		0f15010380301b78eec4f5a3574a9c23
		115054bfef00714f818081409500a940
		b300d1c00101023a801871382d40582c
		4500132b2100001e000000fd00324c1e
		5311000a202020202020000000fc0056
		453232380a20202020202020000000ff
		0042344c4d51533031303632300a00c2
	SignalFormat:	TMDS
		supported: TMDS        
	ConnectorType:	DVI-I
	ConnectorNumber: 0 (0x00000000)
	_ConnectorLocation: 0 (0x00000000)
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3     56.2  
   640x480        75.0     72.8     59.9  
HDMI-0 disconnected (normal left inverted right x axis y axis)
	SignalFormat:	TMDS
		supported: TMDS        
	ConnectorType:	HDMI
	ConnectorNumber: 2 (0x00000002)
	_ConnectorLocation: 2 (0x00000002)
DVI-I-3 disconnected (normal left inverted right x axis y axis)
	SignalFormat:	TMDS
		supported: TMDS        
	ConnectorType:	DVI-I
	ConnectorNumber: 1 (0x00000001)
	_ConnectorLocation: 1 (0x00000001)
moetunes wrote:

I found nvidia-xconfig to be pretty good for setting up the displays here. I don't think xrandr works with the nvidia blob so it might be a better option.

This trys to make an xorg.conf, but I'm under the impression that that's a bad idea?

EDIT: I fixed it with this xrandr command:

xrandr --output DVI-I-2 --pos 0x420 --ouput HDMI-0 --rotate right --pos 1920x0

and changing my monitors to being plugged into the same card.

Last edited by miscsubbin (2012-11-26 16:33:33)

Offline

#5 2012-11-26 19:08:26

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,019

Re: [SOLVED] Rotate only one screen

I don't know if it is a bad idea or not but X seems happy enough. From the log

[506295.382] (==) Using config file: "/etc/X11/xorg.conf"
[506295.411] (==) Using config directory: "/etc/X11/xorg.conf.d"

You're just jealous because the voices only talk to me.

Offline

Board footer

Powered by FluxBB