Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 18:04:49 +0200
From:      tschwarzkopf@t-online.de (Thomas Schwarzkopf)
To:        freebsd-alpha@freebsd.org
Subject:   Problem with PC 164/Matrox Millennium II/FreeBSD-4.9-RC1
Message-ID:  <200310081804.49749.tschwarzkopf@t-online.de>

next in thread | raw e-mail | index | archive | help
Hello,

I try to run XFree86 on my Alpha PC 164 box.
SRM Console V5.5-1, OS is FreeBSD-4.9-RC1,
my graphics card is a Matrox Millennium II, 8MB.
I installed XFree86 via ports.
The card gets recognized as:

pci0: <Matrox MGA Millennium II 2164W graphics accelerator> at 5.0 irq 2

When I try to start X I get  an error "No devices detected"
Here is the output in /var/log/XFree86.0.log:


XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.9 alpha [ELF]
Build Date: 08 October 2003
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Oct  8 16:09:38 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "lg"
(**) |   |-->Device "matrox"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "de"
(**) XKB: layout: "de"
(==) Keyboard: CustomKeycode disabled
(**) 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/Speedo/,
/usr/X11R6/lib/X11/fonts/Type1/,/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) Module ABI versions:
	XFree86 ANSI C Emulation: 0.2
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.4
	XFree86 Server Extension : 0.2
	XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:05:0: chip 102b,051b card 102b,0100 rev 00 class 03,00,00 
hdr 00
(II) PCI: 00:07:0: chip 10b7,9005 card 10b7,9005 rev 04 class 02,00,00 
hdr 00
(II) PCI: 00:08:0: chip 8086,0484 card 0000,0000 rev 43 class 00,00,00 
hdr 00
(II) PCI: 00:0b:0: chip 1095,0646 card 0000,0000 rev 01 class 01,01,80 
hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x0008 (VGA_EN is 
set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x80000000 - 0xffffffff (0x80000000) MX[B]
(--) PCI: (0:5:0) Matrox Graphics, Inc. MGA 2164W [Millennium II] rev 0,
Mem @ 0x88000000/24, 0x82830000/14, 0x82000000/23, BIOS @ 0x82820000/16
(--) PCI: (0:8:0) Intel Corp. 82378IB [SIO ISA Bridge] rev 67
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) MX[B]
	[1] -1	0	0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0xffffffff - 0xffffffff (0x1) IX[B]
	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
	[0] -1	0	0x82834000 - 0x82837fff (0x4000) MX[B]E
	[1] -1	0	0x82820000 - 0x8282ffff (0x10000) MX[B](B)
	[2] -1	0	0x82000000 - 0x827fffff (0x800000) MX[B](B)
	[3] -1	0	0x82830000 - 0x82833fff (0x4000) MX[B](B)
	[4] -1	0	0x88000000 - 0x88ffffff (0x1000000) MX[B](B)
	[5] -1	0	0x00010080 - 0x000100ff (0x80) IX[B]E
	[6] -1	0	0x00010000 - 0x000100ff (0x100) IX[B]E
(II) PCI I/O resource overlap reduced 0x00010000 from 0x000100ff to 
0x0001007f
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0x82834000 - 0x82837fff (0x4000) MX[B]E
	[1] -1	0	0x82820000 - 0x8282ffff (0x10000) MX[B](B)
	[2] -1	0	0x82000000 - 0x827fffff (0x800000) MX[B](B)
	[3] -1	0	0x82830000 - 0x82833fff (0x4000) MX[B](B)
	[4] -1	0	0x88000000 - 0x88ffffff (0x1000000) MX[B](B)
	[5] -1	0	0x00010080 - 0x000100ff (0x80) IX[B]E
	[6] -1	0	0x00010000 - 0x0001007f (0x80) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0xffffffff - 0xffffffff (0x1) IX[B]
	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x82834000 - 0x82837fff (0x4000) MX[B]E
	[4] -1	0	0x82820000 - 0x8282ffff (0x10000) MX[B](B)
	[5] -1	0	0x82000000 - 0x827fffff (0x800000) MX[B](B)
	[6] -1	0	0x82830000 - 0x82833fff (0x4000) MX[B](B)
	[7] -1	0	0x88000000 - 0x88ffffff (0x1000000) MX[B](B)
	[8] -1	0	0xffffffff - 0xffffffff (0x1) IX[B]
	[9] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[10] -1	0	0x00010080 - 0x000100ff (0x80) IX[B]E
	[11] -1	0	0x00010000 - 0x0001007f (0x80) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.2
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Speedo
(II) LoadModule: "mga"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.1.0
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.4
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI,
	mgag400, mgag550
(WW) MGA: No matching Device section for instance (BusID PCI:0:5:0) 
found
(EE) No devices detected.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.



And here is the relevant part of my XF86Config:



# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

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

# The chipset line is optional in most cases.  It can be used to 
override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this 
section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#   BusID      "PCI:0:5:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "matrox"
    Driver      "mga"
    #VideoRam    8192
VideoRam 8192
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen 
section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "matrox"
    Monitor     "lg"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

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

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

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection




Uncommenting the Bus ID line doesn't help.

I also tried XFree86-3.3.6 and in this case it works (but only
in 8bit color depth and I also see some strange color problems).
The card is ok since it works well on a x86 machine.

Is anyone using a Matrox Millenium II on a PC 164 board?
Is there anything special with this card or with configuring X in
general on alpha? Any other hints?

Thanks

Thomas



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