Contribute
Register

Lion HDMI Audio - Part 3b: Kext Edits - Nvidia

Status
Not open for further replies.
Hi Toledo:

Appreciate your help. I am attaching all the required pieces (ioreg, dsdt, graphics..etc) for your review and advice.


Can you look at my assertion error and advice. It look like something very minor is missing.


I am thinking of dumping this card EVGA GT240 if I am not able to make the HDMI work.

Which graphics cards work out of box, with GA-H55N-USB3 on Lion 10.7.2 ?

Ecclabs
 

Attachments

  • Files.zip
    2 MB · Views: 130
I am running through the same situation. How do you edit the AppleHDACntroller and Apple HDA binary? May be I am noob to do it correctly.
 
ecclabs said:
I am thinking of dumping this card EVGA GT240 if I am not able to make the HDMI work.

Which graphics cards work out of box, with GA-H55N-USB3 on Lion 10.7.2 ?

Ecclabs
The sound assertions are related to the 892. I'm working on an 892 edited AppleHDA.kext for 10.7.2 but it is not ready for even Beta testing at this time. In the meantime, I have seen 892 edited AppleHDA.kext at kexts.com and osx86.net (I have not tested any of those solutions). You have to reapply the edits but that may get you HDMI audio. Trying a different graphics card won't help. There is not one motherboard that provide Lion HDMI audio out of the box.
 
Hi
THX for very good work!!! sorry for My English (google:)

I only used the AppleHDA 1.7.9(0A 00 DE 10 in Find Copy and paste 0D 00 DE 10 in Replace) and patch dsdt.aml "GraphicsEnabler" "Yes"
All downloadable below maybe useful to someone

motherboard : GA-H55M-UD2H / ALC889
graphics : PNY GF GT240 1GB DDR3/128b

file.php
 

Attachments

  • ekran.tiff
    908.6 KB · Views: 350
  • AppleHDA HDMI PATCH.zip
    1.6 MB · Views: 140
  • Extra 10.7.2.zip
    2.9 MB · Views: 128
Last edited by a moderator:
@toleda, Good day. Here's an update on my HDMI sound assertion problems, now using the mini HDMI port with single HDMI display attached.

Code:
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
11/20/11 11:05:32.000 PM kernel: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit

What I did on AppleHDA.kext version 2.1.3 was these:
AppleHDAController Binary Edit:
HexEdit/Find: "de 10 ea 0b", HexEdit/Replace: "de 10 ee 0b" 4x
AppleHDA Binary Edit:
HexEdit/Find: "14 00 de 10", HexEdit/Replace: "15 00 de 10" 4x

IOReg.zip
Graphics screenshot.tiff
Audio screenshot.tiff

Maybe there's still some patching needed for the AppleHDA or something. Thanks anyway.

Update:
Out of curiosity, I tried to use Mr.Mario's attached AppleHDA.kext and applied the corresponding patch to it. I managed to have HDMI audio on both DVI ports having dual HDTVs as displays. Im now starting to assume that there is more to be patch on AppleHDA v.2.1.3. Not sure though.
 

Attachments

  • IOReg.zip
    408.3 KB · Views: 124
  • Graphics screenshot.tiff
    60.7 KB · Views: 329
  • Audio screenshot.tiff
    130.1 KB · Views: 322
aln11 said:
@toleda, Good day. Here's an update on my HDMI sound assertion problems, now using the mini HDMI port with single HDMI display attached.


What I did on AppleHDA.kext version 2.1.3 was these:
AppleHDAController Binary Edit:
HexEdit/Find: "de 10 ea 0b", HexEdit/Replace: "de 10 ee 0b" 4x
AppleHDA Binary Edit:
HexEdit/Find: "14 00 de 10", HexEdit/Replace: "15 00 de 10" 4x

Maybe there's still some patching needed for the AppleHDA or something. Thanks anyway.

Update:
Out of curiosity, I tried to use Mr.Mario's attached AppleHDA.kext and applied the corresponding patch to it. I managed to have HDMI audio on both DVI ports having dual HDTVs as displays. Im now starting to assume that there is more to be patch on AppleHDA v.2.1.3. Not sure though.

There is a problem that appears in NVDADisplay-B@1 (the port your monitor is attached to). The audio-codec-index in your ioreg is 4 which is not valid (0, 1, 2 or 3 are valid). I don't know what causes this because it has not happened to me. Something may be wrong with AppleHDAController edit. A suggestion is to reedit a fresh AppleHDA_v2.1.3 per the guide. The values are correct.

Regarding the 10.6.2 AppleHDA, it works because its AppleHDAController does not do device_id checking. As well, all Fermi graphics cards support HDMI audio on the the DVI ports.
 
Ok got it. I'll try to make further tests particularly on AppleHDAController.
 
Dear Toleda and Aln11,

I have a Gigabytes GTX550Ti and installed with 10.7.2 with Unibeast and Multibeast. I didn't install any audio next and leave the original one. Trying your method and patched all the required works. But the HDMI audio still not shown up in the preference. Those patched code and address are just as the same as Aln11 which found in my display card. After all the work, I can see the 889 and HDMI/Display port items shown in system profile. Few question I would like to ask?
1. My 550Ti correctly shown on system profile but with wrong Vram size from 1024 to 1536, does it a matter and can it be fixed?
2. I have connected my HDMI to a DELL 2408 which has no build in speaker. Would the system needed to detect the HDMI sound devices before it shown on the sound preference.

Pls. give me kindly help.
Thanks.

Fatfish888
 
fatfish888 said:
Dear Toleda and Aln11,

I have a Gigabytes GTX550Ti and installed with 10.7.2 with Unibeast and Multibeast. After all the work, I can see the 889 and HDMI/Display port items shown in system profile. Few question I would like to ask?
1. My 550Ti correctly shown on system profile but with wrong Vram size from 1024 to 1536, does it a matter and can it be fixed?
2. I have connected my HDMI to a DELL 2408 which has no build in speaker. Would the system needed to detect the HDMI sound devices before it shown on the sound preference.

Pls. give me kindly help.
Thanks.
The info for audio in Profiler is not accurate (only the audio_id is correct and that is injected in your dsdt). Without an edited AppleHDA.kext, on board will not work. HDMI does not appear until it is implemented correctly and the HDMI device is connected for boot. Regarding memory size, check GFX0/VRAM,total size in IOReg.
 
Dear Toleda,

I have already patched the AppleHDA next with two requirement from your tutorial.
But it is still not been seem on preference.
While the Vram I found in Ioregexplorer is < 00 00 00 60 >.
What that mean?

Fatfish888
 
Status
Not open for further replies.
Back
Top