Contribute
Register

Official Tested and Confirmed DSDT Graphics Edits

Status
Not open for further replies.
Joined
May 27, 2010
Messages
58
Mac
Classic Mac
Mobile Phone
I know nvidia cards are more compatible but I have a 5870, Does this method work with ATI cards as well? and if anyone knows of or has done some work on a dsdt with 5870 I would love your resources.
 
Joined
Dec 18, 2010
Messages
163
Motherboard
ASUS ROG GL502VM
If anyone has the gt 240 and the X58A UD3R FE Bios Rev 2.0. I injected Tony's code into it. Works great with no =yes.


As far as HDMI goes still my same problems as before i customized my DSDT.
1. No Audio (Used Tony's Patch, Says Display Port Syncmaster and when i try to change the volume i get the Volume Changer with the circle and cross going through when i try to change.)
2. Screen 10% over scaled and too bright (My screen is sort of expanded.)
 

Attachments

  • \'s_CODE.aml
    20.6 KB · Views: 173
Joined
Nov 30, 2010
Messages
161
Motherboard
10.9.1
CPU
i7 4771
Graphics
GTX770 EVGA
Mac
Classic Mac
Mobile Phone
  1. Android
soon as I have a day of freedom I'm going to sit down and do this for my 5870 :thumbup:
 
Joined
Mar 30, 2010
Messages
23
Motherboard
Asus Maximus VI Impact (Intel Z87)
CPU
Intel Core i5-4670K @ 4.2GHz
Graphics
nVidia GTX770 (MSI)
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
Here is my working GTX460 1Gb + HDMI edit:
Code:
            Device (PEGP)
            {
                Name (_ADR, 0x00030000)
                Name (_PRW, Package (0x02)
                {
                    0x09, 
                    0x05
                })
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x18)
                            {
                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

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

                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 

                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

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

                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 

                                "NVCAP", 
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

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

                                "device_type", 
                                Buffer (0x0D)
                                {
                                    "NVDA,Parent"
                                }, 

                                "model", 
                                Buffer (0x17)
                                {
                                    "NVIDIA GeForce GTX 460"
                                }, 

                                "rom-revision", 
                                Buffer (0x25)
                                {
                                    "nVidia GeForce GTX 460 OpenGL Engine"
                                }, 

                                "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)
                    }
                }
            }
 
Joined
Nov 30, 2010
Messages
161
Motherboard
10.9.1
CPU
i7 4771
Graphics
GTX770 EVGA
Mac
Classic Mac
Mobile Phone
  1. Android
Cavej03 said:
I know nvidia cards are more compatible but I have a 5870, Does this method work with ATI cards as well? and if anyone knows of or has done some work on a dsdt with 5870 I would love your resources.
I was following along and got to the point where it has you look for "NVCAP" and I realized I'm probably not going to have that, and this is geared for Nvidia cards. Would love to see the AMD/ATI guide!
 
Joined
Mar 28, 2010
Messages
51
Motherboard
MSI Z97 Gaming 7
CPU
Intel i7 4790
Graphics
Dual Geforce GTX 770 4GB
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. Android
This is for the MSI P55-GD55 an a pair of 460GTX cards, based it on a code excerpt on insanelymac:
Code:
            Device (P0P3)
            {
                Name (_ADR, 0x00030000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x09, 0x04))
                }

                Device (GFX0)
                {
                    Name (_ADR, 0xFFFF)
                    Name (_SUN, 0x02)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x3C)
                            {
                                "AAPL,slot-name", 
                                Buffer (0x07)
                                {
                                    "PCI2"
                                }, 

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

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

                                "AAPL,gart-width", 
                                Buffer (0x03)
                                {
                                    "64"
                                }, 

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

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

                                "@0,AAPL,boot-display", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@0,can-hot-plug", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

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

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

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

                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 

                                "@1,AAPL,boot-display", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@1,can-hot-plug", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

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

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

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

                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 

                                "NVCAP", 
                                Buffer (0x14)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

                                "NVDA,Features", 
                                Buffer (0x04)
                                {
                                    0x10, 0x80, 0x06, 0xFF
                                }, 

                                "NVPM", 
                                Buffer (0x1C)
                                {
                                    /* 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
                                }, 

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

                                "device_type", 
                                Buffer (0x0D)
                                {
                                    "NVDA,GeForce"
                                }, 

                                "IONVRAMProperty", 
                                Buffer (0x05)
                                {
                                    "true"
                                }, 

                                "rm_board_number", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x00
                                }, 

                                "rm_multiboard_capable", 
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }, 

                                "model", 
                                Buffer (0x11)
                                {
                                    "MSI N460GTX Hawk"
                                }, 

                                "rom-revision", 
                                Buffer (0x0F)
                                {
                                    "70.04.13.00.01"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }

            Device (P0P5)
            {
                Name (_ADR, 0x00050000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x09, 0x04))
                }

                Device (GFX0)
                {
                    Name (_ADR, 0xFFFF)
                    Name (_SUN, 0x02)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x3C)
                            {
                                "AAPL,slot-name", 
                                Buffer (0x07)
                                {
                                    "PCI4"
                                }, 

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

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

                                "AAPL,gart-width", 
                                Buffer (0x03)
                                {
                                    "64"
                                }, 

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

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

                                "@0,AAPL,boot-display", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@0,can-hot-plug", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

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

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

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

                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 

                                "@1,AAPL,boot-display", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@1,can-hot-plug", 
                                Buffer (One)
                                {
                                    0x00
                                }, 

                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

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

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

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

                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 

                                "NVCAP", 
                                Buffer (0x14)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

                                "NVDA,Features", 
                                Buffer (0x04)
                                {
                                    0x10, 0x80, 0x06, 0xFF
                                }, 

                                "NVPM", 
                                Buffer (0x1C)
                                {
                                    /* 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
                                }, 

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

                                "device_type", 
                                Buffer (0x0D)
                                {
                                    "NVDA,GeForce"
                                }, 

                                "IONVRAMProperty", 
                                Buffer (0x05)
                                {
                                    "true"
                                }, 

                                "rm_board_number", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x00
                                }, 

                                "rm_multiboard_capable", 
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }, 

                                "model", 
                                Buffer (0x11)
                                {
                                    "MSI N460GTX Hawk"
                                }, 

                                "rom-revision", 
                                Buffer (0x0F)
                                {
                                    "70.04.13.00.01"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }

Note the P0P devices, I think this is MSI specific but not exactly the same for all their boards.
 
Joined
Apr 2, 2010
Messages
135
Motherboard
Asus P8B-WS / 2106 Patched Bios
CPU
Xeon E3-1230V2
Graphics
Sapphire Radeon HD6850
Mac
  1. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
Asus GTX 275 (896 MB DDR3) on a P55M-UD4.
NVCAP retrieved from a nvflash dump under Windows.

Works under 10.6.6 without enabler nor GraphicsEnabler in com.apple.Boot.plist.
Smbios as MacPro 5,1 with NV50HAL and AGPM edited.
Cinebench 11.5 OpenGL score around 26.

Code:
            Device (PEGP)
            {
                Name (_ADR, 0x00030000)
                Name (_PRW, Package (0x02)
                {
                    0x09,
                    0x05
                })
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x1A)
                            {
                                "AAPL,slot-name",
                                "PCI x16",
                                "@0,compatible",
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                },

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

                                "@0,name",
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                },

                                "@1,compatible",
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                },

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

                                "@1,name",
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                },

                                "NVCAP",
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a,
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                },

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

                                "device_type",
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                },

                                "model",
                                Buffer (0x15)
                                {
                                    "Asus Geforce GTX 275"
                                },

                                "rom-revision",
                                Buffer (0x0F)
                                {
                                    "62.00.60.00.00"
                                },

                                "hda-gfx",
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }
 
Joined
Mar 7, 2011
Messages
1
Mac
Classic Mac
Mobile Phone
Hi! How can I add GT 240 template to my DSDT?

Thanx.

I use DSTDse for Extract my DSDT(in attached file). But I cant find place for Tony's code...

Please help me for add this code.
 

Attachments

  • dsdt.dsl
    317 KB · Views: 154
Joined
Mar 25, 2011
Messages
11
Mac
Classic Mac
Mobile Phone
Hey guys

I recently switched to iboot/multibeast userdsdt and found the set up to be very straight forward. Cheers for that!

The only snag that I have ran into is that the aquamac method for running dual video cards no longer seems to work on my system(I've been running dual geforce 9500 gt's for months without issue).

If I am running user dsdt for my Gigabyte UD7 rev 1 board, do I have to edit my dsdt in order to run dual graphics cards?

If that is the case and someone could point me to the relevant information it would be greatly appreciated! I have never edited a dsdt before.

I did take a read though this blogpost:
http://tonymacx86.blogspot.com/2010/01/ ... phics.html
But unless I'm mistaken it looks like it is written regarding a single graphics card.

Thanks guys!
 
Joined
Dec 12, 2010
Messages
40
Motherboard
Gigabyte x58a-ud7
CPU
Intel 980x
Graphics
EVGA GeForce GTX 780
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
  4. Mac Pro
Classic Mac
  1. Apple
  2. iMac
Mobile Phone
  1. Android
  2. iOS
Here's mine:

nVidia GTX 480 with HDMI Audio Edits.

Both DVI ports: Fully working.
DVI-to-HDMI: Fully working.
HDMI: Fully working.
HDMI Audio: In process.

Code:
        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A03"))
            Name (_ADR, Zero)
            Name (_UID, One)
            Name (_BBN, Zero)
            Method (_S3D, 0, NotSerialized)
            {
                If (LEqual (OSFL, 0x02))
                {
                    Return (0x02)
                }
                Else
                {
                    Return (0x03)
                }
            }
            Device (PEGP)
            {
                Name (_ADR, 0x00030000)
                Name (_PRW, Package (0x02)
                {
                    0x09, 
                    0x05
                })
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x1A)
                            {
                                "AAPL,slot-name", 
                                "PCI x16", 
                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 
                                "@0,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 
                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 
                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 
                                "@1,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 
                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 
                                "NVCAP", 
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 
                                "VRAM,totalsize", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x60
                                }, 
                                "device_type", 
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                }, 
                                "model", 
                                Buffer (0x17)
                                {
                                    "nVidia GeForce GTX 480"
                                }, 
                                "rom-revision", 
                                Buffer (0x25)
                                {
                                    "70.00.21.00.80"
                                }, 
                                "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)
                    }
                }
            }
 
Status
Not open for further replies.
Top