PDA

View Full Version : NVIDIA system restart problem ???



jerin3D
03-26-2002, 10:35 PM
Hi to all,

I feel an unusual problem in the OpenGL display.I am using WGL functions with MFC class.In the OpenGL view class,
the PIXELFORMATDESCRIPTOR structure initialized is given:-

static PIXELFORMATDESCRIPTOR pfd =
{
sizeof(PIXELFORMATDESCRIPTOR), // size of this pfd
1, // version number
PFD_DRAW_TO_WINDOW | // support window
PFD_SUPPORT_OPENGL | // support OpenGL
PFD_DOUBLEBUFFER | // double buffered
PFD_GENERIC_ACCELERATED,
PFD_TYPE_RGBA, // RGBA type
24, // 24-bit color depth
0, 0, 0, 0, 0, 0, // color bits ignored
0, // no alpha buffer
0, // shift bit ignored
0, // no accumulation buffer
0, 0, 0, 0, // accum bits ignored
24, // 24-bit z-buffer
8, // stencil buffer
0, // no auxiliary buffer
PFD_MAIN_PLANE, // main layer
0, // reserved
0, 0, 0 // layer masks ignored
};

After the OpenGL view is created, if we try to do any operation in another view (not using OpenGL instructions,using GDI calls)the system is restarted shows the message KMODE_EXCEPTION_NOT_HANDLED in nv4-disp.dll.

If i give the alpha buffer as 8 bit then no problem.But a black rectangle is shown in the right and bottom of the opengl window.

I am using NVIDIA RIVA TNT2 Model 64/Model 64 pro AGP card.

My doubt is Alpha buffer,Z-buffer and Stencil buffer are card dependent ??

How i can solve these problems ?? I am not expert in Driver side issues.

Thanks for any reply,
Jerry

thewizard75
03-27-2002, 05:38 PM
No solutions offhand, but what driver version are you currently using?

And would you like anyone on this board to test your program to make sure that it is indeed a problem with the drivers?

Hey, just looked a little more closely. Someone on this board correct me if I am wrong, but you need the 8-bit alpha if you are going to use a 24/8 Z/Stenil buffer on a TNT...

[This message has been edited by thewizard75 (edited 03-27-2002).]