SchmockLord / Hackintosh-Intel-i9-10900k-Gigabyte-Z490-Vision-D

https://www.patreon.com/SchmockLord
https://youtu.be/szOofRy7uBc
686 stars 124 forks source link

Thanks - Hackintosh working with i9 10900K and 2080 TI! #17

Closed jamesfawcett closed 4 years ago

jamesfawcett commented 4 years ago

Thank you for sharing your research!

I had almost given up, I've tried Clover, OpenCore guide, Tony Mac and Unibeast.... the list goes on. I was at a dead end, until I saw your success this morning! I thought I would have to wait longer for more people to get matching hardware for working kexts and drivers.

I am running the MSI 2800 TI using the DisplayPort. I haven't yet tried HDMI output but DisplayPort is working great. The Cooler is doing it's job and kicking in when needed, all temperatures are good.

Windows 10 is installed on the first 1TB Nvme m.2 drive, Catalina is installed on the 2nd 500gb Nvme m.2 drive and dual boot is working flawlessly.

Still to fix: Front USB ports Wifi - I have ordered a Fenvi T919 same as you. Sound output - I haven't yet worked out how to change the address, but I have the same chipset as you I think, so I am researching that next.

Working: Rear USB ports USB-C ports

My system is: Motherboard: Gbyte Z490 AORUS PRO AX Motherboard Processor: Intel Core i9 10900K overclocked to 5.1 Ghz Ram: 2x8G CorVenRGBPRO DDR4 3000 GPU: MSI RTX 2080 Ti VENTUS GP OC WIFI BT: TBC - not working yet Storage: 2x Samsung 1TB 970 EVO PLUS (windows 10 and Mac Catalina dual boot) CPU cooler: iCueH150i Case: NZXT H710 Black Mid Tower Case

Photo 13-06-2020, 14 46 40 Photo 13-06-2020, 14 16 24 Photo 13-06-2020, 14 13 51 Photo 13-06-2020, 14 11 52

SchmockLord commented 4 years ago

Congrats. Looks good.

For the USB just delete my SSDT-UIAC.aml. I am pretty sure this won't work so well with a different motherboard. Then you should see all USB-ports in Hackintool. Then delete all the ones you don't need until you reach the 15-port limit. Thunderbolt port doesn't count into the 15 port limit (e.g. SSP1, SSP2)

SchmockLord commented 4 years ago

You should also set the appropriate type: "USB2" for USB2-only ports. "USB3" for all ports that support USB2 and USB3 or USB3-only. "Type C" for USBC-ports where every direction has its own port. "Type C+SW" for USB-C ports where the same port lights up in both directions.

SchmockLord commented 4 years ago

And get an AMD graphics card. If you don't need much power, get an 5500XT for around 200 EUR. You can disable the 2080 Ti.

BTW: You plugin your monitor into the 2080 Ti DisplayPort and use the iGPU? What is the highest resolution you can select? Can you post a picture of your "About this mac" screen?

jamesfawcett commented 4 years ago

Thanks very much! The 2080 TI graphics card is working well with Mac OS, I am using the displayport output, the same port I use for Windows 10. I'll get a screenshot of the about my mac later today. My monitor is running at 3440 x 1440.

Thats a good tip about the USB ports I will give that a go thank you! Looking forward to the Wifi card arriving to get online!

I haven't used Hackintool yet, did you compile it from here? https://github.com/headkaze/Hackintool

Scope666 commented 4 years ago

The 2080 Ti is not supported (I have one also). It may display text but you have no acceleration aka Metal support. You can verify this by trying to watch a video on YouTube, use Mission Control or Launchpad, etc.

I solved this by adding an inexpensive RX 560:

https://www.asrock.com/Graphics-Card/AMD/Phantom%20Gaming%20Radeon%20RX560%204G/

I leave my 2nd monitor always plugged into it (works fine in Windows too) and just move my primary DisplayPort cable from the RX 560 to the 2080 Ti if I want to game in Windows.

jamesfawcett commented 4 years ago

Thanks for that! I may look at getting a secondary graphics card, but for now it seems to be working? Mission control and Launchpad works, I can play videos in Quicktime, Are there any other offline tests I can do until my WiFi card arrives? I am going to do a cleaner install, I rushed this one as a "last attempt" before giving up using @SchmockLord 's EFI.

Screenshot 2020-06-14 at 12 01 28

Happy to buy a graphics card if I need to. Please tell me if I'm missing something major :) I will try the HDMI ports and see the results too.

Update - I see the issues. t I have issues with VSCode going glitchy, maybe it relies on using the graphics card, I will take a look at the Radeon RX560 thanks for the heads up :)

Scope666 commented 4 years ago

The other way to tell is "About this Mac" --> "System Report..." ... and look under Graphics. There should be a place that says Metal support.

jamesfawcett commented 4 years ago

Excellent thanks @Scope666

I am learning as much as I can, I have been a Mac user for years and not looked at PC Hardware since the early 2000's when I bought an AMD500Mhz machine!

I've been reading about graphics cards all evening - I now understand how it's using the iGpu from the i9 processor. I am currently facing another issue, my motherboard has three PCI 16 slots, but If I put a graphics card into the PCI16 x8 slot next to my 2080 TI which is in a PCI16 x16 slot, it will slow it down to x8. I don't think I can physically fit a 5500XT or RX 560 into the space available.

I have been looking at compact, native supported graphics cards. I have come across the Nvidia GT710 - they're a bit old now, but have HDMI and passive cooling too to keep the noise down and would fit in the space where the PCI16 x4 slot is on my motherboard.

Would you advise against these? Ill mostly be using just VSCode, Chrome and Spotify: https://www.ebay.co.uk/itm/ASUS-NVIDIA-GeForce-GT-710-1GB-GDDR5-Graphics-Card-90YV0AL2-M0NA00/283914556542?epid=6010332194&hash=item421aa0547e:g:KDwAAOSwqQpe5PVH

Thanks for your help :)

Edit - just booted into Catalina and couldn't see any mention of Metal anywhere in Graphics/Displays Screenshot 2020-06-14 at 16 00 53

Scope666 commented 4 years ago

No kext loaded = no acceleration (driver not loaded)

This is how I have my cards, I chose this RX 560 since it was smaller and didn't require more PCI-E power lines:

IMG_1041

jamesfawcett commented 4 years ago

Nice setup!!! I am concerned about using that slot because it will force the 2080ti to x8, does your motherboard do that too? Have you noticed any performance loss?

SchmockLord commented 4 years ago

@jamesfawcett Why do you think you need a dGPU? If the power of the UHD630 is enough for you and you can select your desired resolution: Why not stay with what you have?

I would only add a dGPU if I would need more power. The UHD630 is enough for everything that is not video editing and gaming.

Regarding the performance loss between 16x and 8x I can tell you this: I have had my Radeon VII onto 8x at the beginning. It is a difference of about 7-10%.

Scope666 commented 4 years ago

I agree with Schmocklord, it's a negligible difference. I also agree with him that you can use the iGPU if you only have one monitor.

I have two and that's why I added the RX 560.

Scope666 commented 4 years ago

BTW, here's another way to test for Metal support. (Hackintool)

image

https://github.com/headkaze/Hackintool/releases/download/3.4.0/Hackintool.zip

jamesfawcett commented 4 years ago

Thanks for this help! Yep I can confirm then no metal support. Some things work great, but I see artifacting in VsCode which is the app I need to use most, so I may end up getting a graphics card after all! There are a few fixes suggested on Reddit that I might give a try first.

The Fenvi T919 is installed and working great straight out of the box.

I'm just creating another boot install from scratch so it's just purely OpenCore, my current install is infected with some clover bits from the Clover Configurator and other tutorials :) There's a few bits I want to tweak and take out Radeon drivers I don't need. I'm going to attempt those tweaks to the USB ports you suggested above too with Hackintool.

Could I just ask, I can't see this in the OpenCore docs: When I modify the plist, do I then need to run the full reinstall of the OS? Or can I modify the EFI and just boot again?

Scope666 commented 4 years ago

What I like to do is tweak your EFI on a USB boot stick first, get it to where you're happy, then you can copy / replace the one on your main hard drive.

No need to reinstall the OS, rebooting is enough to see the changes made to the plist.

jamesfawcett commented 4 years ago

Thanks to both of you, I've much more understanding now on the setup! It's quite nice knowing the inner workings of your own computer too. I have iGpu displaying in Hackintool now, but it always displays Intel ???.

image

I've set my device ID using the Base64 convertor in Hackintool from the Hex values of the device (I think) and from the OpenCore docs .

`PciRoot(0x0)/Pci(0x2,0x0)

AAPL,ig-platform-id PpIAAA== device-id m8WAhg== framebuffer-patch-enable AQAAAA== framebuffer-stolenmem AAAwAQ== model Intel UHD Graphics 630 (Desktop) ` Still learning, but I'll update this thread if I get any further.
Scope666 commented 4 years ago

At the moment mine looks like this. Perhaps it's your formatting? It looks mangled.

<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>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-stolenmem</key>
                <data>AAAAQA==</data>
            </dict>

Displays like this:

image

Scope666 commented 4 years ago

Is it enabled in the UEFI (bios) ? Usually you specifically have to turn it on if you have a dGPU, default will be auto which is disabled.

jamesfawcett commented 4 years ago

Mine did that before I enabled it in the BIOS. You have to set it to Enabled and not Automatic. Automatic doesn't show, hope that helps.

addisonduda commented 4 years ago

That did the trick. Thanks fellas!!

jamesfawcett commented 4 years ago

At the moment mine looks like this. Perhaps it's your formatting? It looks mangled.

<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>framebuffer-patch-enable</key>
              <data>AQAAAA==</data>
              <key>framebuffer-stolenmem</key>
              <data>AAAAQA==</data>
          </dict>

Displays like this:

image

This for this @Scope666 - with this config mine won't boot past half way. I reverted back, but copied your same platform-id (which seems to be the same as @SchmockLord 's).

I now have this:

<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>BwCbPg==</data>
                <key>device-id</key>
                <data>m8WAhg==</data>
                <key>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-stolenmem</key>
                <data>AAAwAQ==</data>
                <key>model</key>
                <string>Intel UHD Graphics 630 (Desktop)</string>
            </dict>

My machine boots now, but I still have the ??? next to Intel Generation.

I must be using the wrong device-id, I'm doing some more research :)

image

image

jamesfawcett commented 4 years ago

After more researching I've figured it out. When my Intel Generation says ??? it's because I have an invalid iGpu device-id. When I put in a valid one (like yours) then my machine won't boot up. I've enabled verbose boot logging and will be looking for the reasons next :) I am tempted to pull out the 2080 and see if it will boot without it installed.

Scope666 commented 4 years ago

Take a look here. I'm using the Device Properties method to "hide" my 2080 Ti from Mac, it works perfectly:

https://dortania.github.io/OpenCore-Desktop-Guide/extras/spoof.html

Also see here under "Comet Lake" for other device-id's to try:

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md

SchmockLord commented 4 years ago

Thanks for that! I may look at getting a secondary graphics card, but for now it seems to be working? Mission control and Launchpad works, I can play videos in Quicktime, Are there any other offline tests I can do until my WiFi card arrives? I am going to do a cleaner install, I rushed this one as a "last attempt" before giving up using @SchmockLord 's EFI.

Screenshot 2020-06-14 at 12 01 28

~Happy to buy a graphics card if I need to. Please tell me if I'm missing something major :)~ ~I will try the HDMI ports and see the results too.~

Update - I see the issues. t I have issues with VSCode going glitchy, maybe it relies on using the graphics card, I will take a look at the Radeon RX560 thanks for the heads up :)

@jamesfawcett From your screenshot it appears that you haven't put your own serial numbers in the config.plist yet. You should do that. Just use clover configurator for that and generate yourself a serial number. It is under PlatformInfo-Generic.

jamesfawcett commented 4 years ago

@jamesfawcett From your screenshot it appears that you haven't put your own serial numbers in the config.plist yet. You should do that. Just use clover configurator for that and generate yourself a serial number. It is under PlatformInfo-Generic.

Sorry that was an earlier test, I've reinstalled since then.

Thanks for the tip on disabling my dpu, I used the boot-arg

I've been on a bit of a journey trying to manually set framebuffers, each time I would get a bit further in the boot up sequence, but at the end of it, it would freeze and the screen would go black. I've finally got HDMI working from my motherboard, the random screen flickering and artifacting has now gone.

I don't have iGpu working yet, but I think it's progress :)

Here's my device config for the Aurus Z790 for working motherboard HDMI output:

<key>PciRoot(0x0)/Pci(0x1f,0x3)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>BwCbPg==</data>
                <key>device-id</key>
                <data>
                cKEAAA==
                </data>
                <key>layout-id</key>
                <data>
                HAAAAA==
                </data>
            </dict>

Also @SchmockLord hope you don't mind me tracking my progress here clogging up your repo! I hope these findings might help someone else in the future! :) Let me know if you want me to post updates somewhere else.

image

****8 Edit - maybe ignore this update - I see now I've got the wrong PciRoot I must have been experimenting with something else!

jamesfawcett commented 4 years ago

I think I celebrated too early, my motherboard HDMI port works when I don't try change the device config for the PciRoot(0x0)/Pci(0x2,0x0). I am struggling to debug it because the verbose logging goes off screen and there's no visual output after it boots.

Scope666 commented 4 years ago

That seems like a victory to me, I've NEVER gotten anything out of the motherboard's HDMI port, only the DP.

jamesfawcett commented 4 years ago

Thanks :) I've experimented with the WhateverGreen boot flags too and also disabled shikigva=80 but it did the same. I have enabled WhateverGreen logging with -wegdbg but not sure yet where that logs to, but I'll try investigate. I'm getting faster now at booting up Windows to fix the config.plist each time 😂

jamesfawcett commented 4 years ago

Just to update this thread, I've given up on trying to get iGpu working, I think I'm also going to put it down to these processors being too new and not supported.

I've ordered the MSI variant of the 710 Nvidia cards mentioned before. The 2gb version was just over £40 and will enable metal support natively: https://www.scan.co.uk/products/2gb-msi-geforce-gt-710-passive-single-slot-pcie-20-(x16)-1800mhz-ddr3-gpu-954mhz-cores-192-hdmi-dvi-

Here's someone on reddit with the same graphics card and device properties: https://www.reddit.com/r/hackintosh/comments/f6s2bt/succes_guide_hackpro_catalina_i7_9700_asrock/

PciRoot(0x0)/Pci(0x2,0x0):

AAPL,ig-platform-id: 0300923E

framebuffer-patch-enable: 01000000

framebuffer-stolenmem: 00003001

I'm going to install it in the very bottom slot so it doesn't affect the performance of my 2080ti when I boot into Windows. I'm also going to remove the boot flag for disabling all DGPUs and use @Scope666 's method here to disable the 2080i:

Take a look here. I'm using the Device Properties method to "hide" my 2080 Ti from Mac, it works perfectly:

https://dortania.github.io/OpenCore-Desktop-Guide/extras/spoof.html

If anyone's interested, it was this comparison of my entry-level 2018 Macbook pro compared to my Hackintosh that made me decide I need a graphics card working. Also, having iGPU set to Enabled instead of Auto in bios meant I permanently had a second desktop in Windows, even with the device disabled in device properties. I always have the displayport and HDMI connected to my monitor and didn't want to have to keep removing it.

Here's the results, the Mac Pro outperforms the PC quite a bit with metal support:

Hackintosh: screencapture-browser-geekbench-v5-cpu-2670446-2020-06-24-18_18_00

Entry level macbook pro: screencapture-browser-geekbench-v5-cpu-2670600-2020-06-24-18_35_51

It will be interesting to see how the Hackintosh performs with the MSI 710 installed tomorrow.

jamesfawcett commented 4 years ago

Fitted the MSI 710 and added it to my plist. It booted straight up, full metal support confirmed in Hackintool!

The difference in speed is night and day, it's fantastic. Without the GPU, when changing windows or performing small computing tasks, the cpu fans would rev up every time (which was quite annoying!). Now, everything is silent, and the 710 looks quite snug and tidy in the bottom slot:

image

My next mission is to get the headphone socket on the front panel working. Thanks for your guide on how to do the USB ports, those are all sorted now. Interesting to find out the differences between Type C and Type C + SW USB ports depending on if they are reversible. I had two separate Type C for each way round.

Here's my results now with the MSI 710 installed, it doesn't seem much in comparison to below, but it feels much faster!

screencapture-browser-geekbench-v5-cpu-2749619-2020-06-30-15_29_12 - with 710

SimeJah commented 4 years ago

Wait so sorry if I am wrong.. but I thought running RTX cards om hackintosh was impossible. Did you manage to get a 2080Ti to work on a hackintosh!? :D

jamesfawcett commented 4 years ago

Hello I have video output from it but no metal support, I don't believe my iGpu is working yet either but I use the machine every day. I bought a cheap Nvidia 710 silent DGpu and now metal support works great and the machine is fast, I have the 2080ti disabled in my config.plist

mariopeixoto commented 4 years ago

@jamesfawcett Hi! Which method did you use to disable the 2080ti? Did you use the DeviceProperties method from https://dortania.github.io/OpenCore-Install-Guide/extras/spoof.html ?

jamesfawcett commented 4 years ago

Hi @mariopeixoto here's my full deviceproperties:

`DeviceProperties

Add PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0) name I2Rpc3BsYXk= IOName #display class-code /////w== PciRoot(0x0)/Pci(0x14,0x0) acpi-wake-type AQ== PciRoot(0x0)/Pci(0x2,0x0) AAPL,ig-platform-id BwCbPg== device-id kj4AAA== framebuffer-patch-enable AQAAAA== model Intel UHD Graphics 630 (Desktop) PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0, 0x0) device-id 8hUAAA== PciRoot(0x0)/Pci(0x1F,0x3) device-id cKEAAA== layout-id BwAAAA== Delete ` The bit you are looking for is: `PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0) name I2Rpc3BsYXk= IOName #display class-code /////w== ` Thanks James
Boy447374 commented 3 years ago

Hello I have video output from it but no metal support, I don't believe my iGpu is working yet either but I use the machine every day. I bought a cheap Nvidia 710 silent DGpu and now metal support works great and the machine is fast, I have the 2080ti disabled in my config.plist

How do you feel about sharing your EFI? Which config file out of the three did you use? I have a 2080ti and not having any luck booting.

jamesfawcett commented 3 years ago

Happy to share! I'll push my latest config tomorrow and add a link here. How far are you getting with booting? Just no video out?

I have a rx560/580 (can't remember!) card now because the NVidia710 wouldn't support my 48" widescreen 5220x3400px but it was a great cars, shame if couldn't do the higher resolution even with switchresx.

I'll post a link tomorrow for you

jamesfawcett commented 3 years ago

Hi @Boy447374

I was still using OpenCore 0.6.6. This repo is currently on 0.6.9 so I decided to update. I also couldn't get mine to boot.

After going through line by line, it was this change stopping my system booting:

<key>AppleXcpmCfgLock</key>
<false/>

At some point, this has changed from true > false. I'm not sure why @SchmockLord might be able to tell us?

My 2080ti is disabled with:

<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>name</key>
                <data>I2Rpc3BsYXk=</data>
                <key>IOName</key>
                <string>#display</string>
                <key>class-code</key>
                <data>/////w==</data>
            </dict>

image

If I enable it, it does do Video out, but without metal support.

I highly recommend the RX560 it's a good card, quite compact and small.

image

I'll invite you to my private repo so you can see my full EFI if you want to?

Thanks James