Jump to content
Sinetek

[RYZEN] macOS 10.12.x (Sierra) Kernel Research&Development Thread

780 posts in this topic

Recommended Posts

Advertisement

With new beta test boot I get this screen with info. But when I boot it does reboot cycle. -s gets a little farther but still reboots (picture 2).

post-1753549-0-96980200-1494185305_thumb.jpg

post-1753549-0-02260700-1494185319_thumb.jpg

Share this post


Link to post
Share on other sites

cpumult is null ... hmmm , thank ... 


Bronya I am not 7 years old, 100% real :yes:

only the PPR not BKDG

Ok ! but have other name manual for 17h . 

Share this post


Link to post
Share on other sites

Ok to sum up so far, the new Kernel and other files work great!    I cannot get the new boot test zip to boot correctly      Using the original Boot and the new kernel and other files has allowed me to overclock my Ryzen 7 1700 to 3800 MHz with stability.    3900MHz crashes at boot up, I have stock fan system.

 

With original boot file I need to add busratio=(38 or whatever my CPU bios setting is) or I get the 1/2 performance or frequency issue.  see pics.     Notice the RX 480 compute benchmarks as well.   It affects both the CPU and Graphics cards the same way, 1/2 performance level.

 

machdep.tsc.frequency: 3800118979
GigamaxxRyzenSierra2s-MacBook:~ gigamaxxryzensierra2$

post-1753549-0-92859700-1494187787_thumb.png

post-1753549-0-42071600-1494187817_thumb.png

post-1753549-0-71534300-1494188554_thumb.png

post-1753549-0-87849900-1494188579_thumb.png

Share this post


Link to post
Share on other sites

A little more testing of hardware on Ryzen 7 1700.

 

Ethernet

I have Gigabyte AX370 Aorus Gaming K5 AM4 Motherboard which has Inteli211 Gigabit ethernet.    I got it working by adding AppleIGB.kext (attached).

I also have a Gigabyte AB350 Gaming with Realtec8111 which also works by adding the Realtec8111kext.  

 

WiFi

I have been using a TPLink N900 WIFi card for wireless it has worked well.    I just tested My BCM 4360 Dual Band wifi card w/ bluetooth it works as well (wi-fi part at least).

 

Bluetooth

I have a IOGear Bluetooth USB dongle that has worked for every other Mac or Hack I've tried it with but it won't work or list at all.    Also, my BCM 4360 has bluetooth built in but does not register or work.  

  

Does anyone have a working bluetooth solution for their AMD builds?      I'm 0 for 2 on Bluetooth.

 

Graphics Cards

 

Nvidia

Nvidia GT 210 1gb DDR3 EVGA, Nvidia GT710 2gb MSI, Nvidia 8400GS EVGA.    All of these worked with nv_disable=1 and after initial configuration they worked without nv_disable=1.    My purpose for these cards is to supply a IGPU or internal graphics (CPU graphics) type of solution to run my AMD RX 4XX series cards.

 

AMD

AMD XFX RX 480 reference 8GB 1266-1288MHz.  Runs good but performance is lower using Nvidia helper cards than with my Pentiuum internal graphics (Skylake IGPU is even better).        

 

AMD GIGABYTE RX 460 4gb (no 6 pin power).      

 

AMD Sapphire R7 265 2gb.   AKA R9 270-270X.    Finally got it working with acceleration, at first I replaced the kexts using the R9 270 kext fix provided earlier but I got black screen at boot.   I replaced the kexts to original form and used the Nvidia gt210 and R7 265 together and did not use nv_disable=1 and noticed the card was listed as HD 7xxx but it still didn't have acceleration.    I tried it again without the Nvidia GT210 and the same black screen issue.    I connected a DVI adapter to VGA along with the HDMI and booted successfully.    I removed the DVI adapter and used only HDMI and got black screen again.   Very strange but now it works well as long as I have DVI and HDMI ports connected.     I have metal 30 bit color.

 

post-1753549-0-64540800-1494640202_thumb.png

post-1753549-0-44666400-1494640239_thumb.png

post-1753549-0-68549100-1494640259_thumb.png

Share this post


Link to post
Share on other sites

Ok to sum up so far, the new Kernel and other files work great!    I cannot get the new boot test zip to boot correctly      Using the original Boot and the new kernel and other files has allowed me to overclock my Ryzen 7 1700 to 3800 MHz with stability.    3900MHz crashes at boot up, I have stock fan system.

 

With original boot file I need to add busratio=(38 or whatever my CPU bios setting is) or I get the 1/2 performance or frequency issue.  see pics.     Notice the RX 480 compute benchmarks as well.   It affects both the CPU and Graphics cards the same way, 1/2 performance level.

 

machdep.tsc.frequency: 3800118979

GigamaxxRyzenSierra2s-MacBook:~ gigamaxxryzensierra2$

May I know the version or date created by Bronya for the original Boot you mentioned here ?

Is it the boot_rc2_ryzen ? or boot_beta ?

Share this post


Link to post
Share on other sites

May I know the version or date created by Bronya for the original Boot you mentioned here ?

Is it the boot_rc2_ryzen ? or boot_beta ?

 

Its the original from Mavericks.   See attachment.

boot.zip

Share this post


Link to post
Share on other sites

Ok to sum up so far, the new Kernel and other files work great!    I cannot get the new boot test zip to boot correctly      Using the original Boot and the new kernel and other files has allowed me to overclock my Ryzen 7 1700 to 3800 MHz with stability.    3900MHz crashes at boot up, I have stock fan system.

 

With original boot file I need to add busratio=(38 or whatever my CPU bios setting is) or I get the 1/2 performance or frequency issue.  see pics.     Notice the RX 480 compute benchmarks as well.   It affects both the CPU and Graphics cards the same way, 1/2 performance level.

 

machdep.tsc.frequency: 3800118979

GigamaxxRyzenSierra2s-MacBook:~ gigamaxxryzensierra2$

Thanks all of you for help me a lot !

I got a little different solution to fix my previous issues:

BIOS setting: 100.60000 x 34 (=3420 Mhz)

Boot: Bronya Boot (Chameleon 2.3svn (svn-r2667 Bronya) [2017-05-07 04:40:10])

(booted by 2017-04-27 version will get lower test score in Cinebench R15)

Boot Args: dart=0 colors=32 kext-dev-mode=1 -v npci=0x3000 PCIRootUID=1 busratio=35

Kernel: [Darwin Kernel Version 16.5.0: воскресенье,  7 мая 2017 г. 19:48:57 (MSK); root:xnu-3789.51.2/BUILD/obj/RELEASE_X86_64]

Timer runs within tolerable difference from actually normal reference (about secs slower)

Performance is the best I have got up to now !

Stability is very very good !

The only bug is this new kernel always slow down around busy timeout related to AppleACPICPU which means longer time to login desktop during booting.

1700X-3420Mhz.txt

post-70188-0-43235900-1494210810_thumb.png

post-70188-0-86617400-1494210911_thumb.png

Edited by jsl

Share this post


Link to post
Share on other sites

Gigamaxx, if use boot_beta  , gets problem ? ))

Yes, it is shut down error. I will try it again a little later tonight and report back to you if I can get it to work. I saw a El Capitan error in the message.

Share this post


Link to post
Share on other sites

Gigamaxx, if use boot_beta  , gets problem ? ))

This beta boot got black screen immediately and hanged for Ryzen 1700X hackintosh.

I think your Boot on 2017-05-07 working well now for Ryzen 1700X hackintosh.

Please update your Ryzen kernels for 10.11.6, 10.10.5, and 10.9.5 to fix the same issues at 10.12.4 that will be great !

Share this post


Link to post
Share on other sites

Hi Bronya,

 

I am testing your new kernel as well, it restarts just before desktop login screen.

 

Keep up your amazing work!

Share this post


Link to post
Share on other sites

Jsl , really ??? My friend speak that this new boot beta works fine and best ! This name CPU same how that your name CPU !

Unfortunately three testers (Gigamaxx, Martimar, & me) all got unfavored result: shutdown, reboot, or hang at black screen.(Post# 353, 354 & 356)

But your newest Ryzen kernel is the best for Ryzen hackintosh at 10.12.4, that is why I am asking you update the other kernels at 10.11.6, 10.10.5, & 10.9.5 to fix the same issues I have reported before.

Your new kernel have solved all of previous issues except

1. Timer is a little bit slow than timer.apple.com

2. Booting time is a little bit long, esp. slow down around busy timeout(0) 60 sec, AppleACPICPU ........ during booting.

The timer issue can be fixed by BIOS setting changed to 3800 Mhz (=100.0000 x 38)

Your newest kernel can get correct machdep.tsc.frequency and get better testing scores than 3420 or 3500 Mhz by Cinebench R15.

Ths is the first time I got Cinebench R15 CPU testing score in Mac OS X was greater than it in Windows with the same hardware.

post-70188-0-31673200-1494241105_thumb.jpeg

1700X-3800Mhz.txt

post-70188-0-57874800-1494242495_thumb.png

post-70188-0-28159800-1494243688_thumb.png

Share this post


Link to post
Share on other sites

Unfortunately I cannot get proper frequency results with the new rc4 kernel, I will do more tests. The problem is that I always get a lower benchmarks scores compared to Win (1700CB) - Mac (about1500CB, never hit 1600) (same settings in bios).

Of course I adjusted the busratio=x according to my nominal cpu freq (eg. 38 for 3800 - 36 for 3600, etc.)

 

No way in my test to boot with new boot "test" file. I got the initial information about cpu , my system, etc and than just black screen.

 

Should be very interesting to share/make some FAQ for optimal bios settings for Ryzen hacks so far (eg. do you set amd firmware for cpu? or just legacy? cpu pm settings (c-states) to auto?S4-S5 state on-off? ...)

 

@Bronya

As far as I am aware of..there's no official 17h BKDG yet but you may find some below documents useful :)

Share this post


Link to post
Share on other sites

Unfortunately I cannot get proper frequency results with the new rc4 kernel, I will do more tests. The problem is that I always get a lower benchmarks scores compared to Win (1700CB) - Mac (about1500CB, never hit 1600) (same settings in bios).

Of course I adjusted the busratio=x according to my nominal cpu freq (eg. 38 for 3800 - 36 for 3600, etc.)

 

No way in my test to boot with new boot "test" file. I got the initial information about cpu , my system, etc and than just black screen.

 

Should be very interesting to share/make some FAQ for optimal bios settings for Ryzen hacks so far (eg. do you set amd firmware for cpu? or just legacy? cpu pm settings (c-states) to auto?S4-S5 state on-off? ...)

 

@Bronya

As far as I am aware of..there's no official 17h BKDG yet but you may find some below documents useful :)

 

Have you tried to down-clock or under clock your ram? I'm running 2400 and there are issues with the AM4 boards and bios for unsupported ram in the upper frequencies. Maybe if you can set it to 2400MHz it may be worth a try. I know it should be unrelated but maybe OS Sierra doesn't like your frequency settings.

Share this post


Link to post
Share on other sites

Have you tried to down-clock or under clock your ram? I'm running 2400 and there are issues with the AM4 boards and bios for unsupported ram in the upper frequencies. Maybe if you can set it to 2400MHz it may be worth a try. I know it should be unrelated but maybe OS Sierra doesn't like your frequency settings.

i have a kernel_task process that slow down my system and explain the low cb score. I have to understand why. I'll try to apply new kernel again.

Share this post


Link to post
Share on other sites

i have a kernel_task process that slow down my system and explain the low cb score. I have to understand why. I'll try to apply new kernel again.

Bios settings for my Gigabyte boards, maybe a new Mobo would solve the the issue?

 

Serial port "Super IO configuration" =Disabled

Network stack =Enabled

HPET =Enabled, and now Disabled. Try both I had KP issues and then Disabled it and now it boots again..

Wake on LAN =Disabled

EHCI Handoff = Enabled

XHCI Handoff = Enabled

ErP = Disabled

Windows configuration = Other OS

 

I gave up on my Asus boards, yeah I returned the first for locked bios, trying to disable CSM bricked the bios and nothing worked to reset, did CMOS jumper, pulled battery and repeated, pulled all components and powered up. Nothing got me back to bios menu to reset values. It happened to the second replacement board too so I swapped it out for a Gigabyte AX370 which has most of the normal Hackintosh switch off capabilities, and because the Gigabyte Gaming AB350 worked so well. Others have had success with Asus boards so this is a very strange circumstance. Maybe it's in the bios settings, maybe the bios itself needs to be reflashed, can you exchange or trade in your mobo?

Share this post


Link to post
Share on other sites

Bios settings for my Gigabyte boards, maybe a new Mobo would solve the the issue?

 

Serial port "Super IO configuration" =Disabled

Network stack =Enabled

HPET =Enabled, and now Disabled. Try both I had KP issues and then Disabled it and now it boots again..

Wake on LAN =Disabled

EHCI Handoff = Enabled

XHCI Handoff = Enabled

ErP = Disabled

Windows configuration = Other OS

 

I gave up on my Asus boards, yeah I returned the first for locked bios, trying to disable CSM bricked the bios and nothing worked to reset, did CMOS jumper, pulled battery and repeated, pulled all components and powered up. Nothing got me back to bios menu to reset values. It happened to the second replacement board too so I swapped it out for a Gigabyte AX370 which has most of the normal Hackintosh switch off capabilities, and because the Gigabyte Gaming AB350 worked so well. Others have had success with Asus boards so this is a very strange circumstance. Maybe it's in the bios settings, maybe the bios itself needs to be reflashed, can you exchange or trade in your mobo?

Thanks for sharing. We have almost same settings. I solved the performance issue re-appling the kernel e fixing fsck the os volume.

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.

×