Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 20:26:39 +0200
From:      Kresimir Kumericki <kkumer@phy.hr>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   DRI on PCI Matrox G450?
Message-ID:  <20020611202639.A575@phy.hr>

next in thread | raw e-mail | index | archive | help
Dear all,
Is it possible to get DRI running on *PCI* Matrox G450 Graphic card?

I have played with it several hours on my FreeBSD 4.5-RELEASE-p2 (i386) 
and XFree86 4.2.0_1, following all suggestions from the Google that I
found relevant but to no avail. I compiled kernel with "option agp"
and it loads fine, but drm-kmod-0.9.5_1 which then loads mga.ko
produces the following error:

=== dmesg: ===
[...] 
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
[...] 
drm0: <Matrox G400/G450 (AGP)> mem 0xe4000000-0xe47fffff,0xe4800000-0xe4803fff,0xe6000000-0xe7ffffff irq 11 at device 0.0 on pci1
error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module.
device_probe_and_attach: drm0 attach returned 12

(This is the only place in dmesg where agp is mentioned.)

XFree86 then successfully loads all modules, including dri and drm,
but fails in loading mga_hal, and finally complains:

=== XFree86.0.log: ===
        [...] 
        (II) MGA(0): [drm] Sarea 2200+664: 2864
        drmOpenDevice: minor is 0
        drmOpenDevice: node name is /dev/dri/card0
        drmOpenDevice: open result is -1, (Unknown error: 999()
        drmOpenDevice: Open failed
        [...] 
        (II) MGA(0): [drm] drmOpen failed
        (EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.


Note that I have
crw-------   1 root     wheel    148,   0 Mar 21 16:18 /dev/agpgart
and
drwxrwxrwx   2 root     wheel         512 Jun 11 19:38 /dev/dri/
but this /dev/dri directory is empty!

Any hints would be helpful. I attach complete dmesg and XFree86.0.log
below. Thanks,
Kresimir

=== dmesg ===
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE-p2 #1: Tue Jun 11 15:04:36 CEST 2002
    root@enceladus.phy.hr:/usr/backup/obj/usr/src/sys/MACBETH
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 200455423 Hz
CPU: Pentium/P55C (200.46-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 100663296 (98304K bytes)
avail memory = 94441472 (92228K bytes)
Preloaded elf kernel "kernel" at 0xc0368000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00f0a90
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xe000-0xe00f at device 1.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 1.2
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 1.3 on pci0
sym0: <810a> port 0xd400-0xd4ff mem 0xe5000000-0xe50000ff irq 9 at device 9.0 on pci0
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
ed0: <NE2000 PCI Ethernet (Compex)> port 0xd000-0xd01f irq 10 at device 10.0 on pci0
ed0: address 00:80:48:d9:32:4f, type NE2000 (16 bit) 
pcib1: <PCI to PCI bridge (vendor=3388 device=0021)> at device 12.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
orm0: <Option ROM> at iomem 0xc0000-0xc8fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
sbc0: <Creative ViBRA16C> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
pcm1: <SB16 DSP 4.13> on sbc0
ad0: 4110MB <QUANTUM FIREBALL SE4.3A> [14848/9/63] at ata0-master UDMA33
ad2: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata1-master UDMA33
acd0: CDROM <SAMSUNG CD-ROM SC-152L> at ata0-slave using PIO4
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad2s2a
drm0: <Matrox G400/G450 (AGP)> mem 0xe4000000-0xe47fffff,0xe4800000-0xe4803fff,0xe6000000-0xe7ffffff irq 11 at device 0.0 on pci1
error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module.
device_probe_and_attach: drm0 attach returned 12
drm0: <Matrox G400/G450 (AGP)> mem 0xe4000000-0xe47fffff,0xe4800000-0xe4803fff,0xe6000000-0xe7ffffff irq 11 at device 0.0 on pci1
error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module.
device_probe_and_attach: drm0 attach returned 12
drm0: <Matrox G400/G450 (AGP)> mem 0xe4000000-0xe47fffff,0xe4800000-0xe4803fff,0xe6000000-0xe7ffffff irq 11 at device 0.0 on pci1
error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module.
device_probe_and_attach: drm0 attach returned 12
drm0: <Matrox G400/G450 (AGP)> mem 0xe4000000-0xe47fffff,0xe4800000-0xe4803fff,0xe6000000-0xe7ffffff irq 11 at device 0.0 on pci1
error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module.
device_probe_and_attach: drm0 attach returned 12
cd0 at sym0 bus 0 target 6 lun 0
cd0: <PLEXTOR CD-R   PX-W1210S 1.02> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: cd present [4294967146 x 2048 byte records]

=== XFree86.0.log ===


XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
	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/)
Build Operating System: FreeBSD 4.5 i386 [ELF] 
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: Tue Jun 11 19:38:42 2002
(==) Using config file: "/etc/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "ADI CRT"
(**) |   |-->Device "Matrox G450"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) 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/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 4

(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
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(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.2.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7100 card 0000,0000 rev 01 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7110 card 0000,0000 rev 01 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 hdr 00
(II) PCI: 00:01:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:01:3: chip 8086,7113 card 0000,0000 rev 01 class 06,80,00 hdr 00
(II) PCI: 00:09:0: chip 1000,0001 card 1000,1000 rev 23 class 01,00,00 hdr 00
(II) PCI: 00:0a:0: chip 11f6,1401 card 0000,0000 rev 0a class 02,00,00 hdr 00
(II) PCI: 00:0c:0: chip 3388,0021 card 0000,0000 rev 13 class 06,04,00 hdr 01
(II) PCI: 01:00:0: chip 102b,0525 card 102b,0d43 rev 85 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus -1: bridge is at (0:1:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(II) Bus 1: bridge is at (0:12:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0xe4000000 - 0xe4ffffff (0x1000000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0xe5f00000 - 0xe7ffffff (0x2100000) MX[B]
(--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 133, Mem @ 0xe6000000/25, 0xe4800000/14, 0xe4000000/23
(II) Addressable bus resource ranges are
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
	[0] -1	0xe5000000 - 0xe57fffff (0x800000) MX[B]E
	[1] -1	0xe4000000 - 0xe47fffff (0x800000) MX[B](B)
	[2] -1	0xe4800000 - 0xe4803fff (0x4000) MX[B](B)
	[3] -1	0xe6000000 - 0xe7ffffff (0x2000000) MX[B](B)
	[4] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]E
	[5] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]E
	[6] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[7] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0xe5000000 - 0xe57fffff (0x800000) MX[B]E
	[1] -1	0xe4000000 - 0xe47fffff (0x800000) MX[B](B)
	[2] -1	0xe4800000 - 0xe4803fff (0x4000) MX[B](B)
	[3] -1	0xe6000000 - 0xe7ffffff (0x2000000) MX[B](B)
	[4] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]E
	[5] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]E
	[6] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[7] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xe5000000 - 0xe57fffff (0x800000) MX[B]E
	[6] -1	0xe4000000 - 0xe47fffff (0x800000) MX[B](B)
	[7] -1	0xe4800000 - 0xe4803fff (0x4000) MX[B](B)
	[8] -1	0xe6000000 - 0xe7ffffff (0x2000000) MX[B](B)
	[9] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[10] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[11] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]E
	[12] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]E
	[13] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[14] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(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 XFree86-DGA
(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) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.1.10
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(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) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.3
(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
(--) Assigning device section with no busID to primary device
(--) Chipset mgag400 found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xe5000000 - 0xe57fffff (0x800000) MX[B]E
	[6] -1	0xe4000000 - 0xe47fffff (0x800000) MX[B](B)
	[7] -1	0xe4800000 - 0xe4803fff (0x4000) MX[B](B)
	[8] -1	0xe6000000 - 0xe7ffffff (0x2000000) MX[B](B)
	[9] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[10] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[11] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]E
	[12] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]E
	[13] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[14] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
(II) resource ranges after probing:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xe5000000 - 0xe57fffff (0x800000) MX[B]E
	[6] -1	0xe4000000 - 0xe47fffff (0x800000) MX[B](B)
	[7] -1	0xe4800000 - 0xe4803fff (0x4000) MX[B](B)
	[8] -1	0xe6000000 - 0xe7ffffff (0x2000000) MX[B](B)
	[9] 0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[10] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[11] 0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[12] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[13] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[14] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]E
	[15] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]E
	[16] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[17] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[18] 0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[19] 0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(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 0xE6000000
(--) MGA(0): MMIO registers at 0xE4800000
(--) MGA(0): Pseudo-DMA transfer window at 0xE4000000
(==) MGA(0): BIOS at 0xC0000
(--) 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): VideoRAM: 32768 kByte
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.5
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.2.0
	ABI class: XFree86 Video Driver, version 0.5
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(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 360 MHz
(II) MGA(0): ADI CRT: Using hsync range of 30.00-95.00 kHz
(II) MGA(0): ADI CRT: Using vrefresh range of 50.00-120.00 Hz
(II) MGA(0): Clock range:  12.00 to 360.00 MHz
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
(II) MGA(0): Not using default mode "896x672" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(--) MGA(0): Has SDRAM
(--) MGA(0): Virtual size is 1024x768 (pitch 1024)
(**) MGA(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) MGA(0): Modeline "1024x768"   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync
(==) MGA(0): DPI set to (75, 75)
(II) MGA(0): YDstOrg is set to 0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.5
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.2.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0xe4000000 - 0xe47fffff (0x800000) MX[B]
	[1] 0	0xe4800000 - 0xe4803fff (0x4000) MX[B]
	[2] 0	0xe6000000 - 0xe7ffffff (0x2000000) MX[B]
	[3] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[4] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[5] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[6] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[7] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[8] -1	0xe5000000 - 0xe57fffff (0x800000) MX[B]E
	[9] -1	0xe4000000 - 0xe47fffff (0x800000) MX[B](B)
	[10] -1	0xe4800000 - 0xe4803fff (0x4000) MX[B](B)
	[11] -1	0xe6000000 - 0xe7ffffff (0x2000000) MX[B](B)
	[12] 0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[13] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[14] 0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[15] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[16] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[17] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]E
	[18] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]E
	[19] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[20] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[21] 0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[22] 0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 32 depth: 24
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 1
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 2
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 3
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 4
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 5
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 6
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 7
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 8
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 9
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 10
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 11
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 12
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 13
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
drmOpenDevice: minor is 14
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (Unknown error: 999()
drmOpenDevice: Open failed
(II) MGA(0): [drm] drmOpen failed
(EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.
(II) MGA(0): Using 3328 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
	Setting up tile and stipple cache:
		32 128x128 slots
		20 256x256 slots
		6 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(==) MGA(0): Direct rendering disabled
(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
(**) Option "Protocol" "Auto"
(**) Mouse1: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(**) Option "Buttons" "5"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse1: SetupAuto: protocol is SysMouse
(**) Option "BaudRate" "1200"
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!

-- 
Kresimir Kumericki    kkumer@phy.hr    http://www.phy.hr/~kkumer/
"Fizika svemira" - http://eskola.hfd.hr/fizika_svemira/svemir.html

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




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