View Single Post
 
Old 11-16-2009, 06:27 PM
stayupforever90's Avatar
stayupforever90 stayupforever90 is offline
Cheetah
 
Join Date: Jul 2009
Posts: 7
Hey I think this maybe what you are looking for thanks to kDawg just not sure about you cards VRAM,totalsize . But looking at DSDTSE.app I guess it should be. Sorry for quoting some one's code respect goes to kDawg for it helped me out. Just remember to deleting your EFI strings from you boot.plist could help if you have some strange issues. Respect to kDawg and wwbsox and all

"VRAM,totalsize",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x20 /*<----------- 0x40 = 1024mb, 0x30 = 768mb, 0x20= 512mb, 0x10= 256mb */

Quote:
Originally Posted by kDawg View Post
That's very specific to each card. Depends on how much video ram your card has, what kind of ports you have and more importantly which slot it's in. I've commented what you need to change. Google gfxutil and you should find out how to find your PCI locations.

Here is a patch you need to place within the Device (PCI0) section. This is for a 512 8800GT with two DVI ports)

Code:
            Device (PEGP)
            {
                Name (_ADR, 0x00010000) //<-- This is the location on the PCI bus (important)
                Method (_STA, 0, NotSerialized)
                {
                    Return (0x0F)
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x09, 
                        0x05
                    })
                }

                Device (GFX1)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, 0x0B)
                    Method (_PRW, 0, NotSerialized)
                    {
                        Return (Package (0x02)
                        {
                            0x0B, 
                            0x04
                        })
                    }

                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x16)
                            {
                                "@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", //<-- This denotes the ports in the card (not as important)
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

                                "VRAM,totalsize", //<-- How much RAM you have (important)
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x20
                                }, 

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

                                "model", 
                                Buffer (0x17)
                                {
                                    "NVIDIA Geforce 8800 GT"
                                }, 

                                "rom-revision", 
                                Buffer (0x06)
                                {
                                    "3173a"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }
Reply With Quote