Bug 1153 - [Matrox/G200] Direct-rendering fails with G200 configured under AGPMode 2.
Summary: [Matrox/G200] Direct-rendering fails with G200 configured under AGPMode 2.
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/mga (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) FreeBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-21 17:49 UTC by J. Kanowitz
Modified: 2007-02-22 14:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description J. Kanowitz 2004-08-21 17:49:26 UTC
I'm that guy who *always* has problems with his G200s...

Current configuration is a 440BX-based SMP, FreeBSD 5.2.1, upgraded to X.org
from XFree86 4.4 with binary packages from ftp.freebsd.org (in
packages-5-current).  Installed dri-5.0.2 binary package as part of presumed
X.org upgrade process; made the mistake? of moving to dri-6.1.p20040507,1 binary
package before testing current configuration due to similar bad luck with
'5.0.2'... very confused as to whether I should've touched either of those.

After a wild goose chase, using an autogenerated XF86Config finally got me to
the point where glxgears would run consistently without use of mga_hal_drv.o.* 
(Already had /usr/lib/libpthread.so.1 symlink to libc_r.so.5 to make binaries
intended for 5-CURRENT happy.)

Enabling Option "AGPMode" "2" returns to the regressive (and very annoying!)
behavior - while glxinfo is happy, running glxgears may or may not get an empty
window on screen before the keyboard locks up and makes the system unusable. 
The mouse cursor continues to function, but very slowly (tracking seems to
remain accurate, but the position is only redrawn at intervals of one second);
clicks of course fail to register, and sshing in to kill the server can take
five minutes (as top will then show it using 99% CPU).

*Anecdotal experience (over years of X usage) suggests some of these problems
may somehow be modeline-dependent (I started experiencing them much more often
after replacing my DDC-compliant monitor with a generic SVGA (NEC Multisync
3V)), and for inexplicable reasons, installing mga_hal_drv.o (salvaged from my
last FreeBSD build that offered the option of creating one -- XFree86 4.2.0 on
FreeBSD 4.x?) nearly always turns a locking configuration into a working one...
despite cries that it shouldn't matter!  Happy to test this with my current
configuration on request, I just can't go restarting the server while I'm using
it to file this bug.

Current, troublesome configuration:
---
/etc/X11/XF86Config:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 48.5

EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "mga"
        VendorName  "Matrox Graphics, Inc."
        BoardName   "MGA G200 AGP"
        Option      "AGPMode"   "2"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24      
        #Option "InitPrimary" "true"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "800x600" "640x480" "640x400" "512x384" "400x300" "320x
240" "320x200"
        EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

---
/var/log/Xorg.0.log:

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: FreeBSD 5.2 i386 [ELF] 
Current Operating System: FreeBSD mustelid 5.2.1-RC2 FreeBSD 5.2.1-RC2 #1: Fri F
eb 20 12:13:38 EST 2004     floid@mustelid:/usr/obj/usr/src/sys/MUSTELID i386
Build Date: 10 August 2004
        Before reporting problems, check http://wiki.X.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/Xorg.0.log", Time: Fri Aug 20 21:44:43 2004
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/TTF/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/TTF/").
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/Speedo/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/Speedo/").
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/CID/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/CID/").
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/100dpi/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/100dpi/").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Ty
pe1/,/usr/X11R6/lib/X11/fonts/75dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.2
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        X.Org Server Extension : 0.2
        X.Org 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="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(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,7190 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 8086,1229 card 1014,00d7 rev 05 class 02,00,00 hdr 00
(II) PCI: 00:03:0: chip 9004,7895 card 9004,7895 rev 04 class 01,00,00 hdr 80
(II) PCI: 00:03:1: chip 9004,7895 card 9004,7895 rev 04 class 01,00,00 hdr 80
(II) PCI: 00:04:0: chip 8086,7110 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:04:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 hdr 00
(II) PCI: 00:04:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:04:3: chip 8086,7113 card 0000,0000 rev 02 class 06,80,00 hdr 00
(II) PCI: 00:0d:0: chip 1022,2001 card 1092,0a78 rev 51 class 02,00,00 hdr 00
(II) PCI: 00:0e:0: chip 8086,1229 card 8086,0009 rev 04 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 102b,0521 card 102b,ff03 rev 01 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0088 (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0       0xf7700000 - 0xf7ffffff (0x900000) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0       0xf6000000 - 0xf73fffff (0x1400000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:4:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) Matrox Graphics, Inc. MGA G200 AGP rev 1, Mem @ 0xf6000000/24,
 0xf77fc000/14, 0xf7800000/23
(II) Addressable bus resource ranges are
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xf0000000 from 0xffffffff to 0xeffffff
f
(II) PCI Memory resource overlap reduced 0xf7600000 from 0xf77fffff to 0xf76ffff
f
(II) Active PCI resource ranges:
        [0] -1  0       0xf7600000 - 0xf76fffff (0x100000) MX[B]E
        [1] -1  0       0xf5fff000 - 0xf5ffffff (0x1000) MX[B]E
        [2] -1  0       0xf74fdfe0 - 0xf74fdfff (0x20) MX[B]E
        [3] -1  0       0xf7500000 - 0xf75fffff (0x100000) MX[B]E
        [4] -1  0       0xf5ffe000 - 0xf5ffffff (0x2000) MX[B]E
        [5] -1  0       0xf0000000 - 0xefffffff (0x0) MX[B]EO
        [6] -1  0       0xf7800000 - 0xf7ffffff (0x800000) MX[B](B)
        [7] -1  0       0xf77fc000 - 0xf77fffff (0x4000) MX[B](B)
        [8] -1  0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B](B)
        [9] -1  0       0x000070e0 - 0x000070ff (0x20) IX[B]E
        [10] -1 0       0x000070c0 - 0x000070ff (0x40) IX[B]E
        [11] -1 0       0x0000ff00 - 0x0000ffff (0x100) IX[B]E
        [12] -1 0       0x0000fff0 - 0x0000ffff (0x10) IX[B]E
        [13] -1 0       0x00007800 - 0x000078ff (0x100) IX[B]E
        [14] -1 0       0x00007400 - 0x000074ff (0x100) IX[B]E
        [15] -1 0       0x000070a0 - 0x000070bf (0x20) IX[B]E
(II) Inactive PCI resource ranges:
        [0] -1  0       0xf74ff000 - 0xf74fffff (0x1000) MX[B]E
        [1] -1  0       0xf74fe000 - 0xf74fffff (0x2000) MX[B]E
(II) PCI I/O resource overlap reduced 0x000070c0 from 0x000070ff to 0x000070df
(II) PCI I/O resource overlap reduced 0x0000ff00 from 0x0000ffff to 0x0000ff7f
(II) PCI Memory resource overlap reduced 0xf5ffe000 from 0xf5ffffff to 0xf5ffeff
f
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0       0xf7600000 - 0xf76fffff (0x100000) MX[B]E
        [1] -1  0       0xf5fff000 - 0xf5ffffff (0x1000) MX[B]E
        [2] -1  0       0xf74fdfe0 - 0xf74fdfff (0x20) MX[B]E
        [3] -1  0       0xf7500000 - 0xf75fffff (0x100000) MX[B]E
        [4] -1  0       0xf5ffe000 - 0xf5ffefff (0x1000) MX[B]E
        [5] -1  0       0xf0000000 - 0xefffffff (0x0) MX[B]EO
        [6] -1  0       0xf7800000 - 0xf7ffffff (0x800000) MX[B](B)
        [7] -1  0       0xf77fc000 - 0xf77fffff (0x4000) MX[B](B)
        [8] -1  0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B](B)
        [9] -1  0       0x000070e0 - 0x000070ff (0x20) IX[B]E
        [10] -1 0       0x000070c0 - 0x000070df (0x20) IX[B]E
        [11] -1 0       0x0000ff00 - 0x0000ff7f (0x80) IX[B]E
        [12] -1 0       0x0000fff0 - 0x0000ffff (0x10) IX[B]E
        [13] -1 0       0x00007800 - 0x000078ff (0x100) IX[B]E
        [14] -1 0       0x00007400 - 0x000074ff (0x100) IX[B]E
        [15] -1 0       0x000070a0 - 0x000070bf (0x20) IX[B]E
(II) Inactive PCI resource ranges after removing overlaps:
        [0] -1  0       0xf74ff000 - 0xf74fffff (0x1000) MX[B]E
        [1] -1  0       0xf74fe000 - 0xf74fffff (0x2000) MX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xf7600000 - 0xf76fffff (0x100000) MX[B]E
        [6] -1  0       0xf5fff000 - 0xf5ffffff (0x1000) MX[B]E
        [7] -1  0       0xf74fdfe0 - 0xf74fdfff (0x20) MX[B]E
        [8] -1  0       0xf7500000 - 0xf75fffff (0x100000) MX[B]E
        [9] -1  0       0xf5ffe000 - 0xf5ffefff (0x1000) MX[B]E
        [10] -1 0       0xf0000000 - 0xefffffff (0x0) MX[B]EO
        [11] -1 0       0xf7800000 - 0xf7ffffff (0x800000) MX[B](B)
        [12] -1 0       0xf77fc000 - 0xf77fffff (0x4000) MX[B](B)
        [13] -1 0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B](B)
        [14] -1 0       0xf74ff000 - 0xf74fffff (0x1000) MX[B]E
        [15] -1 0       0xf74fe000 - 0xf74fffff (0x2000) MX[B]E
        [16] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [17] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [18] -1 0       0x000070e0 - 0x000070ff (0x20) IX[B]E
        [19] -1 0       0x000070c0 - 0x000070df (0x20) IX[B]E
        [20] -1 0       0x0000ff00 - 0x0000ff7f (0x80) IX[B]E
        [21] -1 0       0x0000fff0 - 0x0000ffff (0x10) IX[B]E
        [22] -1 0       0x00007800 - 0x000078ff (0x100) IX[B]E
        [23] -1 0       0x00007400 - 0x000074ff (0x100) IX[B]E
        [24] -1 0       0x000070a0 - 0x000070bf (0x20) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org 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 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) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DEC-XTRAP
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
        compiled for 6.7.0, module version = 2.1.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.1
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.2
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "mga"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.1.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.4
(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 mgag200 found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xf7600000 - 0xf76fffff (0x100000) MX[B]E
        [6] -1  0       0xf5fff000 - 0xf5ffffff (0x1000) MX[B]E
        [7] -1  0       0xf74fdfe0 - 0xf74fdfff (0x20) MX[B]E
        [8] -1  0       0xf7500000 - 0xf75fffff (0x100000) MX[B]E
        [9] -1  0       0xf5ffe000 - 0xf5ffefff (0x1000) MX[B]E
        [10] -1 0       0xf0000000 - 0xefffffff (0x0) MX[B]EO
        [11] -1 0       0xf7800000 - 0xf7ffffff (0x800000) MX[B](B)
        [12] -1 0       0xf77fc000 - 0xf77fffff (0x4000) MX[B](B)
        [13] -1 0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B](B)
        [14] -1 0       0xf74ff000 - 0xf74fffff (0x1000) MX[B]E
        [15] -1 0       0xf74fe000 - 0xf74fffff (0x2000) MX[B]E
        [16] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [17] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [18] -1 0       0x000070e0 - 0x000070ff (0x20) IX[B]E
        [19] -1 0       0x000070c0 - 0x000070df (0x20) IX[B]E
        [20] -1 0       0x0000ff00 - 0x0000ff7f (0x80) IX[B]E
        [21] -1 0       0x0000fff0 - 0x0000ffff (0x10) IX[B]E
        [22] -1 0       0x00007800 - 0x000078ff (0x100) IX[B]E
        [23] -1 0       0x00007400 - 0x000074ff (0x100) IX[B]E
        [24] -1 0       0x000070a0 - 0x000070bf (0x20) IX[B]E
(II) resource ranges after probing:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xf7600000 - 0xf76fffff (0x100000) MX[B]E
        [6] -1  0       0xf5fff000 - 0xf5ffffff (0x1000) MX[B]E
        [7] -1  0       0xf74fdfe0 - 0xf74fdfff (0x20) MX[B]E
        [8] -1  0       0xf7500000 - 0xf75fffff (0x100000) MX[B]E
        [9] -1  0       0xf5ffe000 - 0xf5ffefff (0x1000) MX[B]E
        [10] -1 0       0xf0000000 - 0xefffffff (0x0) MX[B]EO
        [11] -1 0       0xf7800000 - 0xf7ffffff (0x800000) MX[B](B)
        [12] -1 0       0xf77fc000 - 0xf77fffff (0x4000) MX[B](B)
        [13] -1 0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B](B)
        [14] -1 0       0xf74ff000 - 0xf74fffff (0x1000) MX[B]E
        [15] -1 0       0xf74fe000 - 0xf74fffff (0x2000) MX[B]E
        [16] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [17] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [18] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [19] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [20] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [21] -1 0       0x000070e0 - 0x000070ff (0x20) IX[B]E
        [22] -1 0       0x000070c0 - 0x000070df (0x20) IX[B]E
        [23] -1 0       0x0000ff00 - 0x0000ff7f (0x80) IX[B]E
        [24] -1 0       0x0000fff0 - 0x0000ffff (0x10) IX[B]E
        [25] -1 0       0x00007800 - 0x000078ff (0x100) IX[B]E
        [26] -1 0       0x00007400 - 0x000074ff (0x100) IX[B]E
        [27] -1 0       0x000070a0 - 0x000070bf (0x20) IX[B]E
        [28] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [29] 0  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="X.Org Foundation"
        compiled for 6.7.0, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(--) MGA(0): Chipset: "mgag200"
(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)
(==) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(**) MGA(0): Option "AGPMode" "2"
(**) MGA(0): Using AGP 2x mode
(--) MGA(0): Linear framebuffer at 0xF6000000
(--) MGA(0): MMIO registers at 0xF77FC000
(--) MGA(0): Pseudo-DMA transfer window at 0xF7800000
(==) MGA(0): BIOS at 0xC0000
(--) MGA(0): Video BIOS info block at offset 0x07A60
(--) MGA(0): Found and verified enhanced Video BIOS info block
(II) MGA(0): MGABios.RamdacType = 0x0
(==) MGA(0): Write-combining range (0xf77fc000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xf6000000,0x800000)
(==) MGA(0): Write-combining range (0xf7800000,0x800000) was already clear
(--) MGA(0): VideoRAM: 8192 kByte
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.2.0
        ABI class: X.Org Video Driver, version 0.7
(==) MGA(0): Write-combining range (0xf77fc000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xf6000000,0x800000)
(==) MGA(0): Write-combining range (0xf7800000,0x800000) was already clear
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) 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 at address 0xA0.
(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
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.1.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) MGA(0): initializing int10
(==) MGA(0): Write-combining range (0xa0000,0x20000) was already clear
(==) MGA(0): Write-combining range (0xc0000,0x40000) was already clear
(II) MGA(0): Primary V_BIOS segment is: 0xc000
(==) MGA(0): Write-combining range (0x0,0x1000) was already clear
(II) MGA(0): VESA BIOS detected
(II) MGA(0): VESA VBE Version 2.0
(II) MGA(0): VESA VBE Total Mem: 8192 kB
(II) MGA(0): VESA VBE OEM: Matrox Graphics Inc.
(II) MGA(0): VESA VBE OEM Software Rev: 1.2
(II) MGA(0): VESA VBE OEM Vendor: Matrox
(II) MGA(0): VESA VBE OEM Product: MGA-G200
(II) MGA(0): VESA VBE OEM Product Rev: 00
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) MGA(0): VESA VBE DDC supported
(II) MGA(0): VESA VBE DDC Level none
(II) MGA(0): VESA VBE DDC transfer in appr. 0 sec.
(II) MGA(0): VESA VBE DDC read failed
(==) MGA(0): Write-combining range (0x0,0x1000) was already clear
(==) 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 250 MHz
(II) MGA(0): Monitor0: Using hsync range of 31.50-48.50 kHz
(II) MGA(0): Monitor0: Using default vrefresh range of 43.00-72.00 Hz
(II) MGA(0): Clock range:  12.00 to 250.00 MHz
(II) MGA(0): Not using default mode "640x350" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x175" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x200" (vrefresh out of range)
(II) MGA(0): Not using default mode "720x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "360x200" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x480" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x240" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x480" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x240" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x480" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x240" (vrefresh out of range)
(II) MGA(0): Not using default mode "800x600" (vrefresh out of range)
(II) MGA(0): Not using default mode "400x300" (vrefresh out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(II) MGA(0): Not using default mode "400x300" (hsync out of range)
(II) MGA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "512x384" (vrefresh out of range)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "512x384" (hsync out of range)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "512x384" (hsync out of range)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "512x384" (hsync out of range)
(II) MGA(0): Not using default mode "1152x864" (hsync out of range)
(II) MGA(0): Not using default mode "576x432" (hsync out of range)
(II) MGA(0): Not using default mode "1280x960" (hsync out of range)
(II) MGA(0): Not using default mode "640x480" (hsync out of range)
(II) MGA(0): Not using default mode "1280x960" (hsync out of range)
(II) MGA(0): Not using default mode "640x480" (hsync out of range)
(II) MGA(0): Not using default mode "1280x1024" (hsync out of range)
(II) MGA(0): Not using default mode "640x512" (hsync out of range)
(II) MGA(0): Not using default mode "1280x1024" (hsync out of range)
(II) MGA(0): Not using default mode "640x512" (hsync out of range)
(II) MGA(0): Not using default mode "1280x1024" (hsync out of range)
(II) MGA(0): Not using default mode "640x512" (hsync out of range)
(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 "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(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 "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(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" (insufficient memory for mode)
(II) MGA(0): Not using default mode "896x672" (hsync out of range)
(II) MGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) MGA(0): Not using default mode "896x672" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(II) MGA(0): Not using default mode "832x624" (hsync out of range)
(II) MGA(0): Not using default mode "416x312" (hsync out of range)
(II) MGA(0): Not using default mode "1400x1050" (hsync out of range)
(II) MGA(0): Not using default mode "700x525" (hsync out of range)
(II) MGA(0): Not using default mode "1400x1050" (hsync out of range)
(II) MGA(0): Not using default mode "700x525" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1024" (hsync out of range)
(II) MGA(0): Not using default mode "800x512" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(II) MGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using mode "640x400" (no mode of this name)
(II) MGA(0): Not using mode "320x200" (no mode of this name)
(II) MGA(0): Not using default mode "1152x768" (width too large for virtual size
)
(II) MGA(0): Not using default mode "1024x768" (width too large for virtual size
)
(--) MGA(0): Virtual size is 800x600 (pitch 800)
(**) MGA(0): *Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(II) MGA(0): Modeline "800x600"   50.00  800 856 976 1040  600 637 643 666 +hsyn
c +vsync
(**) MGA(0): *Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) MGA(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync
 -vsync
(**) MGA(0): *Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(II) MGA(0): Modeline "512x384"   32.50  512 524 592 672  384 385 388 403 double
scan -hsync -vsync
(**) MGA(0): *Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(II) MGA(0): Modeline "400x300"   25.00  400 428 488 520  300 318 321 333 double
scan +hsync +vsync
(**) MGA(0): *Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) MGA(0): Modeline "320x240"   12.60  320 328 376 400  240 245 246 262 double
scan -hsync -vsync
(**) MGA(0):  Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(II) MGA(0): Modeline "800x600"   40.00  800 840 968 1056  600 601 605 628 +hsyn
c +vsync
(**) MGA(0):  Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(II) MGA(0): Modeline "800x600"   36.00  800 824 896 1024  600 601 603 625 +hsyn
c +vsync
(**) MGA(0):  Default mode "576x384": 32.5 MHz, 44.2 kHz, 54.8 Hz (D)
(II) MGA(0): Modeline "576x384"   32.50  576 589 657 736  384 385 388 403 double
scan +hsync +vsync
(**) MGA(0):  Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(II) MGA(0): Modeline "400x300"   20.00  400 420 484 528  300 300 302 314 double
scan +hsync +vsync
(**) MGA(0):  Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(II) MGA(0): Modeline "400x300"   18.00  400 412 448 512  300 300 301 312 double
scan +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="X.Org Foundation"
        compiled for 6.7.0, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 1.1.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
        compiled for 6.7.0, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xf7800000 - 0xf7ffffff (0x800000) MX[B]
        [1] 0   0       0xf77fc000 - 0xf77fffff (0x4000) MX[B]
        [2] 0   0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B]
        [3] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [4] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [5] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [6] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [7] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [8] -1  0       0xf7600000 - 0xf76fffff (0x100000) MX[B]E
        [9] -1  0       0xf5fff000 - 0xf5ffffff (0x1000) MX[B]E
        [10] -1 0       0xf74fdfe0 - 0xf74fdfff (0x20) MX[B]E
        [11] -1 0       0xf7500000 - 0xf75fffff (0x100000) MX[B]E
        [12] -1 0       0xf5ffe000 - 0xf5ffefff (0x1000) MX[B]E
        [13] -1 0       0xf0000000 - 0xefffffff (0x0) MX[B]EO
        [14] -1 0       0xf7800000 - 0xf7ffffff (0x800000) MX[B](B)
        [15] -1 0       0xf77fc000 - 0xf77fffff (0x4000) MX[B](B)
        [16] -1 0       0xf6000000 - 0xf6ffffff (0x1000000) MX[B](B)
        [17] -1 0       0xf74ff000 - 0xf74fffff (0x1000) MX[B]E
        [18] -1 0       0xf74fe000 - 0xf74fffff (0x2000) MX[B]E
        [19] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
        [20] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
        [21] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
        [22] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [23] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [24] -1 0       0x000070e0 - 0x000070ff (0x20) IX[B]E
        [25] -1 0       0x000070c0 - 0x000070df (0x20) IX[B]E
        [26] -1 0       0x0000ff00 - 0x0000ff7f (0x80) IX[B]E
        [27] -1 0       0x0000fff0 - 0x0000ffff (0x10) IX[B]E
        [28] -1 0       0x00007800 - 0x000078ff (0x100) IX[B]E
        [29] -1 0       0x00007400 - 0x000074ff (0x100) IX[B]E
        [30] -1 0       0x000070a0 - 0x000070bf (0x20) IX[B]E
        [31] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [32] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) MGA(0): Write-combining range (0xf77fc000,0x4000) was already clear
(==) MGA(0): Write-combining range (0xf6000000,0x800000)
(==) MGA(0): Write-combining range (0xf7800000,0x800000) was already clear
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) MGA(0): Write-combining range (0xa0000,0x10000) was already clear
(--) MGA(0): 64 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, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned ''
(II) MGA(0): [drm] loaded kernel module for "mga" driver
(II) MGA(0): [drm] created "mga" driver at busid "PCI:1:0:0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xc3241000
(II) MGA(0): [drm] mapped SAREA 0xc3241000 to 0x2833d000
(II) MGA(0): [drm] framebuffer handle = 0xf6000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000203 [AGP 0x0000/0x0000; Card 0x102b/0x0521]
(II) MGA(0): [drm] Enabling AGP 2x PLL encoding
(II) MGA(0): [agp] 12288 kB allocated with handle 0xc31d0000
(II) MGA(0): [agp] WARP microcode handle = 0xf0000000
(II) MGA(0): [agp] WARP microcode mapped at 0x2833f000
(II) MGA(0): [agp] Primary DMA handle = 0xf0008000
(II) MGA(0): [agp] Primary DMA mapped at 0x29400000
(II) MGA(0): [agp] DMA buffers handle = 0xf0108000
(II) MGA(0): [agp] DMA buffers mapped at 0x29500000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [agp] agpTexture handle = 0xf0908000
(II) MGA(0): [agp] agpTexture size: 2816 kb
(II) MGA(0): [drm] Registers handle = 0xf77fc000
(II) MGA(0): [drm] Status handle = 0xc3245000
(II) MGA(0): [agp] Status page mapped at 0x28347000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (800,1199)
(II) MGA(0): Largest offscreen area available: 800 x 599
(II) MGA(0): Reserved back buffer at offset 0x3aa000
(II) MGA(0): Reserved depth buffer at offset 0x57f000
(II) MGA(0): Reserved 688 kb for textures at offset 0x754000
(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:
                24 128x128 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(II) MGA(0): X context handle = 0x00000001
(II) MGA(0): [drm] installed DRM signal handler
(II) MGA(0): [DRI] installation complete
(II) MGA(0): [drm] Mapped 128 DMA buffers
(II) MGA(0): [drm] dma control initialized, using IRQ 9
(==) MGA(0): Direct rendering enabled
(==) RandR enabled
(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 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
(II) Initializing built-in extension RANDR
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/sysmouse"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
(II) 3rd Button detected: disabling emulate3Button
GetModeLine - scrn: 0 clock: 50000
GetModeLine - hdsp: 800 hbeg: 856 hend: 976 httl: 1040
              vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5
GetModeLine - scrn: 0 clock: 50000
GetModeLine - hdsp: 800 hbeg: 856 hend: 976 httl: 1040
              vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5
GetModeLine - scrn: 0 clock: 50000
GetModeLine - hdsp: 800 hbeg: 856 hend: 976 httl: 1040
              vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5
GetModeLine - scrn: 0 clock: 50000
GetModeLine - hdsp: 800 hbeg: 856 hend: 976 httl: 1040
              vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5

---
Pertinent lines from dmesg:

agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf0000000-0xf3ffffff at
device 0.0 on pci0

drm0: <Matrox G200 (AGP)> mem
0xf7800000-0xf7ffffff,0xf77fc000-0xf77fffff,0xf6000000-0xf6ffffff irq 9 at
device 0.0 on pci1
info: [drm] AGP at 0xf0000000 64MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
drm0: [MPSAFE]

...however, it's important to note that drm0 isn't showing up at boot time
(confirmed by checking /var/run/dmesg.boot) ... presumably it's only getting
loaded when I go to start the server.
Comment 1 J. Kanowitz 2005-01-09 03:35:22 UTC
Update: 

Fought with this some more, now on FreeBSD 5.3-p1.  mga_hal is removed. 
Installed latest FreeBSD DRI package from /usr/ports/graphics/dri (dri-6.2_1,2);
with 6.7, ended up with DRM showing loaded in Xorg.0.log but glxinfo failing to
show direct rendering enabled for "libGL error: __driCreateScreen() not defined
in mga_dri.so!"  (I apologize for the lack of context here, I didn't keep a full
log, and wasn't expecting to progress to a state where I couldn't reproduce it.)

Threw mga_load="YES" into /boot/loader.conf, rebooted, same results.  For
somewhat obvious reasons, most likely.

Rebuilt and reinstalled the DRI port, "just in case."  Same results.

Gave in and installed xorg-server-6.8.1, xorg-libraries-6.8.1, and
xorg-clients-6.8.1, after backing out their previous counterparts.

glxinfo now displays:
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
display: :0  screen: 0
direct rendering: Yes
...

glxgears produces the same warnings, and renders as a black window, while
displaying a somewhat believable FPS.  At least it doesn't trigger the sort of
horrible frozen-keyboard / 'stuttering mouse' syndrome it used to.  (In those
circumstances, the system would remain alive enough to ssh into, but recovering
the console after killing the server proved consistently impossible.)

Some glx clients actually work!  The xmms-iris plugin is unfazed, but at
incredibly reduced performance (below software rendering) vs. what I used to
achieve with the last XFree86 incarnations that worked.  The Xorg process is
shown eating ~95% CPU time in top.

Paging through xscreensaver's GL hacks produced many black/blank previews, and
one case of 'stuttering' during (when attempting to preview 'MirrorBlob') --
but, to my amazement and relief, the mouse remained responsive, the keyboard
LEDs didn't die, mouse events still registered, and it was generally much more
like still having a fully-functional computer with a working X server than a
paperweight in need of reboot.

I've also discovered the "SpeedMine" and "SpeedWorm" hacks work (presumably more
instances of programs using what visuals *are* supported), taking the Xorg
process up to about 35% CPU in top, and approaching a tolerable FPS, though
still much slower than memory suggests.

Taking a hack that doesn't work (e.g. moebius) and trying to invoke it with
every visual not in the 'unsupported' list produces only more recoverable
stutter and blank windows.  Beyond this, I'm at a loss as to what would be
useful, or how much of this is already known.

I'm going to remove the mga_load from loader.conf for my next boot, and see if
anything improves, but figured I'd report.

---

Somewhat OT for where this has been filed, but improved or more-noticable
documentation of the -need- to install the DRI ports on FreeBSD would be
appreciated, as would some visible notice that drm-kmod is very, very stale and
not intended for human consumption.  (...and that the current 'dri' port is only
intended for 6.8.1, if that's the case beyond mga.)
Comment 2 Erik Andren 2006-03-12 23:45:59 UTC
What is the current status of this bug? Has the issues been resolved?
Comment 3 J. Kanowitz 2006-03-19 22:45:51 UTC
As the original reporter, I have yet to update and re-test with a newer release.
 As such, "I don't know."

Do any of the FreeBSD LiveCD projects support the DRI?  I'm low on disk and
intending to crossgrade that one system (the only SMP box I own) to DragonFly.
[Will do my own research, but if the answer is 'yes' a poke by e-mail is always
appreciated.]
Comment 4 J. Kanowitz 2006-03-19 22:48:25 UTC
I forgot to mention that, yes, rapidly after posting the original bug, I noticed
SpeedMine/SpeedWorm are not actually GL programs.  The xmms-iris plugin
certainly is, though.
Comment 5 Timo Jyrinki 2007-02-22 14:26:25 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.