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

OpenGL acceleration on a rage 128 pro



Hello,

I have a Macintosh G4 (AGP) with a rage 128 pro card. I've tried to
'apt-get install xlibmesa3', but after doing this, my computer freezes
when attempting to run a OpenGL program.  For example, when I open
glxgears, A black window pops up and the system stops responding to
keyboard or mouse input. The unaccelerated mesag3 works perfectly, but
slowly. I am using a very recent benh kernel. XFree86 4.1 claims that DRM
is enabled for the card. It should be noted that I also have a voodoo3 in
my computer, which does not work. It too crashes the computer when I try
to 'insmod tdfxfb'. The glxinfo spits out the following:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
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 DRI Rage128 20010405 Pro AGP 1x
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
    GL_ARB_multitexture, GL_ARB_transpose_matrix, GL_EXT_abgr, 
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array,
GL_EXT_histogram, 
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal, 
    GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_env_add, 
    GL_EXT_texture_object, GL_EXT_texture_lod_bias, GL_EXT_vertex_array, 
    GL_MESA_window_pos, GL_MESA_resize_buffers, GL_NV_texgen_reflection, 
    GL_PGI_misc_hints, GL_SGIS_pixel_texture, GL_SGIS_texture_edge_clamp
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 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 Slow
0x25 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x26 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 Slow
0x29 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x2a 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow


And a few lines from the XFree86 log:
(II) R128(0): [drm] created "r128" driver at busid "PCI:0:16:0"
(II) R128(0): [drm] added 4096 byte SAREA at 0xda01e000
(II) R128(0): [drm] mapped SAREA 0xda01e000 to 0x30017000
(II) R128(0): [drm] framebuffer handle = 0xa4000000
(II) R128(0): [drm] added 1 reserved context for kernel
(WW) R128(0): [agp] AGP not available
(WW) R128(0): [agp] AGP failed to initialize -- falling back to PCI mode.
(WW) R128(0): [agp] Make sure you have the agpgart kernel module loaded.
(II) R128(0): [pci] 8192 kB allocated with handle 0xdb6c9000
(II) R128(0): [pci] ring handle = 0xdb6c9000
(II) R128(0): [pci] Ring mapped at 0x31049000
(II) R128(0): [pci] Ring contents 0x00000000
(II) R128(0): [pci] ring read ptr handle = 0xdb7ca000
(II) R128(0): [pci] Ring read ptr mapped at 0x30018000
(II) R128(0): [pci] Ring read ptr contents 0x00000000
(II) R128(0): [pci] vertex/indirect buffers handle = 0xdb7cb000
(II) R128(0): [pci] Vertex/indirect buffers mapped at 0x3114a000
(II) R128(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) R128(0): [drm] register handle = 0xa0000000
(II) R128(0): [dri] Visual configs initialized
(II) R128(0): CCE in BM mode
(II) R128(0): Using 8 MB AGP aperture
(II) R128(0): Using 1 MB for the ring buffer
(II) R128(0): Using 2 MB for vertex/indirect buffers
(II) R128(0): Using 5 MB for AGP textures
(II) R128(0): Memory manager initialized to (0,0) (1280,3276)
(II) R128(0): Reserved area from (0,1024) to (1280,1026)
(II) R128(0): Largest offscreen area available: 1280 x 2250
(II) R128(0): Reserved back buffer from (0,1026) to (1280,2050)
(II) R128(0): Reserved depth buffer from (0,2050) to (1280,3075)
(II) R128(0): Reserved depth span from (0,3074) offset 0xf02800
(II) R128(0): Reserved 0 kb for textures at offset 0xfff000
(==) R128(0): Backing store disabled
(==) R128(0): Silken mouse enabled
(II) R128(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                10 128x128 slots
(II) R128(0): Acceleration enabled
(II) R128(0): Using hardware cursor (scanline 12300)
(II) R128(0): Largest offscreen area available: 1280 x 199
(**) Option "dpms"
(**) R128(0): DPMS enabled
(WW) R128(0): Option "fbdev" is not used
(II) R128(0): X context handle = 0x00000001
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [DRI] installation complete
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): Direct rendering enabled

And kernel startup:

PCI: Enabling device 00:10.0 (0086 -> 0087)
aty128fb: Rage128 Pro PF (AGP) [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 128x48
fb0: ATY Rage128 frame buffer device on PCI
Using unsupported 640x480 3Dfx,Voodoo3 at 90000000, depth=8, pitch=640
fb1: Open Firmware frame buffer device on
/pci@f2000000/pci-bridge@d/3Dfx,Voodoo3@2

Any ideas about why the tdfx card or OpenGL acceleration (on the r128
card) do not work?

-Nathan Conrad



Reply to: