From: Arne W. <arn...@ya...> - 2008-06-05 16:42:55
|
hi! does freeglut use the nvidia gpu? i just tried http://opengl.nutty.org/core/vertex_array.zip with two adaptions (include path/name + added init call) on a geforce7600 with fedora core 8 and the cpu usage climbed to 100% and both (cpu + gpu) were getting hotter... i wonder what the cpu is doing while the gpu is working... can somebody explain me that? thx... bye arne |
From: <st...@sj...> - 2008-06-05 16:57:46
|
> does freeglut use the nvidia gpu? Freeglut just uses whatever OpenGL implementation you link it to. If that implementation hooks up to the nVidia driver then yes else no. > i just tried http://opengl.nutty.org/core/vertex_array.zip > with two adaptions (include path/name + added init call) > on a geforce7600 with fedora core 8 > and > the cpu usage climbed to 100% and both (cpu + gpu) were getting hotter... > > i wonder what the cpu is doing while the gpu is working... > > can somebody explain me that? Well, the CPU has to feed data to the GPU - it's certainly doing more work than when it's just idling. 100% usage is perhaps a little steep though! But I don't know about the particular application you are using there - perhaps it's still CPU-bound even with the GPU working hard. But freeglut won't have anything to do with that - once everything is up and running, it just handles window events and such. |
From: Grafman P. <gr...@gr...> - 2008-06-05 17:11:13
|
As indicated by Steve - FreeGLUT uses whatever OpenGL implementation you've linked to. I recently ported POGL from GLUT to FreeGLUT, and it's definitely using the nvidia GPU (tested on Windows and Linux; in the process of testing MacOS). Any chance you are using the Mesa software binding? Also - keep in mind that vertex arrays still involve a CPU hit, particularly if you are updating it via CPU each frame. You'll get better performance if you use Vertex Buffer Objects (VBOs) - especially if you update it via a vertex shader, instead of the CPU. - Bob ----- Original Message ----- From: "Arne Wörner" <arn...@ya...> To: <fre...@li...> Sent: Thursday, June 05, 2008 9:40 AM Subject: [Freeglut-developer] gpu or not gpu > hi! > > does freeglut use the nvidia gpu? > > i just tried http://opengl.nutty.org/core/vertex_array.zip > with two adaptions (include path/name + added init call) > on a geforce7600 with fedora core 8 > and > the cpu usage climbed to 100% and both (cpu + gpu) were getting hotter... > > i wonder what the cpu is doing while the gpu is working... > > can somebody explain me that? > > thx... > > bye > arne > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Freeglut-developer mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 3161 (20080605) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > |