Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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: nVidia HDMI Audio

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.

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

Last edited by andrejkw; Apr 12, 2013 at 11:13 AM.
andrejkw is offline   3 Reply With Quote
Old Dec 1, 2012, 05:07 AM   #2
slughead
macrumors 68000
 
slughead's Avatar
 
Join Date: Apr 2004
I haven't tried this yet, but thank you so much for making this!
__________________
http://latewire.com
slughead is offline   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 68000
 
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
__________________
http://latewire.com
slughead is offline   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 68000
 
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!
__________________
http://latewire.com
slughead is offline   0 Reply With Quote
Old Dec 3, 2012, 12:08 PM   #8
ActionableMango
macrumors 68030
 
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 68030
 
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
mseth
macrumors regular
 
Join Date: Nov 2012
Location: Canada
works!
__________________
Mac Pro 4,1 - 2.66GHz QC, 16GB Server RAM, 2X GT120, AGILITY 4 128GB, 4TB WD Black, 3x 2TB WD Green, External 640GB, 4x 24" 1080p in Portrait - GeekBench 9463

Last edited by mseth; Jan 6, 2013 at 07:58 PM.
mseth 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
mseth
macrumors regular
 
Join Date: Nov 2012
Location: Canada
removed.
__________________
Mac Pro 4,1 - 2.66GHz QC, 16GB Server RAM, 2X GT120, AGILITY 4 128GB, 4TB WD Black, 3x 2TB WD Green, External 640GB, 4x 24" 1080p in Portrait - GeekBench 9463

Last edited by mseth; Jan 6, 2013 at 07:58 PM.
mseth 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 member
 
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 member
 
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

Reply
MacRumors Forums > Apple Hardware > Desktops > Mac Pro

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

BB 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 08:28 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC