View Single Post
Old 07-04-07, 01:45 PM   #1
muzzol
Registered User
 
Join Date: Apr 2003
Posts: 12
Question xrandr with metamodes

hi!

im trying to configure a dual setup configuration on my laptop. i want basically two modes

* DFP 1280 - CRT off
* DFP 1024 - CRT 1024 (clone)

so i want to switch between my laptop display and laptop+external monitor display.

i setup metamodes with nvidia-settings and write to xorg.conf, but when i try to change it from xrandr i get a 2048 not cloned desktop. is there any additional setting i must write in xorg.conf?

related information:

Code:
$ xrandr 
 SZ:    Pixels          Physical       Refresh
*0   1280 x 800    ( 433mm x 270mm )  *50  
 1   2048 x 768    ( 693mm x 260mm )   51  
 2   2048 x 800    ( 694mm x 271mm )   50  
Current rotation - normal
Current reflection - none
Rotations possible - normal 
Reflections possible - none
Code:
$ cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Sat May 26 01:05:11 PDT 2007

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

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

Section "ServerFlags"
    Option         "Xinerama" "0"
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      "Nvidia Default Flat Panel"
    HorizSync       29.0 - 49.0
    VertRefresh     0.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7600"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "DFP: 1280x800 +0+0, CRT: NULL; DFP: 1024x768 +0+0, CRT: nvidia-auto-select +1024+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
thanks in advance
muzzol is offline   Reply With Quote