Jump to content
InsanelyMac Forum
mitch_de

GPU load / AGPM check tool - OpenGL Triangles

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

Share this post


Link to post
Share on other sites
Advertisement

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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Asus EN9800 GT 1Gb

 

GPU 1,5 GHz

Actual frame rate 20,25 Hz

 

Draw 5714 triangles per screen refresh.

 

 

 

 

Tuure

 

-.-

Share this post


Link to post
Share on other sites

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

post-233475-1310904112_thumb.png

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
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/

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

With the slider far right with my GTX480 on 10.7.2, I get 15 hz. Does anyone have comparisons between 10.7.2, 10.7.3, and 10.7.4 (worried about updating and losing performance!)?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • MaLd0n i created my hackintosh but at pci device not show up all device, can help me to makae DSDT   My hackintosh specification: ASUS Z270 MAXIMUS IX CODE BIOS 1301 Core i5 7600K overclock 4.8Ghz Memory 16GB AMD RADEON RX 560 Use pci card broadcom wifi & bluetooth   DSDT and clover compile RunMe.app    
    • Cool! Do you have a link? Googled and didn't see anything yet.   Never mind... you're quick! I just noticed you updated it on the 1st page THANKS!!!!!!
    • I resolved the problem. Just set this coding in your config.plist:   "
      <key>KextsToPatch</key>
              <array>
                  <dict>
                      <key>Comment</key>
                      <string>USB 10.13.4+ by PMHeart</string>
                      <key>Disabled</key>
                      <false/>
                      <key>Find</key>
                      <data>
                      g32UDw+DlwQAAA==
                      </data>
                      <key>InfoPlistPatch</key>
                      <false/>
                      <key>MatchOS</key>
                      <string>10.13.x</string>
                      <key>Name</key>
                      <string>com.apple.driver.usb.AppleUSBXHCI</string>
                      <key>Replace</key>
                      <data>
                      g32UD5CQkJCQkA==
                      </data>
                  </dict>
              </array>     "
    • New Web Driver - 387.10.10.10.30.107 for 10.13.4 build 17E202
    • I guess having pre{max-height: 500px;overflow: auto;} in CSS was too much for IPS Devs' tast.  Until an admin has hands on this, you still can use stylish plugin to accomplish it.     In fact, it is pretty easy than it appears - Just apply a simple click on the codebox (it will highlight it), then 'delete' key.


×