I would recommend the following
0. Under Energy Saver - Tick only "Put HDD to sleep when possible" and nothing else.
1. Do a cold reboot > plug out the power - leave it for a few minutes and then start
2. On boot - do you see any error related to Thunderbolt in your logs. Use Hackintool to search for Thunderbolt - error related to DROM ?
3. What kind of device is connected to the TB port ? Can the system sleep/wake without the device ?
4. Do you have another TB device to test sleep/wake with ? I have a TS3 dock and it works perfectly. I even have my primary monitor connected to it, network cable and a bunch of USB devices and it works perfectly.
5. You may want to try with the GPU pulled out and iGPU only. With this config - I discovered that Framebuffer patch is not needed. Try with my EFI. Delete the device-properties entirely for the iGPU (in my config folder ) - cold reboot with iGPU only and then try sleep wake.
Unfortunately there's a thread on macrumors that talks about the same issues in a genuine Mac - you may want to read that "MBP 16" Catalina - TB panic report crash page"
TB3 settings as per my PIC earlier are good.
Combination |
Result |
i9-9900K iGPU Only |
Success |
i9-9900K + 5700XT |
Kernel Panic |
i9-9900K + RX Vega 64 |
Kernel Panic |
i9-9900K + RX480 |
Success |
I thought my honeymoon was over! I booted OS X and got "no drivers" for my TB3. Oddly enough, I also wasn't able to control my keyboard and mouse anymore on boot up and the TB3 wasn't recognized in windows either.
Somehow my TB3 disappeared from my system altogether!
Turned off my PC and also turned off the surge protector and then hit the power button. This discharged the MB completely.
Turned back on and all is well again. Really odd this happened, but, glad it was a simple fix. It didn't make sense that I couldn't see anything plugged into the dock in any OS or bios. This helped alleviate my concern that is was an OS X issue.
I was/am getting the error even without the TB3 device (OWC Thunderbolt Dock) connected. I disassembled the system this weekend and tried a few combinations. Results below:
Combination Result i9-9900K iGPU Only Success i9-9900K + 5700XT Kernel Panic i9-9900K + RX Vega 64 Kernel Panic i9-9900K + RX480 Success
So looks like something in the AMD Vega/Navi drivers combined with either our board or TB3 that causes the KP. Polaris seems to be fine. I saw a few comments online (including the one you posted above) that said something similar but the cause of these panics seemingly varies a lot.
Such a strange one. I'm going to try a few more things. Hope this helps someone else going through the same issue(s). If there's anything else I should try, please let me know.
Thanks again for all your help!
The cause of this could be this - I have noticed that with the SSDT method, the System information under Thunderbolt shows - no device connected after a random amount of time. The TB dock connected to the port continues to work. Even the tbpatch command shows no device connected which makes me believe something is wrong.
Anyways I read through OSY's page on the Thunderbolt saga, and I realize that hardware patching method should deliver the best results. I am going to revert to that over the weekend and see how it goes. With that method - I would not be able to see any devices behind the dock after waking from sleep - lets see if that persists.