Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2000 14:04:30 +0000
From:      Nick Barnes <Nick.Barnes@pobox.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Utah-GLX on Matrox G400 using DMA ??
Message-ID:  <17307.974383470@thrush.ravenbrook.com>

next in thread | raw e-mail | index | archive | help
I have a new machine running 4.1-RELEASE and Utah-GLX.

When I start X, bI get this glx.log.  Note the "Device not configured"
message.  It's the same when I try to open /dev/agpgart manually
(e.g. cat /dev/agpgart > /dev/null gives "Device not configured").

The Mesa demos run OK; much faster than without Utah-GLX.  But as I
understand it, this agpgart failure means I am using PseudoDMA only,
which slows down the card and prevents direct rendering.

Any ideas?  I've studied the LINT configuration file and sys/pci/agp.c
but without success.

Nick B

glx.log:
1176220624:virtual (x, y) (1280, 1024)
   112:width: 1280
    17:depth: 24
    17:memBase: 0x28689000
    18:videoRam: 0x00008000
    18:Detected 0x525 Chip ID
    42:Memory heap 0x834b360:
    20:  Offset:00000000, Size:005a0000, UR
    19:  Offset:005a0000, Size:01a5fc00, ..
    20:  Offset:01fffc00, Size:00000400, UR
    18:End of memory blocks
    46:defaulting to mga_dma = 3
   146:pseudoDmaPhysical : 0xfe000000
    19:pseudoDmaVirtual : 0x2a68e000
    18:Defaulting to mga_dmasize = 4
    17:defaulting to mga_dmaadr = agp
 35301:unable to open /dev/agpgart: Device not configured
    63:AllocateGARTMemory failed.
    17:mgaDmaInit: mga_dma = 3
    18:defaulting to mga_cmdsize = 4
   141:allocated 0x400000 bytes from virtual memory for command buffers.
 22963:MemoryBenchmark: 174 mb/s
 20413:MemoryBenchmark: 197 mb/s
   119:dmaBuffers[]->maxPrimaryDwords = 65536
    25:dmaBuffers[]->maxSecondaryDwords = 458752
    86:No sysmemHeap, textures must be stored on card
 17169:Configuring WARP
  7130:Only using a single warp pipe.
    42:tgz     0x0, 0x2865563c, 824
    22:tgza    0x0, 0x28655974, 856
    17:tgzaf   0x0, 0x28655ccc, 896
    19:tgzf    0x0, 0x2865604c, 864
    17:tgzs    0x0, 0x286563ac, 928
    19:tgzsa   0x0, 0x2865674c, 968
    18:tgzsaf  0x0, 0x28656b14, 1000
    18:tgzsf   0x0, 0x28656efc, 968
    18:t2gz     0x0, 0x286531b4, 1080
    19:t2gza    0x0, 0x286535ec, 1112
    17:t2gzaf   0x0, 0x28653a44, 1152
    19:t2gzf    0x0, 0x28653ec4, 1120
    17:t2gzs    0x0, 0x28654324, 1184
    19:t2gzsa   0x0, 0x286547c4, 1224
    18:t2gzsaf  0x0, 0x28654c8c, 1256
    18:t2gzsf   0x0, 0x28655174, 1224
    18:Warp initialisation successfully completed
    21:enabling mga_nosgram
mgaInitGLX completed
347808771:mgaGLXCreateContext()
 60685:mgaGLXCreateContext succeeded: 0x8855000
Don't allow direct clients with pseudo-dma132643:mgaGLXCreateImage( 400, 400 )
   151:mgaDestroyAllTextures()
    28:   4 bytesPerPixel  0 bytesPerDepth
    24:Memory heap 0x834b360:
    20:  Offset:00000000, Size:005a0000, UR
    22:  Offset:005a0000, Size:00a60000, ..
    91:  Offset:01000000, Size:000af000, U.
    19:  Offset:010af000, Size:00f50c00, ..
    19:  Offset:01fffc00, Size:00000400, UR
    19:End of memory blocks
13744144:mgaGLXCreateImage( 647, 616 )
    82:mgaGLXDestroyImage( 0x838e100 )
    30:Memory heap 0x834b360:
    18:  Offset:00000000, Size:005a0000, UR
    22:  Offset:005a0000, Size:01a5fc00, ..
    18:  Offset:01fffc00, Size:00000400, UR
    19:End of memory blocks
    29:mgaDestroyAllTextures()
    18:   4 bytesPerPixel  0 bytesPerDepth
    20:Memory heap 0x834b360:
    17:  Offset:00000000, Size:005a0000, UR
    19:  Offset:005a0000, Size:00a60000, ..
    18:  Offset:01000000, Size:001a8000, U.
    19:  Offset:011a8000, Size:00e57c00, ..
    19:  Offset:01fffc00, Size:00000400, UR
    18:End of memory blocks
296512400:mgaGLXDestroyImage( 0x838e100 )
    55:Memory heap 0x834b360:
    19:  Offset:00000000, Size:005a0000, UR
    22:  Offset:005a0000, Size:01a5fc00, ..
    20:  Offset:01fffc00, Size:00000400, UR
    18:End of memory blocks
  1693:mgaGLXDestroyContext( 0x8855000 )
    58:mgaDestroyContext(): successfully destroyed.


Section "Module"
        Load "/usr/X11R6/lib/modules/glx.so"
EndSection

--
FreeBSD 4.1-RELEASE: up 7 days, 59 mins
last reboot Thu Nov 2 10:55 (new machine)


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?17307.974383470>