Renaming GPUs (SSDT-GPU-SPOOF)

Hi at all, I open a new post for more visibility

I have a rx6900xt and try the big sura 11.2 beta 2. The system work but with a generic VGA (14mb memory).

This is information about the video card on Big Sur 11.2 Beta 2

https://i.postimg.cc/25yRgc7r/Schermata-2021-01-13-alle-20-18-10.png

I'd like to try the spoof of the GPU with the device-id of the 5700xt (0x731f).

https://dortania.github.io/Getting-Started-With-ACPI/Universal/spoof.html

On Windows my ACPI Path is with this 2:

ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP8)#ACPI(X161)#ACPI(SWDS)#ACPI(VGA_)

\_SB_.PCI0.GPP8.X161.SWDS.VGA_

ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP8)#ACPI(SWUS)#ACPI(SWDS)#ACPI(VGA_)

\SB_.PCI0.GPP8.SWUS.SWDS.VGA_

I Try to use the first one, and after I try also to insert both but the mod not work, on big sur I see the original device-id.

I try to do but is not working on the system... I can't spoof correctly the device-id.

This is my gpu-spoof-id.aml on the boot with this code:

DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AMDGPU", 0x00001000)

{

External (_SB_.PCI0, DeviceObj)

External (_SB_.PCI0.GPP8.X161.SWDS.VGA_, DeviceObj)

Scope (_SB_.PCI0.GPP8.X161.SWDS.VGA_)

{

if (_OSI ("Darwin"))

{

Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method

{

Local0 = Package (0x04)

{

// Where we shove our FakeID

"device-id",

Buffer (0x04)

{

0x1F, 0x73, 0x00, 0x00

},

// Changing the name of the GPU reported, mainly cosmetic

"model",

Buffer ()

{

"AMD Radeon RX6900XT"

}

}

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

}

Scope (\_SB.PCI0)

{

Method (DTGP, 5, NotSerialized)

{

If (LEqual (Arg0, ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b")))

{

If (LEqual (Arg1, One))

{

If (LEqual (Arg2, Zero))

{

Store (Buffer (One)

{

0x03

}, Arg4)

Return (One)

}

If (LEqual (Arg2, One))

{

Return (One)

}

}

}

Store (Buffer (One)

{

0x00

}, Arg4)

Return (Zero)

}

}

}

Someone can help me or explaining why is not working (An error on my aml file ?).

I think if I loaded correctly I have at least a kernel panic...

submitted by /u/yota1979
[link] [comments]
Whatsapp