PDA

View Full Version : Hardware



Hamcha
08-29-2001, 07:49 AM
Hi there.

Im programming openGL in linux/SDL, and today I wrote a small program that checks if the computer has hardware support.

The code to detect is this: (probably sucks)

videoInfo = SDL_GetVideoInfo();

if(videoInfo->hw_available) {
printf("\nHardware available");
} else {
printf("\nNo hardware!");
}

When I run it at my own computer it says that I havent' got hardware available.

My graphics card is a ASUS GeForce2 MX, and I'm using nVIDIA kernel x.x, and nVIDIA GLX.

How can I configure my graphics card, so that I get "hardware_available" ?

/Hamcha

DaViper
08-29-2001, 07:53 AM
how many fps do you get running glgears??

P.S. this qustion might be better suited for Linux Forum

Hamcha
08-29-2001, 09:17 AM
45.* fps in GLgears

tfpsly
08-29-2001, 09:55 AM
You should get 100 times more fps if your card was used.

Run glinfo to know which "card" is used. For sure you are using Mesa.

Get last drivers, they'll erase any other GL lib before installing