Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2002 20:38:08 -0500
From:      bishoju <bishoju@auburn.edu>
To:        questions@freebsd.org
Subject:   4.5, XFree86-Server-4.2.0_2, Matrox G400, Xinerama ?
Message-ID:  <3CF1AA05@webmail.duc.auburn.edu>

next in thread | raw e-mail | index | archive | help
I am having trouble configuring this card. This is a hand-tweaked XF86Config 
from Linux that works. I beleive the server "thinks" Xinerama is turned on but 
the second monitor does not initialize. Below are output from xpdyinfo, my log 
and my XF86Config.

Any help would be appreciated.

Jud

/* XF86Config */

%# XF86Config -- G450 dual head/multi display

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

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

Section "ServerFlags"
        Option "AllowMouseOpenFail"
        Option "Xinerama"
EndSection

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

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

Section "Monitor"
    Identifier  "Display 1"
    HorizSync   30 - 80
    VertRefresh 50-160
EndSection

Section "Monitor"
    Identifier  "Display 2"
    HorizSync   30 - 80
    VertRefresh 50-160
EndSection

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

Section "Device"
    Identifier  "G450_1"
    Driver      "mga"
    BusID       "PCI:1:0:0"
    Screen      0
EndSection

Section "Device"
    Identifier  "G450_2"
    Driver      "mga"
    BusID       "PCI:1:0:0"
    Screen      1
    Option      "PCI Retry"
EndSection

Section "Screen"
    Identifier  "Display 1"
    Device      "G450_1"
    Monitor     "Display 1"
    DefaultDepth 24
     Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection

EndSection

Section "Screen"
    Identifier  "Display 2"
    Device      "G450_2"
    Monitor     "Display 2"
    DefaultDepth 24
      Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection

EndSection

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Display 1" LeftOf "Display 2"
    Screen "Display 2" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


/* xdpyinfo */

vendor string:    The XFree86 Project, Inc
vendor release number:    40200000
XFree86 version: 4.2.0
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xe0000e, revert to Parent
number of extensions:    23
    BIG-REQUESTS
    DPMS
    Extended-Visual-Information
    FontCache
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RENDER
    SECURITY
    SHAPE
    SYNC
    TOG-CUP
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XFree86-Misc
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    2560x1024 pixels (684x271 millimeters)
  resolution:    95x96 dots per inch
  depths (1):    24
  root window id:    0x48
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xd8007f
    KeyPressMask             KeyReleaseMask           ButtonPressMask
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask
    PointerMotionMask        SubstructureNotifyMask   SubstructureRedirectMask
    PropertyChangeMask       ColormapChangeMask

/* /var/log/XFree86.0.log */

(==) Log file: "/var/log/XFree86.0.log", Time: Sun May 26 12:47:49 2002
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Display 1" (0)
(**) |   |-->Monitor "Display 1"
(**) |   |-->Device "G450_1"
(**) |-->Screen "Display 2" (1)
(**) |   |-->Monitor "Display 2"
(**) |   |-->Device "G450_2"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"

(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.5
        XFree86 XInput driver : 0.3
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.3
(II) Loader running on freebsd

/* snip */

(II) LoadModule: "mga"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.1.0
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.5
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
        mgag550
(II) Primary Device is: PCI 01:00:0
(--) Chipset mgag400 found
(--) Chipset mgag400 found

(II) Setting vga for screen 0.
(II) Setting vga for screen 1.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(WW) Warning, couldn't open module mga_hal
(II) UnloadModule: "mga_hal"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(II) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead
(--) MGA(0): Chipset: "mgag400"
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xF2000000
(--) MGA(0): MMIO registers at 0xFEAFC000
(--) MGA(0): Pseudo-DMA transfer window at 0xFE000000
(--) MGA(0): BIOS at 0xFEAE0000
(II) Truncating PCI BIOS Length to 32768
(--) MGA(0): Video BIOS info block at offset 0x07CE0
(WW) MGA(0): Video BIOS info block not detected!
(II) MGA(0): MGABios.RamdacType = 0x0
(==) MGA(0): Write-combining range (0xfeafc000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xf2000000,0x2000000)
(==) MGA(0): Write-combining range (0xfe000000,0x800000) was already clear
(--) MGA(0): Crtc2 will use 8192K of VideoRam
(--) MGA(0): VideoRAM: 24576 kByte

/* snip */

(**) MGA(1): Depth 24, (--) framebuffer bpp 32
(==) MGA(1): RGB weight 888
(**) MGA(1): Option "PciRetry"
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(WW) Warning, couldn't open module mga_hal
(II) UnloadModule: "mga_hal"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(II) MGA(1): Matrox HAL module not loaded - using builtin mode setup instead
(--) MGA(1): Chipset: "mgag400"
(==) MGA(1): Using AGP 1x mode
(**) MGA(1): PCI retry enabled
(--) MGA(1): Linear framebuffer at 0xF2000000
(--) MGA(1): MMIO registers at 0xFEAFC000
(--) MGA(1): Pseudo-DMA transfer window at 0xFE000000
(--) MGA(1): BIOS at 0xFEAE0000
(II) Truncating PCI BIOS Length to 32768
(--) MGA(1): Video BIOS info block at offset 0x07CE0
(WW) MGA(1): Video BIOS info block not detected!
(II) MGA(1): MGABios.RamdacType = 0x0
(==) MGA(1): Write-combining range (0xfeafc000,0x4000) was already clear
(==) MGA(1): Write-combining range (0xf2000000,0x2000000)
(==) MGA(1): Write-combining range (0xfe000000,0x800000) was already clear
(--) MGA(1): VideoRAM: 8192 kByte
(II) MGA(1): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid filled trapezoids
        8x8 mono pattern filled rectangles
        8x8 mono pattern filled trapezoids
        Indirect CPU to Screen color expansion
        Screen to Screen color expansion
        Solid Lines
        Dashed Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Driver provided FillSolidRects replacement
        Driver provided FillSolidSpans replacement
        Driver provided FillMono8x8PatternRects replacement
        Setting up tile and stipple cache:
                20 128x128 slots
                5 256x256 slots
(==) MGA(1): Backing store disabled
(==) MGA(1): Silken mouse enabled
(==) MGA(1): Direct rendering disabled

/* snip */

(II) Entity 0 shares no resources
(II) Entity 1 shares no resources
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF1AA05>