You are not logged in.

#1 2010-10-29 18:17:55

xiainx
Member
Registered: 2010-06-12
Posts: 13

Multiple Monitor xorg.conf

Hi all,
I've been having some issues with my multi-monitor set up. When working, I have two monitors @ 1400x1050. One is my laptops main monitor, the other an external monitor connected via DVI. I have them set up for twinview with xfce4 and compiz fusion for one big desktop cube. It's sweet. Anyways, when I boot my system, I have the 2800x1050 resolution desktop, but only my laptop's monitor is on! I have to then open nvidia-settings, and manually turn on the other screen and then reload compiz in order to get up and running. I'm wondering how I can set it up so that the other monitor turns on automatically at bootup?
Thanks!

xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder62)  Wed Sep 29 10:22:22 PDT 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Wed Jul 14 13:35:56 PDT 2010

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

Section "Files"
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"
    Identifier     "Monitor0"
    VendorName     "DELL"
    ModelName      "Seiko"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "LG"
    ModelName      "LG E2250"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8700M GT"
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: 1920x1200 +0+0"
# Removed Option "metamodes" "DFP-0: 1400x1050 +1680+0, DFP-1: 1680x1050 +0+0"
# Removed Option "metamodes" "DFP-0: 1280x1024 +1280+0, DFP-1: 1280x1024 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1400x1050 +1400+0, DFP-1: 1400x1050 +0+0; DFP-0: 1400x1050 +0+0, DFP-1: NULL; DFP-0: 1280x1024 +0+0, DFP-1: NULL"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Offline

#2 2010-10-29 20:11:33

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Multiple Monitor xorg.conf

Two questions come to mind:

1) Do you have nvidia-settings -l setup in your ~/.xinitrc or ~/.xsession (not sure if it's .xsession or .xsessions) file?

2) Does nvidia-settings report the second monitor at all when you open it?

Ok third question:
3)  Are you sure that your devices are named DFP-x?

Sorry if it sounds stupid, but I learned a very long time ago not to assume these things.   On my nvidia card, they are listed as CRT-x, so I figured that I should ask.  smile

HTH


Knute

Offline

#3 2010-10-29 20:17:19

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: Multiple Monitor xorg.conf

CRT-x = VGA cable
DFP-x = DVI cable

Offline

#4 2010-10-29 21:52:55

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Multiple Monitor xorg.conf

Run nvidia-settings as root, and save the xorg. if you run it as your user, it doesn't save any changes. So:

$ xhost +
$ sudo nvidia-settings

The xhost command makes sure root can write to your display.

Offline

#5 2010-11-03 16:04:27

xiainx
Member
Registered: 2010-06-12
Posts: 13

Re: Multiple Monitor xorg.conf

Knute wrote:

Two questions come to mind:

1) Do you have nvidia-settings -l setup in your ~/.xinitrc or ~/.xsession (not sure if it's .xsession or .xsessions) file?

2) Does nvidia-settings report the second monitor at all when you open it?

Ok third question:
3)  Are you sure that your devices are named DFP-x?

Sorry if it sounds stupid, but I learned a very long time ago not to assume these things.   On my nvidia card, they are listed as CRT-x, so I figured that I should ask.  smile

HTH

1) no. Should I?
2) yep, it's there, just turned off.
3) no, how can I check?

Sorry, I'm not great with the X11 stuff. tongue

jdarnold wrote:

Run nvidia-settings as root, and save the xorg. if you run it as your user, it doesn't save any changes. So:

$ xhost +
$ sudo nvidia-settings

The xhost command makes sure root can write to your display.

Trying this, I'll let you know if it works.. EDIT: This did not help.

Last edited by xiainx (2010-11-03 16:16:25)

Offline

#6 2010-11-03 20:05:11

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Multiple Monitor xorg.conf

Ok, the nvidia-settings -l command basically loads the nvidia settings that you had saved.

If you've tweaked the gamma or contrast or something, you can actually see the difference when it loads.

As to be able to tell what the interfaces are named, they show up with the names in the nvidia-settings options under X Server Display Configuration   It shows a dropdown next to Model....  It shows the name of the monitor, then in parenthesis it shows the name and which GPU it's on.

I'm not sure if simply loading the nvidia-settings will fix this or not.


Knute

Offline

#7 2010-11-10 15:41:10

xiainx
Member
Registered: 2010-06-12
Posts: 13

Re: Multiple Monitor xorg.conf

Knute wrote:

Ok, the nvidia-settings -l command basically loads the nvidia settings that you had saved.

If you've tweaked the gamma or contrast or something, you can actually see the difference when it loads.

As to be able to tell what the interfaces are named, they show up with the names in the nvidia-settings options under X Server Display Configuration   It shows a dropdown next to Model....  It shows the name of the monitor, then in parenthesis it shows the name and which GPU it's on.

I'm not sure if simply loading the nvidia-settings will fix this or not.

This did not fix my issue.

Offline

Board footer

Powered by FluxBB