Jump to content

GPU load / AGPM check tool - OpenGL Triangles


41 posts in this topic

Recommended Posts

You can use that tool for:

- benching GPU with 20000 triangles (max) by FPS (Hz) count

- checking AGPM working or not by using 20 up to a few 100/1000 triangles putting CPU load from very less % gpu load to > 80% gpu load

(use logging key in AGPM kext = 1 to show APGM change messages in the console)

 

Bildschirmfoto 2012-09-25 um 09.57.05.jpg

 

- be aware to put the slider very fast to the max - system may stall at least for low end GPUs!

- uses very less cpu time = FPS near independed from CPU speed. VRAM + Texture speed of GPU

Because bench uses vsync, FPS never get more than screen refesh (TFT 60 Hz, 75Hz,... others more).

 

 

Screenshoot displays great atMonitor tool displaying gpu % load (cpu load,....) in an small (extra) window. Added DL Link for that version (2.7.1) But avoid to update it to new version! For me newer atMonitor versions fail to get the gpu load % - which is used to check GPU load for AGPM.

(Where is the GPU info ? To make atMonitor compatible with MacOS 10.8 we have removed all GPU related features with V 2.8.0)

For me the older (2.71) version runs well with ML!! DL Link below.

To display the gpu load % running at Monitor: activate GPU in preferences / activity view / floanting window.

You dont need any gpu related (fakesmc) gpuplugin installed to get gpu load / gpu VRAM / gpu fps shown.

Only for the gpu temp you must have such an fakesmc plugin installed / same for CPU temp.

 

Results:

Gpu & load values for 20 triangles(min) + 2000 triangles + 5000 triangles(max) would be interesting.

 

9600 GT 512 MB:

20 tri : 3% gpu load

2000 : 57% gpu load

5000: 90% gpu load comment: above around 4800 tri the gpu is full loaded (>=91 %)

 

 

EDIT UPDATED 24.09.2012

- 20 .... 20000 triangles - wide range for AGPM checks

- compiled with 10.8 SDK

- added Link to DL older atMonitor(freeware) for gpu load % measurement

 

- added an finetuning (10-5000 triangles) OpenGL triangles AGPM version

Same as OpenGL triangles Bench Sep 2012 version but more finetunable slider for the gpu load .

OpenGL triangles AGPM usable for most gpus lowend to midrage.

Use other (20-20000 triangles) version if your (very fast / highend ) gpu will not get more than 75% gpu load with 5000 triangles.

 

 

atMonitor 2.7.1 (has gpu values support, for me runs well with ML):

http://download.atpu...onitor2.7.1.zip

Info atMonitor: http://www.atpurpose.com/atMonitor/

 

Happy benching / load you GPU / AGPM checks.

:)

 

 

example AGPM log:

 

25.09.12 09:47:35,000 kernel[0]: AGPM: updateGPUHwPstate(1, 0): fHwPstate = 0 fFB = 0xffffff800b261000

25.09.12 09:47:35,000 kernel[0]: AGPM: updateGPUHwPstate(): state = 1. Calling fFB->setAggressiveness()...

25.09.12 09:47:35,000 kernel[0]: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17. SW occupancy updated.

25.09.12 09:47:52,000 kernel[0]: AGPM: updateGPUHwPstate(2, 0): fHwPstate = 1 fFB = 0xffffff800b261000

25.09.12 09:47:52,000 kernel[0]: AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...

25.09.12 09:47:52,000 kernel[0]: AGPM: GPU = display G-state set to 2 from 1, ControlID = 17. SW occupancy updated.

25.09.12 09:49:05,000 kernel[0]: AGPM: updateGPUHwPstate(3, 0): fHwPstate = 2 fFB = 0xffffff800b261000

25.09.12 09:49:05,000 kernel[0]: AGPM: updateGPUHwPstate(): state = 3. Calling fFB->setAggressiveness()...

25.09.12 09:49:05,000 kernel[0]: AGPM: GPU = display G-state set to 3 from 2, ControlID = 17. SW occupancy updated.

OpenGL triangles bench_sept_2012.zip

Bildschirmfoto 2012-09-25 um 09.56.33.jpg

OpenGL triangles AGPM.zip

  • Like 1
Link to comment
Share on other sites

Thanks, does your GPU GHz (shown 1,84 GHz at load) change by load?

For comparadge at fixed triangles: MY 9600 GT gets 8,50 FPS at 15024 triangles.

 

I can see (SMC Monitor) that GPU temp rised within short time on GPU load - 39 > 53 celsius.

Bildschirmfoto_2011_05_09_um_10.28.36.jpg

Bildschirmfoto_2011_05_09_um_10.30.12.jpg

Link to comment
Share on other sites

Thanks, does your GPU GHz (shown 1,84 GHz at load) change by load?

For comparadge at fixed triangles: MY 9600 GT gets 8,50 FPS at 15024 triangles.

 

I can see (SMC Monitor) that GPU temp rised within short time on GPU load - 39 > 53 celsius.

 

clock 1,84 continuos, in 15024 2 minuts 52 C.

 

use video injection from chamaleon rc5 755, maybe not good control clock..?¿?¿

rate_2.tiff

Link to comment
Share on other sites

No, AGPM of the GPU is independend from chameleon autographics. Its depended from MacModell injection (MacPro, iMac,...) and GPU powermanagement kext and also GPU BIOS.

Also AGPM may work even CUDA cant show the (in real) changed GHz.

AGPM not working can be seen / better heared with highend GPUs (GTX 285, GTX 4xx) by the loud fan noise.

My 9600 GT is not noisy / temp low on no work - even AGPM isnt working. GPU Load is major for temp/noise than GHz low/high - at least for lowend/midrange GPUs. Low GPU load beside high GHz doesnt produce much temp on those cards, only on load.

Link to comment
Share on other sites

  • 1 month later...

Hmmm, not much faster than my 9600 GT (7050 vs 6300 triangles at 20 FPS (near 20 FPS).

 

Info: The CUDA part of the App only does some GPU information read out. The FPS is made by pure OpenGL code.

So it doesnt bench CUDA speedm it benches an simple OpenGL 1.2 speed.

Much more interesting is OpenGLExtensionsviewer tests.

Link to comment
Share on other sites

  • 1 month later...

Very interesting IMO story here... It's hard to believe. ;)

~20FPS 8512

post-663344-1310951227_thumb.png

~17FPS 10209

post-663344-1310951246_thumb.png

~15FPS 11447

post-663344-1310951274_thumb.png

~10FPS 17134

post-663344-1310951292_thumb.png

CUDA-Z info

post-663344-1310953037_thumb.png

 

SL X.6.8 with latest CUDA version 4.0.19

8800 Ultra (ex GTX) 768Mb

2 Xeon 3.6GHz (single core ones)

4Gb RAM

"Mac Pro 3,1"

Link to comment
Share on other sites

8800 GTX is an very fast OpenGL card for that baisc OpenGL commands. With more complex (real game) openGL tasks an GTX 285 or newer has much more benefit.

Dont forget its an basic OpenGL bench.

In the next days OpenGLExtensionsviewer Version 4.0 (Lion ready) will be available - use that for more real game benches.

http://www.realtech-vr.com/glview/

Link to comment
Share on other sites

Hi Mitch_de,

 

Here are the Results from my System (Sig) under Lion 64Bit:

post-292451-1311351996_thumb.png

post-292451-1311352018_thumb.png

post-292451-1311352037_thumb.png

 

My GTX 285 idle temperature is 57°C:

post-292451-1311352272_thumb.png

 

but shortly (ca - 15sec) after Max load goes to 73°C:

post-292451-1311352483_thumb.png

 

Other Test Results from my system under Snow & Lion you can see here:

http://www.insanelymac.com/forum/index.php?showtopic=261987

 

I can tell you that the Lion has a better OpenGL support as Snow, but Snow has better OpenCL support!

Very interesting, what do you mean Mitch_de, did you noticed the same?

Link to comment
Share on other sites

As you can see, Lion performing OpenGL better as Snow...

 

I get similar results with my GTX275.

 

Infact wanting these newer OpenGL drivers was one of the main reasons I upgraded to Lion.

 

bazz.

Link to comment
Share on other sites

Small FPS (OpenGL) tool which can put load on the gpu and measures the GPU GHz.

 

This is useful for GTX 460 (and other GF104 based cards) owners running Snow Leopard and Lion.

 

Leave it running hidden in the background, set to 210 triangles - no more Fermi Freeze. It uses less than 1% CPU time and only 16MB RAM.

 

Finally I can use VLC whenever I want :D

Link to comment
Share on other sites

  • 5 weeks later...

Interesting!

So it can be that the freeze can be avoided by putting some x% gnu load on the gnu.

Must be some power management problem - if less than an min gnu load freeze can happen. VLC player or other things do the same if running in background.

You could use atmonitor app , freeware tool, to show which gnu load you produce by the app. Normally gnu load will never reach 90+% with such small opengl tasks.

http://www.macupdate.com/app/mac/30533/atmonitor

I can made an new app tool which has some different slider values (not 0... 30000 triangles) for more accurate lower triangles settings like 0... 5000. Puts less gnu load as the available app, but may be useful together with at monitor to see at which minimal gnu load (in background) the fermi isn't freeze or at least freezes much less than "normal".

 

 

With 10.7.2 C40 (today new) i get 15000 triangles at 20.0 Hz.

Much higher than my 10.6.8 values (7000) even with that slow card 9600 GT (early limit).

I think drivers were not much optimized, there must be some bugs in the older drivers.

I also read in other benchmarks that some OpenGL things run much faster with 10.7.x that 10.6.8, others same. So its not an general optimized code in 10.7.x, more an avoiding speed limited bugs.

 

Screenshoots:

one with less gnu load (=less triangles) and one with much gnu load, measure point 20 Hz. atmonitor shows gnu load %(also vram usage + fps!)

Bildschirmfoto_2011_08_22_um_09.57.24.jpg

Bildschirmfoto_2011_08_22_um_09.57.44.jpg

Link to comment
Share on other sites

  • 9 months later...

Updated the Bench:

- removed CUDA need (was only used to get gpu GHz which is always an fixed value - uninteresting), now can run also on AMD or NVIDIA without CUDA installed.

- changed slider to fixed steppings. better to compare results

DL at first posting

 

I get around 8,5 FPS with the slider in middle positon (13888 Traingles), and 4,3 FPS at max-. Triangles (30000)

WARNING: Low end gpus may stall whole GUI/SYSTEM if you set triangles to high - start with lower steps and wait a few seconds if your system (GPU) can handle that fast enough.

FPS is limited by screen fps (Hz) because it uses vsync.

If very fast gpus can handle even at 30000 triangles(slider max.) 60,0 FPS, i will rise the max. Triangles slider to higher value (60000).

 

 

This OpenGL Bench is using CPU very less, limited by GPU speed (VRAM + Texture speed)

Bildschirmfoto 2012-05-29 um 12.11.48.jpg

Link to comment
Share on other sites

This Traingles OpenGL Bench uses very low OpenGL commands (up to OpenGL 1.1), so it is mostly an Bench for testing AGPM and/or general Test.

Its limited mostly by GPU hardware, not the OS X driver speed diffs.

To look after FPS diff for driver updates use better OpenGLExtension viewer , Test, Boxing King and compare that results OpenGL 1.2up.

Or use even more game related (and complex) Unique Heaven Benchmark.

use there fullscreen but lower res (800x600 or equal) to compare driver speed diffs - the lower the res the more you can see driver speed diffs, because the gpu is not so much limited by hardware like using fullscreen high res.

Link to comment
Share on other sites

 Share

×
×
  • Create New...