Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
Hello everyone,

I just purchased an Aluminum MacBook 2.4GHz today, and I tried playing some H.264 Trailers and I am shocked by the performance. My other MacBook Pro 2.4GHz playing a 1080p trailer is using about 100% CPU (out of 200%) but my new MacBook played the same trailer at only 28% CPU usage (out of 200%). I'm wondering if anyone knows if there is some GPU decode acceleration happening with the 9400M GPU because the difference here is quite huge. Thanks!
 

Kendall015

macrumors regular
Sep 12, 2006
115
1
I don't have any inside knowledge, but don't all codecs use hardware acceleration to decode video? There may be optimizations in the new video card that speeds up specific codecs like H.264, resulting in the dramatic increase in performance, but I think that the GPU was used for both.

Someone chime in if I am incorrect, though.
 

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
I don't have any inside knowledge, but don't all codecs use hardware acceleration to decode video? There may be optimizations in the new video card that speeds up specific codecs like H.264, resulting in the dramatic increase in performance, but I think that the GPU was used for both.

Someone chime in if I am incorrect, though.

My MacBook Pro has a 8600M GT graphics card which supposedly supports PureVideo H.264 hardware decode (in Windows), but in Mac OS X it appears that this hardware decode using the 8600M GT is not being used (since the CPU usage is 100% out of 200%), rather decode is totally being done by the CPU. With my experience of GPU decode in Windows, when it is actually being accelerated by the GPU, H.264 decode of 1080p video is usually around 10-20% (out of 100%) CPU usage.
 

Eidorian

macrumors Penryn
Mar 23, 2005
29,190
386
Indianapolis
This is rather interesting since Apple has seemed to have abandoned hardware decoding on OS X up until this point. OS 9 had DVD hardware decoding support mind you.

Hopefully someone can hunt down what's decoding the video stream on this new hardware so we can get to the bottom of this.

Keep in mind there are some interested powers from above as well. ;)
 

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
This is rather interesting since Apple has seemed to have abandoned hardware decoding on OS X up until this point. OS 9 had DVD hardware decoding support mind you.

Hopefully someone can hunt down what's decoding the video stream on this new hardware so we can get to the bottom of this.

Keep in mind there are some interested powers from above as well. ;)

It is indeed very interesting since Apple has not used any GPU accelerated decode of H.264 even though many GPUs that were in Apple machines were capable of this decode.
 

Eidorian

macrumors Penryn
Mar 23, 2005
29,190
386
Indianapolis
can other people with similar configs (new and old) run similar tests with high def quicktime streams from Apple and post their results?

http://www.apple.com/quicktime/guide/hd/

thanks
arn
It looks like the game is afoot.

Hopefully Apple doesn't put off this feature as part of the new hardware. The 8600M GT is as close to identical as you can get.

Edit: I start off around 50% then it peaks at just shy of 100%.
 

Attachments

  • qt_h264.png
    qt_h264.png
    970.4 KB · Views: 992

tekmoe

macrumors 68000
Feb 12, 2005
1,728
565
I just now played a 720p from the Apple site on my MacBook 2.4.

I watched the CPU's in Activity Monitor and they barely passed 20% while playing the movie.
 

arn

macrumors god
Staff member
Apr 9, 2001
16,390
5,830
I just now played a 720p from the Apple site on my MacBook 2.4.

I watched the CPU's in Activity Monitor and they barely passed 20% while playing the movie.

This the new aluminum MacBook?
 

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
It looks like the game is afoot.

Hopefully Apple doesn't put off this feature as part of the new hardware. The 8600M GT is as close to identical as you can get.

Edit: I start off around 50% then it peaks at just shy of 100%.

That trailer (Yes Man) does not pass 20% (out of 200%) CPU usage on the MacBook.
 

me_94501

macrumors 65816
Jan 6, 2003
1,009
0
I have a new 2.0 GHz aluminum MacBook and a 1.83 GHz Core Duo MacBook at my disposal. The Core Duo MacBook's CPU use averages between 75% and 85% with the 1080 BBC Motion Gallery reel. The aluminum MacBook ran about the same.
 

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
That's why we suspect GPU decoding hardware acceleration of h.264 on these new MacBooks.

Special OS X and Quicktime builds are known on new hardware. ;)

I was wondering that if this was the case, why wouldn't Apple be advertising this? This is a HUGE feature.
 

arn

macrumors god
Staff member
Apr 9, 2001
16,390
5,830
I have a new 2.0 GHz aluminum MacBook and a 1.83 GHz Core Duo MacBook at my disposal. The Core Duo MacBook's CPU use averages between 75% and 85% with the 1080p BBC Motion Gallery reel. The aluminum MacBook ran about the same.

hmm. just to be clear, you saw no benefit in performance running the hd video on a new aluminum MacBook (just came out last week). 75-80% CPU usage?

arn
 

007bond4321

macrumors member
May 9, 2007
82
0
I can confirm the 80%-ish CPU usage on a July 2007 MBP (listed below)
Cool that Apple is doing this for the new 'books. Unfortunate if it doesn't spill down to the rest of us.
 

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
I have a new 2.0 GHz aluminum MacBook and a 1.83 GHz Core Duo MacBook at my disposal. The Core Duo MacBook's CPU use averages between 75% and 85% with the 1080 BBC Motion Gallery reel. The aluminum MacBook ran about the same.

I tried the same video, and although less of a difference, my new MacBook still showed lower CPU usage. My MacBook Pro had around 100-110% CPU usage whereas my MacBook does not pass 95% CPU usage. For some reason, this video does not show much of a difference (its bitrate is similar to the other videos), whereas other videos show much greater difference (I have tried about 6 now).

EDIT: Definitely something is going on with Quicktime...when I played the same set of videos using VLC (used to be more efficient than Quicktime), the CPU usage when comparing the MacBook Pro and MacBook were identical.
 

me_94501

macrumors 65816
Jan 6, 2003
1,009
0
http://i49.photobucket.com/albums/f296/tekmoe/Picture4.png

There's a screenshot of a 1080p movie running along with my Activity Monitor showing the CPU history. The spikes are from me capturing screenshots. Remains at a constant 20% or so while playing the movie.

Interesting. What's the encoding on that video?

Here's the one I'm playing: http://www.apple.com/quicktime/guide/hd/bbcmotiongalleryreel.html

EDIT: From http://www.nvidia.com/object/product_geforce_9400_mgpu_us.html:

Experience full-spec playback of your favorite Blu-ray titles. PureVideo HD offloads 100% of movie playback for all HD video formats (H.264, VC1, MPEG-2), delivering stunning, stutter-free video with outstanding audio fidelity.

This is from the page for the desktop variant of the 9400; I'm not sure if this is true with the mobile version (9400m) that the MacBook uses.

EDIT 2: I tested with a second video--an HD TV show downloaded from iTunes--and sure enough, the aluminum MacBook saw less of a performance hit.
 

MGLXP

macrumors 6502
Original poster
Sep 29, 2005
271
26
That one is making my CPU run around 95%.

Yah...that one seems to show a different pattern (although still lower) from the others I have tried. It's sorta strange since it's about the same bitrate as the others and all of them use H.264 video encoding.
 

geerlingguy

macrumors 6502a
Feb 11, 2003
562
6
St. Louis, USA
Interestingly, when I run a 1080p video, with a 5.1 surround audio track (AC3 encoding) through Plex, very little of the processor is used—never more than 50%. When I try playing a simple 1080p trailer in QuickTime, with a stereo AAC track, it plays back quite choppily.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.