Xinerama (Multi-head)

Anthony J. Gabrielson agabriel at home.tzo.org
Sat Jan 19 17:44:49 EST 2002


Hello All,
	I find my self struggling with my Linux box.  I want to get X
powering two monitors as it looks significantly cooler.  I have an extra
single sync monitor, although I'm starting off with a 17" sony that is
multisync.  I have been through the howto and I have attached my
XF86config file.  I have almost gone word for word by the howto, but I
must have missed something.  Supposedly when I type startx -- +xinerama,
it should come in dual head mode.  I also have attached the output from
the above command.  Any and all help would be greatly appreciated.

Thanks,
Anthony

_________________ XF86config file_______________________________________

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "unix/:7100"
    
# The module search path.  The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"

EndSection

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
# This loads the GLX module
#    Load       "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/mouse"
EndSection

Section "Monitor"
    Identifier  "Mini"
    HorizSync   31.5
    VertRefresh 50-90
EndSection

Section "Monitor"
    Identifier  "Max"
    HorizSync   31.5 - 82.0
    VertRefresh 50-100
EndSection

# Video Card #1, S3 virge
Section "Device"
    Identifier  "S3 Virge"
    Driver      "vga16"
    #VideoRam 8192
    BusID      "PCI:0:16:0"
EndSection

# Video Card # 2, Matrox G100 Productiva
Section "Device"
    Identifier  "Matrox AGP"
    Driver      "mga"
    #VideoRam    8192
    BusID      "PCI:1:0:0"

EndSection

Section "Screen"
    Identifier  "Screen 2"
    Device      "Matrox AGP"
    Monitor     "Max"
    DefaultDepth 16

    Subsection "Display"
        Depth       16
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# My Miniature monitor,  notice that I used the virtual option so it is
#   the same heighth as the larger monitor,  this is not necessary.
Section "Screen"
    Identifier  "Screen 1"
    Device      "S3 Virge"
    Monitor     "Mini"
    DefaultDepth 16

    Subsection "Display"
        Depth       16
        Modes       "640x480"
        ViewPort    0 0
        Virtual     640 1024
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 2"  
    Screen "Screen 1" Rightof "Screen 2" 
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


___________________Output from startx -- +xinerama___________________

[root at beast root]# startx -- +xinerama


XFree86 Version 4.1.0 (Red Hat Linux release: 4.1.0-3) / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.7-0.13.1smp i686 [ELF] 
Build Host: stripples.devel.redhat.com
 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Jan 19 17:45:46 2002
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "My Video Card"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) XKB: layout: "us"
(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(++) Xinerama: enabled
(--) using VT number 7

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(0:16:0) S3 ViRGE rev 6, Mem @ 0xf8000000/26, BIOS @
0xfebf0000/16
(--) PCI: (0:20:0) BrookTree unknown chipset (0x036e) rev 2, Mem @
0xf59fe000/12
(--) PCI: (1:0:0) Matrox MGA G100 AGP rev 2, Mem @ 0xec000000/24,
0xf6afc000/14, 0xf6000000/23, BIOS @ 0xf6ae0000/16
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 0.0.1
(II) Loading /usr/X11R6/lib/modules/drivers/s3virge_drv.o
(II) Module s3virge: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.6.0
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) v4l driver for Video4Linux
(II) S3VIRGE: driver (version 1.6.0) for S3 ViRGE chipsets: virge, 86C325,
        virge vx, 86C988, virge dx, virge gx, 86C375, 86C385, virge gx2,
        86C357, virge mx, 86C260, virge mx+, 86C280, trio 3d, 86C365,
        trio 3d/2x, 86C362, 86C368
(--) Assigning device section with no busID to primary device
(--) Chipset virge found
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 0.1.0
(**) S3VIRGE(0): Depth 16, (--) framebuffer bpp 16
(==) S3VIRGE(0): RGB weight 565
(==) S3VIRGE(0): Default visual is TrueColor
(==) S3VIRGE(0): Using HW Cursor
(==) S3VIRGE(0): Using fb.
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) S3VIRGE(0): initializing int10
(II) S3VIRGE(0): Primary V_BIOS segment is: 0xc000
(II) S3VIRGE(0): VESA BIOS detected
(--) S3VIRGE(0): Chipset: "virge"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(--) S3VIRGE(0): No DDC signal
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.2.0
(II) S3VIRGE(0): I2C bus "I2C bus" initialized.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" registered.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" removed.
(==) S3VIRGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) S3VIRGE(0): videoram:  2048k
(--) S3VIRGE(0): Detected current MCLK value of 69.801 MHz
(II) S3VIRGE(0): My Monitor: Using hsync range of 31.50-64.30 kHz
(II) S3VIRGE(0): My Monitor: Using vrefresh range of 50.00-100.00 Hz
(II) S3VIRGE(0): Clock range:  20.00 to 270.00 MHz
(II) S3VIRGE(0): Not using default mode "1024x768" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "1152x864" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "1280x960" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1280x960" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1280x1024" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1280x1024" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1280x1024" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1792x1344" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1792x1344" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1856x1392" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1856x1392" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1920x1440" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1920x1440" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1400x1050" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using default mode "1400x1050" (insufficient memory
for mode)
(II) S3VIRGE(0): Not using mode "1280x1024" (no mode of this name)
(--) S3VIRGE(0): Virtual size is 1024x768 (pitch 1024)
(**) S3VIRGE(0): Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(==) S3VIRGE(0): DPI set to (75, 75)
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
        compiled for 4.1.0, module version = 0.1.0
(==) S3VIRGE(0): Write-combining range (0xf8000000,0x200000)
(WW) S3VIRGE(0): Cannot read colourmap from VGA.  Will restore with
default
(**) S3VIRGE(0): Using FB
(II) S3VIRGE(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        CPU to Screen color expansion
        Solid Horizontal and Vertical Lines
        Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                8 128x128 slots
(==) S3VIRGE(0): Backing store disabled
(==) S3VIRGE(0): Silken mouse enabled
(**) S3VIRGE(0): DPMS enabled
(**) Mouse0: Protocol: "PS/2"
(**) Mouse0: Core Pointer
(==) Mouse0: Buttons: 3
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
XIM DEBUG: X Error of failed request:  86
  Major opcode of failed request:  51 (X_SetFontPath)
  Serial number of failed request:  9
  Current serial number in output stream:  11
DCOPServer up and running.
>> running as realtime process now (priority 50)





More information about the Discuss mailing list