Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Hardware > Notebooks > MacBook, iBook
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread  
Old Oct 17, 2008, 09:37 PM   #1
MGLXP
macrumors regular
 
Join Date: Sep 2005
Is the new MacBook using GPU acceleration for H.264 decode?

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!
MGLXP is offline   Reply With Quote
Old Oct 17, 2008, 09:45 PM   #2
Kendall015
macrumors regular
 
Join Date: Sep 2006
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.
__________________
13.3" 2.4GHz UniMacBook | 16GB iPhone 3G
Kendall015 is offline   Reply With Quote
Old Oct 17, 2008, 09:49 PM   #3
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by Kendall015 View Post
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.
MGLXP is offline   Reply With Quote
Old Oct 17, 2008, 11:22 PM   #4
Eidorian
macrumors G3
 
Eidorian's Avatar
 
Join Date: Mar 2005
Location: Indiana
Send a message via AIM to Eidorian
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.
__________________
MRoogle it!
hikari T7500 2.2 GHz / 4 GB / 320 GB / GMA X3100 / 10.5.8
chobimaru Core i5 750 2.66 GHz / 4 GB / 640 GB / 4830 / Windows 7
Eidorian is offline   Reply With Quote
Old Oct 17, 2008, 11:30 PM   #5
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by Eidorian View Post
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.
MGLXP is offline   Reply With Quote
Old Oct 17, 2008, 11:43 PM   #6
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
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
arn is offline   Reply With Quote
Old Oct 17, 2008, 11:47 PM   #7
Eidorian
macrumors G3
 
Eidorian's Avatar
 
Join Date: Mar 2005
Location: Indiana
Send a message via AIM to Eidorian
Quote:
Originally Posted by arn View Post
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%.
Attached Thumbnails
Click image for larger version

Name:	qt_h264.png
Views:	516
Size:	970.4 KB
ID:	140272  
__________________
MRoogle it!
hikari T7500 2.2 GHz / 4 GB / 320 GB / GMA X3100 / 10.5.8
chobimaru Core i5 750 2.66 GHz / 4 GB / 640 GB / 4830 / Windows 7

Last edited by Eidorian : Oct 17, 2008 at 11:54 PM.
Eidorian is offline   Reply With Quote
Old Oct 17, 2008, 11:48 PM   #8
matperk
macrumors Demi-God
 
Join Date: May 2004
Location: Milwaukee, Wisconsin
Mine runs about 80% on average. Peaked at 100. Low of about 70 playing artbeat video on MBP listed below.
__________________
MacPro 8x2.26/12GB RAM/3TB
MBA RevB 1.86ghz/128GB SSD
4TB FW Drobo / Digital Rebel XTi
matperk is offline   Reply With Quote
Old Oct 17, 2008, 11:48 PM   #9
tekmoe
macrumors 65816
 
Join Date: Feb 2005
Send a message via Yahoo to tekmoe
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.
__________________
i like mac
tekmoe is offline   Reply With Quote
Old Oct 17, 2008, 11:53 PM   #10
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by arn View Post
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
I have also copied the version of Quicktime from my MacBook (slightly newer version) to my MacBook Pro, and the results are the same.
MGLXP is offline   Reply With Quote
Old Oct 18, 2008, 12:07 AM   #11
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
Quote:
Originally Posted by tekmoe View Post
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?
arn is offline   Reply With Quote
Old Oct 18, 2008, 12:08 AM   #12
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by Eidorian View Post
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.
MGLXP is offline   Reply With Quote
Old Oct 18, 2008, 12:10 AM   #13
Eidorian
macrumors G3
 
Eidorian's Avatar
 
Join Date: Mar 2005
Location: Indiana
Send a message via AIM to Eidorian
Quote:
Originally Posted by MGLXP View Post
That trailer (Yes Man) does not pass 20% (out of 200%) CPU usage on the MacBook.
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.
__________________
MRoogle it!
hikari T7500 2.2 GHz / 4 GB / 320 GB / GMA X3100 / 10.5.8
chobimaru Core i5 750 2.66 GHz / 4 GB / 640 GB / 4830 / Windows 7
Eidorian is offline   Reply With Quote
Old Oct 18, 2008, 12:14 AM   #14
me_94501
macrumors 6502a
 
me_94501's Avatar
 
Join Date: Jan 2003
Location: Alameda, CA
Send a message via AIM to me_94501 Send a message via Yahoo to me_94501
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.
__________________
Let's Go A's!
me_94501 is offline   Reply With Quote
Old Oct 18, 2008, 12:15 AM   #15
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by Eidorian View Post
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.
MGLXP is offline   Reply With Quote
Old Oct 18, 2008, 12:15 AM   #16
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
Quote:
Originally Posted by me_94501 View Post
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
arn is offline   Reply With Quote
Old Oct 18, 2008, 12:21 AM   #17
me_94501
macrumors 6502a
 
me_94501's Avatar
 
Join Date: Jan 2003
Location: Alameda, CA
Send a message via AIM to me_94501 Send a message via Yahoo to me_94501
Quote:
Originally Posted by arn View Post
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
That is correct.
__________________
Let's Go A's!
me_94501 is offline   Reply With Quote
Old Oct 18, 2008, 12:26 AM   #18
007bond4321
macrumors member
 
Join Date: May 2007
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.
__________________
15" mbp/2.4ghz/4gb/320gb, iPhone 3G 8gb baby!!!
007bond4321 is offline   Reply With Quote
Old Oct 18, 2008, 12:27 AM   #19
tekmoe
macrumors 65816
 
Join Date: Feb 2005
Send a message via Yahoo to tekmoe
Quote:
Originally Posted by arn View Post
This the new aluminum MacBook?
Yup
__________________
i like mac
tekmoe is offline   Reply With Quote
Old Oct 18, 2008, 12:29 AM   #20
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by me_94501 View Post
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.

Last edited by MGLXP : Oct 18, 2008 at 12:36 AM.
MGLXP is offline   Reply With Quote
Old Oct 18, 2008, 12:33 AM   #21
tekmoe
macrumors 65816
 
Join Date: Feb 2005
Send a message via Yahoo to tekmoe
http://i49.photobucket.com/albums/f2...e/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.
__________________
i like mac
tekmoe is offline   Reply With Quote
Old Oct 18, 2008, 12:43 AM   #22
me_94501
macrumors 6502a
 
me_94501's Avatar
 
Join Date: Jan 2003
Location: Alameda, CA
Send a message via AIM to me_94501 Send a message via Yahoo to me_94501
Quote:
Originally Posted by tekmoe View Post
http://i49.photobucket.com/albums/f2...e/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...lleryreel.html

EDIT: From http://www.nvidia.com/object/product..._mgpu_us.html:

Quote:
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.
__________________
Let's Go A's!

Last edited by me_94501 : Oct 18, 2008 at 01:59 AM. Reason: more info!
me_94501 is offline   Reply With Quote
Old Oct 18, 2008, 12:49 AM   #23
tekmoe
macrumors 65816
 
Join Date: Feb 2005
Send a message via Yahoo to tekmoe
Quote:
Originally Posted by me_94501 View Post
Interesting. What's the encoding on that video?

Here's the one I'm playing: http://www.apple.com/quicktime/guide...lleryreel.html
That one is making my CPU run around 95%.
__________________
i like mac
tekmoe is offline   Reply With Quote
Old Oct 18, 2008, 12:51 AM   #24
MGLXP
Thread Starter
macrumors regular
 
Join Date: Sep 2005
Quote:
Originally Posted by tekmoe View Post
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.
MGLXP is offline   Reply With Quote
Old Oct 18, 2008, 01:15 AM   #25
geerlingguy
macrumors 6502
 
Join Date: Feb 2003
Location: The Midwest, USA
Send a message via ICQ to geerlingguy
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.
__________________
Midwestern Mac, LLC | Life is a Prayer.com

2.8 iMac 24" + 2.0 Aluminum MacBook + 2 TB + iPhone 3G + D90 + D40 + Xbox 360 + Much much more
geerlingguy is offline   Reply With Quote

Reply

Mac Forums > Apple Hardware > Notebooks > MacBook, iBook

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:05 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC