Skip site navigation (1)Skip section navigation (2)
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        hardware@FreeBSD.ORG
Subject:   Matrox G400 & XFree86 4.1 & native driver -- does it works for somebody?
Message-ID:  <18663014625.20020225121655@serebryakov.spb.ru>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello, hardware! How are you?

  I bought Matrox G400 some days ago and try to set up XFree86 4.1
  (/usr/ports/x11-servers/XFree86-4-Server). I've compiled this port
  with WITH_MATROX_GXX_DRIVER.

  Now I try to run X. X started, and after that screen is balck with
  some garbage (two or three small color stains) and mouse cursor on
  it (without standard X background). And mouse cursor doesn't move.
   I've tried different options for mga driver, but result is same in
   any case.

  This card works perfectly under Win2K.

  My XF86Config and X output are attached to this message.

  I don't like ``symbol unresolved''' messages in X output.

               Lev Serebryakov
/-----------------------------------------------\
| FIDONet: 2:5030/661.0                         |
| E-Mail:  lev@serebryakov.spb.ru               | 
| Page:    http://lev.serebryakov.spb.ru/       |
| ICQ UIN: 3670018                              |
| Phone:   You know, if you have world nodelist |
\===============================================/
[-- Attachment #2 --]
Section "Module"
    Load        "dbe"  	# Double buffer extension
    Load        "extmod"
#    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load       "glx"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

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/"

    ModulePath "/usr/X11R6/lib/modules"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
#    Option "NoTrapSignals"
#    Option "DontZap"
#    Option "Dont Zoom"
#    Option "DisableVidModeExtension"
#    Option "AllowNonLocalXvidtune"
#    Option "DisableModInDev"
#    Option "AllowNonLocalModInDev"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Main Keyboard"
    Driver	"Keyboard"
    Option "AutoRepeat" "500 30"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"ru"
    Option "XkbOptions"	"grp:ctrl_shift_toggle"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier	"USB Mouse"
    Driver	"mouse"
    Option "Protocol"    "MouseSystems"
    Option "Device"      "/dev/sysmouse"
EndSection


Section "Monitor"
    Identifier  "CTX PR705F"
    HorizSync   30-85
    VertRefresh 50-160
EndSection

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

Section "Device"
    Identifier  "G400"
    Driver      "mga"
    VideoRam    32768
    Option      "Overlay"
#    Option      "TexturedVideo" "on"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
    Identifier  "Main Screen"
    Device      "G400"
    Monitor     "CTX PR705F"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1152x864" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1152x864" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1152x864" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1152x864" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Main Layout"
    Screen "Main Screen"
    InputDevice "USB Mouse" "CorePointer"
    InputDevice "Main Keyboard" "CoreKeyboard"
EndSection


[-- Attachment #3 --]

XFree86 Version 4.1.0 / 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: FreeBSD 4.4 i386 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Feb 24 01:39:44 2002
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Main Layout"
(**) |-->Screen "Main Screen" (0)
(**) |   |-->Monitor "CTX PR705F"
(**) |   |-->Device "G400"
(**) |-->Input Device "USB Mouse"
(**) |-->Input Device "Main Keyboard"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc105"
(**) XKB: layout: "ru"
(**) XKB: options: "grp:ctrl_shift_toggle"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(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:*(1:0:0) Matrox MGA G400 AGP rev 3, Mem @ 0xd0000000/25, 0xd2000000/14, 0xd3000000/23
(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/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/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.1.9
(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/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/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.1.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) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
	mgag550
(--) Assigning device section with no busID to primary device
(--) Chipset mgag400 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
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(II) Loading /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
(II) Module mga_hal: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
(II) MGA(0): Matrox HAL module used
(--) MGA(0): Chipset: "mgag400"
(==) MGA(0): Using AGP 1x mode
(**) MGA(0): PseudoColor overlay enabled
(--) MGA(0): Linear framebuffer at 0xD0000000
(--) MGA(0): MMIO registers at 0xD2000000
(--) MGA(0): Pseudo-DMA transfer window at 0xD3000000
(==) MGA(0): BIOS at 0xC0000
(--) MGA(0): Video BIOS info block at offset 0x07B20
(WW) MGA(0): Video BIOS info block not detected!
(**) MGA(0): VideoRAM: 32768 kByte
(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
(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
(==) MGA(0): Write-combining range (0xd2000000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xd0000000,0x2000000)
(==) MGA(0): Write-combining range (0xd3000000,0x800000) was already clear
(==) MGA(0): Write-combining range (0xa0000,0x10000) was already clear
(II) MGA(0): I2C bus "DDC" initialized.
(II) MGA(0): I2C device "DDC:ddc2" registered.
(II) MGA(0): I2C device "DDC:ddc2" removed.
(II) MGA(0): I2C Monitor info: 0x0
(II) MGA(0): end of I2C Monitor info

(--) MGA(0): No DDC signal
(II) MGA(0): DDC Monitor info: 0x0
(II) MGA(0): end of DDC Monitor info

(==) MGA(0): Using gamma correction (1.0, 1.0, 1.0)
(==) MGA(0): Min pixel clock is 12 MHz
(==) MGA(0): Max pixel clock is 300 MHz
(II) MGA(0): CTX PR705F: Using hsync range of 30.00-85.00 kHz
(II) MGA(0): CTX PR705F: Using vrefresh range of 50.00-160.00 Hz
(II) MGA(0): Clock range:  12.00 to 300.00 MHz
(II) MGA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1280x960" (hsync out of range)
(II) MGA(0): Not using default mode "1280x1024" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(==) MGA(0): Write-combining range (0xd2000000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xd0000000,0x2000000)
(==) MGA(0): Write-combining range (0xd3000000,0x800000) was already clear
(--) MGA(0): Virtual size is 1152x864 (pitch 1152)
(**) MGA(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) MGA(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(**) MGA(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(==) MGA(0): DPI set to (75, 75)
(II) Loading /usr/X11R6/lib/modules/libxf8_32bpp.a
(II) Module xf8_32bpp: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libcfb.a
(II) Module cfb: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libmfb.a
(II) Module mfb: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libcfb32.a
(II) Module cfb32: 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
Symbol fbPictureInit from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol vbeFree from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
(--) Depth 24 pixmap format is 32 bpp
(==) MGA(0): Write-combining range (0xd2000000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xd0000000,0x2000000)
(==) MGA(0): Write-combining range (0xd3000000,0x800000) was already clear
(==) MGA(0): Write-combining range (0xa0000,0x10000) was already clear
(--) MGA(0): 16 DWORD fifo
(II) MGA(0): Using 2776 lines for offscreen memory.
(II) MGA(0): 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 FillMono8x8PatternRects replacement
	Setting up tile and stipple cache:
		32 128x128 slots
		19 256x256 slots
		5 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using texture video
(==) MGA(0): Direct rendering disabled
(**) USB Mouse: Protocol: "MouseSystems"
(**) USB Mouse: Core Pointer
(==) USB Mouse: Buttons: 3
(**) USB Mouse: BaudRate: 1200
(II) Keyboard "Main Keyboard" handled by legacy driver
(II) XINPUT: Adding extended input device "USB Mouse" (type: MOUSE)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
help

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