You are not logged in.

#1 2009-03-20 22:22:54

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Dual Monitors

Trying to setup my macbook with dual monitors...not sure how to do it though. I've googled a bit for some xorg.confs but nothing seems to work. Anyone have a working setup?

I'm also using awesome wm if that makes a difference


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#2 2009-03-20 22:33:52

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dual Monitors

Does the second monitor say no connection or is it just blank?

Offline

#3 2009-03-20 22:41:28

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

when it starts up it gets a "no signal" message then goes blank


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#4 2009-03-20 22:52:38

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dual Monitors

Ah then it is probably your xorg.conf. Can you post it?

Offline

#5 2009-03-21 12:54:02

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: Dual Monitors

you can also enable it in a running x-server using xrandr - if your driver supports it.
what does 'xrandr -q' say?

for me its like

DVI-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
...
DVI-0 connected 1920x1200+1680+0 (normal left inverted right x axis y axis) 518mm x 324mm

try 'xrandr --output DVI-0 --auto' (and replace DVI-0 with your output-name) to enable a monitor and
'xrandr --output DVI-0 --right-of DVI-1' to set its position.
you might have to specify your screen size in xorg.conf, xrandr will complain about this.
like:

Section "Screen"
...
    SubSection "Display"
        Virtual        3600 1200
    EndSubSection
EndSection

Offline

#6 2009-03-21 13:52:53

rebugger
Member
From: Germany
Registered: 2007-10-28
Posts: 229

Re: Dual Monitors

Here is my xorg.conf (using it with ati x600, dvi-splitter and 2 17inc monitors)

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option    "AutoAddDevices"    "false"
    Option    "AutoEnableDevices"    "false"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "dbe"
    Load  "extmod"
    Load  "glx"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbLayout"        "de"
    Option      "XkbVariant"    "nodeadkeys"
    Option      "XkbModel"        "pc105"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      340   270    # mm
    Identifier   "Monitor0"
    #VendorName   "ACR"
    #ModelName    "AL1706"
    #HorizSync    31.0 - 81.0
    #VertRefresh  56.0 - 75.0
    #Option        "DPMS"
    Option      "Position"        "1280 0"
    Option        "PreferredMode"    "1280x1024"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    Option       "PreferredMode"    "1280x1024"
    Option       "LeftOf"        "Monitor0"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "DDCMode"                # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV380 [Radeon X600 (PCIE)]"
    BusID       "PCI:1:0:0"

    Option      "monitor-DVI-0" "Monitor0"
    Option      "monitor-DVI-1" "Monitor1"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Virtual      2560 1024
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Virtual   2560 1024
    EndSubSection
EndSection

Offline

#7 2009-03-21 14:50:53

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

xrandr -q:

syth ~ > xrandr -q
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Screen 0: minimum 320 x 240, current 1440 x 900, maximum 1440 x 900
default connected 1440x900+0+0 0mm x 0mm
   1440x900       50.0* 
   1360x768       51.0     52.0  
   1152x864       53.0  
   1024x768       54.0  
   960x600        55.0  
   960x540        56.0  
   840x525        57.0     58.0  
   800x600        59.0     60.0  
   800x512        61.0  
   720x450        62.0  
   700x525        63.0  
   680x384        64.0     65.0  
   640x512        66.0  
   640x480        67.0     68.0  
   576x432        69.0  
   512x384        70.0  
   400x300        71.0  
   320x240        72.0

the xrandr --output DVI-0 --auto just comes back with the equivalent of xrandr --help.

Here's my xorg.conf: http://twilightlair.net/files/config/xorg.conf


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#8 2009-03-21 15:49:31

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dual Monitors

With multiple monitors, you have to add BusID in the Device section.

Probably something like
    BusID       "PCI:1:0:0"

Offline

#9 2009-03-21 15:57:39

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

I have no idea what the BusID of my monitor would be. How do I find out?


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#10 2009-03-21 16:07:54

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dual Monitors

lspci says something like "01:00.0" next to VGA, and that would translate to "PCI:1:0:0"

EDIT: BTW, it is not the busid of the monitor but of the video card

So if you use multiple video cards then you need to set the busid of the right video card in its device section, and if you use only one video card then both device section get the same busid.

Last edited by Procyon (2009-03-21 16:09:29)

Offline

#11 2009-03-21 16:40:12

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

I added the BusID....still nothing


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#12 2009-03-21 16:53:51

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dual Monitors

The Device sections should have a Screen command in them too.

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

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

Becomes

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

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Screen 1
EndSection

Offline

#13 2009-03-21 17:36:42

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

ok, almost there. The second monitor comes on but it's really messed up. The colors are screwed and there are giant fuzzy lines cutting out large parts...it's just weird.


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#14 2009-03-21 18:10:16

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Dual Monitors

Sounds like an invalid resolution problem, try telling it to use a specific resolution in Section "Screen", SubSection "Display"
e.g.
        Modes      "1280x1024" "1024x768" "800x600" "640x480_60" "640x400"

Offline

#15 2009-03-21 19:15:10

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

doesn't seem so...I set the res to one I know should be fine...still all weird though =/


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#16 2009-06-19 21:54:15

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Dual Monitors

anyone? =/


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#17 2009-06-19 22:41:47

VoodooSteve
Member
From: Vancouver, BC
Registered: 2009-03-31
Posts: 43

Re: Dual Monitors

Do you have the vertical and horizontal refresh settings correct?

Offline

Board footer

Powered by FluxBB