I built X from CVS; and got it to install. however, DRI doesn't work. :(
glxinfo says it's using indirect rendering, and games are dead slow.

this was a config that had DRI working before; so I know it's possible.
I installed X to /usr/local/X11R6; and in my .xserverrc pointed to
/etc/X11/X, which was symlinked to /usr/local/X11R6/bin/XFree86.
I edited the XF86Config-4 file to use /usr/local/X11R6/lib/ for fonts and
modules. the DRI modules are indeed in /usr/local/X11R6/lib/modules/dri.
however, if i run an strace on glxgears and capture the output, it's going
to /usr/X11R6/lib for its libraries, rather than /usr/local/X11R6/lib.

could this be the problem?
if so, how do I tell it where the proper libraries are?
is there a way to tell what X modules are currently loaded (not kernel
modules)? (other than capturing stderr).

attached is the output of 'startx 2>cvs-x.log'

Carl Soderstrom.
-- 
Network Engineer
Real-Time Enterprises
(952) 943-8700




This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.99.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx November 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/)
Build Operating System: Linux 2.4.16 i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Dec 10 22:30:53 2001
(++) Using config file: "/etc/X11/XF86Config-4-vga"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "PT810-2M"
(**) |   |-->Device "G450_1"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) FontPath set to 
"/usr/local/X11R6/lib/X11/fonts/misc/,/usr/local/X11R6/lib/X11/fonts/Speedo/,/usr/local/X11R6/lib/X11/fonts/Type1/,/usr/local/X11R6/lib/X11/fonts/CID/,/usr/local/X11R6/lib/X11/fonts/75dpi/,/usr/local/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/local/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/local/X11R6/lib/modules"
(--) using VT number 5

(II) Loading /usr/local/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 0.1.0
(II) Loading /usr/local/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 0.1.0
(II) Unloading /usr/local/X11R6/lib/modules/libscanpci.a
(--) PCI: (0:12:0) ATI Mach64 GR rev 39, Mem @ 0xde000000/24, 0xdd800000/12, I/O @ 
0x9800/8, BIOS @ 0xe1ec0000/17
(--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 130, Mem @ 0xe2000000/25, 0xe1000000/14, 
0xe0800000/23, BIOS @ 0xe1fe0000/17
(II) Loading /usr/local/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(WW) Warning, couldn't open module pex5
(EE) Failed to load module "pex5" (module does not exist, 0)
(II) Loading /usr/local/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.13.0
(WW) Warning, couldn't open module xie
(EE) Failed to load module "xie" (module does not exist, 0)
(II) Loading /usr/local/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.1.0
(II) Loading /usr/local/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
        mgag550
(--) Chipset mgag400 found
(II) Loading /usr/local/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 0.1.0
(**) MGA(0): Depth 16, (--) framebuffer bpp 16
(==) MGA(0): RGB weight 565
(WW) Warning, couldn't open module 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 4x mode
(--) MGA(0): Linear framebuffer at 0xE2000000
(--) MGA(0): MMIO registers at 0xE1000000
(--) MGA(0): Pseudo-DMA transfer window at 0xE0800000
(--) MGA(0): BIOS at 0xE1FE0000
(--) MGA(0): Video BIOS info block at offset 0x07720
(WW) MGA(0): Video BIOS info block not detected!
(==) MGA(0): Write-combining range (0xe2000000,0x2000000)
(--) MGA(0): VideoRAM: 32768 kByte
(II) Loading /usr/local/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.2.0
(==) MGA(0): Write-combining range (0xe2000000,0x2000000)
(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: (nil)
(II) MGA(0): end of I2C Monitor info

(--) MGA(0): No DDC signal
(II) MGA(0): DDC Monitor info: (nil)
(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): PT810-2M: Using hsync range of 30.00-96.00 kHz
(II) MGA(0): PT810-2M: 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
(++) MGA(0): DPI set to (100, 100)
(II) Loading /usr/local/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 1.0.0
(II) Loading /usr/local/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
        compiled for 4.1.99.1, module version = 0.1.0
(==) MGA(0): Write-combining range (0xe2000000,0x2000000)
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
(II) MGA(0): [drm] created "mga" driver at busid "PCI:1:0:0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xf88ea000
(II) MGA(0): [drm] mapped SAREA 0xf88ea000 to 0x4001a000
(II) MGA(0): [drm] framebuffer handle = 0xe2000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000217 [AGP 0x1106/0x0305; Card 0x102b/0x0525]
(II) MGA(0): [agp] 12288 kB allocated with handle 0xfa8ee000
(II) MGA(0): [agp] WARP microcode handle = 0xe4000000
(II) MGA(0): [agp] WARP microcode mapped at 0x429ae000
(II) MGA(0): [agp] Primary DMA handle = 0xe4008000
(II) MGA(0): [agp] Primary DMA mapped at 0x429b6000
(II) MGA(0): [agp] DMA buffers handle = 0xe4108000
(II) MGA(0): [agp] DMA buffers mapped at 0x42ab6000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [drm] Registers handle = 0xe1000000
(II) MGA(0): [drm] Status handle = 0xfa8f7000
(II) MGA(0): [agp] Status page mapped at 0x4001c000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1024,2303)
(II) MGA(0): Largest offscreen area available: 1024 x 1535
(II) MGA(0): Reserved back buffer at offset 0x480000
(II) MGA(0): Reserved depth buffer at offset 0x600000
(II) MGA(0): Reserved 25088 kb for textures at offset 0x780000
(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
                14 256x256 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
(==) MGA(0): Direct rendering enabled
(**) Mouse0: Protocol: "IMPS/2"
(**) Mouse0: Core Pointer
(**) 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)
Could not init font path element /usr/local/X11R6/lib/X11/fonts/Speedo/, removing from 
list!
Could not init font path element /usr/local/X11R6/lib/X11/fonts/Type1/, removing from 
list!
SwitchToMode - scrn: 0 clock: 94500
               hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
               vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
SwitchToMode - scrn: 0 clock: 94500
               hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
               vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
SwitchToMode - scrn: 0 clock: 94500
               hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
               vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
SwitchToMode - scrn: 0 clock: 94500
               hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
               vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5

waiting for X server to shut down (II) MGA(0): [drm] removed 1 reserved context for 
kernel
(II) MGA(0): [drm] unmapping 8192 bytes of SAREA 0xf88ea000 at 0x4001a000
(==) MGA(0): Write-combining range (0xe2000000,0x2000000)
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
(II) MGA(0): [drm] created "mga" driver at busid "PCI:1:0:0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xf88ea000
(II) MGA(0): [drm] mapped SAREA 0xf88ea000 to 0x4001a000
(II) MGA(0): [drm] framebuffer handle = 0xe2000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000217 [AGP 0x1106/0x0305; Card 0x102b/0x0525]
(II) MGA(0): [agp] 12288 kB allocated with handle 0xfa8ee000
(II) MGA(0): [agp] WARP microcode handle = 0xe4000000
(II) MGA(0): [agp] WARP microcode mapped at 0x429ae000
(II) MGA(0): [agp] Primary DMA handle = 0xe4008000
(II) MGA(0): [agp] Primary DMA mapped at 0x429b6000
(II) MGA(0): [agp] DMA buffers handle = 0xe4108000
(II) MGA(0): [agp] DMA buffers mapped at 0x42ab6000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [drm] Registers handle = 0xe1000000
(II) MGA(0): [drm] Status handle = 0xfa8f7000
(II) MGA(0): [agp] Status page mapped at 0x4001c000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1024,2303)
(II) MGA(0): Largest offscreen area available: 1024 x 1535
(II) MGA(0): Reserved back buffer at offset 0x480000
(II) MGA(0): Reserved depth buffer at offset 0x600000
(II) MGA(0): Reserved 25088 kb for textures at offset 0x780000
(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
(==) MGA(0): Direct rendering enabled


Could not init font path element /usr/local/X11R6/lib/X11/fonts/Speedo/, removing from 
list!
Could not init font path element /usr/local/X11R6/lib/X11/fonts/Type1/, removing from 
list!
(II) MGA(0): [drm] removed 1 reserved context for kernel
(II) MGA(0): [drm] unmapping 8192 bytes of SAREA 0xf88ea000 at 0x4001a000
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to