NVIDIA 7300 LE and stencil tests

Hi all!

I recently installed an NVIDIA 7300 LE for tests with jsr231, and I got a very strange behavior. Stencil testing didn’t work at all. I tested the exact same code on a Mobility Radeon 9000 and everything was working properly, but on the 7300LE stencil testing was not functioning, just as if stencil test was disabled. I used the DebugGL functionality to check for errors but nothing came up. Everything was passing the stencil test, even if GL_NEVER was the parameter used in the glStencilFunc!

The code I’m using to test ran succesfully on many GPUs, but I can’t seem to figure out whta is going on with this card. I installed all latest drivers from nvidia and guru3d, with no results. Has anyone came up to similar behavior with this or other GPUs?

Ν

How stupid of me, I was not calling caps.setStencilBits(bits) to the GLCapabilities object used for creating my GLCanvas :-X . Strangely, in some gpus, even without calling this method, stencil buffer worked.

OK, just 4 hours lost, and many drivers tested :stuck_out_tongue: .