Jump to content

Make ASUS EAH6850 100% work!

ASUS6850 6850 6xxx ASUS

  • Please log in to reply
40 replies to this topic

#1
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan

Everything works perfect : QE/CI, DVD player, HDMIx1 DVIx2 (I haven't tried DisplayPort, but it must be able to work.)

Old posts (You can skip it to save your time.):

Spoiler


3/17/2013 Update:
Fixed some small issues, such as laggy mouse.

 

The new personality patched by me:
(Personality: Duckweed)

Original Duckweed:

00 04 00 00 04 03 00 00 00 01 00 00 12 04 04 01
00 04 00 00 04 03 00 00 00 01 00 00 22 05 05 02
00 08 00 00 04 02 00 00 00 01 00 00 11 02 03 04
00 02 00 00 14 02 00 00 00 01 00 00 00 00 06 05

Patched Duckweed:

00 04 00 00 04 03 00 00 00 01 00 00 12 04 04 01
00 08 00 00 04 02 00 00 00 01 00 00 22 05 03 04
04 00 00 00 14 02 00 00 00 01 00 00 10 00 06 05
00 02 00 00 14 02 00 00 00 01 00 00 11 02 05 06

Attached File  10.8.3 ATI6000Controller.kext.zip   664.36KB   91 downloads

 

After applying the kext, set GraphicsEnabler=Yes and add the following DSDT code:

                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x82)
                            {
                                "@0,AAPL,boot-display", 
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }, 

                                "@0,AAPL,vram-memory", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
                                }, 

                                "@0,VRAM,memsize", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x40
                                }, 

                                "@0,compatible", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@0,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x04, 0x00, 0x00
                                }, 

                                "@0,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@0,display-bpc", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x00
                                }, 

                                "@0,display-connect-flags", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x00
                                }, 

                                "@0,display-type", 
                                Buffer (0x05)
                                {
                                    "NONE"
                                }, 

                                "@0,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@1,AAPL,vram-memory", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
                                }, 

                                "@1,VRAM,memsize", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
                                }, 

                                "@1,compatible", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@1,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 

                                "@1,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@1,display-type", 
                                Buffer (0x05)
                                {
                                    "NONE"
                                }, 

                                "@1,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@2,AAPL,vram-memory", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
                                }, 

                                "@2,VRAM,memsize", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
                                }, 

                                "@2,compatible", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@2,connector-type", 
                                Buffer (0x04)
                                {
                                    0x04, 0x00, 0x00, 0x00
                                }, 

                                "@2,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@2,display-type", 
                                Buffer (0x05)
                                {
                                    "NONE"
                                }, 

                                "@2,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@3,AAPL,vram-memory", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
                                }, 

                                "@3,VRAM,memsize", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
                                }, 

                                "@3,compatible", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "@3,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x02, 0x00, 0x00
                                }, 

                                "@3,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@3,display-type", 
                                Buffer (0x05)
                                {
                                    "NONE"
                                }, 

                                "@3,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Duckweed"
                                }, 

                                "AAPL,slot-name", 
                                Buffer (0x07)
                                {
                                    "Slot-1"
                                }, 

                                "AAPL,EMC-Display-List", 
                                Buffer (0x40)
                                {
                                    /* 0000 */    0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0010 */    0x06, 0x10, 0x00, 0x00, 0x1B, 0x92, 0x00, 0x00, 
                                    /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0020 */    0x06, 0x10, 0x00, 0x00, 0x1C, 0x92, 0x00, 0x00, 
                                    /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0030 */    0x06, 0x10, 0x00, 0x00, 0x21, 0x92, 0x00, 0x00, 
                                    /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                }, 

                                "AAPL,aux-power-connected", 
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }, 

                                "AAPL,backlight-control", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x00
                                }, 

                                "AAPL00,blackscreen-preferences", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x08
                                }, 

                                "AAPL01,blackscreen-preferences", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x08
                                }, 

                                "AAPL02,Coherency", 
                                Buffer (0x04)
                                {
                                    0x02, 0x00, 0x00, 0x00
                                }, 

                                "AAPL02,blackscreen-preferences", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x08
                                }, 

                                "ATY,Card#", 
                                Buffer (0x0E)
                                {
                                    "109-C29602-00"
                                }, 

                                "ATY,Copyright", 
                                Buffer (0x33)
                                {
                                    "Copyright AMD Inc. All Rights Reserved. 2005-2013"
                                }, 

                                "ATY,DeviceID", 
                                Buffer (0x02)
                                {
                                    0x39, 0x67
                                }, 

                                "ATY,EFI-dpcd-post-training", 
                                Buffer (0x06)
                                {
                                    0x77, 0x77, 0x01, 0x00, 0x00, 0x00
                                }, 

                                "ATY,EFI-dpcd-training-reslut", 
                                Buffer (0x09)
                                {
                                    /* 0000 */    0x0A, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 
                                    /* 0008 */    0x01
                                }, 

                                "ATY,EFICompileDate", 
                                Buffer (0x0C)
                                {
                                    "Apr 14 2012"
                                }, 

                                "ATY,EFIDispConfig", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x0D, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                }, 

                                "ATY,EFIDriverType", 
                                Buffer (One)
                                {
                                    0x02
                                }, 

                                "ATY,EFIEnabledMode", 
                                Buffer (One)
                                {
                                    0x01
                                }, 

                                "ATY,EFIHWInitStatus", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                }, 

                                "ATY,EFIOrientation", 
                                Buffer (0x02)
                                {
                                    0x01, 0x00
                                }, 

                                "ATY,EFIVersion", 
                                Buffer (0x0A)
                                {
                                    "01.00.507"
                                }, 

                                "ATY,EFIVersionB", 
                                Buffer (0x11)
                                {
                                    "113-SR2G06-102"
                                }, 

                                "ATY,EFIVersionE", 
                                Buffer (0x0F)
                                {
                                    "113-C2960J-507"
                                }, 

                                "ATY,MRT", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "ATY,MemRevisionID", 
                                Buffer (0x02)
                                {
                                    0x0F, 0x00
                                }, 

                                "ATY,MemVendorID", 
                                Buffer (0x02)
                                {
                                    0x01, 0x00
                                }, 

                                "ATY,PlatformInfo", 
                                Buffer (0x80)
                                {
                                    /* 0000 */    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0050 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0058 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0060 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0068 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                }, 

                                "ATY,Rom#", 
                                Buffer (0x10)
                                {
                                    "113-AD03300-102"
                                }, 

                                "ATY,VendorID", 
                                Buffer (0x02)
                                {
                                    0x02, 0x10
                                }, 

                                "MVAD", 
                                Buffer (0x40)
                                {
                                    /* 0000 */    0x3E, 0x04, 0x02, 0xB8, 0xFF, 0x90, 0x00, 0x88, 
                                    /* 0008 */    0x00, 0x30, 0x02, 0xD9, 0x3F, 0x07, 0x00, 0x00, 
                                    /* 0010 */    0x56, 0x5E, 0x00, 0x0A, 0xA0, 0x0A, 0x30, 0x00, 
                                    /* 0018 */    0x20, 0x00, 0xA0, 0x05, 0xC9, 0x05, 0x03, 0x00, 
                                    /* 0020 */    0x05, 0x00, 0xA0, 0x05, 0x00, 0x0A, 0x50, 0x01, 
                                    /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                }, 

                                "VRAM,totalsize", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x40
                                }, 

                                "device_type", 
                                Buffer (0x13)
                                {
                                    "ATY,DuckweedParent"
                                }, 

                                "model", 
                                Buffer (0x13)
                                {
                                    "AMD Radeon HD 6850"
                                }, 

                                "name", 
                                Buffer (0x13)
                                {
                                    "ATY,DuckweedParent"
                                }, 

                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }

                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }

6/22/2013 Update:

Attached File  10.8.4 ATI6000Controller.kext.zip   664.36KB   15 downloads

Attached File  10.9 DP1 ATI6000Controller.kext.zip   782.02KB   10 downloads

 

7/29/2013 Update:

-DSDT updated. (added some properties from real MacPro5,1 and iMac12,2's ioreg)-

Attached File  10.6.8 ATI6000Controller.kext.zip   213.11KB   4 downloads

Attached File  10.7.5 ATI6000Controller.kext.zip   236.42KB   3 downloads

 

10/31/2013 Update:

Attached File  10.9 AMD6000Controller.kext.zip   780.12KB   57 downloads

 

12/4/2013 Update:

Now, you can use the Clover config.plist settings without patching AMD6000Controller.kext/ATI6000Controller.kext and DSDT:

-Confirmed working with Clover rev.2352-

Attached File  Clover.2352 config.plist.zip   1.82KB   32 downloads

 

Results:

Spoiler


Edited by shiecldk, 03 December 2013 - 06:11 PM.


#2
Hard233

Hard233

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts

Everything works perfect : QE/CI, DVD player, HDMIx1 DVIx2 (I haven't tried DisplayPort.)

I followed this awesome guy's post!
http://www.insanelym...dpost&p=1814922


Here is my org.chameleon.Boot.plist :

<key>GraphicsEnabler</key>
<string>Yes</string>
<key>AtiPorts</key>
<string>4</string>
<key>AtiConfig</key>
<string>Duckweed</string>
<key>Kernel Flags</key>
<string>npci=0x3000 darkwake=0</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1920x1080x32</string>

DSDT :(Not sure if this is necessary or not)
			Device (PEGP)
			{
				Name (_ADR, 0x00010000)
				Device (GFX0)
				{
					Name (_ADR, Zero)
					Name (_SUN, One)
					Method (_DSM, 4, NotSerialized)
					{
						Store (Package (0x06)
							{
								"@0,connector-type",
								Buffer (0x04)
								{
									0x00, 0x08, 0x00, 0x00
								},
								"@1,connector-type",
								Buffer (0x04)
								{
									0x00, 0x08, 0x00, 0x00
								},
								"hda-gfx",
								Buffer (0x0A)
								{
									"onboard-1"
								}
							}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
					}
				}
				Device (HDAU)
				{
					Name (_ADR, One)
					Method (_DSM, 4, NotSerialized)
					{
						Store (Package (0x02)
							{
								"hda-gfx",
								Buffer (0x0A)
								{
									"onboard-1"
								}
							}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
					}
				}
			}


The attach file is the patched-ATI6000Controller.kext in OS X 10.7.3
I modified the original ATI6000Controller.kext with Hex Fiend


By the way, does anyone know how to create an auto-patch program for ATI6000Controller.kext, so that updating could become more easier?


Good hack, you can use a better DSDT Fix.

#3
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain
Hello, shiecldk, with this DSDT from hard233 it's possible to have GE=No in o.c.b.p. and to remove AtiConfig / AtiPorts. I use this DSDT with the modified kext with success.

Spoiler


Furthermore hard233 is working about an app to made the changes directly in the kext, Would not it be great?

#4
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • News Team
  • 1,154 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
Would be a godsend if he made an app that made the changes directly to the kext so wouldn't have to go through the usual old fashioned way of editing away at a kext.

And I noticed in that DSDT it has the atiports basically applied in the dsdt I was just curious to know if I could apply that section of the dsdt to my own so I could eliminate the use of the atiports for my 6870.

#5
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan

Hello, shiecldk, with this DSDT from hard233 it's possible to have GE=No in o.c.b.p. and to remove AtiConfig / AtiPorts. I use this DSDT with the modified kext with success.

Furthermore hard233 is working about an app to made the changes directly in the kext, Would not it be great?



Would be a godsend if he made an app that made the changes directly to the kext so wouldn't have to go through the usual old fashioned way of editing away at a kext.

And I noticed in that DSDT it has the atiports basically applied in the dsdt I was just curious to know if I could apply that section of the dsdt to my own so I could eliminate the use of the atiports for my 6870.

Perfect! If hard233 successfully makes the app, it gonna be super convenient!

I can boot into My hackintosh without DSDT, GarphicsEnabler, AtiConfig and Atiports above. Everything still works with this kext: QE/CI, DVD Player, etc...
I think DSDT is not necessary with this kext, but l like hard233's DSDT which gives me pretty system info :star_sunglasses: .
The only problem I have is that whether I use DSDT or not, it sometimes has a 0.5second-greenscreen before I boot into the OS.
It's seems something still need to be modify in the patch.

PS. I prefer the name "AMD Radeon HD 6850" more than "ASUS EAH6850 DirectCU" in the DSDT. XD

#6
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain
TH3L4UGH1NGM4N: your card has 5 ports (1 DP more than 6850) so the DSDT has to be different. I think that using a well done DSDT with all 5 ports the AtiPorts modifier isn't necessary. Indeed if the framebuffer is also into the DSDT AtiConfig can be removed as well.

shiecldk: we can customize the card model, i use "ASUS EAH6850 Hard233". XD

#7
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • News Team
  • 1,154 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
@ miliuco Well that's a bummer I was hoping to do a little dsdt edit myself but I found this nice little perl command I can run that fixes the Gibba FB for me all I do is just keep the atiports 5 and set aticonfig to Gibba and I'm golden for any updates to come in Lion.

It's a good thing I'm bilingual con Spanish or else I wouldn't understand the comments lol.

#8
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain
TH3L4UGH1NGM4N: Where is the little perl comand? I can't see it in your post.

Then... can you understand spanish comments? If not, say to me to try to translate the text that you wanto to read.

#9
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • News Team
  • 1,154 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
I didn't post it but here it is now.

sudo perl -pi -e 's|\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x12\x04\x05\x01\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x22\x05\x04\x02\x00\x08\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x11\x02\x06\x04\x00\x02\x00\x00\x14\x02\x00\x00\x00\x01\x00\x00\x00\x00\x03\x05\x04\x00\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x11\x02\x01\x03|\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x12\x04\x04\x01\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x22\x05\x05\x02\x00\x08\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x11\x02\x06\x04\x00\x02\x00\x00\x14\x02\x00\x00\x00\x01\x00\x00\x00\x00\x03\x05\x04\x00\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x11\x02\x01\x06|g' /System/Library/Extensions/ATI6000Controller.kext/Contents/MacOS/ATI6000Controller

then

sudo touch /System/Library/Extensions

I understand Spanish fine that's what I meant so the comments did help along the way.

That's for the Gibba FB btw

#10
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan
I found out that HDMI can't work on this patch. I will keep working on it.
But before doing that, I have to prepare for the midterm exam at my high school.

Here is article which TheDjey showed me, might be helpful for you on HDMI audio.
http://www.tonymacx8...hp?f=14&t=34583

#11
Hard233

Hard233

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
Hello everybody,

I was working in the kext mod application, and I hope can upload the first beta for the next week. Basically, We need use the radeon_bios_decode and redsock_bios_decoder in order to read your Radeon ROM file. The app will take this data and will choose the best Framebuffer for your card for each Radeon Series kexts. You can choose diferent "ControlFlags" for each ConnectorType from a select combo, and finally I'm working in the hex mod section in order to modify the specific radeon kext for the radeon card detected.

I'd like collect a Radeon Database with each app use, and take each successfully FrameBuffer Mod using the app, creating a Vendor/Device select combo for a easier kexts mod in the future...

Happy weekend and keep in contact ;)

PD: I'm thinking about develop a DSDT section in the app for the FrameBuffer injection also... :wink2:

#12
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain
The perl script wold be a good idea till hard233 makes the app. I think that since it's for Gibba it can show some errors with our 6850 card, for example the HDMI not working as shiecldk says.

I encourage to shiecldk to work on the script (after your exam, of course) to adapt it for our card (my knowledge makes very difficult to me to do this), waiting for the app.

#13
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • News Team
  • 1,154 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
@ shiecldk You have to remember that my 6870 has 5 ports so that might have to do with the HDMI not working because my hdmi works fine as it's connected to one of my two monitors. There's also a thread in the dsdt section that I posted in using a generic hda dsdt function I implemented it into my dsdt and my audio worked. I'll point you to the thread if you need more specifics.

@ Hard233 Sounds like a splendid idea you have going their man I'd def contribute to it the only thing is that I don't run windows so I can't use that radeon_bios_decode thing that they use in windows. If I must though I'll just borrow a windows drive to get that rom information. Also liking the idea of adding the DSDT section for FB injection sounds like a great addition. Definitely anticipating this app seems like a real life and time saver your work is greatly appreciated. :star_sunglasses:

@ miliuco The perl script was made for 6870s with the general 5 port layout of (starting from left to right) mini DP, mini DP, HDMI, Top DL DVI port, bottom SL DVI port. The 6850 has one connection less because generally there is only 1 full sized Display Port as opposed to the 2x mini DP the 6870s carry. Something to keep in mind when you're altering the perl script.

#14
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain
Yes, I forgot that 6870 has 2 miniDP instead of 1 DP. If the perl script does hex changes in the kext, what part of the code contains the place (offset) where the changes had to be made? Thanks.

#15
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • News Team
  • 1,154 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
The diskoffset I used is 523928. And also I've noticed that there's a Sapphire 6870 that also has 4 ports but mine has 5.

#16
Hard233

Hard233

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts

The diskoffset I used is 523928. And also I've noticed that there's a Sapphire 6870 that also has 4 ports but mine has 5.


If your card has 5 ports, Gibba FrameBuffer has 5 ports, so if you have your modified kext, and your ROM file, I can try to modify your kext... ;)

@ Hard233 Sounds like a splendid idea you have going their man I'd def contribute to it the only thing is that I don't run windows so I can't use that radeon_bios_decode thing that they use in windows. If I must though I'll just borrow a windows drive to get that rom information. Also liking the idea of adding the DSDT section for FB injection sounds like a great addition. Definitely anticipating this app seems like a real life and time saver your work is greatly appreciated. :star_sunglasses:


You can boot into msdos using a USB drive, and use atiflash in order to get your ati rom file.

#17
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • News Team
  • 1,154 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
@ hard233 Gotcha I'll try to get the rom file and get a copy of msdos running on a flash drive. (Wasn't aware you could do that btw)

#18
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain

The diskoffset I used is 523928...


Yes, and in our 6850 is different but what I don't understand is: which part of the perl code has this date? Where is the indication to go until this offset to make the changes?

#19
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan
Sorry guys!! I didn't mean HDMI can't work.
The graphics on HDMI port works fine, but HDMI audio output is not available.

I'm not sure what the problem is.
I know there are three possibilities: DSDT, ATI6000Controller.kext and AppleHDA.kext, of course.
My onboard audio card is ALC889. I use the patched AppleHDA from tonymacx86. (see attachment)
By the way, I don't use HDMI audio, just want to patch it for somebody who needs and make system info more perfect. XD


(I'll read your posts next week. Keep working on my exam....). :wallbash:
Good luck for you guys!!!!!!!

Attached Files



#20
miliuco

miliuco

    InsanelyMac Sage

  • Donators
  • 396 posts
  • Gender:Male
  • Location:Spain
Good luck, shiecldk.

TH3L4UGH1NGM4N: I've noticed that the perl script doesn't contain the offset address but it has 2 hex strings, the first string has to be found in the kext and replaced with the second string, it's correct? How little I know about this¡





Also tagged with one or more of these keywords: ASUS6850, 6850, 6xxx, ASUS

  Topic Stats Last Post Info

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