Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-07-06, 11:16 PM   #1
fungmic
Registered User
 
Join Date: Aug 2006
Posts: 1
Exclamation 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
//---------------------
#include <GL/glew.h>
#include <Cg/cgGL.h>
#include <Cg/cg.h>
#include <GL/glut.h>
#include <stdio.h>

void init(void)
{
int v_profile = cgGLGetLatestProfile(CG_GL_VERTEX);
int f_profile = cgGLGetLatestProfile(CG_GL_FRAGMENT);
printf(cgGetProfileString((CGprofile) v_profile));
printf(cgGetProfileString((CGprofile) f_profile));
fflush(stdout);
}

void display()
{
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
}

int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize(250, 250);
glutInitWindowPosition(100, 100);
glutCreateWindow("simple");
init();
glutDisplayFunc(display);
glutMainLoop();

return 0;
}
fungmic is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia: The new Apple MacBook Pro and next-generation MBP boast GeForce GT 650M graph News Archived News Items 0 06-11-12 10:50 PM
New GPU from Nvidia Announced Today, the GeForce GTX 670 News Archived News Items 0 05-10-12 02:50 PM
Gainward Unleashes the Sexy GeForce GTX 670 Phantom Graphics Card, Also launches the News Archived News Items 0 05-10-12 10:28 AM
NVIDIA Unleashes the GeForce GTX 670 Graphics Card ' Performance Perfected (WCCFTECH) News GeForce GTX 670 Reviews 0 05-10-12 09:40 AM
NVIDIA GeForce GTX 670 brings Kepler on a $399 budget (SlashGear) News GeForce GTX 670 Reviews 0 05-10-12 09:40 AM

All times are GMT -5. The time now is 10:32 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.