Contribute
Register

Official Tested and Confirmed DSDT Graphics Edits

Status
Not open for further replies.
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.
 
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: 187
soon as I have a day of freedom I'm going to sit down and do this for my 5870 :thumbup:
 
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)
                    }
                }
            }
 
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!
 
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.
 
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)
                    }
                }
            }
 
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: 165
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!
 
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.
Back
Top