[olug] Dual Monitors

Jay Swackhamer Jay at RebootTheUser.com
Mon Nov 17 00:57:45 UTC 2003


ok,
if the card shows up as two instances on the PCI bus
when you do a 'lspci' or 'cat /proc/pci' you just need to duplicate a
some of the sections and layout where the screens are

you need to have a direction to tell the desktop where the monitors are
located i.e.

--
Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0"
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option "xinerama" "1"
EndSection
--

then double the section for the monitor changing the identifier
i.e.
--
Section "Monitor"
       Identifier   "Monitor0"
       VendorName   "Monitor Vendor"
       ModelName    "VG700b"
       HorizSync    30.0 - 82.0
       VertRefresh  50.0 - 75.0
       Option      "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "VG700b"
        HorizSync    30.0 - 82.0
        VertRefresh  50.0 - 75.0
        Option      "dpms"
EndSection

--
add the BusID for the first card,
then add the section for the second card
you can get the busid by looking at the X log after running startx

#grep -i device /var/log/X*.log

--

Section "Device"
       Identifier  "ATI Radeon 9000"
       Driver      "vesa"
       VendorName  "ATI Radeon 9000"
       BoardName   "ATI Radeon 9000"
       BusID "PCI:01:00:0"
EndSection

Section "Device"
       Identifier  "ATI Radeon 9000 - 2"
       Driver      "vesa"
       VendorName  "ATI Radeon 9000"
       BoardName   "ATI Radeon 9000"
       BusID "PCI:00:14:0"
EndSection


--

and then make a 2nd screen section that uses the 2nd video card's
identifier & monitor identifier

--
Section "Screen"
       Identifier "Screen0"
       Device     "ATI Radeon 9000"
       Monitor    "Monitor0"
       DefaultDepth     16
       SubSection "Display"
               Depth     16
               Modes    "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
       EndSubSection
EndSection

Section "Screen"
       Identifier "Screen1"
       Device     "ATI Radeon 9000 - 2"
       Monitor    "Monitor1"
       DefaultDepth     16
       SubSection "Display"
               Depth     16
               Modes    "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
       EndSubSection
EndSection

--

> I have two-monitors/ one desktop
>
> Jay Swackhamer wrote:
>
>>Do you want two separate X servers running? i.e. two
>>monitors/mouse/keyboards for two users. or two-monitors/one desktop?
>>
>>
>>
>>
>>>I have an ATI 9000 with two Viewsonic Monitors. I tried to use ATI's
>>>linux drivers but X can't find the monitors. I want to use them side by
>>>side with two seperate X windows running. My config file is as follows
>>>
>>>Section "Monitor"
>>>       Identifier   "Monitor0"
>>>       VendorName   "Monitor Vendor"
>>>       ModelName    "VG700b"
>>>       HorizSync    30.0 - 82.0
>>>       VertRefresh  50.0 - 75.0
>>>       Option      "dpms"
>>>EndSection
>>>
>>>Section "Device"
>>>
>>>       # no known options
>>>       #BusID
>>>       Identifier  "ATI Radeon 9000"
>>>       Driver      "vesa"
>>>       VendorName  "ATI Radeon 9000"
>>>       BoardName   "ATI Radeon 9000"
>>>EndSection
>>>
>>>Section "Screen"
>>>       Identifier "Screen0"
>>>       Device     "ATI Radeon 9000"
>>>       Monitor    "Monitor0"
>>>       DefaultDepth     16
>>>       SubSection "Display"
>>>               Depth     16
>>>               Modes    "1280x1024" "1280x960" "1152x864" "1024x768"
>>>"800x600" "640x480"
>>>       EndSubSection
>>>EndSection
>>>
>>>Any ideas?
>>>
>>>_______________________________________________
>>>OLUG mailing list
>>>OLUG at olug.org
>>>http://lists.olug.org/mailman/listinfo/olug
>>>
>>>
>>>
>>
>>
>>
>>
>


-- 
Jay Swackhamer
Reboot The User
15791 West Dodge Road
Suite 135
Omaha, NE 68118
(402) 933-6449
(402) 933-6456 Fax
http://www.RebootTheUser.com


More information about the OLUG mailing list