Question on Magic-Pro Nvidia GeForce 6600 GT
To whom it may concern,
We are having problem with getting the lastest profile with Cg under Red Hat Linux. Pls. help.
The hardware setting is as follow:
Workstation model: HP XW5000
CPU: Intel Pentium 4 CPU 2.80GHz
RAM: 1G ECC DDR-266 RAM
Motherboard Chipset: Intel E7205
Graphic card: Magic-Pro Nvidia GeForce 6600 GT
OS: Redhat 9 (kernel version : 2.4.20-28.9)
We also have the lastest display driver (1.0-8764) and Cg 1.5 beta 1 installed.
The problem is that, when querying the vertex and fragment profiles in our own OpenGL/Cg program, the profiles returned are always 'vp30' and 'fp30' (instead of 'vp40' and 'fp40'). We have tried to upgrade the display driver and version of Cg, where we were using 1.0-7164 with Cg 1.4 before, but the problem still persists.
The code used to test the profiles is attached below. We tried to narrow down the problem by using the simplest code. With this piece of code, the correct profiles are returned under a Windows machine, but doesn't give correct result in the machine mentioned above.
We are wondering if there is any incorrect settings in the driver or in the operating system. We hope you can give us some guidance on solving this problem.
// Code for testing Cg profiles
int v_profile = cgGLGetLatestProfile(CG_GL_VERTEX);
int f_profile = cgGLGetLatestProfile(CG_GL_FRAGMENT);
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
int main(int argc, char **argv)
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);