ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

 
Start a new topic Add Reply
> Dsdt Patch For Dual Gfx
kyndder
post Sep 17 2011, 06:01 AM
Post #1
I`m trying to made a patch to use a XFX 9600GSO and XFX 8600GT running at same time on Lion (10.7.1)...

This is the patch "GFX0" for the 9600GSO in the Device PEG0...

CODE
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 (0x14)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
                                    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A,
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                },
                                "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, 0x18
                                },
                                "device_type",
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                },
                                "model",
                                Buffer (0x18)
                                {
                                    "nVidia GeForce 9600 GSO"
                                },
                                "rom-revision",
                                Buffer (0x26)
                                {
                                    "62.92.42.00.15"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }


And this "GFX1" for the 8600GT in the Device PEX4...

CODE
Device (GFX1)
                {
                    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 (0x14)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
                                    /* 0008 */    0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A,
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                },
                                "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, 0x20
                                },
                                "device_type",
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                },
                                "model",
                                Buffer (0x18)
                                {
                                    "nVidia GeForce 8600 GT"
                                },
                                "rom-revision",
                                Buffer (0x26)
                                {
                                    "60.84.43.00.81"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }


Using one at once i get QE/CI working, using both at same time i get a Kernel Panic from IOGraphicsFamily.kext, IONDRVSupport.kext and NVDAResman.kext with one pointing to the other...

Is there a way to fix that???

Here are the files > http://www.mediafire.com/file/q95g396r1c95m19/Dual_GFX.zip

If anyone could help, I'll be very grateful.

Asus P8Z77-V LK Firmware 1001 / Core i5-2300 Sandy Bridge / Geekbench
kyndder
post Oct 3 2011, 12:01 AM
Post #2
Well... I made some progress...

The patch was right, PEG0 = GFX0 and PEX4 = GFX1...

The trick was change on the BIOS PEX4 as primary...





But even the device being recognized by the system, the display attached on it was not detected...

I`m attaching my IOreg dump, if someone could help, i would be very grateful...

[attachment=3837:kyndder_ioreg.zip]

Asus P8Z77-V LK Firmware 1001 / Core i5-2300 Sandy Bridge / Geekbench

Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: