Dual monitors xorg.conf

Paul Schmehl pauls at utdallas.edu
Thu May 19 11:10:58 PDT 2005


--On Wednesday, May 18, 2005 05:32:18 PM -0500 Paul Schmehl 
<pauls at utdallas.edu> wrote:
>
> I now have both monitors displaying, but they are clones of each other.
> IOW, two monitors displaying the same desktop.  I still haven't been able
> to get one desktop to display across both monitors.  (BTW, I didn't do
> anything to get the second monitor to display anything.  It just started
> working all of a sudden, after I had been logged in for a while.)
>
I've since discovered that there are two keys to having a "panoramic" 
display.  You must have Xinerama enabled (either Option "Xinerama" "true" 
in ServerFlags or in ServerLayout) and you must use the *same* BusID for 
both devices (if you have one video card.)

Hope this helps someone.

I'm still having the problem with the second monitor.  When you first start 
X it doesn't display anything but its light is green (indicating that it's 
getting a signal.)  After a while, it suddenly starts working (seems like 
after power saving is invoked and the first monitor goes blank.)  I'm not 
seeing any error messages in the console log, messages or Xorg.0.log that 
seem to point to the cause of this problem.

If anyone has any hints, I'd appreciate it.

For the record, here's my information:

uname -imprsv
FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005 
root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386 i386 GENERIC

grep -v "#" xorg.conf

Section "Module"
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
EndSection

Section "ServerFlags"
    Option "Xinerama" "true"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/sysmouse"
    Option "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    VendorName  "Dell"
    ModelName   "1905FP"
    HorizSync   31.5 - 64.3
    VertRefresh 50-90
    Option      "DPMS"
EndSection

Section "Monitor"
    Identifier  "Monitor1"
    VendorName  "Dell"
    ModelName   "1905FP"
    HorizSync   31.5 - 64.3
    VertRefresh 50-90
    Option      "DPMS"
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "ATI Radeon X300"
    BusID       "PCI:1:0:0"
    Screen      0
    Option      "AGPFastWrite" "True"
    Option      "MetaModes" "1280x1024,1280x1024;1024x768,1024x768"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "ATI Radeon X300"
    BusID       "PCI:1:0:0"
    Screen      1
    Option      "AGPFastWrite" "True"
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "Card0"
    Monitor     "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "Card1"
    Monitor     "Monitor1"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Dual-Monitor"
    Screen 0    "Screen0" LeftOf "Screen1"
    Screen 1    "Screen1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu


More information about the freebsd-questions mailing list