Jump to content

HDMI Audio on an XFX HD5570, 1GB DDR3

hdmi audio ati xfx 5570 5000 amd mountain lion 10.8

  • Please log in to reply
22 replies to this topic

#1
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile
I'm close to giving up on this thing now...
I got an XFX AMD Radeon HD-5570 1GB DDR3 ram. I'm using DSDT injection and GraphicsEnabler=No. I found none of the built-in personalities worked properly for me, so I made a three-port personality from scratch and patched it into Baboon. I've currently got all ports working (HDMI, DVI and VGA), with hot-plug (mostly) working.

But, I have been unable to get audio out of my HDMI. As of now, I am using VoodooHDA (I'll switch to AppleHDA eventually) because I want to isolate the problem as much as possible. Voodoo shows me the HDMI device in the audio outputs but no sound comes through it. With my sense-id correctly (0x5) and Uniphy2 for that port I've tried all combinations of links and encoders (DIG5 Link A, DIG5 Dual Link, Dig 6 Link B) and all of them give me video out properly, none of them has audio. I've also tried setting the "Features" byte to both 01 and 71 (as I've seen on different personalities) and the Control Flag I've tried at 0x200 and 0x204, as per different personalities And what's generally known around the net (bcc9 and mucha's threads among others)

Has anybody been more successful at this than I? Does anybody have a similar card or can anyone here maybe offer some insight as to what I could be missing?

#2
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
Post your IOreg and DSDT and I will take a look.


DSDT:


http://rampagedev.wo...r-own-dsdt-3-2/


IOreg:


http://rampagedev.wo...category/ioreg/


#3
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile

Post your IOreg and DSDT and I will take a look.


DSDT:

http://rampagedev.wo...r-own-dsdt-3-2/

IOreg:

http://rampagedev.wo...category/ioreg/


Thank you very much. By the way, your tutorial was pretty much the first I checked. :)

Attached Files



#4
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
The edit is done correctly. The issue is that you are using VoodooHDA instead of AppleHDA. Remove VoodooHDA from S/L/E and install the kext attached then reboot. Post a new IOreg after restart.

Attached Files

  • Attached File  Kext.zip   1.35MB   35 downloads


#5
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile

The edit is done correctly. The issue is that you are using VoodooHDA instead of AppleHDA. Remove VoodooHDA from S/L/E and install the kext attached then reboot. Post a new IOreg after restart.


Will do right away. In advance, though... I was using AppleHDA at first and switched to Voodoo because AppleHDA wouldn't even show me "HDMI" in the sound outputs.

P.S. Yours is a Lion version, no? Should I have been using that instead of the vanilla 10.8.2 version?

Ok, there it is.

Attached Files


Edited by Lord Kamina, 10 October 2012 - 03:20 AM.


#6
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
It appears that you may have to hex edit AppleHDA to get it working...

Install this DSDT I edited and post a new IOreg. If this DSDT does not allow mac os x to boot boot with:

DSDT=No

Note this is case sensitive

Attached Files



#7
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile
Will try that. I considered having to edit AppleHDA but Toleda's tutorial said with my device id (60 aa I think?) it was probably not needed. Then again I got to thinking maybe I should try doing the whole shebang of adding it to the HDAPlatform and all that. (haven't gotten around to that yet though, university is a {censored} this week)

On that DSDT I see you changed the HDEF layout (BTW I was using 28 before, changed it to 1 to properly test the HDMI audio) and added gfx-onboard to HDEF, anything else?

#8
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
I did not add anything really... I just cleaned up the DSDT and placed the info were it belongs. I also cleaned up a few of your edits.

Test the DSDT and then post a new IOreg.

#9
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile
Here's the new IOReg, I don't think there was any (important) change.

Attached Files



#10
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
You have ALC887 correct?

Install this kext for onboard audio.

Attached Files



#11
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile

You have ALC887 correct?

Install this kext for onboard audio.


Yes, ALC887. Haven't really done anything to get that working though (yet). I just got my pin config and pathmaps the other day but haven't trubleshooted it at all.

#12
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
Install the AppleHDA I just posted and post a new IOreg. This one should work since the other one I posted did not.

#13
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile
Okay, this one gave me audio devices in the system preferences but none of my ports were actually working.
Still, it's definitely an improvement over getting nothing in there, I guess. (also, you can see some Applehdastreams in the IOReg)

I suppose I'd have to go over the pin-config with the kext you sent now? (Also, out of curiosity, what was changed in it, other than a patched binary?)

P.S. This one did not show HDMI either. Only "digital out" but that should be the on-board SPDIF out, no?

Attached Files



#14
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
The two layouts for that AppleHDA are:

3 Pin:

0x1F, 0x01, 0x00, 0x00

6 Pin:

0x77, 0x03, 0x00, 0x00

Only "digital out" but that should be the on-board SPDIF out, no?



It is showing the Apple name. It is only cosmetic...



#15
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile

The two layouts for that AppleHDA are:

3 Pin:

0x1F, 0x01, 0x00, 0x00

6 Pin:

0x77, 0x03, 0x00, 0x00


I'll try the other layout tomorrow and report back.

Only "digital out" but that should be the on-board SPDIF out, no?



It is showing the Apple name. It is only cosmetic...



I know, what I meant is... there's no chance that was actually HDMI, right? I didn't test that option because I don't really have the S/PDIF add-on bracket.

#16
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
If you were to hex edit the AppleHDA you should have no issues.

We could also try another AppleHDA that is from ML but some people have reported popping

#17
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile
Attach/link it here anyway, I'll try all options tomorrow at some point.

Thanks again for the help, btw.

#18
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile
Status update: I tried the 0887 layout and I still cannot get audio out of any port (they still show on my devices, mind you.) Additionally, I did one further modification to your DSDT edit: In the HDEF section you'd added hda-gfx: onboard-2, I corrected that to onboard-1 and while I still don't get audio, the TV is now shown on the devices selection (and identified correctly as SAMSUNG TV)

I would say this definitely narrows it down to two separate problems. On one side I gotta troubleshoot/review the on-board layout you posted and separate from that, it's becoming clear that the problem with the HDMI audio is on the side of the GFX card itself or the framebuffer configuration.

Anyway, I feel we're actually making progress here.

P.S. New IOReg.

Attached Files



#19
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,081 posts
  • Gender:Male
  • Interests:AKern@RampageDev.com
The last IOreg shows onboard audio working and HDMI audio working...

#20
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Santiago, Chile

The last IOreg shows onboard audio working and HDMI audio working...


Only they aren't, not really.
Like I said, I could select them in devices, but there was no sound through either.





Also tagged with one or more of these keywords: hdmi, audio, ati, xfx, 5570, 5000, amd, mountain lion, 10.8


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy