[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with tux(racer|kart)



also sprach Stephen Gran <steve@lobefin.net> [2002.09.09.0542 +0200]:
> In a term, try glxinfo - it'll tell you whether or not hardware
> rendering is supported.

  name of display: :0.0
  display: :0  screen: 0
  direct rendering: No
  server glx vendor string: SGI
  server glx version string: 1.2
  server glx extensions:
      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
  client glx vendor string: SGI
  client glx version string: 1.2
  client glx extensions:
      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
  GLX extensions:
      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
  OpenGL vendor string: VA Linux Systems, Inc.
  OpenGL renderer string: Mesa GLX Indirect
  OpenGL version string: 1.2 Mesa 3.4.2
  OpenGL extensions:
      GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color, 
      GL_EXT_blend_minmax, GL_EXT_blend_subtract
  glu version: 1.3
  glu extensions:
      GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  ----------------------------------------------------------------------
  0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
  0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
  0x25 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
  0x26 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None

> You can also try glxgears - it'll give you a > frame rate.

  713 frames in 5.0 seconds = 142.600 FPS
  800 frames in 5.0 seconds = 160.000 FPS
  700 frames in 5.0 seconds = 140.000 FPS

> beginning of the thread, but maybe try XFree86.org to see if they have a
> driver for your chipset that supports GL if the results are negative -
> upgrading X to 4.2 from Branden's site (or one of the mirrors) might
> help if that's the case.

I am already using the "ati" driver. XFree86.0.log contains

  (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
  (II) Module GLcore: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 1.0.0

And I'd love to use 4.2 from Branden, but this box is sarge only, no
sid at all, and the latest 4.2.0 deb's depend on the libc6 which has
been stuck in sid for the last bits of eternity.

> The other things are to make sure you have DRI enabled in your
> XF86Config-4, DRM in the kernel, and the module agpgart loaded

The relevant stuff from the logs:

  (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
  (II) Module dri: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 1.0.0

  (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
  (II) Module drm: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 1.0.0

  (II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
  (II) R128(0): [drm] added 4096 byte SAREA at 0xd0885000
  (II) R128(0): [drm] mapped SAREA 0xd0885000 to 0x40014000
  (II) R128(0): [drm] framebuffer handle = 0xe8000000
  (II) R128(0): [drm] added 1 reserved context for kernel
  (II) R128(0): [drm] register handle = 0xfcffc000
  (II) R128(0): [drm] installed DRM signal handler
  (II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
  (II) R128(0): [drm] Mapped 128 vertex/indirect buffers
  (II) R128(0): [drm] removed 1 reserved context for kernel
  (II) R128(0): [drm] unmapping 4096 bytes of SAREA 0xd0885000 at 0x40014000

  (II) R128(0): [dri] Visual configs initialized
  (II) R128(0): [DRI] installation complete

  (II) R128(0): Direct rendering enabled

  (II) R128(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x1130; Card 0x1002/0x4d46]
  (II) R128(0): [agp] 8192 kB allocated with handle 0xd1888000
  (II) R128(0): [agp] ring handle = 0xe4000000
  (II) R128(0): [agp] Ring mapped at 0x4120d000
  (II) R128(0): [agp] ring read ptr handle = 0xe4101000
  (II) R128(0): [agp] Ring read ptr mapped at 0x40015000
  (II) R128(0): [agp] vertex/indirect buffers handle = 0xe4102000
  (II) R128(0): [agp] Vertex/indirect buffers mapped at 0x4130e000
  (II) R128(0): [agp] AGP texture map handle = 0xe4302000
  (II) R128(0): [agp] AGP Texture map mapped at 0x4150e000

And from the kernel config:

  CONFIG_DRM=y
  CONFIG_DRM_NEW=y
  CONFIG_DRM_R128=y

  CONFIG_AGP=y
  CONFIG_AGP_INTEL=y

And finally, from dmesg(8):

  Linux agpgart interface v0.99 (c) Jeff Hartmann
  agpgart: Maximum main memory to use for agp memory: 203M
  agpgart: Detected Intel i815 chipset
  agpgart: AGP aperture is 64M @ 0xe4000000
  [drm] AGP 0.99 on Intel i815 @ 0xe4000000 64MB
  [drm] Initialized r128 2.1.6 20010405 on minor 0

It *looks* alright, does it not?

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
 
the packages come out en masse,
like minitab, systat, and sas.
the ultimate mess
is spss,
which everyone uses, alas.

Attachment: pgpEee3bSJuJy.pgp
Description: PGP signature


Reply to: