Jump to content

AMD Radeon RX Vega 64


  • Please log in to reply
4 replies to this topic

#1
apfelnico

apfelnico

    InsanelyMac Protégé

  • Donators
  • 44 posts
  • Gender:Male
  • Location:Germany

What is the correct name of the framebuffer from the following video card: AMD Radeon RX Vega 64?

 

How do I get the latest Metal Support (Supports, Function set macOS GPUFamily1 v3)?

 

macOS 10.13.1



#2
Denicio

Denicio

    InsanelyMac Sage

  • Donators
  • 482 posts
  • Gender:Male
  • Location:Greece

What is the correct name of the framebuffer from the following video card: AMD Radeon RX Vega 64?

 

How do I get the latest Metal Support (Supports, Function set macOS GPUFamily1 v3)?

 

macOS 10.13.1

 

The best way to find out, is to try to do some reading from the most prominent thread about Vega: http://www.insanelym...on-high-sierra/



#3
apfelnico

apfelnico

    InsanelyMac Protégé

  • Donators
  • 44 posts
  • Gender:Male
  • Location:Germany

Sorry, but that's not helpful. Did not you read this thread? There are no answers to my questions. My two cards are also running. Also I have an SSDT to it. Metal is succinctly "supported". But that is no support for the current Metal2.

 

Edit: Japura, Iriri or Kamarang?

    Scope (\_SB.PCI2.BR2A.GFX0)
    {
        OperationRegion (PCIS, PCI_Config, Zero, 0x0100)
        Field (PCIS, AnyAcc, NoLock, Preserve)
        {
            PVID,   16, 
            PDID,   16
        }

        Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
        {
            Return (GPRW (0x69, 0x04))
        }

        Device (GFXA)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Device (GFX0)
            {
                Name (_ADR, Zero)  // _ADR: Address
                OperationRegion (PCIB, PCI_Config, Zero, 0x0100)
                Field (PCIB, AnyAcc, NoLock, Preserve)
                {
                    Offset (0x10), 
                    BAR0,   32, 
                    BAR1,   32, 
                    BAR2,   64, 
                    BAR4,   32, 
                    BAR5,   32
                }

                Method (_INI, 0, NotSerialized)  // _INI: Initialize
                {
                    If (LEqual (BAR5, Zero))
                    {
                        Store (BAR2, Local0)
                    }
                    Else
                    {
                        Store (BAR5, Local0)
                    }

                    OperationRegion (GREG, SystemMemory, And (Local0, 0xFFFFFFF0), 0x8000)
                    Field (GREG, AnyAcc, NoLock, Preserve)
                    {
                        Offset (0x6800), 
                        GENA,   32, 
                        GCTL,   32, 
                        LTBC,   32, 
                        Offset (0x6810), 
                        PSBL,   32, 
                        SSBL,   32, 
                        PTCH,   32, 
                        PSBH,   32, 
                        SSBH,   32, 
                        Offset (0x6848), 
                        FCTL,   32, 
                        Offset (0x6EF8), 
                        MUMD,   32
                    }

                    Store (Zero, FCTL)
                    Store (Zero, PSBH)
                    Store (Zero, SSBH)
                    Store (Zero, LTBC)
                    Store (One, GENA)
                    Store (Zero, MUMD)
                }

                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x14)
                        {
                            "AAPL,slot-name", 
                            Buffer (0x07)
                            {
                                "Slot-1"
                            }, 

                            "CFG,CFG_USE_AGDC", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }, 

                            "PP,PP_DisableAutoWattman", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }, 

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

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

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

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

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

                            "model", 
                            Buffer (0x13)
                            {
                                "AMD Radeon Vega 64"
                            }, 

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

            Device (HDAU)
            {
                Name (_ADR, One)  // _ADR: Address
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x0C)
                        {
                            "built-in", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }, 

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

                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x01, 0x00, 0x00, 0x00                         
                            }, 

                            "name", 
                            Buffer (0x0D)
                            {
                                "AMD HD-Audio"
                            }, 

                            "model", 
                            Buffer (0x0D)
                            {
                                "AMD HD-Audio"
                            }, 

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



#4
wyhtc

wyhtc

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
  • Location:Shsnzhen, Guangdong Province, China

 

Sorry, but that's not helpful. Did not you read this thread? There are no answers to my questions. My two cards are also running. Also I have an SSDT to it. Metal is succinctly "supported". But that is no support for the current Metal2.

 

Edit: Japura, Iriri or Kamarang?

    Scope (\_SB.PCI2.BR2A.GFX0)
    {
        OperationRegion (PCIS, PCI_Config, Zero, 0x0100)
        Field (PCIS, AnyAcc, NoLock, Preserve)
        {
            PVID,   16, 
            PDID,   16
        }

        Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
        {
            Return (GPRW (0x69, 0x04))
        }

        Device (GFXA)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Device (GFX0)
            {
                Name (_ADR, Zero)  // _ADR: Address
                OperationRegion (PCIB, PCI_Config, Zero, 0x0100)
                Field (PCIB, AnyAcc, NoLock, Preserve)
                {
                    Offset (0x10), 
                    BAR0,   32, 
                    BAR1,   32, 
                    BAR2,   64, 
                    BAR4,   32, 
                    BAR5,   32
                }

                Method (_INI, 0, NotSerialized)  // _INI: Initialize
                {
                    If (LEqual (BAR5, Zero))
                    {
                        Store (BAR2, Local0)
                    }
                    Else
                    {
                        Store (BAR5, Local0)
                    }

                    OperationRegion (GREG, SystemMemory, And (Local0, 0xFFFFFFF0), 0x8000)
                    Field (GREG, AnyAcc, NoLock, Preserve)
                    {
                        Offset (0x6800), 
                        GENA,   32, 
                        GCTL,   32, 
                        LTBC,   32, 
                        Offset (0x6810), 
                        PSBL,   32, 
                        SSBL,   32, 
                        PTCH,   32, 
                        PSBH,   32, 
                        SSBH,   32, 
                        Offset (0x6848), 
                        FCTL,   32, 
                        Offset (0x6EF8), 
                        MUMD,   32
                    }

                    Store (Zero, FCTL)
                    Store (Zero, PSBH)
                    Store (Zero, SSBH)
                    Store (Zero, LTBC)
                    Store (One, GENA)
                    Store (Zero, MUMD)
                }

                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x14)
                        {
                            "AAPL,slot-name", 
                            Buffer (0x07)
                            {
                                "Slot-1"
                            }, 

                            "CFG,CFG_USE_AGDC", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }, 

                            "PP,PP_DisableAutoWattman", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }, 

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

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

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

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

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

                            "model", 
                            Buffer (0x13)
                            {
                                "AMD Radeon Vega 64"
                            }, 

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

            Device (HDAU)
            {
                Name (_ADR, One)  // _ADR: Address
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x0C)
                        {
                            "built-in", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }, 

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

                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x01, 0x00, 0x00, 0x00                         
                            }, 

                            "name", 
                            Buffer (0x0D)
                            {
                                "AMD HD-Audio"
                            }, 

                            "model", 
                            Buffer (0x0D)
                            {
                                "AMD HD-Audio"
                            }, 

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

This is my way to Inject FB Name “Kamarang”on the Vega 64 with DSDT。Add a new device“LTRE” to replace the “pci-bridge”。I tried to inject it with SSDT,but at last I failed.

Attached File  501152BB-DC86-4298-8F33-064691AF5502.png   695.52KB   2 downloads

                Device (PEGP)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Device (LTRE)
                    {
                        Name (_ADR, Zero)  // _ADR: Address
                        Device (GFX0)
                        {
                            Name (_ADR, Zero)  // _ADR: Address
                            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                            {
                                If (LEqual (Arg2, Zero))
                                {
                                    Return (Buffer (One)
                                    {
                                         0x03                                           
                                    })
                                }

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

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

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

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

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

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

                                    "model", 
                                    Buffer (0x13)
                                    {
                                        "Radeon Pro Vega 64"
                                    }, 

                                    "hda-gfx", 
                                    Buffer (0x0A)
                                    {
                                        "onboard-2"
                                    }
                                })
                            }
                        }
                    }
                }
            }



#5
Zakk4223

Zakk4223

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

What is the correct name of the framebuffer from the following video card: AMD Radeon RX Vega 64?

 

How do I get the latest Metal Support (Supports, Function set macOS GPUFamily1 v3)?

 

macOS 10.13.1

 

The Metal status saying 'Supported' vs GPUFamily1 v3 may be cosmetic.

 

With my RX480 supportsFeatureSet:MTLFeatureSet_macOS_GPUFamily1_v3 returns TRUE no matter if the system report says 'Supported' or 'GPUFamily1 v3'.

It also indicates it supports MTLFeatureSet_macOS_ReadWriteTextureTier2, which is a Metal2 specific feature set.

 

The only time I've ever gotten the system report to say GPUFamily1 v3 is if my IGPU is also active. I've never managed it with the RX480 being the only graphics adapter listed in the system report. Maybe there is a way, but I gave up looking once I realized the Metal APIs were saying Metal2 was supported.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy