Contribute
Register

[Solved] Sapphire RX 580 Nitro+ SE | black screen on HDMI and DVI

Status
Not open for further replies.
I set ports to 5
removed whatevergreen.
4 monitors and HDMI audio all working like they should!!!!:headbang::headbang::headbang::headbang::headbang::headbang:

Guys you rock!! you saved my work and mostly my peace of mind. i thank you all.
@macnb you are officially the Nitro+ guy !
And you were also right, with whatevergreen there is no difference. It still works. But I guess I don't need it. The less the better.
Strangely DPCIManager still shows 6 ports... oh, I really don't care right now
Ahh, these special moments of the hackintosh-life....
:beachball::ugeek:ok, funk music till the morning!:ugeek::beachball:

Glad you got 4 monitors working.
But....not to steal your thunder...something is strange.
If you removed Whatevergreen, set FBName=Orinoco and Video ports to 5, then something else is going on that enables your HDMI audio and showing 6 ports instead of 5.
Looks like you have an SSDT ?

If you want to know, then post your IOREG file, your EFI folder (without themes folder) and list of kexts you installed in /Library/Extensions.
 
Actually you are right, I have left the MultiBeast SSDT (for Sandy Bridge) after so many testing. But I tried loading without it, and there is no change.
I am uploading IOreg and Clover folder as you suggested.
plus L/E/ folder
upload_2018-12-11_2-24-25.png
 

Attachments

  • Caniggia's Mac Pro.zip
    932.4 KB · Views: 143
  • my CLOVER.zip
    4.9 MB · Views: 229
Last edited:
Actually you are right, I have left the MultiBeast SSDT (for Sandy Bridge) after so many testing. But I tried loading without it, and there is no change.
I am uploading IOreg and Clover folder as you suggested.
plus L/E/ folder
View attachment 371817

Several things not right.
  1. The IOREG file does not match your EFI folder because there's nothing in the EFI folder that enables HDMI audio (for the ACPI device HDAU). Confused.
  2. You have two audio drivers. One in /L/E/AppleALC.kext and one in /E/C/K/Other/RealtekALC.kext. May be one of these is adding HDAU driver.
  3. You have no ACPI GFX0 device (required for proper App functions and power management).
    Your IOREG shows:
    Screenshot 2018-12-11 at 12.16.21.png


    It should look something like:

    Screenshot 2018-12-11 at 12.16.43.png


    That is, it should show NPE3->GFX0.

  4. You do not have CPU power management since you disabled it by using NullCPUPowerManagement.kext. Also you have no Graphics power management.
    Your IOREG shows:

    Screenshot 2018-12-11 at 12.15.11.png


    It should be something like this:

    Screenshot 2018-12-11 at 12.15.37.png
  5. You no longer need apfs.efi in /E/C/drivers64UEFI since there's ApfsDriverLoader-64.efi.
  6. You have AptioMemoryFix-64.efi AND OsxAptioFix2Drv-64.efi. Should only use ONE.
I suggest the following possible fixes for above:

#2: Remove /E/C/K/Other/RealtekALC.kext
#3: Use the attached SSDT-0.aml. It creates the GFX0 ACPI device under NP3E and an HDAU device. It needs to be in /E/C/ACPI/patched.
#4: Remove /E/C/K/Other/NullCPUPowerManagement.kext and enable KernelXCPM. See this excellent guide. I have created the dAGPM.kext for you to try.
#5: remove /E/C/drivers64UEFI/apfs.efi
#6: remove /E/C/drivers64UEFI/OsxAptioFix2Drv-64.efi

I created a new config file for you (Caniggia-MacNB-config.plist) with above changes for you to try.
All changes are in the attached EFI folder.
Copy it over to yours (or better to copy it over a USB Installer EFI and boot off that USB and select your Mojave disk).
  1. Boot into Clover menu.
  2. In Clover Menu and hit O (for Options)
  3. arrow down to config->
  4. arrow down to Caniggia-MacNB-config and press enter
  5. arrow down to Return
  6. arrow down to Return (again to ensure new config is used) back to the main Clover menu
  7. Hit Enter to boot.
Report back with results and IOREG file.
 

Attachments

  • Caniggia-MacNB-EFI.zip
    4.7 MB · Views: 186
Several things not right.
Report back with results and IOREG file.
Reporting back!
config menu in clover does not see the extra .plist so I had to delete the main one and rename Caniggia-MacNB-config to config. All done on a USB drive.
so booting from there:
- CPU Stuck at 3.2
- HDMI does not have display signal or audio but the PC works fine(didn't freeze as it used to)
- DPCIManager still sees 6 ports
- I do not see any other obvious changes for now

I uploaded the IOReg from this boot

Unfortunately my knowledge does not help me to understand the technical nature of your observations.
Only things I know from my experience is
- after 2+ years Hackintoshing nullCPU.... kext never worked for me. I was always working with injected kexts and custom DSDTs
- HDMI audio always needed a kext or some injection
- my current setup is messed up cause it is a mix of various things I gathered here and there. Funny thing is what I sent you I stripped it up in the last week to a 70% (!!!) of what I used to load up until then.

and for some strange reason with NullCPU, no HDMI kext etc, I have a fully working system with intel turbo boost and all.
Truth is i can't see GPU power management since GPU is not shown in HWsensors. only Temp which is 48 like in windows idle.
Nevertheless my zalman wattmeter shown same and lower wattage on system idle than with my previous Nvidia GTX970

upload_2018-12-11_19-33-1.png


upload_2018-12-11_19-25-32.png
 

Attachments

  • ioreg-with-Caniggia-MacNB-config.zip
    909.7 KB · Views: 84
Reporting back!
config menu in clover does not see the extra .plist so I had to delete the main one and rename Caniggia-MacNB-config to config. All done on a USB drive.
so booting from there:
- CPU Stuck at 3.2
- HDMI does not have display signal or audio but the PC works fine(didn't freeze as it used to)
- DPCIManager still sees 6 ports
- I do not see any other obvious changes for now

IOREG looks better:

Screenshot 2018-12-11 at 20.17.19.png


- CPU stuck at 3.2 means power management/speed step not working. Not sure where you derived the SSDT-SB-OC.aml from but remove it from /E/C/A/patched folder and use PluginType=Yes in the config.plist (attached).
- No HDMI signal is a bit strange - could be a consequence of MacPro6,1 now that GFX0 device is present. Should be fixable.
- No HDMI audio is a consequence of no HDEF device injection which clashes with HDAU injection. Fix: try attached modified SSDT-0.aml (defines hda-gfx as "onboard-2") in /E/C/A/patched folder.
- I would not worry about DPCIManager showing 6 ports - it's has not been updated for a long time and I'm not sure it's accurate. Your IOREG shows 5 ports which is important.

and for some strange reason with NullCPU, no HDMI kext etc, I have a fully working system with intel turbo boost and all.
Truth is i can't see GPU power management since GPU is not shown in HWsensors. only Temp which is 48 like in windows idle.
Nevertheless my zalman wattmeter shown same and lower wattage on system idle than with my previous Nvidia GTX970
With proper CPU power management, you will get turbo boost. Until then GPU powermanagment will not work (even though it may seem ok).
Current HWsensors that you are using does not show GPU info. There is an App in the HWSensors3 package called HWMonitorSMC2.app that you can use to show GPU info (fan speed, Utilisation, etc).
 

Attachments

  • Caniggia-MacNB-config.plist
    8 KB · Views: 189
  • SSDT-0.aml
    271 bytes · Views: 158
- CPU stuck at 3.2 means power management/speed step not working. Not sure where you derived the SSDT-SB-OC.aml from but remove it from /E/C/A/patched folder and use PluginType=Yes in the config.plist (attached).
- No HDMI signal is a bit strange - could be a consequence of MacPro6,1 now that GFX0 device is present. Should be fixable.
- No HDMI audio is a consequence of no HDEF device injection which clashes with HDAU injection. Fix: try attached modified SSDT-0.aml (defines hda-gfx as "onboard-2") in /E/C/A/patched folder.
- I would not worry about DPCIManager showing 6 ports - it's has not been updated for a long time and I'm not sure it's accurate. Your IOREG shows 5 ports which is important.
Removed the SSDT and kept only yours. the new one.
it seems much better. and some artefacts when operating the 4 screens on boot disapeared.
So:
- HDMI is working with audio and all
- CPU still stuck at 3.2. no stepping, no boost.
- GPU at 0.888 but I is false. Running Valley bench stays there while temp go to 65 and my Zalman shows 360W.
yes, HWsensors freeze. Anyway.
- I do not worry about DPCIManager... :)

All the disabled kext patches I have in my original plist are for the CPU management. I was updating them every few versions of macOS. but they do not work on Mojave.
 

Attachments

  • ioreg-with-Caniggia-MacNB-config-2.zip
    924.9 KB · Views: 91
Removed the SSDT and kept only yours. the new one.
it seems much better. and some artefacts when operating the 4 screens on boot disapeared.
So:
- HDMI is working with audio and all
- CPU still stuck at 3.2. no stepping, no boost.
- GPU at 0.888 but I is false. Running Valley bench stays there while temp go to 65 and my Zalman shows 360W.
yes, HWsensors freeze. Anyway.
- I do not worry about DPCIManager... :)

All the disabled kext patches I have in my original plist are for the CPU management. I was updating them every few versions of macOS. but they do not work on Mojave.

Progress.

For CPU power management you have several choices:
  1. Find 10.14.2 Mojave patches for AppleIntelCPUPowerManagement.kext (ideally)
  2. Find 10.13.6 patched AppleIntelCPUPowerManagement.kext and install that in /S/L/E (not ideal as it want survive updates)
  3. Enable EIST in BIOS and use NullCPUPowerManagement.kext into E/C/K/Other (BIOS manages CPU not OS).
#3 should work as CPU power management will be handled by the BIOS and you should get all the P-States with turbo boost. But will not help with AGPM for the GPU.
 
Progress.

For CPU power management you have several choices:
  1. Find 10.14.2 Mojave patches for AppleIntelCPUPowerManagement.kext (ideally)
  2. Find 10.13.6 patched AppleIntelCPUPowerManagement.kext and install that in /S/L/E (not ideal as it want survive updates)
  3. Enable EIST in BIOS and use NullCPUPowerManagement.kext into E/C/K/Other (BIOS manages CPU not OS).
#3 should work as CPU power management will be handled by the BIOS and you should get all the P-States with turbo boost. But will not help with AGPM for the GPU.
Yes progress!
1. I have my eye on it. Very few use X79 these days so I am losing hope.
2. to be honest since 3 (NullCPUPowerManagement.kext) works I don't see why get into such fuss
3. SO THIS IS WHY it is working fine! Aha! what are the cons for using this solution? I can't see any so far. My CPU runs fine, excellent temps, the fastest bench so far (just had 1045 on cinebench), while I am writing this I have 135Watts consumption with 3 displays open. 15watts better than my GTX970.

Thus I am thinking of using all your excellent configuration plus NullCPUPowerManagement.kext
 
3. SO THIS IS WHY it is working fine! Aha! what are the cons for using this solution? I can't see any so far. My CPU runs fine, excellent temps, the fastest bench so far (just had 1045 on cinebench), while I am writing this I have 135Watts consumption with 3 displays open. 15watts better than my GTX970.

Thus I am thinking of using all your excellent configuration plus NullCPUPowerManagement.kext

Without OS managing the CPU, sleep will most likely not work.
The AICPM.kext also helps with core task allocation to multiple threads during load, temp monitoring (hence fan control), slowing down the CPU, and such things. It's a bit more intelligent than what the BIOS can do.

However, if your BIOS implementation is good, you may not notice too much difference.

Test using AppleIntelInfo.kext by PikerAlpha to see how many P-States you get.
Also try load testing using Prime and monitor with Intel Power Gadget.

In the end if NullCPUPowerManagement.kext is working fine for you with no issues, then I guess don't try to fix it :)
 
That's because you did not set VideoPorts = 5.
This is what I do with my i7-3770k + RX 580 Nitro+ :
View attachment 371608

If you set Inject ATI=Yes, then if you do specify a FBName, then you should also specify the number of ports (using VideoPorts).
If you do NOT specify the framebuffer name, then the default RadeonFramebuffer will be used with 6 ports, unless you override it with VideoPorts.

If you use Whatevergreen, then it's FAQ does state NOT to InjectATI. However, for the Nitro+, Orinoco framebuffer is almost a perfect match for each ports type and their order on the that card (Port 0=DP, Port 1=DP, Port 2=HDMI, Port 3=HDMI and Port 4=DVI-D).
I do not use Whatevergreen and I get 3 ports to work simultaneously.
I have tried Whatevergreen WITH InjectATI + FBName + VideoPorts and have had no side effects.

Ive been using this current method with my RX580 and all seems to be working "ok" for the most part. The only thing im noticing different is my iGPU is staying stuck at 1.25Ghz constantly.
Im using whatevergreen currently and iGPU enabled in BIOS.
Im using a connectorless platformID 0x0412000B "iMac 15,"
Inject intel and inject ATI, also Videoports set to 5 and Orinoco Framebuffer.
Any ideas??
 

Attachments

  • CLOVER.zip
    10.9 MB · Views: 136
  • Screen Shot 2018-12-12 at 7.34.39 PM.png
    Screen Shot 2018-12-12 at 7.34.39 PM.png
    390.8 KB · Views: 295
  • iMac 15,1.zip
    1 MB · Views: 97
Status
Not open for further replies.
Back
Top