PDA

View Full Version : is nvidia GLX library buggy? multi-texture troubles


psubiaco
03-05-03, 01:54 PM
Hi all.
The problem below is related to Linux, using GF4 MX440 card on a K7 XP 1800 - Linux Mandrake 8.2 with 2.4.18 kernel.

I love to hear music and watch visualization plugins in the 2nd head of the card, connected to a TV-color.
Trying to run several xmms visualization plugins (not simoultaneously, but load a plugin, unload and load another one, and so on...), i see that all plugins that uses more than one textures causes this problem:
After 16 or 17 times i load/unload a plugin, the successive plugins will run very very very very slowly.:confused: Why this occurr??

I try to investigate, and see that the plugins which don't use textures, or use only one texture (such as Blursk, Terrain, Jackdaw, Jess, Neato)continue to be run fast as normal.
Other plugins such as Dancing particles, Lemuria, madspin, Nebulus, Fishmatic, Iris, TVscope and Lava will run very very slowly.

Just kill xmms and restart it, and all plugins will be 100% working (for the first 17 invocations, then they will become slowly).

Trying to do this to another PC with i810 graphic card, no troubles occurred.
Trying to to this to the samep PC with nv (unaccelerated) driver, the problem does not occurred (unfortunally nv opensource driver is always very slow).

I ask to an irc user to try xmms visualization plugins (he has a TNT card), he got the same problem at the 2nd plugin invocation, not at the 17th as me!

May i change Mesa library? Or is there any fix to apply somewhere?

I've installed 4191 kernel (but with 2960 the problem was identical) and glx,

SDL 1.2.5
libMesaGL1-4.0.1-4mdk
libMesaGLU1-4.0.1-4mdk
libMesaGLU1-devel-4.0.1-4mdk
xmms-1.2.7

Thank you! Paolo

nfrum
06-25-03, 09:30 AM
I think my query may be related to the first question in this thread.

I have a GForce4 MX 440 card, and the Linux 1.0-4363 driver installed. While trying to solve an OpenGL problem I noticed that when the driver is presented with the query:
glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &i);
the answer I get is 2.

This means that the card can blend at most 2 textures per rendering pass. If you try to access more than 2 textures the card may behave weirdly.

I have searched through the internet and got the impression that this number should be 4.

Is this a feature of the NV17 GPU on the card or a problem with the Linux driver? 2 textures is old news and I was hoping my card could do more.

Please help with more info.