Jump to content

GPU load / AGPM check tool - OpenGL Triangles


  • Please log in to reply
40 replies to this topic

#1
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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)

Attached File  Bildschirmfoto 2012-09-25 um 09.57.05.jpg   180.35KB   121 downloads

- 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.

Attached Files



#2
Derty

Derty

    InsanelyMacaholic

  • Donators
  • 3,165 posts
  • Gender:Male
core i5 2,8
gts 250 1gb
8 gb ram
msi p55 cd53
osx 10.6.7 all vanilla 64 bits.

in 6815 have 20 fps..

up 7200 dowm 18,5
8000 17,2
9000 15,2
11000 11,7
13000 10,3

Attached Files



#3
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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.

Attached Files



#4
Derty

Derty

    InsanelyMacaholic

  • Donators
  • 3,165 posts
  • Gender:Male

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..?¿?¿

Attached Files



#5
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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.

#6
Derty

Derty

    InsanelyMacaholic

  • Donators
  • 3,165 posts
  • Gender:Male
mmm deception...

450 GTS in lion, chamemleon rc5 1000

Attached Files



#7
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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.

#8
Wayang-NT

Wayang-NT

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 133 posts
  • Gender:Male
here's my 9600GT ...

Attached File  OpenGL_FPS.jpg   716.25KB   114 downloads

#9
og-phantom

og-phantom

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Gender:Male
Here is my GTX460 at 20fps -- (Lion DP4);
And at 8.5fps;

Attached Files



#10
tle88

tle88

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 142 posts
  • Gender:Male
  • Location:Finland
Asus EN9800 GT 1Gb

GPU 1,5 GHz
Actual frame rate 20,25 Hz

Draw 5714 triangles per screen refresh.




Tuure

-.-

Attached Files



#11
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland
GTX 460, 10851 triangles / 20.21 Hz

Attached File  Screen_shot_2011_07_17_at_1.29.56.png   742.83KB   31 downloads

#12
imk

imk

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
5000 - 60,08 Hz
7500 - 40,44 Hz
10000 - 30,52 Hz
12500 - 24,50 Hz
15000 - 19,99 Hz
17500 - 17,92 Hz
20000 - 14,99 Hz
25000 - 11,99 Hz
30000 - 10,94 Hz

Attached Files



#13
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania
Very interesting IMO story here... It's hard to believe. ;)
~20FPS 8512
Attached File  Screen_shot_2011_07_18_at_3.57.28_AM.png   279.76KB   12 downloads
~17FPS 10209
Attached File  Screen_shot_2011_07_18_at_3.58.38_AM.png   270.92KB   6 downloads
~15FPS 11447
Attached File  Screen_shot_2011_07_18_at_3.59.25_AM.png   270.7KB   10 downloads
~10FPS 17134
Attached File  Screen_shot_2011_07_18_at_4.00.46_AM.png   288.51KB   38 downloads
CUDA-Z info
Attached File  Screen_shot_2011_07_18_at_4.36.41_AM.png   41.47KB   68 downloads

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"

#14
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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/

#15
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania
I've had run OpenGLExtensionsviewer a while ago. I wasn't very impressed with results :thumbsdown_anim: Hence the doubts on results posted in my previous post. Way too optimistic and incomplete picture IMO.

#16
quattrofx

quattrofx

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
  • Gender:Male
  • Location:Vienna
Hi Mitch_de,

Here are the Results from my System (Sig) under Lion 64Bit:
Attached File  60Hz.png   612.21KB   13 downloads
Attached File  20Hz.png   607KB   19 downloads
Attached File  Max.png   586.89KB   21 downloads

My GTX 285 idle temperature is 57°C:
Attached File  GPU_T_idle.png   57.64KB   22 downloads

but shortly (ca - 15sec) after Max load goes to 73°C:
Attached File  GPU_T_Max.png   52.08KB   16 downloads

Other Test Results from my system under Snow & Lion you can see here:
http://www.insanelym...howtopic=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?

#17
quattrofx

quattrofx

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
  • Gender:Male
  • Location:Vienna
And now the same Test under Snow Leopard 64Bit:
Attached File  60Hz.png   613.65KB   12 downloads
Attached File  20Hz.png   601.64KB   15 downloads
Attached File  GPU_Max.png   531.87KB   13 downloads
Attached File  GPU_T_Max.png   55.02KB   14 downloads

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

#18
sir_bazz

sir_bazz

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Melb, Australia

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.

#19
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,047 posts
  • Gender:Male
  • Location:Brazil

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

#20
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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...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!)

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy