I changed motherboard and hardrive (RAM too), so I reinstalled everything.
Even with the last NVidia drivers from your link, I experience this low rate problem.
In fact, I don’t find the setting I was used to for the card (like antialias, Zdepth, etc…).
I don’t see what could have worked for two years and mess now, with the same card.
I tested this code on two machines (mine and a friend’s one), and I had 44fps on his, 53 on mine. Tested with the very same executable tonight, I have 44 on his and 7 on mine.
Since the code didn’t change, I guess the CreateGLWindow routine is not to blame, but figuring out what has been changed between default card sets and working ones on my previous conf’ and his, would help to know what to force with soft, in case.
Beside, system has recognized the card and drivers since SWAT4 and SilentHunter3 use them correctly. That makes me think it’s a pure soft/setting problem that a correct init in code could correct.
The code GL init is this
static PIXELFORMATDESCRIPTOR s_oPfd = {
sizeof( PIXELFORMATDESCRIPTOR ),
1, // version number
PFD_DRAW_TO_WINDOW | // format must support window
PFD_SUPPORT_OPENGL | // format must support opengl
PFD_DOUBLEBUFFER, // format must support double buffering
PFD_TYPE_RGBA, // request RGBA format
32, // color depth bits
0,0,0,0,0,0, // color bits ignored
16, // alpha buffer (0/8/16/32)
0, // shift bit ignored
16, // accumulation buffer bits (0)
5,5,5,1, // accumulation bits ignored (0,0,0,0)
32, // zbuffer depth bits (16/32)
0, // no stencil buffer
0, // no auxilliary buffer
PFD_MAIN_PLANE, // main drawing layer
0, // reserved
0,0,0 }; // layer masks ignored
but worked on previous conf’…
…reason why I asked if someone faced and solved such a situation.