Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: Run the program in other Pc

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2007
    Location
    Cyprus
    Posts
    29

    Run the program in other Pc

    Hi,

    I have one weird program. I have implement a program in opengl which is compiles and runs perfect and desirable in my desktop Pc without any problem.
    Now I have try the same program at other Pc's and I have problems that I don't understand and I don't know how to fix it...

    1st Pc I compile it but when it was run some background pictures didn't appear at background and some texture mapping as well and the rotation was little slower.

    2nd Pc didn't have any problem with the pictures it appears them all but it takes too 10-15 to open the window and when it opens it's very slow with very slow rotation actually is like the graphic card cannot load the program

    Both Pc's have better graphic cards than my pc which runs normal.

    Is anyone knows how can I do to solve this problem when changing Pc...

    Thanks

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    2,704

    Re: Run the program in other Pc

    1) Get a good set of profiling tools.
    2) Apply said tools to the problem cases.
    3) Change the code accordingly.
    4) Goto 2).

    Note that you may need to profile the GPU, CPU, Disk access, and other usage. Examples of profiling tools might include VTune, NVPerfHud, etc.
    "If you can't afford to do something right,
    you'd better make sure you can afford to do it wrong!"

  3. #3
    Senior Member OpenGL Pro sqrt[-1]'s Avatar
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    1,006

    Re: Run the program in other Pc

    Case number 2, sound like it is using the software fallback - Ensure the latest drivers are install on the PC.

    Case number 1 - perhaps a different brand of graphics card? Perhaps you are generating OpenGL errors?

    What video cards are used in your PC and in case 1 and 2?


    (Also perhaps do a quick run over your program with http://www.opengl.org/sdk/tools/GLIntercept/ )

  4. #4
    Junior Member Newbie
    Join Date
    Dec 2007
    Location
    Cyprus
    Posts
    29

    Re: Run the program in other Pc

    Jwatte...I'm sorry but I don't understand exactly what you mean...I'm a beginner in opengl can you explain me in other way...

    Sqrt...On my Pc which the program run perfect I have NVIDIA GeForce 7300GT 256MB.
    On the 1st Pc I don't remeber now what card had but it was doing the rotations normal only few pictures didn't load

    The 2nd Pc was an IBM with video card 512MB I don't remember the model but it was a good card in any case better than mine.

    The drivers was the latest on both Pc's. Is there anything to do with the size of the pictures I'm loading?

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    Apr 2004
    Posts
    999

    Re: Run the program in other Pc

    Quote Originally Posted by Panayiotis
    The drivers was the latest on both Pc's. Is there anything to do with the size of the pictures I'm loading?
    That's possible, the Geforce 7 series support texture_non_power_of_two so if the card on the first pc does not support this extension it won't load the textures correctly. Maybe the ones that do load just happen to be power of two in dimensions.

    N.

  6. #6
    Junior Member Newbie
    Join Date
    Dec 2007
    Location
    Cyprus
    Posts
    29

    Re: Run the program in other Pc

    Can I do something to run it?Do I have to do any changes in my program or something else?

  7. #7
    Advanced Member Frequent Contributor
    Join Date
    Apr 2004
    Posts
    999

    Re: Run the program in other Pc

    You can check whether it is supported using glew or GLinfo.

    If this is the problem, the easiest way to solve it is by using gluBuild2DMipmaps.

    N.

  8. #8
    Junior Member Newbie
    Join Date
    Dec 2007
    Location
    Cyprus
    Posts
    29

    Re: Run the program in other Pc

    Ok I will try and see what I can do

    Thanks a lot for the help and the information

  9. #9
    Junior Member Newbie
    Join Date
    Dec 2007
    Location
    Cyprus
    Posts
    29

    Re: Run the program in other Pc

    Nico I forget....

    I have see that the other Pc's doesn't support the same max texture size as my video card. How about now the problem which in one laptop didn't rotate at all was trying basicly but very very slow

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •