Contribute
Register

Lion HDMI Audio - Part 3a: Kext Edits - AMD

Status
Not open for further replies.
toleda said:
georgechang said:
toleda said:
In IOReg, there are two displays attached (ATY,Eulemur@0 & @1). I see the TV (@1) but what is the other display (@0)? Are you getting HDMI video on the TV from your computer? Also check the volume setting of the TV.

Hello,ATY,Eulemur@0 is HDMI,ATY,Eulemur@1 is DVI. I only getting HDMI video on SONY TV from my computer, And I use Win7 on same computer from other HD, The HDMI video and audio is normal.

I update my IOReg dump please see again.
Thank you.
I don't know why it is not working. Perhaps, there is a problem with the exact edit you used. Try an experiment with Baboon. Edit the HDMI sense_id from 01 to 04 and leave DVI the same.

Thank you toleda
I try an experiment with Baboon.
And it work my GraphicsCard too.
But HDMI audio not work too. :(
Is any one wrong my setting.

Code:
ATOM BIOS Rom: 
	SubsystemVendorID: 0x1787 SubsystemID: 0x2291
	IOBaseAddress: 0x0000
	Filename: A5525CAA.SB 
	BIOS Bootup Message: CEARD DDR3 128X16 A5103LAA.CGK -H 2011              
                          
PCI ID: 1002:68f9
Connector at index 0
	Type [@offset 44266]: HDMI-A (11)
	Encoder [@offset 44270]: INTERNAL_UNIPHY1 (0x20)
	i2cid [@offset 44350]: 0x93, OSX senseid: 0x4
Connector at index 1
	Type [@offset 44276]: DVI-I (2)
	Encoder [@offset 44280]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 44387]: 0x91, OSX senseid: 0x2
Connector at index 2
	Type [@offset 44286]: DVI-I (2)
	Encoder [@offset 44290]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 44387]: 0x91, OSX senseid: 0x2
Connector at index 3
	Type [@offset 44296]: VGA (1)
	Encoder [@offset 44300]: INTERNAL_KLDSCP_DAC2 (0x16)
	i2cid [@offset 44414]: 0x90, OSX senseid: 0x1

Personality: Baboon
ConnectorInfo count in decimal: 3
Disk offset in decimal 163376
0000000 04 00 00 00 14 00 00 00 00 01 00 00 01 02 01 03
0000010 00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 01
0000020 10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 02
0000030

0000000 04 00 00 00 14 00 00 00 00 01 00 00 01 02 01 02
0000010 00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 04
0000020 10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 01
 
georgechang said:
toleda said:
Try an experiment with Baboon. Edit the HDMI sense_id from 01 to 04 and leave DVI the same.
0000010 00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 04

You didn't do what I requested. Change only the last value in the second line to 04. Please do not change any other value. The reason I am asking you to try Baboon is because only the HDMI sense_id has to change. When you randomly change other things, the experiment is no longer valid.
 
toleda said:
georgechang said:
toleda said:
Try an experiment with Baboon. Edit the HDMI sense_id from 01 to 04 and leave DVI the same.
0000010 00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 04

You didn't do what I requested. Change only the last value in the second line to 04. Please do not change any other value. The reason I am asking you to try Baboon is because only the HDMI sense_id has to change. When you randomly change other things, the experiment is no longer valid.

Hello
My HDMI audio is work.

I try two Personality : Eulemur and Baboon.
It's not working. Someone I change Personality the screen is block. I command GraphicsEnabler=No into OSX. The screen resolution can 1920x1080x32. And I try the HDMI audio then it work.

I try edit original ATI5000Controller.kext. I edit info.plist add <key>IOPCIMatch</key>
<string>0x68F91002</string> . And Personality Eulemur
00 08 00 00 00 02 00 00 00 71 00 00 12 04 04 04
Final edit "org.chameleon.Boot.plist" GraphicsEnabler=No.
The HDMI video and audio is work.

Thank you toleda help me.
 
DelPhil said:
toleda said:
Thanks for posting your success. Regarding on board audio, I saw the same thing on one of my systems today. I fixed it but not sure what I did. I will have an updated Lion 889 edited AppleHDA.kext to post in the next couple of days. I have a Sapphire 6670 that I'd like to try your Pethecia edit with. Please attach your edited kext when convenient.
I also test Duckweed FB modified and it work too: :D

Personality: Duckweed
ConnectorInfo count in decimal: 4
Disk offset in decimal 176800
0000000 00 08 00 00 04 02 00 00 00 01 00 00 12 04 01 05 -->HDMi
0000010 04 00 00 00 14 02 00 00 00 01 00 00 00 00 04 03 -->DVI
0000020 00 04 00 00 00 01 00 00 00 01 00 00 11 02 02 04 -->DP
0000030 00 02 00 00 14 02 00 00 00 01 00 00 00 00 06 05
0000040

Good news for audio, I found on osx86.net a kext (ALC885/889a for gigabyte and hdef autopatcher from maldon). http://www.osx86.net/view/1900-alc885-889a__10.7.2_11c71.html Audio is recognized as 885, Both HDMi audio and ALC889a works fine. :D

Here is my ATI6000 modified (Pithecia and Duckweed) for Lion 10.7.2.

I look now to test my config in SL10.6.8.

Just a little good news, I updated 10.7.2 to 10.7.3 (combo update) Config 2. After restart, I just modified Pithecia PL as for 10.7.2 and had to reinstall ALC885/889a with kext utility. :D
 

Attachments

  • 10.7.3.png
    10.7.3.png
    30.8 KB · Views: 287
I have just finished a build using this method to give me HDMI audio on a GA-HA65M-D2H-B3 / Asus HD5570 under Lion 7.3. Things are more or less working but I am having a few difficulties that I cannot figure out.

Firstly... an observation. I do not know if it is because I am using 7.3 but I found that basic HDMI Audio did not work on the HD5570 until I set 'Graphics Enabler'=No in org.chameleon.Boot.plist and with everything else set up as if 'Graphics Enabler' were set to Yes. In other words, I followed the instructions and used the plist setting GraphicsEnabler=Yes but found that HDMI Audio would not work. The only way that I could get HDMI audio working was to edit the DSDT as if GraphicsEnabler was set to Yes (leave out the Store (Package (0x0C)... edits) and set GraphicsEnabler=No in org.chameleon.Boot.plist. With the Store (Package (0x0C)... DSDT edits in place the system would boot but HDMI audio was unavailable.

I also found that Lion 7.3 would kernel panic if I attempted to force the card personality to 'Eulemur' as suggested in the Case Study and as has worked for me in the past. It would likewise kernel panic if I used the Eulemur personality in the Store (Package (0x0C)... DSDT edits. Perhaps the new Lion drivers have changed significantly.

Now the real problem...

If I try to play a 5.1 encoded video, over HDMI, to a TV, using either the latest Plex or XBMC then either app crashes. I have tried every combination of Systems Audio settings but each combination seems to kill XBMC/Plex when a 5.1 source is played. 2 channel MKVs and MP3s play fine but no matter what I set the system audio settings to (for example with AC3 & DTS pass-through turned on or off) then XBMC/Plex seems to crash when playing a 5.1 audio source.

I have tested both Plex and XBMC on a real Mac Mini with a 5.1 source sent through to a 2.0 TV via HDMI and they work fine. Down-mix seems to work fine. The XBMC and Plex logs do not show what is going on when the app crashes, only that a video started to play. This happens with both an edited AppleHDA (as per this thread) and with the new 'ALC889 edited Lion AppleHDA.kext' (with the 'Controller' edits to allow access to allow it to see the 5570 HDMI port).

Any ideas? Could the changes that I needed to make to get HDMI working on Lion 7.3 be causing this problem?

Thanks for the help.

Chris
 
carukc said:
I have just finished a build using this method to give me HDMI audio on a GA-HA65M-D2H-B3 / Asus HD5570 under Lion 7.3. Things are more or less working but I am having a few difficulties that I cannot figure out.

Any ideas? Could the changes that I needed to make to get HDMI working on Lion 7.3 be causing this problem?
The 10.7.3 AppleHDA.kext is not the problem; minor changes from 10.7.2. Regarding the KP with HD5570 and Eulemur, use Chameleon. With Chimera, ATIRadeonX3000 kp's and with Chameleon, it doesn't.

With respect to GE=N, there are instances where the default framebuffer provides HDMI audio; it is simply good luck. With GE=Yes, either Baboon or Eulemur will work with the proper framebuffer edits. Have you run radeon_bios_decode?

On the last issue, my 5570 works perfectly with DD and DTS in Plex. The 5570 case study is the solution for my h55n/5570/10.7.2 system. I suspect the issue may be a problem with the default framebuffer rather than AppleHDA. Try Chameleon and Eulemur.
 
Thank You for your suggestions Toleda,

toleda said:
The 10.7.3 AppleHDA.kext is not the problem; minor changes from 10.7.2. Regarding the KP with HD5570 and Eulemur, use Chameleon. With Chimera, ATIRadeonX3000 kp's and with Chameleon, it doesn't.

I believe that I am using Chameleon. I've installed the system using uniBeast -> MultiBeast with a DSDT from the database (and the User DSDT option), the FakeSMC Plugins, the jMicron kexts, the USB3 kexts and the RealTek kexts (Lin2Mac's drivers cause problems with video). The system does work well other than HDMI audio and sleep (which I can do without).

toleda said:
With GE=Yes, either Baboon or Eulemur will work with the proper framebuffer edits. Have you run radeon_bios_decode?

I have run radeon_bios_decode and it tells me that senseid is 0x3 so I have changed

00 08 00 00 00 02 00 00 00 71 00 00 12 04 04 02
to:
00 08 00 00 00 02 00 00 00 71 00 00 12 04 04 03

in ATI5000Controller.kext

Based on your suggestion I have also changed

00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 01
to:
00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 03

and changed GE=Yes. With no AtiConfig, AtiConfog=Baboob and AtiConfig=Eulemur, no HDMI audio. All other audio outputs are there as per your new Optimized Audio Drivers for Onboard Realtek ALC 889 but no HDMI audio unless GE=No. Incidentally, if HDMI audio is off, Plex/XBMC work fine with 5.1 sources.

toleda said:
I suspect the issue may be a problem with the default framebuffer rather than AppleHDA. Try Chameleon and Eulemur.

I agree... especially since Plex/XBMC work fine with other outputs. Assuming that you are suggesting the actual Chameleon installer (which I've never used before) I'll give it a go with AtiConfig=Eulemur.

Thanks Again for the help.

Chris
 
carukc said:
Once I find and download Chameleon do you think I should try to update or freshly install using Boot0hfs?

Chris
I don't understand your edits above, is one Eulemur and the other Baboon? Did you make the changes in two places for each?

On Chameleon, do a fresh install. You can get the latest on the New Releases forum on insanelymac.

Please attach an copy of ioreg with an edited ATI5000Framebuffer.kext.
 
Status
Not open for further replies.
Back
Top