Jump to content

Can't Get 3d Acceleration to Work in Xorg/Mandriva


krisbee2000
 Share

Recommended Posts

Hello to all.

 

I am new to linux, but have some experience. I have a Voodoo Banshee, which my Mandrivia LE 2006 correctly identified and installed. However, when running glxgears, I have a terrible frame rate.

 

Running glxinfo tells me that direct rendering is set at no, and I am using the MESA rendering.

 

I ran mcc, went to hardware/video card, tried running either tdfx directly, or the banshee. It prompted me if I want to use Xorg w/ 3d acceleration turned on. I select it to do so. Still, no accelleration.

 

I edited xorg.conf/XF8Config, and I do have load "glx" on the line, but no load "dri"... so I add it, and that didn't do anything different.

 

I have installed via rpm the glide 5 drivers... so, I am running out of ideas on what needs to be done to get the 3d acceleration working on my machine.

 

I run it at 16bit color (read that the 3d won't work on higher color depths).

 

I run at 1028X764.. but have tried it at 800X600 (just in case)...

 

Any ideas? Please point me in the right direction. I have searched, but most info is way outdated now since 3dfx collapsed.

 

Thank you in advance,

Kris

Link to comment
Share on other sites

I think I have narrowed down the problem.. and its a Mandrivia .rpm problem..

 

Here is a link to where I have been working with the 3dfx gurus..

http://p197.ezboard.com/fx3dfxfrm2.showMes...icID=3364.topic

 

Basically, there are more glide files than the .rpm has in it, and the glx series of programs searches for them, and doesn't find them.

 

Has noone in all of Mandrake since 2003 had a Banshee and tried to accelerate it?

 

I have been trying to build from glides source file, but, strangely enough, its' also missing files from it. I had to dl them from the cvs of the group. Will keep trying to build the source and see if this fixes the problem.

Link to comment
Share on other sites

You might need to install the mesa rpms.

 

urpmi Mesa

 

it's case sensitive so make sure you type Mesa and not mesa.

 

 

well, mesa I believe is installed... my glxinfo says mesa indirect is doing all of the 3d rendering.

 

Here is a quote from that other thread where I think the error really is:

 

here is the rpm for Mandrivia.. here is the info for the 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:
‎/usr/lib/libglide3.so.3
‎/usr/lib/libglide3.so.3.10.0
‎/usr/share/doc/Glide_V3-DRI-2002.04.10
‎/usr/share/doc/Glide_V3-DRI-2002.04.10/AUTHORS
‎/usr/share/doc/Glide_V3-DRI-2002.04.10/COPYING
‎/usr/share/doc/Glide_V3-DRI-2002.04.10/ChangeLog
‎/usr/share/doc/Glide_V3-DRI-2002.04.10/INSTALL
‎/usr/share/doc/Glide_V3-DRI-2002.04.10/NEWS
‎/usr/share/doc/Glide_V3-DRI-2002.04.10/README

It seems to be missing files... and look at this output:

[root@localhost log]# LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
libGL: XF86DRIGetClientDriverName: 1.1.0 tdfx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
drmOpenByBusid: Searching for BusID pci:0000:00:08.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:08.0
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
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /root/.drirc: No such file or directory.
libGL error:
can't find Glide library, dlopen(libglide3-v3.so) and dlopen(libglide3.so) both failed.
libGL error:
dlerror() message: libglide3.so: cannot open shared object file: No such file or directory
display: :0 screen: 0
direct rendering: No
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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.3.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, 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_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

 

--Kris

Edited by krisbee2000
Link to comment
Share on other sites

The mention if mesa indirect, doesn't necessarily mean that mesa is installed. Check with this:

 

urpmf --name Mesa

 

If it comes back blank, try typing "mesa" instead of "Mesa". If it still comes blank, mesa isn't installed.

Link to comment
Share on other sites

The mention if mesa indirect, doesn't necessarily mean that mesa is installed. Check with this:

 

urpmf --name Mesa

 

If it comes back blank, try typing "mesa" instead of "Mesa". If it still comes blank, mesa isn't installed.

 

 

Here is the output of what you asked

[krisbee@localhost ~]$ urpmf --name Mesa
libMesaGLU1:libMesaGLU1-5.0.2-11mdk.i586.rpm
libMesaGL1:libMesaGL1-5.0.2-11mdk.i586.rpm
Mesa:Mesa-5.0.2-11mdk.i586.rpm
libMesaglut3:libMesaglut3-5.0.2-11mdk.i586.rpm

 

I've tried building the glide libraries from the source code, but with no luck, and they are known for being quite touchy. It seems my dri is installed correctly, along with the xorg server and its' files. Its' still seems to be glide communicating to glx where the breakdown has happened.

 

I still can't believe I am the only one on this distro who wanted to get their 3d accel on... has anyone done it successfully?

 

Thanks again for your suggestions... keep 'em coming!

Kris

Link to comment
Share on other sites

I have it working with my nvidia card, and ati card's no problem. I've never tried with a 3DFX card, but the principal should be the same.

 

Have you checked in case their is a driver on their page you need to download?

Link to comment
Share on other sites

Well, like I showed a few posts ago, the Mandrivia rpm is missing several key files that is needed to make glx work, and thus, the 3d acceleration. Basically, glx calls on glide, and the glide libraries are incomplete... and this is for several distros .rpms I see. If you go back, you can see that glx calls on these files, and since they aren't present, it uses mesas software rendering.

 

The video driver, tdfx, is being used, and is fine. Its the acceleration which is used through the glide3 libraries where the error is.

 

--Kris

Link to comment
Share on other sites

Guest SatnSpwn

You need:

xorg-x11-glide-module

Glide_V3-DRI-2002

 

Log into a console as root and run the following:

 

cd /usr/lib

ln -s libglide3.so.3 libglide3.so

ldconfig

Edited by SatnSpwn
Link to comment
Share on other sites

SatnSpwn.. you are correct. I figured it out a few days ago, that several key links are missing, and they all point to libglide3.so.3.10.0... I have made all the links, and now I have acceleration!

 

However, I do get SDL Parachute deployed errors with crack-attack and chromium all of the time when trying to start those games. glxgears works fine, and there are no errors in glxinfo, but... still... I can't actually use the acceleration on many games.

 

Supertux will work with opengl enabled, however, the background disappears when I do that. My guess is that the background textures are larger than the banshee can handle.

 

If you have any insight into these problems, I would be so appreciative.

Link to comment
Share on other sites

  • 2 months later...

How much memory does your Banshee have? I know my Voodoo card, not a Banshee, can't remember which, but it only has 16MB. Plus it's a really old card now and probably not in use very much which is why the dri group have not bothered to assist you, which is a bit of a shame.

 

I don't know what else to suggest, but it could just be too old that it's not going to work with newer versions of Linux. I can only suggest using a version of Linux that was out around the time this card was at it's peak for you to try and achieve what you want - even if opengl was a part of Linux back then, I don't know.

 

Around the time I had mine, I think it was Mandrake 7 or Mandrake 9. I know this isn't a great solution, just an idea, but other than buying a new card, I doubt you'll achieve what you want.

 

I apologise if my post isn't very optimistic.

Link to comment
Share on other sites

I don't know what else to suggest, but it could just be too old that it's not going to work with newer versions of Linux. I can only suggest using a version of Linux that was out around the time this card was at it's peak for you to try and achieve what you want - even if opengl was a part of Linux back then, I don't know.

You are probably right. I think the card stopped doing well awhile ago. It is a shame, because the drivers then should work now... they haven't changed! But, obviously... getting this thing going isn't going to happen. I just hate the idea of giving up... I rarely need 3d anyway, but, I just wanted to make it work, despite all of the odds. Which is what Linux is really all about, isn't it?

 

I think you are on the money on using an older distro. Probably should load an old slackware, minimal window manager, and use the games on that... but, honestly, I don't have the time to get into it... New job starting up soon.

 

And the weird thing with this card is that I have to have a vesa mode selected during startup, otherwise when the monitor goes into standby and comes back, there are these etched lines in the corners of some objects... another weird problem with the tdfx driver, I guess.

 

Just figured I'd take another quick stab at it. Thanks for your help!

 

--Krisbee

Link to comment
Share on other sites

I've tried getting 3D working on my laptop with an Nvidia GeForce 420 Go. It just won't have it, no matter what I try. And this machine is probably like 3 years old or almost. This too is also a 16MB card. Fortunately it's my work laptop so I'm not too fussed, my home laptop is same make but has Intel and is OK with OpenGL, or at least to about 500-600fps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...