Jump to content

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


Sinetek
 Share

774 posts in this topic

Recommended Posts

A suggestion... test-try without any busratio=xx boot variable

Thanks for your kind advice and help.

After booted without busratio=xx there are obvious improvement as below (machdep.tsc.frequency: 1710300079):

1. Timer was not so fast as before, but it's still too fast.

2. Performance was much higher than before (about 50% for CPU at Windows 10, 20~25% for GPU GTX-680 at Windows 10)

3. Stability was also much better now.

I'll try to fix and improve it more, e.g. the performance of CPU & GPU by Cinebench R15 should be much higher than current test values.

Change SMBIOS from iMac14,2 to MacPro6,1 seems no difference of performance in this hackintosh.

suggested that 6 answers ago , but maybe he doesnt want to try it   :fishing:

Before this new boot file I have tried once which got instant reboot.

Because it did not fix my issues, I did not report it.

post-70188-0-62175700-1494151490_thumb.png

post-70188-0-06737300-1494151885_thumb.png

post-70188-0-14143700-1494151898_thumb.png

1700X-default.txt

post-70188-0-17172500-1494160128_thumb.png

  • Like 1
Link to comment
Share on other sites

maybe wrong in kernel ... 

 

This is Strange!    My R5 1500x ran fine by simply using busratio=35.    The R5 1500x has a base frequency of 3.4-3.5 just like the 1700X, this makes no sense to me, my 1500x had no problems using original boot file.

 

JSL, do you have Chameleon backup folder(s)?      If so, the plists in the backup folders may be off-setting or countering the changes made in your main Extra folder for busratio settings.      Check for backup folders and remove the plists and try again.

post-1753549-0-02018800-1494165653_thumb.png

post-1753549-0-60316500-1494191199_thumb.png

  • Like 1
Link to comment
Share on other sites

@Gigamaxx, please check in terminal: sysctl -a  machdep.tsc.frequency 

 

machdep.tsc.frequency: 2900145000

GigamaxxRyzenSierra2s-MacBook:~ gigamaxxryzensierra2$

 

This is on my Risen 7 1700 set in bios to 2900 MHZ.      I returned my 1500X so I can't run it, but it was @ 3500 MHz using Auto CPU frequency settings in Bios.    My Busratio setting was busratio=35 and it ran very well.    I don't think there is anything wrong with the boot file or kernel or I would have had trouble with the 1500X.

post-1753549-0-21131400-1494173471_thumb.png

Link to comment
Share on other sites

OMG !!!

I found mistake for "busratio=", because this busratio support up to 30 ! Don't support by 31 to ...

Wait ... I fix this ...

 

Update:

I fixed !

try this kernel without or with flag busratio= up to 50 :D .

attachicon.gifkernel_ryzen_rc4.zip

)))

I'm getting shutoff, it loads up to login then shuts down. I included all the framework, extensions and kernel files in S/L folders and also in Extra folder. Should I just load the kernel and try again?

 

This is with original boot file. Does this need to be used with the beta kernel(s)?

Link to comment
Share on other sites

I'm getting shutoff, it loads up to login then shuts down. I included all the framework, extensions and kernel files in S/L folders and also in Extra folder. Should I just load the kernel and try again?

 

This is with original boot file. Does this need to be used with the beta kernel(s)?

try flag -s , and then write :

mount -uw / 

fsck -fy 

 

exit 

  • Like 1
Link to comment
Share on other sites

@Gigamaxx I just wanted to congratulate you on your tests  :wink_anim:

Also congratulate @Bronya and all AMD Mods @spakk,  @Shaneee , @AkimoA, @Duran Keeley that do a great job!   :)
  • Like 4
Link to comment
Share on other sites

try flag -s , and then write :

mount -uw /

fsck -fy

 

exit

 

First pic is with -v -x the second photo is with -s and the other commands. The first pic was after removing my wifi card as the first screenshot.

 

I will replace my S/L folder and retry the install of frameworks I only got the merge option on the kernel frameworks loading the other two only had the replace option.

post-1753549-0-45290200-1494181281_thumb.jpg

post-1753549-0-02196300-1494181295_thumb.jpg

Link to comment
Share on other sites

I have idea . But it only test , no available  bkdg for family 17h .

But i know this bits for ryzen ...  

try boot ! How show cpu_mult and fsb in boot debug ?! :))

 

boot_ryzen_test1.zip


Gigamaxx , you need repair permissions ! 

  • Like 1
Link to comment
Share on other sites

I have idea . But it only test , no available  bkdg for family 17h .

But i know this bits for ryzen ...  

try boot ! How show cpu_mult and fsb in boot debug ?! :))

 

attachicon.gifboot_ryzen_test1.zip

Gigamaxx , you need repair permissions !

After replacing my files and then reapplying the new fixes it booted no problem, I installed wifi card and ran a Geekbench @ 3.6 GHz.   It works!   Yes check out the multi thread core.   Now for 37-39 GHz tests.   This is with original boot file.

 

Once again, Bronya you da man!

post-1753549-0-54735700-1494183586_thumb.png

  • Like 2
Link to comment
Share on other sites

After replacing my files and then reapplying the new fixes it booted no problem, I installed wifi card and ran a Geekbench @ 3.6 GHz.   It works!   Yes check out the multi thread core.   Now for 37-39 GHz tests.   This is with original boot file.

 

Once again, Bronya you da man!

boot_test1 works ? :)))

I have it, if you want bkdg for family 17h and more... can send it to you :)

Really only bkdg for family 17h have ?

Link to comment
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

  • Like 5
Link to comment
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

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...