Results 1 to 4 of 4

Thread: Hardware

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    14

    Hardware

    Hi there.

    I´m 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
    /Hamcha

  2. #2
    Senior Member Regular Contributor
    Join Date
    Dec 1969
    Location
    Munich,Germany
    Posts
    227

    Re: Hardware

    how many fps do you get running glgears??

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

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    14

    Re: Hardware

    45.* fps in GLgears
    /Hamcha

  4. #4
    Senior Member Regular Contributor
    Join Date
    Feb 2001
    Location
    Montréal, QC, Canada
    Posts
    304

    Re: Hardware

    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

Similar Threads

  1. HDR with SM2.0 hardware?
    By hardtop in forum OpenGL: GLSL
    Replies: 12
    Last Post: 04-20-2006, 08:19 PM
  2. Replies: 1
    Last Post: 06-17-2004, 08:02 AM
  3. VBO hardware?
    By supagu in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-24-2004, 10:47 PM
  4. hardware
    By kalavinka in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-14-2002, 01:12 AM
  5. Hardware T & L
    By Jasonb in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 04-09-2000, 04:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean