Wierd error on Geforce FX5200

The following error occurs in my game:

It looks like small splashes of alpha, since I can see through them.

Maybe some default state not being set? Anyway. Any help would be much appreciated :slight_smile:

Now. It’s definately some kind of alpha offset problem or something, but it works on all other cards I tested on. Even on OS X with ATI Rage 8500!!!

Please tell me it’s a lie that the GeForce FX5200 only draws completely square textures correcly. Non-square such as 320x240 and 640x480 exhibits the mentioned alpha error.
Sounds like a driver bug to me.

If you want to use a non-power-of-two texture (not being square has nothing to do with it), you need to use one of the texture_rectangle extensions (ARB and NV are supported with the latest Forceware). Then, make sure you’re using the right texture coordinates, with rectangle textures they go [0…w][0…h] instead of [0…1][0…1].

But it works fine on other geforce cards + ATI?
It’s this specific card that won’t work.
If I make my texture square it works. Otherwise I get holes in my image due to some screwup in the alpha channel ???

Hi,

With a FX5200 and a wrong texture size (non power of two) i experienced strange behaviours…

But i agree with Spasi, you should definitively use the extension for non power of 2 textures…

[quote]But it works fine on other geforce cards + ATI?
It’s this specific card that won’t work.
[/quote]
Sounds really weird. Could you please post a part of your texture loading code?

[quote]If I make my texture square it works. Otherwise I get holes in my image due to some screwup in the alpha channel ???
[/quote]
Making it square (e.g. 320x320) doesn’t change anything. What matters is whether it’s power-of-two or not (e.g. make a 512x256 texture and use a 320x240 part of it, with the right texcoords).

I see that exact same pattern when I play DVD’s and movie files (which are probably using a non-pot surface) on my Fx 5200. I’d never seen them before when I was running the same system but with a GeForce 4 Ti. Methinks its a driver bug.

I agree. It’s 2005 and new cards should just use nonpow textures without ANY problems >:(

[quote]It’s 2005 and new cards should just use nonpow textures without ANY problems >:(
[/quote]
Well, you should buy a 2005 card then. Any 6X00 would run fine with NPOT textures (NV40 is the only chip with support for ARB_texture_non_power_of_two right now).