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

DRI problems with 3dfx 4500 on DPW600au under Sarge



Hello all,

I am struggling to make DRI work on a DPW600au with a 3dfx Voodoo 4500
under Sarge. Kernel is 2.4.29.

Problem No.1:
When I enable DRI, all virtual consoles turn to a mix of white dots
scattered randomly all over the screen - I can still type but can't
read a thing...

Problem No.2:
I have built an OpenGL sample program on this machine. It runs, but the
graphic doesn't look like it should (as a reference, I have a DU4.0F
box next to the Sarge box). With acceleration disabled, the graphic
looks ok (but is terribly slow).

No idea whether these two issues are interrelated in any way.
But they can be reproduced on a second system (DPW500au) in parallel,
using another 3dfx 4500.

Is there anything that I could have missed to configure?
e.g. setpci -s 00:0c.0 4.w returns a 0003.

Any hints are greatly welcome.

TIA
Urs

Here the output of:
$ LIBGL_DEBUG=verbose glxinfo

libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
drmOpenByBusid: busid is PCI:0:12:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:0:12:0
libGL: using Glide library libglide3.so.3
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 20020221 Voodoo4
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_multitexture, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_bgra,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture,
GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_texture3D, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_object,
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_HP_occlusion_test,

    GL_IBM_rasterpos_clip, GL_MESA_window_pos, GL_NV_texgen_reflection
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 16 tc  1 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x24 16 tc  1 16  0 r  .  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x25 16 tc  1 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x26 16 tc  1 16  0 r  .  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x27 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x28 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x29 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2a 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x2b 16 tc  1 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x2c 16 tc  1 16  0 r  y  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x2d 16 tc  1 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x2e 16 tc  1 16  0 r  y  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x2f 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x30 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x31 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x32 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x33 16 dc  1 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x34 16 dc  1 16  0 r  .  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x35 16 dc  1 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x36 16 dc  1 16  0 r  .  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x37 16 dc  1 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x38 16 dc  1 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x39 16 dc  1 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x3a 16 dc  1 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x3b 16 dc  1 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x3c 16 dc  1 16  0 r  y  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x3d 16 dc  1 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x3e 16 dc  1 16  0 r  y  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x3f 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x40 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x41 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x42 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow

Here are sections of the XFree86.0.log

XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14 20050601085002
root@goedel.debian.org)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.29goedel alpha [ELF]
Build Date: 01 June 2005

....

OS Kernel: Linux version 2.4.29 (root@stingray) (gcc version 3.3.5
(Debian 1:3.3.5-13)) #1 Wed Oct 19 14:52:12 CEST 2005


(II) TDFX(0): Softbooting the board (through the int10 interface).
(II) Truncating PCI BIOS Length to 40960
(II) TDFX(0): Softbooting the board succeeded.
(II) TDFX(0): TDFXFindChips: found 1 chip(s)
(**) TDFX(0): Depth 16, (**) framebuffer bpp 16
(==) TDFX(0): RGB weight 565
(==) TDFX(0): Default visual is TrueColor
(**) TDFX(0): Option "NoAccel" "off"
(**) TDFX(0): Option "ShowCache" "on"
(**) TDFX(0): Option "DRI" "on"
(--) TDFX(0): Chipset: "3dfx Voodoo5"

...

(II) TDFX(0): Changing back offset from 0x01847000 to 0x01846000
(II) TDFX(0): Textures Memory 19.70 MB
(II) TDFX(0): Cursor Offset: [0x00000000,0x00001000)
(II) TDFX(0): Fifo Offset: [0x00001000, 0x00041000)
(II) TDFX(0): Front Buffer Offset: [0x00041000, 0x00493400)
(II) TDFX(0): Texture Offset: [0x00493400, 0x01846000)
(II) TDFX(0): BackOffset: [0x01846000, 0x01C22000)
(II) TDFX(0): DepthOffset: [0x01C23000, 0x01FFF000)
(II) TDFX(0): Minimum 216, Maximum 2895 lines of offscreen memory
available
(II) TDFX(0): [dri] VideoRAM = 32768, VirtualXres = 1600, VirtualYres=
1200,
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmGetBusid returned ''
(II) TDFX(0): [drm] loaded kernel module for "tdfx" driver
(II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:0:12:0"
(II) TDFX(0): [drm] added 8192 byte SAREA at 0xfffffffc00330000
(II) TDFX(0): [drm] mapped SAREA 0xfffffffc00330000 to 0x2000001a000
(II) TDFX(0): [drm] framebuffer handle = 0x18000000
(II) TDFX(0): [drm] added 1 reserved context for kernel
(II) TDFX(0): [drm] Registers = 0x10000000
(II) TDFX(0): visual configs initialized
(II) TDFX(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
        Offscreen Pixmaps
        Driver provided NonTEGlyphRenderer replacement
        Setting up tile and stipple cache:
                32 128x128 slots
                26 256x256 slots
                8 512x512 slots
(==) TDFX(0): Backing store disabled
(==) TDFX(0): Silken mouse enabled
(**) Option "dpms"
(**) TDFX(0): DPMS enabled
(II) TDFX(0): X context handle = 0x00000001
(II) TDFX(0): [drm] installed DRM signal handler
(II) TDFX(0): [DRI] installation complete
(==) TDFX(0): Direct rendering enabled
(==) RandR enabled



Reply to: