View Single Post
Old 11-22-10, 01:32 PM   #40
cosurgi
Registered User
 
Join Date: May 2005
Posts: 6
Default Re: Rotation of only one screen (with TwinView)

It works guys. what are your problems?

Code:
Section "Files"
    FontPath        "unix/:7100"
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 "Device"
    Identifier     "VideoDevice0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600"
    Screen         0
EndSection

Section "Device"
    Identifier     "VideoDevice1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600"
    Screen         1
EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG W2452"
    HorizSync       30.0 - 81.0
    VertRefresh     49.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "SyncMaster 194T"
    HorizSync       30.0 - 80.0
    VertRefresh     49.0 - 75.0
    Option         "RandRRotation" "on"
    Option         "Rotate" "CCW"
    Option         "DPMS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "VideoDevice0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    Virtual        1920 1280
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "VideoDevice1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
    Virtual        1024 1280
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "ServerFlags"
        Option          "Xinerama" "1"
EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 80
    #Screen      1  "Screen1" RightOf "Screen0"
    Screen      1  "Screen1" 1920 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "DRI"
        Mode    0666
EndSection
Like, because composite extension must be disabled? OepnGL works, I can drag windows from one screen to another, and everything works. It just one big desktop. Exactly the same as with two horizontal LCDs and twinview.
cosurgi is offline   Reply With Quote