Help with Linux (Mandriva) and 3d Accel on Banshee

Started by krisbee, 07 March 2006, 13:53:10

Previous topic - Next topic

krisbee

This was posted on another forum, but I was told by Daniel Borca to post it here...

All of you, I just want to say how great this board still has postings!  Maybe you can help me, because I am going out of my head getting this Banshee to work.

I am using Mandriva 2006 LE, with xorg 6.9... I couldn't get my banshee to do any direct rendering for a long time.. until  I discovered that the rpms that shipped with the distro, specifically the Glide 3.10.0, was missing symbolic links... once I fixed that, I got glxinfo to show direct rendering, and glxgears to show a fps that was good.

However, I can't run anything else 3d... there always is a crash.  Help me install this thing correctly, please!

It's hard following the directions, since things have been so long since they were written.  Xorg is not XF86... the device driver I don't believe is supposed to be compiled anymore...  

Please help!

Here is my glxinfo:
[krisbee@localhost ~]$ glxinfo
name of display: :0.0
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
libGL warning: 3D driver claims to not support visual 0x35
libGL warning: 3D driver claims to not support visual 0x36
libGL warning: 3D driver claims to not support visual 0x39
libGL warning: 3D driver claims to not support visual 0x3a
libGL warning: 3D driver claims to not support visual 0x3d
libGL warning: 3D driver claims to not support visual 0x3e
libGL warning: 3D driver claims to not support visual 0x41
libGL warning: 3D driver claims to not support visual 0x42
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI 20040719 VoodooBanshee x86/MMX/3DNow!
OpenGL version string: 1.2 Mesa 6.4.1
OpenGL extensions:
GL_ARB_multisample, GL_ARB_texture_env_add,
GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
GL_ARB_vertex_buffer_object, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_func_separate, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_HP_occlusion_test,
GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_window_pos, GL_NV_light_max_exponent, GL_NV_texgen_reflection,
GL_OES_read_format, GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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 0 16 0 r . . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x24 16 tc 0 16 0 r . . 5 6 5 0 0 0 8 0 0 0 0 0 0 Slow
0x25 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 0 0 0 Slow
0x26 16 tc 0 16 0 r . . 5 6 5 0 0 0 8 16 16 16 0 0 0 Slow
0x27 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x28 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x29 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x2a 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x2b 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x2c 16 tc 0 16 0 r y . 5 6 5 0 0 0 8 0 0 0 0 0 0 Slow
0x2d 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 0 0 0 Slow
0x2e 16 tc 0 16 0 r y . 5 6 5 0 0 0 8 16 16 16 0 0 0 Slow
0x2f 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x30 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x31 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x32 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x33 16 dc 0 16 0 r . . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x34 16 dc 0 16 0 r . . 5 6 5 0 0 0 8 0 0 0 0 0 0 Slow
0x35 16 dc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 0 0 0 Slow
0x36 16 dc 0 16 0 r . . 5 6 5 0 0 0 8 16 16 16 0 0 0 Slow
0x37 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x38 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x39 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x3a 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x3b 16 dc 0 16 0 r y . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x3c 16 dc 0 16 0 r y . 5 6 5 0 0 0 8 0 0 0 0 0 0 Slow
0x3d 16 dc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 0 0 0 Slow
0x3e 16 dc 0 16 0 r y . 5 6 5 0 0 0 8 16 16 16 0 0 0 Slow
0x3f 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x40 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x41 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x42 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow

My xorg.conf file:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
   # Multiple FontPath entries are allowed (they are concatenated together)
   # By default, Mandrake 6.0 and later now use a font server independent of
   # the X server to render fonts.
   FontPath "unix/:-1"
EndSection

Section "ServerFlags"
   #DontZap # disable <Crtl><Alt><BS> (server abort)
   AllowMouseOpenFail # allows the server to start up even if the mouse does not work
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
   Load "dbe" # Double-Buffering Extension
   Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx" # 3D layer
   Load "dri" # direct rendering
EndSection

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "us"
   Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "IMPS/2"
   Option "Device" "/dev/mouse"
   Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Generic"
   ModelName "1024x768 @ 70 Hz"
   HorizSync 31.5-57.0
   VertRefresh 50-70

   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
   Identifier "device1"
   VendorName "3Dfx Interactive, Inc."
   BoardName "Voodoo Banshee (generic)"
   Driver "tdfx"
   Option "DPMS"
   Option "NoAccel" "false"
   Option "SWCursor" "false
   Option "DRI" "true"
   Option "TexturedVideo" "true"
   Option "VideoKey" "16"
   Option "UsePIO" "false"
   VideoRam    16384
   Option "MaxXFBMem" "8196"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 16

   Subsection "Display"
  Depth 8
  Virtual 1024 768
   EndSubsection

   Subsection "Display"
  Depth 15
  Virtual 1024 768
   EndSubsection

   Subsection "Display"
  Depth 16
  Virtual 1024 768
   EndSubsection

   Subsection "Display"
  Depth 24
  Virtual 1024 768
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   Screen "screen1"
EndSection

Section "DRI"
   Mode 0666
   
 

krisbee

Response from Daniel Borca on private email, before we moved to this forum:

   I can't get my 3dfx Voodoo Banshee to work under my linux setup. I installed xorg, glide3, and mesa from the Mandriva RPMs. The glide was missing symb links, but I fixed that. I was able to get glxgears to work, and glxinfo shows I am direct rendering, but otherwise, nothing else will work.


Seems doable, if you got - at least - glxgears to work.

   My question: Is Mesa usually compiled with glide support? My guess is that the distro didn't do that, and that is why nothing is working. Does that sound correct?


Mesa is not usually compiled with glide - if you mean glide back-end (in Linux, that one is only used for 3D-only accelerators, like  Voodoo1/2). However, it is compiled with DRI back-ends (and it's just the right thing, assuming a Banshee). Nevertheless, the TDFX DRI driver needs a special DRI Glide; maybe that is the problem...
 

krisbee

So, what output is needed next for you all to be able to help me out?

Here is my glide files in /usr/lib:

[krisbee@localhost lib]$ ls -l libglide*
lrwxrwxrwx  1 root root     19 Feb 17 20:10 libglide3.so -> libglide3.so.3.10.0*
lrwxrwxrwx  1 root root     19 Feb 14 18:50 libglide3.so.3 -> libglide3.so.3.10.0*
-rwxr-xr-x  1 root root 229244 Jan 13  2005 libglide3.so.3.10.0*
lrwxrwxrwx  1 root root     19 Feb 14 19:00 libglide3-v3.so -> libglide3.so.3.10.0*
lrwxrwxrwx  1 root root     19 Feb 14 19:00 libglide3x.so -> libglide3.so.3.10.0*
lrwxrwxrwx  1 root root     19 Mar  6 19:26 libglide3x.so.3 -> libglide3.so.3.10.0*
lrwxrwxrwx  1 root root     19 Feb 14 19:00 libglide3x_V3.so -> libglide3.so.3.10.0*
 

krisbee

Also, I see so many references to this rpm, Device3Dfx-2.3-5, but no documentation seems to say this is needed anymore.  Is it?  This is NOT installed on my machine.

Also, does tdfx.ko need to be installed also?  Is this the magic step I am missing?  I seem to have a .tgz file with my tdfx wrapped up in there. somewhere in my kernel source installation...

--Kris
 

krisbee

Nevertheless, the TDFX DRI driver needs a special DRI Glide; maybe that is the problem...

From my rpm:

Name: Glide_V3-DRI
Version: 2002.04.10-1mdk
Architecture: i586
Size: 244 KB

Summary: Glide runtime for 3Dfx Voodoo Banshee and Voodoo3 boards

Description: This library allows the user to use a 3dfx Interactive Voodoo Banshee or Voodoo3 card under Linux with DRI support.  The source support DRI versions of Glide.

Files:
#8206;/usr/lib/libglide3.so.3
#8206;/usr/lib/libglide3.so.3.10.0
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10/AUTHORS
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10/COPYING
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10/ChangeLog
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10/INSTALL
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10/NEWS
#8206;/usr/share/doc/Glide_V3-DRI-2002.04.10/README