You are not logged in.

#1 2007-01-04 18:44:38

Cub69
Member
From: Ottawa, Canada
Registered: 2006-01-20
Posts: 87
Website

Dual monitor question

I am running an Nvidia 5200 card.  I have an LCD panel connect to the DVI port and a CRT plugged into the VGA port.

With this config, I would like my LCD panel to come up as the primary display and used with GDM, with this config, the CRT comes up as the primary.  How would I change that?

Secondly, when X11 boots, the LCD starts out with a resolution 800x600 all the time -- I can manually switch it to 1280x1024 using nvidia-settings but it never sticks for some reason.  What am I missing here?

Thanks in advance...

My xorg.conf looks like this...

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

Section "Files"
    RgbPath         "/usr/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     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Philips 180B2"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 71.0
    VertRefresh     50.0 - 160.0
    ModeLine       "1280x1024" 110.0 1280 1328 1512 1712 1024 1025 1028 1054 +hsync +vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard0"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT-1: nvidia-auto-select +0+0; CRT-1: 1280x1024 +0+0; CRT-1: 1280x1024_60 +0+0; CRT-1: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard1"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "CRT-0: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Offline

#2 2007-01-04 18:54:27

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Dual monitor question

Hi Cub69,
try with:

Screen "Screen0"
Screen "Screen1" RightOf "Screen0"

in the section ServerLayout
For the second question try to comment out the horizontal e vertical refresh rate settings for the LCD display

Offline

#3 2007-01-04 19:03:10

Cub69
Member
From: Ottawa, Canada
Registered: 2006-01-20
Posts: 87
Website

Re: Dual monitor question

Cool.  I got it working with:

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

Not sure why it fixed my resolution issue, but rather then using nvidia-settings I used the gnome screen resolution program to set my resolution and told it to make it the default -- odd.

Thanks!
Norm

Offline

Board footer

Powered by FluxBB