Jump to content

WhatEverGreen Support Topic


MattsCreative
1,505 posts in this topic

Recommended Posts

@vit9696

 

Hi,

 

Was hoping you could help me find a solution to a problem I have had with my Sapphire Nitro 5700 XT and Catalina 15.2 - 15.5. I’m hoping there is a WEG command that would help. Maybe ‘-radvi’ or other property. The issue is that in 15.4 the GPU will cause a system lockup crash requiring reset or shutdown of the pc. I have traced the cause to the gpu via Console Crash Report stating an error with AmdRadeonX6000 Kext and Radeon framebuffer Assertion failed error has occurred as detailed below. The system is completely stable if I boot from IGfx instead. 15.5 beta is even worse causing a blinking desktop. 15.2 Almost perfect short of an annoying 2 inch black square hovering over cursor randomly. I have tried both Clover and Opencore. Currently with Clover I need WEG and agdpmod=pikera. Same system problem using Opencore though it doesn’t need WEG to avoid black screen. So going to study the WEG manual but it’s over my head.

 

Thanks
 

Heres the crash report:

Process:               WindowServer [218]
Path:                  /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier:            WindowServer
Version:               600.00 (450.9)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           WindowServer [218]
User ID:               88

Date/Time:             2020-04-15 20:50:45.239 -0400
OS Version:            Mac OS X 10.15.4 (19E287)
Report Version:        12
Anonymous UUID:        A502CBCC-D7C5-4717-98B3-EB0DDB62F8A5


Time Awake Since Boot: 430 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
StartTime:1999-12-30 19:00:11
GPU:AMD
MetalDevice for accelerator(0x2f33): 0x7fe58050ca08 (MTLDevice: 0x13cbd5000)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/PEGP@0/IOPP/pci-bridge@10/IOPP/pci-bridge@0/IOPP/pci-bridge@0/IOPP/GFX0@0/AMDRadeonX6000_AmdRadeonControllerNavi10/ATY,RadeonFramebuffer@0
Assertion failed: (isReady - AMD
DisplayID: 0x745f98c4
    Surface Use Counts: 3(1) 4(1) 5(3) 
    FB RegID: 4294968605, On Glass SurfaceIDs: 4 3 5, Transactions: [ Active: SurfaceID: 4 ] [ Pending: SurfaceID: 3 ] [ Waiting: SurfaceID: 5 ], Notified IsActive SurfaceIDs: 4, 3, 4
    FB Driver Info: 0x1e00 0x0 0x20 0x2 0x3 0xa 0x3ff00000 0xffc00 0x3ff 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x52522d2d 0x52525252 0x52525252 0x47474747 0x47474747 0x42424747 0x42424242 0x42424242 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x780 0x438 0x0 0x0
    3D Driver Info: 0x1e00 0x0 0x20 0x2 0x3 0xa 0x3ff00000 0xffc00 0x3ff 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x52522d2d 0x52525252 0x52525252 0x47474747 0x47474747 0x42424747 0x42424242 0x42424242 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x780 0x438 0x0 0x0
), function CoreDisplay_NotReady, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreDisplay/CoreDisplay-186.5.25.1/CoreDisplay/Display/Display.cpp, line 2754.
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x000000011263933a __pthread_kill + 10
1   libsystem_pthread.dylib           0x000000011269ce60 pthread_kill + 430
2   libsystem_c.dylib                 0x0000000112442808 abort + 120
3   libsystem_c.dylib                 0x0000000112441ac6 __assert_rtn + 314
4   com.apple.CoreDisplay             0x00000001109be8c3 CoreDisplay::AssertTracer(char const*, char const*, int, unsigned long long, bool, char const*, char const*, ...) + 1368
5   com.apple.CoreDisplay             0x00000001109fb476 CoreDisplay_NotReady + 5421
6   com.apple.SkyLight                0x000000010f7d8e44 update_display_callback(void*, double) + 1739
7   com.apple.SkyLight                0x000000010f82802b run_timer_pass + 482
8   com.apple.SkyLight                0x000000010f828159 non_coalesced_timer_handler + 16
9   com.apple.SkyLight                0x000000010f85ad47 post_port_data + 255
10  com.apple.SkyLight                0x000000010f85a9af CGXRunOneServicesPass + 1706
11  com.apple.SkyLight                0x000000010f85b3b9 server_loop + 91
12  com.apple.SkyLight                0x000000010f85b357 SLXServer + 1461
13  WindowServer                      0x000000010f61c32e 0x10f61b000 + 4910
14  libdyld.dylib                     0x0000000112306cc9 start + 1

Link to comment
Share on other sites

Hello everyone,

 

I have an issue that I do not know how to fix it and I did not find any info in threads/posts that can give me a clue on how to tackle it.

 

I have a laptop running Catalina with UHD 630 and a NVIDIA GPU that is disabled with the help of Whatevergreen property injection and all things work as expected if I use the laptop without any external monitors.

The issue I'm facing is when I attach a USB-C monitor to the laptop (I need to attach it before I start the laptop as the USB-C ports are enabled by WMI and not getting powered if no device is connected at boot). The system boots in mirror mode till the framebufer gets initialized and at this point the internal screen gets blank (the brightness function keys still work as the backlit of the screen is on) and I have the background image on the attached monitor. If I connect to the laptop with Remote Desktop the both screen are shown in "About This Mac" and also in "System Information" (see the attached image) so the system should work but that is not the case.

I discovered that if I close the lid and what for a couple of seconds the attached monitor flickers and the password input appears on it and after that I reopen the lid, after another 2 seconds I have the image on both monitors.

 

This issue presented was before upgrading the Whatevergreen 1.3.8 , after upgrading to 1.3.8 the internal screen was no longer detected and got switched off at framebuffer initialization so I had to play with the boot options and the following combination "igfxfw=2 igfxpavp=1 igfxonln=1" got me the same result as with 1.3.7 as in the issue is still there.

 

I also played with connector configuration but with no change.

 

I'm injecting the following properties into PciRoot(0x0)/Pci(0x2,0x0) for UHD 630 to work :

<key>AAPL,ig-platform-id</key>
<data>CQCbPg==</data>
<key>AAPL,slot-name</key>
<string>Internal@0,2,0</string>
<key>disable-external-gpu</key>
<data>AQAAAA==</data>
<key>enable-dpcd-max-link-rate-fix</key>
<data>AQAAAA==</data>
<key>enable-hdmi20</key>
<data>AQAAAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-unifiedmem</key>
<data>AAAAgA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
<key>model</key>
<string>Intel UHD Graphics 630</string>

 

Any hints or information that can help with this issue are welcome.

 

Thank you all in advance.

 

Screen Shot 2020-04-20 at 10.31.34 AM.png

Link to comment
Share on other sites

On 11/30/2019 at 9:25 AM, CMMChris said:

This is a common issue on AMD machines. I know a couple of guys who suffer from the red screen issue. So far no solution has been found.

 

A silly and desperate test that result in a .... success / but weird story, this is the story :

 

/ old sandy bridge 2600k/RX 580+WEG/Catalina 

 

I was on :
- imac 16,1 smbios with shikigva=16 shiki-id=Mac-7BA5B2D9E42DDD94 WEG 1.3.6/osx 10.15.3 and have h264/265 video toolbox enable but no DRM content (netflix/atv)

 

Later :
- imac 16,1 but shikigva=80 shiki-id=Mac-7BA5B2D9E42DDD94 WEG 1.3.8/osx 10.15.4 and lost h264/265 video toolbox but DRM content work (netflix/atv)

 

So i decide to switch on imacpro :
- imacpro 1,1 only agdpmod=vit9696 boot argument, WEG 1.3.8/osx 10.15.4 - h264/265 video toolbox enable, DRM content work (netflix/atv) but i suffer from the red/green video screen, i just have sound on DRM video. And some times this affect some video on website in safari, it seems strangely totally random, it has even happen on a video inside imessage.

 

Then i read a lot of thing that i tried but always same result, still red/green video ...

 

So i decide to try to add some shikigva=XX, i know that's a nonsense, but hey, then there were nothing more to try why not :) but same result, still red/green video.

 

And after a week, this morning i tried a more nonsense thing : add shikigva=80 shiki-id=Mac-7BA5B2D9E42DDD94 as boot argument ... and BOOM red/green screen disappear and i have netflix and ATV working with ofc videotoolbox enable.

 

I have absolutely no idea why it's working, im on imacpro so why add the same mac model with shiki-id=Mac-7BA5B2D9E42DDD94 make it work ? ...

 

Capture d’écran 2020-04-23 à 14.00.43.png

Capture d’écran 2020-04-23 à 14.00.51.png

Edited by real3x
Link to comment
Share on other sites

1 hour ago, real3x said:

 

A silly and desperate test that result in a .... success / but weird story, this is the story :

 

/ old sandy bridge 2600k/RX 580+WEG/Catalina 

 

I was on :
- imac 16,1 smbios with shikigva=16 shiki-id=Mac-7BA5B2D9E42DDD94 WEG 1.3.6/osx 10.15.3 and have h264/265 video toolbox enable but no DRM content (netflix/atv)

 

Later :
- imac 16,1 but shikigva=80 shiki-id=Mac-7BA5B2D9E42DDD94 WEG 1.3.8/osx 10.15.4 and lost h264/265 video toolbox but DRM content work (netflix/atv)

 

So i decide to switch on imacpro :
- imacpro 1,1 only agdpmod=vit9696 boot argument, WEG 1.3.8/osx 10.15.4 - h264/265 video toolbox enable, DRM content work (netflix/atv) but i suffer from the red/green video screen, i just have sound on DRM video. And some times this affect some video on website in safari, it seems strangely totally random, it has even happen on a video inside imessage.

 

Then i read a lot of thing that i tried but always same result, still red/green video ...

 

So i decide to try to add some shikigva=XX, i know that's a nonsense, but hey, then there were nothing more to try why not :) but same result, still red/green video.

 

And after a week, this morning i tried a more nonsense thing : add shikigva=80 shiki-id=Mac-7BA5B2D9E42DDD94 as boot argument ... and BOOM red/green screen disappear and i have netflix and ATV working with ofc videotoolbox enable.

 

I have absolutely no idea why it's working, im on imacpro so why add the same mac model with shiki-id=Mac-7BA5B2D9E42DDD94 make it work ? ...

 

Capture d’écran 2020-04-23 à 14.00.43.png

Capture d’écran 2020-04-23 à 14.00.51.png

 

Hmmm Interesting. What happens if you only JUST use shikigva=80 (without the shake-id) ?

Link to comment
Share on other sites

Anyone knows how to fix amazon prime video, hbo, ... with Radeon RX580?

 

I'm using iMac18,3 with headless configuration and shikigva=80. i5-7400 processor and GA-H270N-WiFi Motherboard.

 

With iMacPro1,1 it works but I lost sidecar and Apple Watch unlock.

 

Thank you in advanced!

Edited by jmmc
Link to comment
Share on other sites

Hey guys,

 

I have been having an issue with computer restarting when left idle. I am using a Sapphire Nitro+ Vega 64 with 8GB VRAM on an X299 system with 9800X processor.

 

I get DumpGPURestart in logs. I also see:

 

Quote

WhateverGreen       weg: @ failed to apply agdp Piker-Alpha's patch 7

 

I have tried various shikigva values (16, 18, 128) but nothing has really made any difference. I also tried injecting a fake IGPU but that didn't help either.

 

What should I try to debug the issue?

 

Thanks in advance

Link to comment
Share on other sites

Hi, I'm on 10.14.2, and I've hadDRM working in Safari with shikigva=80 for a couple months now. Then my BIOS somehow reset itself completely, and now I get the "a problem repeatedly occurred with..." on Netflix, Amazon, and Hulu.

I'm using iMac13,2 with platform id 0x01620007. In the BIOS I've tried changing DVMT pre-alloc (32, 64, 128), DVMT Max (128, 256, MAX), and Initial GPU (forget the exact name but have it on PEG currently). The "best" thing that happens is that headless mode gets turned off so the patch doesn't load at all, and I get kicked out for no DRM. 

Any ideas? Tried updating to latest WEG/Lilu, but no dice. (was two versions back from January). Thanks!

Gigabyte GA-B75M-D3H, 3570K, RX 580, 10.14.2

 

VDADecoderChecker

GVA info: Successfully connected to the Intel plugin, offline Gen7

Hardware acceleration is fully supported

Edited by pepperbc
Link to comment
Share on other sites

Hi there,

 

I have a dual GPU set up on my AMD WX7100. I usually don't need the second monitor, so I turn it off, however the monitor doesn't disconnect. My cursor gets lost in the secondary display. 
I have the latest Whatevergreen.kext. I was wondering if there is a way to fix this without unplugging the monitor every time.

MacOS does this automatically on my Macbook Pro and my friend's iMac. 

If there's no solution, but someone knows what the issue could be, I don't mind digging into it myself and trying to fix it and sharing it if I can fix it if I could get some direction.

I just don't know enough about the technical side of how a hackintosh works, but am more than willing to learn.

Thanks in advance :)

Link to comment
Share on other sites

Thank you for making this thread. I am trying to inject PP_PhmSoftPowerPlayTable. I have tried two methods.

 

(1) Inject using Devices/Properties into Clover

 

<key>Devices</key>
<dict>
    <key>Properties</key>
    <dict>
    <key>PciRoot(0x2)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)</key>
    <dict>
    <key>AAPL,slot-name</key>
    <string>Slot-1</string>
    <key>ATY,FamilyName</key>
    <string>Radeon Pro</string>
    <key>PP_DisableClockStretcher</key>
    <integer>1</integer>
    <key>PP_DisablePowerContainment</key>
    <integer>1</integer>
    <key>PP_PhmSoftPowerPlayTable</key>
    <data>
    pwIIAQBcAO8GAAAOLAAAGwBIAAAAgKkDAPBJAgAUAAgA
    AAAAAAAAAAAAAAAAAAIBXABAAjcClACPAbQAHgF6AIwA
    rQEAAAAAYwIAAJAAmQJeATQBiAFoNgIAcQICAgAAAAAA
    AAgAAAAAAAAABQAHAAMABQAAAAAAAAABCCADUgNrA4QD
    mAOsA8ADzwMBAbYDAQGEAwAGYOoAAABAGQEAAdxKAQAC
    AHcBAAOQkQEABWywAQAHAQjQTAEAAACAAAAAAAAAGHMB
    AAEAAAAAAAAAAHS3AQACAAAAAAAAAACE3gEAAwAAAAAA
    AAAAlAUCAAQAAAAAAAAAAKQsAgAFAAAAAAEAAAC0UwIA
    BgAAAAABAAAAAHECAAcAAAAAAQAAAAAEYOoAAABAGQEA
    ANxKAQAAkF8BAAAACChuAAAALMkAAAH4CwEAAoA4AQAD
    kF8BAAT0kQEABdCwAQAGwNQBAAcACGw5AAAAJF4AAAH8
    hQAAAqy8AAADNNAAAARobgEABQiXAQAG7KMBAAcAAWg8
    AQAAAQSAOAEAAAAAgDgBAAAAAIA4AQABAACQXwEAAgAA
    AQgAmIUAAEC1AABg6gAAUMMAAAGAuwAAYOoAAJQLAQBQ
    wwAAAnj/AABAGQEAtCcBAFDDAAADtCcBANxKAQDcSgEA
    UMMAAASAOAEAkF8BANxKAQBQwwAABdxKAQAAdwEAkF8B
    AFDDAAAGAHcBAAB3AQCQXwEAUMMAAAcAdwEAkJEBAAB3
    AQBQwwAAARgAAAAAAAAAC4gT6AMoCkYACgBUA5ABkAGQ
    AZABkAGQAZABAAAAAAACCjEHpQClAKUALAEAAFkAaQBK
    AEoAXwBzAHMAZABAAJCSl2CWAJBVAAAAAAAAAAAAAAAA
    AAAAAAACAtQwAAACEGDqAAACEA==
    </data>
    
</dict>

But the slot-name haven't changed, from which I assume the injection was not successful. 

The device path is copied from hackintools, and double confirmed with gfxutils.

 

(2) Inject using SSDT

 

I followed the official guide and created a SSDT like

 

   Scope (PEGP)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Store (Package ()
                {
                    // Write the preferred GPU index here (1-4)
                    "AAPL,slot-name",
                    Buffer ()
                    {
                        "Slot-1"
                    },

                    "model", 
                    Buffer ()
                    {
                        "Radeon Pro Vega 56"
                    },

                    "PP,PP_DisablePowerContainment",
                    Buffer ()
                    {
                        0x1
                    },

                    "PP,PP_DisableDIDT",
                    Buffer ()
                    {
                        0x1
                    },
                    
                    "PP,PP_PhmSoftPowerPlayTable", 
                    Buffer ()
                    {
                        0xa7, 0x02, 0x08, 0x01, 0x00, 0x5c, 0x00, 0xef,
                        0x06, 0x00, 0x00, 0x0e, 0x2c, 0x00, 0x00, 0x1b,
                        0x00, 0x48, 0x00, 0x00, 0x00, 0x80, 0xa9, 0x03,
                        0x00, 0xf0, 0x49, 0x02, 0x00, 0x14, 0x00, 0x08,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01,
                        0x5c, 0x00, 0x40, 0x02, 0x37, 0x02, 0x94, 0x00,
                        0x8f, 0x01, 0xb4, 0x00, 0x1e, 0x01, 0x7a, 0x00,
                        0x8c, 0x00, 0xad, 0x01, 0x00, 0x00, 0x00, 0x00,
                        0x63, 0x02, 0x00, 0x00, 0x90, 0x00, 0x99, 0x02,
                        0x5e, 0x01, 0x34, 0x01, 0x88, 0x01, 0x68, 0x36,
                        0x02, 0x00, 0x71, 0x02, 0x02, 0x02, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x07, 0x00,
                        0x03, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x01, 0x08, 0x20, 0x03, 0x52, 0x03,
                        0x6b, 0x03, 0x84, 0x03, 0x98, 0x03, 0xac, 0x03,
                        0xc0, 0x03, 0xcf, 0x03, 0x01, 0x01, 0xb6, 0x03,
                        0x01, 0x01, 0x84, 0x03, 0x00, 0x06, 0x60, 0xea,
                        0x00, 0x00, 0x00, 0x40, 0x19, 0x01, 0x00, 0x01,
                        0xdc, 0x4a, 0x01, 0x00, 0x02, 0x00, 0x77, 0x01,
                        0x00, 0x03, 0x90, 0x91, 0x01, 0x00, 0x05, 0x6c,
                        0xb0, 0x01, 0x00, 0x07, 0x01, 0x08, 0xd0, 0x4c,
                        0x01, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x18, 0x73, 0x01, 0x00, 0x01,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x74, 0xb7, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x84, 0xde, 0x01,
                        0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x94, 0x05, 0x02, 0x00, 0x04, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4,
                        0x2c, 0x02, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00,
                        0x01, 0x00, 0x00, 0x00, 0xb4, 0x53, 0x02, 0x00,
                        0x06, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
                        0x00, 0x00, 0x71, 0x02, 0x00, 0x07, 0x00, 0x00,
                        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x04,
                        0x60, 0xea, 0x00, 0x00, 0x00, 0x40, 0x19, 0x01,
                        0x00, 0x00, 0xdc, 0x4a, 0x01, 0x00, 0x00, 0x90,
                        0x5f, 0x01, 0x00, 0x00, 0x00, 0x08, 0x28, 0x6e,
                        0x00, 0x00, 0x00, 0x2c, 0xc9, 0x00, 0x00, 0x01,
                        0xf8, 0x0b, 0x01, 0x00, 0x02, 0x80, 0x38, 0x01,
                        0x00, 0x03, 0x90, 0x5f, 0x01, 0x00, 0x04, 0xf4,
                        0x91, 0x01, 0x00, 0x05, 0xd0, 0xb0, 0x01, 0x00,
                        0x06, 0xc0, 0xd4, 0x01, 0x00, 0x07, 0x00, 0x08,
                        0x6c, 0x39, 0x00, 0x00, 0x00, 0x24, 0x5e, 0x00,
                        0x00, 0x01, 0xfc, 0x85, 0x00, 0x00, 0x02, 0xac,
                        0xbc, 0x00, 0x00, 0x03, 0x34, 0xd0, 0x00, 0x00,
                        0x04, 0x68, 0x6e, 0x01, 0x00, 0x05, 0x08, 0x97,
                        0x01, 0x00, 0x06, 0xec, 0xa3, 0x01, 0x00, 0x07,
                        0x00, 0x01, 0x68, 0x3c, 0x01, 0x00, 0x00, 0x01,
                        0x04, 0x80, 0x38, 0x01, 0x00, 0x00, 0x00, 0x00,
                        0x80, 0x38, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80,
                        0x38, 0x01, 0x00, 0x01, 0x00, 0x00, 0x90, 0x5f,
                        0x01, 0x00, 0x02, 0x00, 0x00, 0x01, 0x08, 0x00,
                        0x98, 0x85, 0x00, 0x00, 0x40, 0xb5, 0x00, 0x00,
                        0x60, 0xea, 0x00, 0x00, 0x50, 0xc3, 0x00, 0x00,
                        0x01, 0x80, 0xbb, 0x00, 0x00, 0x60, 0xea, 0x00,
                        0x00, 0x94, 0x0b, 0x01, 0x00, 0x50, 0xc3, 0x00,
                        0x00, 0x02, 0x78, 0xff, 0x00, 0x00, 0x40, 0x19,
                        0x01, 0x00, 0xb4, 0x27, 0x01, 0x00, 0x50, 0xc3,
                        0x00, 0x00, 0x03, 0xb4, 0x27, 0x01, 0x00, 0xdc,
                        0x4a, 0x01, 0x00, 0xdc, 0x4a, 0x01, 0x00, 0x50,
                        0xc3, 0x00, 0x00, 0x04, 0x80, 0x38, 0x01, 0x00,
                        0x90, 0x5f, 0x01, 0x00, 0xdc, 0x4a, 0x01, 0x00,
                        0x50, 0xc3, 0x00, 0x00, 0x05, 0xdc, 0x4a, 0x01,
                        0x00, 0x00, 0x77, 0x01, 0x00, 0x90, 0x5f, 0x01,
                        0x00, 0x50, 0xc3, 0x00, 0x00, 0x06, 0x00, 0x77,
                        0x01, 0x00, 0x00, 0x77, 0x01, 0x00, 0x90, 0x5f,
                        0x01, 0x00, 0x50, 0xc3, 0x00, 0x00, 0x07, 0x00,
                        0x77, 0x01, 0x00, 0x90, 0x91, 0x01, 0x00, 0x00,
                        0x77, 0x01, 0x00, 0x50, 0xc3, 0x00, 0x00, 0x01,
                        0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x0b, 0x88, 0x13, 0xe8, 0x03, 0x28, 0x0a, 0x46,
                        0x00, 0x0a, 0x00, 0x54, 0x03, 0x90, 0x01, 0x90,
                        0x01, 0x90, 0x01, 0x90, 0x01, 0x90, 0x01, 0x90,
                        0x01, 0x90, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x02, 0x0a, 0x31, 0x07, 0xa5, 0x00, 0xa5, 0x00,
                        0xa5, 0x00, 0x2c, 0x01, 0x00, 0x00, 0x59, 0x00,
                        0x69, 0x00, 0x4a, 0x00, 0x4a, 0x00, 0x5f, 0x00,
                        0x73, 0x00, 0x73, 0x00, 0x64, 0x00, 0x40, 0x00,
                        0x90, 0x92, 0x97, 0x60, 0x96, 0x00, 0x90, 0x55,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        0x00, 0x02, 0x02, 0xd4, 0x30, 0x00, 0x00, 0x02,
                        0x10, 0x60, 0xea, 0x00, 0x00, 0x02, 0x10

                    }

This time I can see the slot name is successfully set, and in IOReg I can see the new properties "PP,PP_PhmSoftPowerPlayTable" under /PC02/BR2A/PEGP/, but under the GPU path which is /PC02/BR2A/PEGP/pci-bridge/GFX0, there is no property of "PP_PhmSoftPowerPlayTable" set. It seems to me that Whatevergreen is not translating 

"PP,PP_PhmSoftPowerPlayTable" into "PP_PhmSoftPowerPlayTable".

 

What shall I do if I want to inject "PP_PhmSoftPowerPlayTable"?

 

Thanks

Link to comment
Share on other sites

I have a issue that I am not quite sure if it relates to WEG, but maybe someone can point me the right direction. I believe this started with the 10.15.4 supplemental update. 

 

First I am on a i5-9600k, using Intel 630 graphics only, on a ga-z370n-wifi mainboard. If under Energy Saver I set my screens to go to to sleep in 10 minutes, and they go to sleep, I cannot get the screen to come back by pressing keys, or moving the mouse. The only way I have managed to get the screen back is to unplug the hdmi cable from the computer, and put it in the other hdmi port (going from hdmi1 to hdmi2 or hdmi2 to hdmi1). The stange thing is this is not sleep related, as I can sleep and wake perfectly, it is just related to when the screen timeout happens and the screen goes into energy saving mode. 

 

 

Many thanks.

Link to comment
Share on other sites

Hi, i need your help please. Netflix is working on Safari with shikigva=80 for 5, 6 seconds and then black screen. Audio and subtitles are working fine. Any suggestions ?

 

My config is:

- i7-6700k

- RX 570

- iMac17,1 SMBios

- WhateverGreen 1.3.9 & Lilu 1.4.4

- shikigva=80

Edited by jon7
Link to comment
Share on other sites

Hello, I'm using WEG on my Lenovo laptop in combination with ssdt-pnlf for backlight control. It works but the lowest level is so high for me.

 

On weg 1.3.2, I changed AppleIntelPanelA F15Txxxx parameters inside info.plist to decrease the minimum level and this solution is working very well. Since months AppleIntelPanelA is not longer present in weg info.plist, so I can't apply that mod to decrease the min level.

 

Please, someone could tell me how to do it with latest weg? Something to do inside ssd-pnlf?

 

Thank you so much for your help¡¡¡

Link to comment
Share on other sites

  • 3 weeks later...

Hi!

I am setting up my second hackintosh, this time with a B360n Wifi and an i3-8350K. I am using OC and The SMBIOS definition 19,1. Currently on 10.15.4.

The hack sleeps and then when I press a key on the keyboard or click the mouse, it wakes up to a green screen and then reboots.

What I have done until now:

Since this build does not have a dedicated GPU, I am using the iGPU and I have found these Framebuffer patches to work best and tested both HDMI ports, they output signal:

<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
    <dict>
	<key>AAPL,ig-platform-id</key>
	<data>
	BwCbPg==
	</data>
	<key>device-id</key>
	<data>
	mz4AAA==
	</data>
	<key>enable-hdmi20</key>
	<data>
	AQAAAA==
	</data>
	<key>framebuffer-con0-busid</key>
	<data>
	AQAAAA==
	</data>
	<key>framebuffer-con0-enable</key>
	<data>
	AQAAAA==
	</data>
	<key>framebuffer-con0-pipe</key>
	<data>
	EgAAAA==
	</data>
	<key>framebuffer-con0-type</key>
	<data>
	AAgAAA==
	</data>
	<key>framebuffer-con1-busid</key>
	<data>
	AgAAAA==
	</data>
	<key>framebuffer-con1-enable</key>
	<data>
	AQAAAA==
	</data>
	<key>framebuffer-con1-pipe</key>
	<data>
	EgAAAA==
	</data>
	<key>framebuffer-con1-type</key>
	<data>
	AAgAAA==
	</data>
	<key>framebuffer-con2-busid</key>
	<data>
	BAAAAA==
	</data>
	<key>framebuffer-con2-enable</key>
	<data>
	AQAAAA==
	</data>
	<key>framebuffer-con2-pipe</key>
	<data>
	EgAAAA==
	</data>
	<key>framebuffer-con2-type</key>
	<data>
	AAgAAA==
	</data>
	<key>framebuffer-patch-enable</key>
	<data>
	AQAAAA==
	</data>
	<key>framebuffer-pipecount</key>
	<data>
	AgAAAA==
	</data>
    </dict>

So I had the issue where the display would not wake after sleep so I added igfxonln=1 boot argument. The monitor does wake but this introduced having a green screen and system reboot after wake from sleep. Removing this boot argument prevents the green screen and reboot but makes the monitor not wake up again.

Searching the interwebs I found out that there is an issue with HDMI via audio and I should find the HDEF device and add "No-hda-gfx" property under it which I did:

<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
    <dict>
	<key>No-hda-gfx</key>
	<data>
	AAAAAAAAAAA=
	</data>
	<key>alc-layout-id</key>
	<integer>1</integer>
    </dict>

This disabled audio via HDMI (I cannot see it anymore in sound settings) but unfortunately the issue persists.

The hack sleeps and then when I press a key on the keyboard or click the mouse, it wakes up to a green screen and then reboots.

I have also enabled PowerTimeoutKernelPanic unfortunately with no result. Same behaviour.

Link to comment
Share on other sites

Hello,

 

Could anyone help me? I made my first hackintosh using Open Core. And its running very smoothly except for one anoying thing: My screen get glitchie when i put it on 1080p. I've tried every single one of framebuffer configurations, change the "AAPL,ig-platform-id" for all options that's listed on dortania's guide. Anything fix this issue. I think that this issue its because my laptop have a 240hz display.

 

If i change my resolution to 1600x900, its runs very smooth (even if i remove all settings of "<key>PciRoot(0x0)/Pci(0x2,0x0)</key>").

 

Video of Error occourring: 

 

 

 

 

Specs:

  • Razer Blade 15 Advanced Model Mid 2019
  • Intel Core i7 9750H with UHD 630 Graphics
  • RTX 2070 (disabled on config.plist)
  • Display 1920x1080 240Hz
  • 16GB of RAM

 

Bios Configs:

  • DVMT Pre-Allocated = 64MB
  • DVMT Total Gfx Mem = MAX
  • VT-d = Disabled
  • CSM Support = Disabled

 

Thanks for your help!!

 

 

Link to comment
Share on other sites

  • 2 weeks later...

I have a working installation under 10.13.6 + latest sec update. HDMI is perfectly working (hotplug, sound).
I try Catalina 10.15.4. Hdmi is working too.

I installed 10.14.6. Hdmi is working fine. I updated with sec update 2020-003. Hdmi stopped working. Black screen. Crash if you unplug.
I didn't try yet the previous security update.

 

Is there anyone who uses Mojave and have updated with 2020-003 ?

Link to comment
Share on other sites

  • 2 weeks later...

Hi, for some reason in a 840 g4 hp elitebook laptop, there's no IMEI device:

 

2020-06-21 00:48:21.150128-0400  localhost kernel[0]: (AppleIntelKBLGraphicsFramebuffer) <AppleIntelKBLGraphicsFramebuffer`AppleIntelFramebufferController::createMEIDriver()> [IGFB][ERROR  ] ME PCI ACPI device not found - PAVP services will be disabled - add IMEI to EFI / ACPI device list
2020-06-21 00:48:21.150161-0400  localhost kernel[0]: (AppleIntelKBLGraphicsFramebuffer) <AppleIntelKBLGraphicsFramebuffer`AppleIntelFramebufferController::createMEIDriver()> [IGFB][ERROR  ] Failed to create MEI service

 

So maybe Whatevergreen is no renaming the HECI to IMEI, but i tried to add the patch with no results.

 

Im working with opencore and latest versions of WG and LILU

 

Apps hangs after wake from sleep with this error

 

Link to comment
Share on other sites

  • 3 weeks later...

Hi there,

 

I have 5700XT, I have installed second monitor and latest weg. First (old) monitor is some lg uhd 4k, works well without weg and correctly detected by macos 10.15.5 as UHD 4k. Installed second one with 5k resolution, and it does not work at all without weg, just black, probably due to some vbios/gop issue. Does not matter, I have installed weg, both monitors work well with it, but now they both detected as 5k in the system information - hardware - Graphics/Displays. How to fix that?

 

Thank you

image.thumb.png.130c36c69096174e7da7f872bf881b28.png

Link to comment
Share on other sites

  • 2 weeks later...

Hi People,

 

Just bought a new Gigabyte Z490 Vison D Mobo + n  i7 10700K CPU 'with an UHD 630 iGPU). I'm using WhateverGreen 1.4.

 

This setup is great, the only thing is that when Using the HDMI output from my Modo, I have a black screen.

 

It seems that On-board HDMI port is not currently enabled !!!

 

With USB-C to HDMI cable tho, it works with acceleration and so with no problem.
 

Any clue or help on this ? perhaps a missing id or a frame buffer configuration ?

 

Many thanks for your support guys !!!!

 

Link to comment
Share on other sites

MacPro5,1 + OpenCore 0.5.9 + WhateverGreen 1.4.0 + Lilu 1.4.5: 

Quote

There was an unexpected problem with the graphics sub-system that prevented screen capture.

 

Errors happen while attempting to capture video on some capture apps. One particular developer, the program from which the following error is from, swears up and down that my Mac Pro 5,1 with a VEGA 64 is not capable of capturing video due to hardware compatibility. I'm guessing there's something going sideways with WhateverGreen on my system that needs to be corrected, but would like to understand what I can do to help isolate and correct this issue.

 

Here's the full error:

Recording failed: Error Domain=AVFoundationErrorDomain Code=-11844 "Cannot Capture" UserInfo={NSLocalizedDescription=Cannot Capture, NSUnderlyingError=0x600000dc5da0 {Error Domain=NSOSStatusErrorDomain Code=-67394 "(null)"}, AVErrorRecordingSuccessfullyFinishedKey=false, NSLocalizedFailureReason=There was an unexpected problem with the graphics sub-system that prevented screen capture.}

 

Link to comment
Share on other sites

Has WhateverGreen been tested with Big Sur Beta? I built Lilu and Whatevergreen from today's source code (1.4.6 and 1.4.1). Lilu seems to load but WhateverGreen is outputting "init: @ failed to call parent 6" where 6 is error TooLate. WhateverGreen is not appearing in IOResources of ioreg.

 

I am currently using a Mac mini 2018. I use "kmutil load -p path/to/___.kext" to load the kexts. Then use "Security & Privacy" preference pane to allow the extensions, then click Restart. I have to increase the kext version each time - is there a better way to test a new build? It would be useful if the build number automatically increased for every build...

 

Link to comment
Share on other sites

I have a 9400F with no igpu support. If I use imacpro1,1 I get drm support and hevc acceleration with weg and no shiki id. I am using dp port.

If I use imac19,1 hevc acceleration is broken or drm is broken. Tried different shiki, 32 with imacpro board id, 128 with imacpro board id, 96, 64 etc.

Will hevc, h264 and drm work in my setup? What boot args should I use?

Link to comment
Share on other sites

On 7/26/2020 at 1:22 AM, joevt said:

Has WhateverGreen been tested with Big Sur Beta? I built Lilu and Whatevergreen from today's source code (1.4.6 and 1.4.1). Lilu seems to load but WhateverGreen is outputting "init: @ failed to call parent 6" where 6 is error TooLate. WhateverGreen is not appearing in IOResources of ioreg.

 

I am currently using a Mac mini 2018. I use "kmutil load -p path/to/___.kext" to load the kexts. Then use "Security & Privacy" preference pane to allow the extensions, then click Restart. I have to increase the kext version each time - is there a better way to test a new build? It would be useful if the build number automatically increased for every build...

 

A recent code checkin in Lilu allows WhateverGreen to load now in Big Sur, but it doesn't load before the graphics driver so it can't do frame buffer capture or patching. Normally, I would use LiluFriend.kext to make Lilu and WhateverGreen load early but kmutil -p does not do anything for LiluFriend.kext (maybe because it's claiming to be from Apple? - it uses com.apple.security to load early). So I need a different method to make Lilu and WhateverGreen load early, or I need to inject using Open Core or Clover (I don't know if either is ready for Big Sur or if they work on a normal Mac).

 

Another option is to change WhateverGreen graphics kext patches to work when the graphics kexts are already loaded (just add the Loaded flag to the sys array for the KextInfo of the kexts in the weg igfx code). This will allow -igfxdump and -igfxfbdump to get the frame buffers (for Coffee Lake, they are unchanged from 10.15.6) but I don't know if applying frame buffer patches at this time changes anything - I still need to test that (probably frame buffer values are used only when the kext is loaded).

 

Link to comment
Share on other sites

×
×
  • Create New...