- Joined
- Jun 24, 2016
- Messages
- 18
- Motherboard
- Gigabyte GA-Z170N-WIFI
- CPU
- Intel i7-6700
- Graphics
- GeForce GTX 950 2GB
- Mac
- Mobile Phone
Graphics is under PEGP which isn't correct. Recommend renaming PEGP to GFX0 and use a SSDT to inject appropriate Ports. Use the code below.
Code:change PEGP to GFX0 Find <50454750> Replace <47465830>
Code:DefinitionBlock ("", "SSDT", 2, "hack", "GFX0_HDAU", 0) { External(_SB_.PCI0.PEG0, DeviceObj) External(_SB_.PCI0.PEG0.GFX0, DeviceObj) Scope(_SB.PCI0.PEG0) { Scope(GFX0) { Method (_DSM, 4) { If (!Arg2) { Return (Buffer() { 0x03 }) } Return (Package() { "@0,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 }, "@1,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 }, "@2,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 }, "@3,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 }, "@4,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 }, "@5,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 }, "hda-gfx", Buffer () { "onboard-2" }, }) } } Device(HDAU) { Name(_ADR, 1) Method(_DSM, 4) { If (!Arg2) { Return (Buffer() { 0x03 }) } Return (Package() { "hda-gfx",Buffer() { "onboard-2" }, }) } } } } //EOF
I think I learned that I need to compile that second code snippet you gave me with MaciASL but that either gave me two errors or it compiled for hours. Gladly I found a precompiled one here Fix Sleep on Sierra in Post 434 or something.
So with that I think I got it working. Unfortunately after waking from sleep the display gets no input and the usb hub of the display still wakes the pc.
Strange though: While I think in ioreg gfx0 is fine, opening that .aml gives me a decompile error