Jump to content


OpenGL Performance...


35 replies to this topic

#1 john

    Member

  • Members
  • PipPip
  • 84 posts

Posted 24 January 2003 - 11:33 PM

Hi everyone,

I am noticing that on some machines, all OpenGL applications work very slowly (at ~2 fps) even though drivers are installed properly. However, when running Quake (which also uses OpenGL) it runs normally. I never encounterd such a problem with DirectX (which makes for me an ideal and suitable API for compatibility). Can anyone suggest what the problem might be? How does OpenGL compare with DirectX in speed (to me DirectX seems much faster).

Thanks.

#2 void

    New Member

  • Members
  • PipPip
  • 22 posts

Posted 24 January 2003 - 11:52 PM

Youd having driver problem, not properly installed. OpenGL and DirectX are the same performance wise, it is possible to write fast and slow applications in both APIs, it all depends on the programmer. What is happening with you is that I think that OpenGL is running in software mode because it cant in hardware. Make sure your video card drivers are the latest and installed properly, and get teh latest opengl sdk.

#3 CyraX

    Valued Member

  • Members
  • PipPipPip
  • 144 posts

Posted 26 January 2003 - 05:58 AM

Could you specify the names of the apps?
For one, OGL works with a hardware accelerator and highly dependent on the way the hardwarre manufacturer supports the OGL pipeline. Now if your card (please specify the name and driver version), is compatible iwth DirectX, most of the cards are infact, you wil experience NO probs.
When you run Quake, the engine is highly optimized to pick up the best available features of the Card.

PS: It woudl help a lot if you give a few details like:
Your comp configuration - typically
- Accelerator
- RAM
- OS
- Driver relese version

#4 john

    Member

  • Members
  • PipPip
  • 84 posts

Posted 26 January 2003 - 06:15 AM

Thanks for everyones response. Here are my specs:

733 MHz
32 MB 3D Labs Oxygen Video Card
Windows XP Pro
32 MB RAM

I downloaded the latest driver, but that didn't help.

The biggest concern is: Why on earth :wtf: do all porfessional games (Quake, etc..) run perfectly? I still didn't understand why.

#5 godEcho

    New Member

  • Members
  • Pip
  • 9 posts

Posted 26 January 2003 - 06:31 AM

I'm not sure about professional games, but 32 megs of ram in XP? Thats a HUGE bottleneck. XP takes up about ~128 megs of ram for me on startup. I'm pretty sure 128MB is advertised as the bare minimum for XP. While its hard to say that your system ram is the problem, its certainly going to be one of them.
-luke

#6 void

    New Member

  • Members
  • PipPip
  • 22 posts

Posted 26 January 2003 - 08:54 AM

hmmm, your using an Oxygen card, for one its a profressional video card, and hence its drivers are optimised for that kinda stuff, like modelling and CAD. A rule of thumb is that professional cards are pretty crap at stuff like multitexturing and other things that only games use, CAD programs dont use multitexturing at all. Other than that, I have no idea why DX is running faster than OpenGL other than the fact that the drivers are all messed up, or your doing something SERIOUSLY wrong in your code. Try downloading some app or tutorial from say nehe.gamedev.net and run it, see if it runs slowly too, if not, its your code.

#7 gilead

    New Member

  • Members
  • Pip
  • 1 posts

Posted 26 January 2003 - 12:03 PM

As void already mentioned, it's most likely that you have a software-only driver installed somewhere in your system (like Microsoft's OpenGL 1.1-compatible one) and that's why you're getting this low performance. Not sure about exact names but you should localize all opengl*.dll or similar files on your system and delete any software-only ones.

#8 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 26 January 2003 - 09:31 PM

I'd write a simple app to do glGetString(GL_VENDOR) and if it returns Microsoft, you're running in software.
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#9 godEcho

    New Member

  • Members
  • Pip
  • 9 posts

Posted 26 January 2003 - 10:38 PM

sup baldurk
-luke

#10 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 27 January 2003 - 06:15 PM

nothing much. Answering Qs, having a bud.

btw, Off topic or what? :D
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#11 SpaCe

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 30 January 2003 - 06:34 PM

Guys , im new here and I also got a problem with my Graphic Card:
Unt'll 3 days ago my GC worked well , But 3 days ago I turned my computer on and I saw a change in the apperance of my Desktop , All my desktop was displayed as if I have 256 colors , except for my background , which was still colorfull (32bit).
Well , the problem didnt end here , When i tried to play Counter Strike , it suddenly gave me the next error: "Your OpenGL mode does not support your Video card" , Its the 1st time I ran into this error. Up to 3 days ago everything worked perfectly...
I have no idea what made this change , Cos I havent installed anything...
I unistalled and reinstalled my drivers , which are the newest for my GC , I also downloaded DirectX9.0(after the problem), I even installed an older version of my GC driver...
All of this did not solve my problem...
My comp specs are:
677 Mhz
Win2kpro
128MB RAM
GC: NVIDIA - RIVA TNT2 model 64/model 64 pro , with drivers version: 4.1.0.9.
I would really thank everyone who would be kind enough to solve my problem.
Believe in nuthing and dare all

#12 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 30 January 2003 - 06:40 PM

have you got the latest nVidia drivers? if so have you tried the 3xxx series? what mode are you running CS on, DX/OGL?
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#13 Dia

    DevMaster Staff

  • Administrators
  • 1121 posts

Posted 30 January 2003 - 06:40 PM

I once had that problem (when I had a GeForce 2 MX), and all directx application together with opengl wouldn't work properly. Of course as you mentioned, nothing helped: installing directx, drivers, etc...

I ended up formatting my computer and everything went back to normal. Formatting is best solution after everything fails.

Try going to "Device Manger" in the control panel and see whether you don't have any devices which have an exclamination mark. If you do, they try removing that device and hitting "Refresh" and see what happens.

#14 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 30 January 2003 - 06:43 PM

apex said:

Formatting is best solution after everything fails.
only in windows ;).
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#15 SpaCe

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 30 January 2003 - 06:51 PM

baldurk - Im running CS with OpenGL mode.
Im not familiar with the 3xxx series - I just did some basic stuff I thought might help , Could you explaine some more about the 3xxx series?

apex - I have 2 exclamination marks in the Device Manager , but both thing are not important.

Quote

Formatting is best solution after everything fails.
I believe I would do so soon , Unless I'll come up with a solution.
Believe in nuthing and dare all

#16 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 30 January 2003 - 07:24 PM

Nvidia's new driver series is called the 4xxx. I have heard (although I haven't experienced) that there are problems with it. the 3xxx is the series that has now ended. Gimme a sec and I'll find the URL

<goes away>

<comes back>

nVidia Graphics card drivers. Take a look there
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#17 SpaCe

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 30 January 2003 - 07:44 PM

I'm looking at it right now , But I wonder How did it happen?
This problem just came out from thin air...
Believe in nuthing and dare all

#18 Arthur Dent

    New Member

  • Members
  • Pip
  • 8 posts

Posted 31 January 2003 - 03:12 PM

Just a stupid question but are you using GLUT? That runs in software mode I think.

#19 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 31 January 2003 - 06:13 PM

GLUT runs in hardware just as well as OpenGL.
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#20 SpaCe

    New Member

  • Members
  • PipPip
  • 12 posts

Posted 01 February 2003 - 10:01 AM

I got some breaking news :)
I solved my problem by installing again Win2k...Althought I lost Office and some other softwares , I think its a small price for not formatting the comp , I wanna thanks all of those who dedicated a few secounds from their life to help me :D :D :D :D
Believe in nuthing and dare all





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users