Jump to content
shawnanastasio

[RELEASE] Open-source Clover fork with Ryzen support

216 posts in this topic

Recommended Posts

Hi all,

 

After realizing that Clover doesn't work on AMD Ryzen systems and the only solution is to use a closed-source fork, I set out to implement Ryzen support in Clover myself and share the results.

The source can be found at https://github.com/shawnanastasio/Clover-Ryzen and I've attached a build to this post.

 

I have confirmed that it boots on my Ryzen 7 1800X system, but I have not tried booting macOS yet. If anybody has a Ryzen hackintosh set up, I'd love to hear if it works for you. To try it out, just replace your current BOOT/BOOTX64.efi and CLOVER/CLOVERX64.efi with the attached build.

 

Feedback is welcome!

 

============

Update 7/1/17: Add support for fractional multipliers (like 39.5). Link to download.

============

 

Old Downloads:

Update 6/30/17: Fix max/min ratio detection as well as FSB detection. Link to download.

Update 6/29/17: Add automatic CPU max/min ratio detection. Should resolve clock speed issues. Link to download.

CLOVERX64.efi

Share this post


Link to post
Share on other sites
Advertisement

I can confirm this works, however i do get a lot of [MSR-64] unknown location 0x00000000c0010071 when booting.

 

Took 2 attempts to boot, but the 2nd went fine.

 

Just tested Cinebench opengl with this clover, 26fps... Ugh

Share this post


Link to post
Share on other sites

did you try your nvidia card yet? any performance boost?

what card you using?

I got 26fps in Cinebench, this makes me believe it is something to do with clover and not the kernel. It seems the nvidia drivers are not being injected properly at boot.

Share this post


Link to post
Share on other sites

I did notice this error when i was booting up though: 

 

GeForceSensors: GeforceSensors by kozlek © 2012

GeForceSensors: found 1b81 Nvidia chip

 

GeForceSensors (0): [Error] unknown chipset, 0x134000a1

 

Edit: I removed the Geforce Sensor kext.

 

But it is very interesting why this clover variant is providing far less performance 

Share this post


Link to post
Share on other sites

I did notice this error when i was booting up though:

 

GeForceSensors: GeforceSensors by kozlek © 2012

GeForceSensors: found 1b81 Nvidia chip

 

GeForceSensors (0): [Error] unknown chipset, 0x134000a1

 

Edit: I removed the Geforce Sensor kext.

 

But it is very interesting why this clover variant is providing far less performance

that is maybe this is why our cards are having bad performance

Share this post


Link to post
Share on other sites

I have just noticed that the CPU frequency is totally wrong, even with Busratio line.

 

Currently my CPU is sitting at 900mhz, this explains why i am getting low fps in openGL tests.

Share this post


Link to post
Share on other sites

i'll try tomorrow let us know if your able to fix... i tired using this clover but for some reason didn't work for me

Share this post


Link to post
Share on other sites

Hi all,

 

After realizing that Clover doesn't work on AMD Ryzen systems and the only solution is to use a closed-source fork, I set out to implement Ryzen support in Clover myself and share the results.

The source can be found at https://github.com/shawnanastasio/Clover-Ryzen and I've attached a build to this post.

 

I have confirmed that it boots on my Ryzen 7 1800X system, but I have not tried booting macOS yet. If anybody has a Ryzen hackintosh set up, I'd love to hear if it works for you. To try it out, just replace your current BOOT/BOOTX64.efi and CLOVER/CLOVERX64.efi with the attached build.

 

Feedback is welcome!

 

Could you please attach the BOOTX64.efi as well? Thanks

Share this post


Link to post
Share on other sites

Come on be nice there is no need to keep everything cealed, you did a good work, so share it as easily as possible or do you need a crown?

Sharing is caring!

Share this post


Link to post
Share on other sites

Come on be nice there is no need to keep everything cealed, you did a good work, so share it as easily as possible or do you need a crown?

Sharing is caring!

Just create a copy of BOOTX64.efi and rename it to CLOVERX64.efi, they're the same file with a different name. It's always the case.

 

:)

Share this post


Link to post
Share on other sites

Glad to hear it is working!

 

As for the CPU clock issues, I'll be sure to take a look at that. For those of you who are having CPU clock issues, could you please post the clockspeed that you're getting in macOS and a copy of your clover debug.log?

To enable debug.log, find the `Debug` section in your clover.plist under `Boot` and set it to true. The next time you boot, clover will produce a debug log in EFI/CLOVER/misc/debug.log.

 

Share this post


Link to post
Share on other sites

Have you shared this with Slice to have it added to the official source?

I'm not sure it's at a stage where its ready to be upstreamed but once it is ill definitely contact the clover guys.

 

Sent from my Nexus 5X using Tapatalk

Share this post


Link to post
Share on other sites

Is it possible for the original Clover project to implement ryzen and have duality with Intel? I'm not technically saavy to this deep level therefore the question. I just though that it will get much more support that way.

Share this post


Link to post
Share on other sites

Is it possible for the original Clover project to implement ryzen and have duality with Intel? I'm not technically saavy to this deep level therefore the question. I just though that it will get much more support that way.

 Absolutely - my fork should work just fine on Intel. I was careful not to break anything relating to Intel CPU support.

Share this post


Link to post
Share on other sites

 

Hi ! 
Try this boot for Clover ! 
Fixed for all Cpu's ! 

 

But i need know that how shows Multiplier in Ryzen in menu Clover  !  Because i added Min and Max Ratio from manuals fam_17h ! And i added Cores / 2 !
For source , need wait ... 
 

 

 

wooh !!

 

8/16 !! :thumbsup_anim:

 

0:100  0:000  Running on: 'System Product Name' with board 'PRIME B350M-A'

0:100  0:000  === [ GetCPUProperties ] ==================================

0:100  0:000  CPU Vendor = 68747541 Model=800F11

0:100  0:000   The CPU supported SSE4.1

0:100  0:000      Looking to disable C1E if is already enabled by the BIOS:

0:100  0:000  BrandString = AMD Ryzen 7 1700 Eight-Core Processor          

0:100  0:000  CurrentSpeed: 3650

0:100  0:000  FSBFrequency = 25 MHz, DMI FSBFrequency = 100 MHz, Corrected FSBFrequency = 100 MHz

0:100  0:000  MaxDiv/MinDiv: 0.5/34

0:100  0:000  Turbo: 0/0/0/0

0:100  0:000  Features: 0x178BFBFF

0:100  0:000  Threads: 16

0:100  0:000  Cores: 8

0:100  0:000  FSB: 25 MHz

0:100  0:000  CPU: 0 MHz

0:100  0:000  TSC: 3650 MHz

0:100  0:000  PIS: 100 MHz

 

but problem speed kernel cinebench 15 1650 => 1403  (1647 Win10)

post-2087795-0-22578900-1498769870_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By zazman
      Bonjour,
       
      Je rencontre un souci depuis la dernière maj supplémentaire catalina 10.15.4, même chose pour la 10.15.5 aujourd'hui : après le début de l'update, lorsque le pc redémarre, je ne vois pas le volume d'installation dans les volumes de l'écran de boot clover (v5118). j'ai juste Preboot dans les volumes cachés au démarrage, et j'ai essayé de les afficher, le préboot de l'install apparait bien mais le boot n'aboutit jamais par ce biais. du coup, je suis bloqué en 10.15.4. Auriez-vous une idée du problème ?
    • By y010204025
      Perhaps it was the first NEC (Lenovo) Lavie Z HZ550 to install hackintosh. I hope more people who like Lavie Z series can experience Hackintosh at HZ550. She is really great.
       
      I found HZ550 & HZ750 on the Chinese website, which is amazing. It weighs only 790g, 13.3 inches, and the standard 2k screen, which is too attractive to me. I am a Hackintosh enthusiast. I think HZ550 or HZ750 with MacOS is the best Unfortunately, the Lavie Z series is not listed in China, only exists in the Japanese and American markets, and in the Japanese market is the NEC brand, while the American market uses the Lenovo logo.
       
      Fortunately, I got an HZ550 from Taobao. Yes, not HZ750. In comparison, HZ750 has more touch screens and 360 ° flip. These are hard to attract me. More importantly, HZ750 is about 200g heavier than HZ550 That's why I chose HZ550. Well, because he is only 2,000 RMB.
       
      The specific introduction can refer to NEC Japan official website:http://nec-lavie.jp/products/hz13b/
       
      The HZ550 hardware list I obtained:
                                    
                       -/+:.          ningnan@ningnandeMacBook-Air
                      :++++.          OS: 64bit Mac OS X 10.15.5 19F96
                     /+++/.           Kernel: x86_64 Darwin 19.5.0
             .:-::- .+/:-``.::-       Uptime: 19m
          .:/++++++/::::/++++++/:`    Packages: 1
        .:///////////////////////:`   Shell: zsh 5.7.1
        ////////////////////////`     Resolution: 3840x2160
       -+++++++++++++++++++++++`      DE: Aqua
       /++++++++++++++++++++++/       WM: Quartz Compositor
       /sssssssssssssssssssssss.      WM Theme: Blue (Dark)
       :ssssssssssssssssssssssss-     Disk: 11G / 108G (12%)
        osssssssssssssssssssssssso/`  CPU: Intel Core i7-5500U @ 2.40GHz
        `syyyyyyyyyyyyyyyyyyyyyyyy+`  GPU: Intel Iris Graphics 6100
         `ossssssssssssssssssssss/    RAM: 4376MiB / 8192MiB
           :ooooooooooooooooooo+.    
            `:+oo+/:-..-:/+o+/-     
       
       
      Advantages: small size, light weight, 2K screen, 8G memory, 512g SSD, keyboard feels good, and wireless network card can be replaced, which is unimaginable in today's thin and light books.
      Disadvantages: The sound is small, almost the same as the mosquitoes.
       
      Ok, bragging is over!
      In order to use the wireless network, I changed the wireless network card from inter 7265 to BCM94352ZAE. Some people called it DW1560. It is uncomfortable that in China, this card and his elder brother DW1830 were hyped to a high price of 480RMB. of. Fortunately, I bought it early, and this card is also very stable under win10, and there is no high delay and outage. The hard disk should be PM951 of Samsung, not PM981, which is lucky.   Before installing Hackintosh: You need to prepare a 16G U disk, SanDisk is not a rough choice for making MacOS installation disk, I used the latest MacOS Catalina 10.15.5, got config.plist from Rehabman, and put together an EFI, the latest version of clover and kext drivers. Thanks to Rehabman and the developers of the Black Apple community. I do n’t like that OC team very much.
      Make an installation disk: If you have a computer running MacOS, you can use the command line to make it, if you do n’t have a computer running MacOS, you can try VMware, I know that the insanelymac forum allows discussion, or use ether to write the image to U disk, use the EFI I provided to boot into the installation process.   BIOS setting: Press F12 at boot to enter the BIOS settings, Tab switches to "Security-Secure boot", set to "DISable", this is what we need, and switch to "Boot -Boot devices", set the U disk as the first boot item You can directly enter the clover guide interface, please follow it for google it.
      It is worth noting that the remaining space of your EFI partition needs to be greater than 200M, otherwise, the disk format will be wrong. In addition, the format partition format is APFS, do not choose to encrypt, your data is not valuable, at least you must have this awareness of Hackintosh, the file safe is also the same, do not enable, do not use to find your mac, otherwise, change the machine, OK .   Fortunately, no additional ssdt patch is required. All the patch functions are implemented through clover. The flat Apple is turned on. This is to solve the problem of the flower screen. You can find a solution yourself.
      Experience your black apple, this will bring a better experience than MacBook Pro. EFI_HZ550.zip
    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By STLVNUB
      Script file to clone and help build Clover, Opencore (official and unofficial) repos
      Script will create link to itself in /usr/local/bin/bob
      Wouldn't hurt to check there are no "Bob"'s there, i "Hope" there isn't.
       
      Then you only need to type bob. and a parameter
      "n" for NDK repo, unofficial
      "a" for ACID repo, official
      "c" for CLOVER
      It also takes "all" for ALL, if your game
      Currently NDK Repo has problems so "all" and "n" DON'T WORK
       
      Easier typing bob than.....usual stuff
      Enjoy
       
    • By Kaisar870
      How to Add APPLE RTC PATCH 
      Could you please explain how to add Apple RTC patch in open core Plist? TIA
×