Go Back   MacRumors Forums > Apple Hardware > Desktops > Mac Pro

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 30, 2012, 09:09 PM   #1
andrejkw
macrumors newbie
 
Join Date: Jun 2010
GUIDE: HDMI Audio

Good news everyone!

Those of you running Mac OS 10.8 or later with non-Apple NVidia or AMD Graphics Cards can now take advantage of HDMI audio output.

You will need to install a supplemental HDMIAudio kernel extension I've put together. This does not require replacing any existing system components.

For those of you that have never installed a kernel extension before, I've bundled a simple install script. Download links are at the bottom of this post.

(ℹ) If you've previously installed the NVidia-only NVAudio extension, you can safely run the installation script for HDMIAudio and it will automatically remove the former.

To install HDMIAudio:
  1. Double click on the DMG to mount it.
  2. Open Terminal, located in the Utilities folder.
  3. Enter this command, then press the Return or Enter key:
    Code:
    cd /Volumes/HDMIAudio
  4. Enter this command, then press the Return or Enter key:
    Code:
    ./install.sh
  5. When prompted, enter your administrator password, then press the Return or Enter key.
  6. You may receive a warning about an Unidentified Developer on Mavericks. This is safe to ignore.
  7. Reboot after installation.

To remove the extension:
  1. Boot into Safe Mode, if necessary.
  2. Open Terminal, located in the Utilities folder.
  3. Enter this command, then press the Return or Enter key:
    Code:
    sudo rm -fr /System/Library/Extensions/HDMIAudio.kext
  4. When prompted, enter your administrator password, then press the Return or Enter key.
  5. Enter this command, then press the Return or Enter key:
    Code:
    sudo kextcache -system-prelinked-kernel
  6. Enter this command, then press the Return or Enter key:
    Code:
    sudo kextcache -system-caches
  7. Restart your machine.

Please post any suggestions, questions or issues here.
Sources are available upon request.

Last edited by andrejkw; Mar 1, 2014 at 07:20 PM.
andrejkw is offline   7 Reply With Quote
Old Dec 1, 2012, 05:07 AM   #2
slughead
macrumors 68030
 
slughead's Avatar
 
Join Date: Apr 2004
I haven't tried this yet, but thank you so much for making this!
slughead is online now   0 Reply With Quote
Old Dec 1, 2012, 05:11 AM   #3
El Awesome
macrumors 6502
 
Join Date: Jul 2012
Location: Zurich
I'm not sure if the HDMI ports of unsupported Nvidia cards even work on the MP?
Correct me it I'm wrong.

But anyway, thanks for the efforts!
El Awesome is offline   0 Reply With Quote
Old Dec 1, 2012, 06:53 AM   #4
andrejkw
Thread Starter
macrumors newbie
 
Join Date: Jun 2010
nVidia cards output audio on the DVI and DP ports as well. All you need is a DP -> HDMI or DVI -> HDMI adapter.
andrejkw is offline   0 Reply With Quote
Old Dec 1, 2012, 05:33 PM   #5
slughead
macrumors 68030
 
slughead's Avatar
 
Join Date: Apr 2004
Quote:
Originally Posted by andrejkw View Post
nVidia cards output audio on the DVI and DP ports as well. All you need is a DP -> HDMI or DVI -> HDMI adapter.
I do not believe DVI carries an audio signal. Display port/mini display port do though
slughead is online now   0 Reply With Quote
Old Dec 1, 2012, 09:07 PM   #6
andrejkw
Thread Starter
macrumors newbie
 
Join Date: Jun 2010
Quote:
Originally Posted by slughead View Post
I do not believe DVI carries an audio signal. Display port/mini display port do though
You're right. Standard DVI doesn't carry audio signal. However, nVidia cards actually output HDMI signal over DVI. This allows you to use any compatible DVI -> HDMI adapter or cable (like this).
andrejkw is offline   0 Reply With Quote
Old Dec 2, 2012, 06:19 AM   #7
slughead
macrumors 68030
 
slughead's Avatar
 
Join Date: Apr 2004
Quote:
Originally Posted by andrejkw View Post
You're right. Standard DVI doesn't carry audio signal. However, nVidia cards actually output HDMI signal over DVI. This allows you to use any compatible DVI -> HDMI adapter or cable (like this).
I was not aware of that! God bless you, NVidia!
slughead is online now   0 Reply With Quote
Old Dec 3, 2012, 12:08 PM   #8
ActionableMango
macrumors 68040
 
ActionableMango's Avatar
 
Join Date: Sep 2010
Quote:
Originally Posted by andrejkw View Post
You're right. Standard DVI doesn't carry audio signal. However, nVidia cards actually output HDMI signal over DVI. This allows you to use any compatible DVI -> HDMI adapter or cable (like this).
Is this theory or have you actually tested this? Because ALL DVI ports output HDMI video, not just Nvidia. HDMI was designed that way. Heck, DVI even supports HDCP.

But I've never heard of HDMI audio output from a DVI port until now.
ActionableMango is offline   0 Reply With Quote
Old Dec 3, 2012, 12:10 PM   #9
All Taken
macrumors 6502a
 
Join Date: Dec 2009
Location: UK
Quote:
Originally Posted by ActionableMango View Post
Is this theory or have you actually tested this? Because ALL DVI ports output HDMI video, not just Nvidia. HDMI was designed that way. Heck, DVI even supports HDCP.

But I've never heard of HDMI audio output from a DVI port until now.
I've heard of this previously, The OP is right.

http://www.techpowerup.com/forums/ar.../t-145343.html
All Taken is offline   0 Reply With Quote
Old Dec 3, 2012, 12:36 PM   #10
ActionableMango
macrumors 68040
 
ActionableMango's Avatar
 
Join Date: Sep 2010
Quote:
Originally Posted by All Taken View Post
I've heard of this previously, The OP is right.

http://www.techpowerup.com/forums/ar.../t-145343.html
Wow, wild stuff. Thanks.
ActionableMango is offline   0 Reply With Quote
Old Dec 3, 2012, 02:02 PM   #11
andrejkw
Thread Starter
macrumors newbie
 
Join Date: Jun 2010
Quote:
Originally Posted by ActionableMango View Post
Is this theory or have you actually tested this? Because ALL DVI ports output HDMI video, not just Nvidia. HDMI was designed that way. Heck, DVI even supports HDCP.

But I've never heard of HDMI audio output from a DVI port until now.
Yes. I'm actually using a pretty generic DVI to HDMI cable that I've bought off of NewEgg. It has absolutely no issues carrying audio signal.
andrejkw is offline   0 Reply With Quote
Old Dec 14, 2012, 06:07 PM   #12
Executor
macrumors member
 
Join Date: Mar 2008
Thank you so much for your work, it was easy to install and works perfectly. Much appreciated.
Executor is offline   0 Reply With Quote
Old Dec 14, 2012, 07:56 PM   #13
sarthak
macrumors 6502
 
Join Date: Nov 2012
Location: Canada
works!

Last edited by sarthak; Jan 6, 2013 at 07:58 PM.
sarthak is offline   0 Reply With Quote
Old Dec 15, 2012, 09:40 AM   #14
andrejkw
Thread Starter
macrumors newbie
 
Join Date: Jun 2010
Did you have to install the kernel extension or did it work out of the box?

Interestingly enough, some cards don't require any hand-holding and work without it.

Quote:
Originally Posted by mseth View Post
I'm using a Reference GTX670. So hearing what folks say, if I hook it up to my 3DTV like this it should all work:

- DVI -> HDMI ADAPTER -> 20FT HDMI CABLE -> HT -> TV

I guess I'll pass on the DVI HDMI adapter approach because I can't use it for 3D gaming in Windows. Will check if the audio works because I haven't tested it much since I installed it. Then I'll try the script. Is this going to cause any instability problems or something like that using kernel extension? I don't want to touch system files.

UPDATE: WORKS LIKE A CHARM... GETTING 5.1 SURROUND SOUND.

Update #2: When you unplug the HDMI cable, you loose all sound. No audio devices so you have to reboot. Not a big deal.
andrejkw is offline   0 Reply With Quote
Old Dec 15, 2012, 11:53 AM   #15
sarthak
macrumors 6502
 
Join Date: Nov 2012
Location: Canada
removed.

Last edited by sarthak; Jan 6, 2013 at 07:58 PM.
sarthak is offline   0 Reply With Quote
Old Apr 1, 2013, 12:43 AM   #16
Pawprints
macrumors newbie
 
Join Date: Mar 2012
Thanks

Awesome work now I can hear sound out of my monitor from my MP running a GT640

Many thanks.
Pawprints is offline   0 Reply With Quote
Old Apr 1, 2013, 05:20 AM   #17
aquarich
macrumors newbie
 
Join Date: Aug 2010
Awesome work now I can hear sound out of my Samsung HDTV from my MP running a GTX 570
aquarich is offline   0 Reply With Quote
Old Apr 2, 2013, 10:23 AM   #18
cyber16
macrumors 6502
 
Join Date: Jan 2013
Help

Call me dumb
I use my 4.1 flashed to 5.1 pro for very little, its filling the roll of media server.
Still have the original GT120 card installed.
I do recall reading some time back that this card did not support audio via display port. Well I figured this was something new and i'd give try it.
Ran the command then rebooted, Now I am in a reboot loop as it tries to load.
I can get in via safe mode

Someone have an easily way to undo remove this extension?

update: decided to try the display port to HDMI and it completed the boot fine.
No audio, then shut down and re-tried the dvi to hdmi, again completed the boot this time fine, no audio from that gt120.
Not sure why after booting safe mode and exiting it now boots fine with the extension.

Nonetheless, anyone want to help with the removal undo this mod?

Last edited by cyber16; Apr 2, 2013 at 10:39 AM.
cyber16 is offline   0 Reply With Quote
Old Apr 5, 2013, 02:53 PM   #19
lewdvig
macrumors 65816
 
Join Date: Jan 2002
Location: South Pole
Quote:
Originally Posted by andrejkw View Post
Good news everyone!

Those of you running Mac OS 10.8 or later with non-Apple nVidia Graphics Cards can now take advantage of HDMI audio output.

You will need to install a supplemental NVAudio kernel extension that I've put together. This does not require replacing any existing system components.

For those of you that have never installed a kernel extension before, I've bundled a simple install script. Download links are at the bottom of this post.

To install NVAudio:
  1. Double click on the DMG to mount it.
  2. Open Terminal, located in the Utilities folder.
  3. Enter this command, then press the Return or Enter key:
    Code:
    cd /Volumes/NVAudio
  4. Enter this command, then press the Return or Enter key:
    Code:
    ./install.sh
  5. When prompted, enter your administrator password, then press the Return or Enter key.
  6. Reboot after installation.

Please post any suggestions, questions or issues here.

You are a wonderful human being!
__________________
Zealot without a cause. I run an orchard.
lewdvig is offline   0 Reply With Quote
Old Apr 12, 2013, 11:14 AM   #20
andrejkw
Thread Starter
macrumors newbie
 
Join Date: Jun 2010
Quote:
Originally Posted by cyber16 View Post
Call me dumb
I use my 4.1 flashed to 5.1 pro for very little, its filling the roll of media server.
Still have the original GT120 card installed.
I do recall reading some time back that this card did not support audio via display port. Well I figured this was something new and i'd give try it.
Ran the command then rebooted, Now I am in a reboot loop as it tries to load.
I can get in via safe mode

Someone have an easily way to undo remove this extension?

update: decided to try the display port to HDMI and it completed the boot fine.
No audio, then shut down and re-tried the dvi to hdmi, again completed the boot this time fine, no audio from that gt120.
Not sure why after booting safe mode and exiting it now boots fine with the extension.

Nonetheless, anyone want to help with the removal undo this mod?
Sorry for the late response! I'm currently overseas. Unfortunately, this extension only works with cards that support outputting audio over DVI/HDMI.

I've updated my original post with instructions on how to remove the extension. Again, I'm sorry for the trouble!
andrejkw is offline   0 Reply With Quote
Old Apr 13, 2013, 09:15 PM   #21
cyber16
macrumors 6502
 
Join Date: Jan 2013
No reason to apologies, As i said after a boot or two audio was back working without the need to remove.
I appreciate your efforts and help of the removal if needed
Thank you
cyber16 is offline   0 Reply With Quote
Old Apr 18, 2013, 02:05 AM   #22
sjacksonpro
macrumors newbie
 
Join Date: Apr 2013
nVidia Quadro 4000 for Mac

Will this kernel work for the Quadro 4000 that is actually designed for the Mac? I can't get the HDMI audio to even show up in the System Preferences with this card.

Thanks for any help you can offer!

UPDATE 4-14-13: I worked great for the 4000 for Mac! Thanks for posting.

Last edited by sjacksonpro; Apr 19, 2013 at 07:48 PM. Reason: Found a solution.
sjacksonpro is offline   0 Reply With Quote
Old Jun 6, 2013, 12:08 AM   #23
aquarich
macrumors newbie
 
Join Date: Aug 2010
10.8.4 not compatible. T_ T

10.8.4 not compatible T_ T
aquarich is offline   0 Reply With Quote
Old Jul 28, 2013, 04:42 PM   #24
Thomaspin
macrumors member
 
Join Date: Jun 2013
Location: Silicon Valley, CA
Perfect for HTPC use

Excellent post, andrejkw, many thanks.

My 2009 4-core Mac Pro uses a modest, yet very capable, EVGA nVidia GT430 1TB HDMI/VGA/DVI graphics card, which can be found used for $30-45. Performance in an HTPC application is excellent, using an HDMI cable.

I'm using OS Mountain Lion 10.8.4. It works perfectly, with the 4,1 firmware upgraded to 5,1, though it works fine with 4,1 also. 5,1 will allow use of 1333MHz RAM, if needed, though the stock 1066MHz RAM is fine for the job.

Adding a $50 internal Blu-Ray reader/burner in place of the stock Superdrive is a 10 minute job, making for a fine HTPC rig, much cheaper than a loaded MacMini with similar specifications.
Thomaspin is offline   0 Reply With Quote
Old Jul 28, 2013, 05:03 PM   #25
pastrychef
macrumors 68020
 
pastrychef's Avatar
 
Join Date: Sep 2006
Location: New York City, NY
Thank you very much for the driver!!
__________________
Mac Pro 5,1 3.2x8 - 48GB - GTX 680 - Crucial M4 SSD - Dell 3007WFP-HC
Alu MacBook 5,1 2GHz C2D - 8GB - 9400M
Mac mini 2.33GHz C2D - 4GB - GMA950 - 2 Drobos - SS4200 (unRAID)
iPhone 5 + iPhone 4 S⃣
pastrychef is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Desktops > Mac Pro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
XServe 2006: Supported Graphics Cards With HDMI or DVI with audio to hdmi iphone2g&3gfan iMac 3 May 30, 2014 04:42 PM
Retina HDMI out no audio? freeskier989 MacBook Pro 20 Feb 11, 2013 01:10 PM
HDMI to TV no Audio - Hear Me Out bgiaach MacBook Pro 9 Jan 11, 2013 05:24 PM
Monoprice's DP to HDMI w/audio BenGieCruz Mac mini 0 Dec 31, 2012 09:22 AM
Non-EFI HDMI Audio Out jagey Mac Pro 2 Nov 12, 2012 03:53 PM

Forum Jump

All times are GMT -5. The time now is 07:43 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC