Jump to content

Leoyzen

Members
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Leoyzen

  1. Finally get native Discrete Card Power Manager works....Will see if there is any problems.

    Fan speed finally get spins and works....Let's see if there any performance gains.

     

    Edit:

    After all, we finally get a nearly bare metal performance, I'm very happy with that.

    I will go on vocation for about 2 weeks.After that I will make a turtorial about all these days works. TO BE CONTINUE!

     

    Edit:

    The attachment is my opencore efi qcow2 image, works properly both mojave and catalina.

    All you have to do is make sure your graphics is under ACPI S08 and make sure SMBIos changes to yours.

    If not under S08, you have to modify the SSDT-1.aml to your graphics location.

    Have fun!

    opencore.release.qcow2.zip

    image.thumb.png.2a6cbf8d929b0ace111a903419d49401.png

    image.thumb.png.f90906b5a6de07897b4093782d81d274.png

    image.thumb.png.8a0621c76fb32de0849a379d8f7db825.png

    image.thumb.png.f49f8aae2e579e68994fe39089d88223.png

    image.thumb.png.7d9e1024c5adcfa9ea9135f6c88d9a88.png

    image.thumb.png.1a34e5c73f27dd1d5f11d76d8af644e1.png

    image.thumb.png.26c64fd44757797af8700666bf084536.png

    • Thanks 1
  2. 5 hours ago, Harrywong said:

    Hi Leoyzen,

     

    Could you help elaborate what you did to make videoproc showing GPU has hardware acceleration for Mojave?

    Is it because the SIMBIOS that you are using, or the patches, or the fact that you are not using any kexts?

     

    Thanks!

    I mention before, please to that post. Or using my clover.qcow2 to see if it works(maybe you will get HW acceralation OOB)

     

    1. smbios is definately import for those who want GPU acceralation works. For Hackintosh VM (which don't have iGPU), the MacPro7,1 and iMacPro1,1 is best choices.
    2. you need clover patch to avoid black screen for amd graphics(see the post before)
    3. you need select "Add DTGP" and "Fix dispaly" to make sure you graphics is under GFX0 position of ACPI, this will make HW Acceralation happened.
      1. WEG won't work fine in VM, because the ACPI is different compared to Native MB.
      2. Check you graphic position using IORegistryExplorer
      3. If not under GFX0, the HEVC will not work.
    4. If something wrong, then Lilu and WEG is needed.
    7 hours ago, david279 said:

    Can I get a look at your open core efi? Been wanting to try it out but not many guides on it.

    Yeah, I'm not familar to opencore too and my efi is not a final working version, so I don't want posting it here to avoid misleading someone.

    16 hours ago, david279 said:

    Mojave supplemental update today left me with no display. No matter the smbios. VM boots all the way up just does not recogize the display. Moved on to my Catalina VM for good it seems.

    @david279I have no issues upgrading to the latest Mojave, everything works fine for me.

  3. I swiched to opencore instead of clover, there is something interesting:

    1. the virtio still need to hot-plug, so the fault is not clovers and there is definately something differences between hotplug and pre-defined.
    2. There is no more need of using Penryn, not even New Generation Intel CPU Model can be used but also host passthrough works! So maybe it's interesting for those who use host-passthrough and amd-vallina patches to gain some performance.
      1. Topology still not work, I don't want wasting my time on this anymore.You have to remove qemu topology.
    3. there is no patches compare to clover "FixDisplay" so to get graphics work properly I have to use ssdt, see here
    4. according to here, there is definately something we can do to make cpu/gpu xcpm work, will dig in later.

     

    Until now, everything works fine for me, so maybe I will use opencore instead of clover for now.

     

    image.thumb.png.b4b7a821a2a1f2214eff6374e7821f6e.png

  4. I found that it is clover which breaks vmxnet3 and virtio-net, maybe during clover devices initializing.

    After hotplug the ethernet devices after clover initialization, I've got a much better throughput performance:

    1. virtio-net works(works properly) and get 20Gb/s+ performance(before won't work, osx can't get correct mac address after clover handled the devices)

    2. vmxnet3 works properly and get 4Gb/s+ performance (before only 100Mb/s+ and quiet buggy)

     

    I will try to find the specific issues where the clover break. Maybe we are closed to get a much more efficient ethernet option which works property

     

    Steps to make virtio-net work:

    1. do not add virtio-net in vm xnl

    2. boot vm, when in clover boot selection section, go to 3

    3. [IMPORTANT] virsh attach-device --live Catalina /boot/config/ethernet-virtio.xml

    4. [IMPORTANT] add clover boot args: keepsyms=1 debug=0x100

     

    the ethernet-virtio.xml looks like this:

    <interface type='bridge'>
      <mac address='52:54:00:d6:ac:37'/>
      <source bridge='br0.100'/>
      <model type='virtio'/>
    </interface>

     

    • Like 1
    • Thanks 1
  5. 1 hour ago, ghost82 said:

    Very strange for the fan and memory, there should be something wrong..is it with all OSXs you tried or only with catalina?

    Cannot be a feature of the rx580 that spins the fan until some load is applied (however 70 °C are too much in my opinion for the fan to begin to spin..)?I read somewhere that the rx580 has a decent cooler; did you try it with a windows system?Does the fan spin at startup of your workstation (not the vm)?

    Did you notice problems for the GPU when istat reports the memory is near full?If you are not experiencing any problem it could worth a try to try another app to monitor the memory (I had luck with HWSensors-3_r240 and by installing some kexts (included in the package)).

     

    Sorry, but I'm reading 20k not 200k for the opencl! mmmm.....

    Good to know for the virtIO network! Thank you, I will try to investigate more about these "issues".

    1. yeah, it is the same whether mojave or catalina, it always get full

    2. my grahpics is Sapphire RX460 but I flashed Rx560 bios(I checked the memory manufacture)

    3. I'm not facing any problem but the degree is high and the memory seems something wrong for me.

    4. I will try other sensors to see any difference. Because I've hear somewhere that after mojave the graphic PM ONLY works with CPU PM (X86PlatformPlugin and etc), which we won't have. So I guess maybe something related.

  6. @ghost82 My RX580 get 22k+ score so your opencl score definately incorrect(maybe nvidia webdirver related, I'm not sure).

    image.thumb.png.bf2caeff779ba0595717419297a88ddd.png

    image.thumb.png.e2fdfd0135514788387a3c3c9f2a7ff8.png

    My GPU memory always get full and fan not spin up untils get 70+ degrees, I don't know if it pm related issues or bios related even AMD related....

     

     

    I've got VirtIO network work in Catalina and finally get 20Gb+/s network in Hackintosh VM, awesome!

    Edit: but still unstable for daily use, it become buggy when reboot .... I should find a way to make it work.

    image.thumb.png.1f5e541bc00606082a83ab9cc99af19b.png

     

    • Thanks 1
  7. @ghost82 I use iStats Menu to monitor graphic die/mem frequency and mem usage, and manually monitor the fan by my eyes =0=

     

    @david279 I face the same problem before when installing catalina using iMacPro1,1 then I switched to MacPro7,1 and it works. It is sucks if as you said the newest update got the same problem. I have no idea what the error is, seems some cpu feature check?May need some patch to make it work.

    The full error log, seems mce support broken?

    image.thumb.png.998f9470e3903f575a757fd7b2c252ca.png

     

    2019.09.24 20:41

    I found the similar issues from here, so maybe use latest Lilu and CPUFriend can avoid this panic. I will try later and report back. @david279

     

    2019.09.24 22:33

    Lilu and CPUFriend not work as expected, I dont familar with Lilu/CPUFriend, so maybe someone test again and give some feedback.

    iMacPro1,1 and MacPro7,1 are important for those who use hackintosh in VM and want to get native GPU HW acceralation.

     

    2019.09.24 23:38

    I've found a solution to disable AppleIntelMCEReporter when using iMacPro1,1 or MacPro7,1 by using the kext from here.

    You can download the kext from attachment then unzip the kext into clover/kext/other folder then reboot

     

    MCEReporterDisabler.kext.zip

    • Thanks 1
  8. On 9/21/2019 at 4:51 PM, ghost82 said:

    Tell me how to test, I'm not so expert

    1. gpu fan works properly? my gpu fan only runs when get 70C
    2. gpu memory works properly? my gpu memory alwary get full and never lower down....
    3. gpu benchmark compared to bare metal computer?

     

    BTW, I add cpu features as much as possible, finally I get nearly same score (1200+ singlescore) from my windows. I don't know which feature is more important so I add them all.

    Penryn,vendor=GenuineIntel,+hypervisor,-erms,+invtsc,kvm=on,+topoext,+svm,+invtsc,+fma,+mmxext,+avx,+avx2,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2,+arat,+abm,+3dnowprefetch,+adx,+clflushopt,+cr8legacy,+fsgsbase,+fxsr_opt,+misalignsse,+movbe,+osvw,+pclmuldq,+pdpe1gb,+rdrand,+rdseed,+rdtscp,+sha-ni,+smap,+smep,+svm,+vme,+xgetbv1,+xsave,+xsavec,+ht,+clwb,+umip,+xsaves,+extapic,+ibs,+skinit,+tce,+wdt,+topoext,+perfctr-core,+perfctr-nb,+amd-ssbd,+wbnoinvd,check

    Edit 2019.09.26:

    It is also IMPORTANT to set fakecpuid to get avx2/bmi1/bmi2 etc recognized by MacOS(mention from here).

    You can just set cpu model from Penryn to IvyBridge and remove topology from xml, this works too.

    You can check with "sysctl -a|grep hw" or "sysctl -a|grep cpu" or "sysctl -a|grep avx" to see if the feature correctly recognized.

    It will get better performance (for me, the system boots faster than before).

    image.thumb.png.3c07cceab056632a1fecd790fbd77590.png

    image.thumb.png.6ee574c9ad573ef627f3f11862481e51.png

     

    image.png

    • Like 1
  9. 16 hours ago, phat_cow said:

    I wonder if this can fix my Error code 43 for my gpu passthrough.

    Try and see, maybe work maybe not work, I dont know.

    On 9/21/2019 at 5:28 PM, sturmstar said:

    Today I had time to test the newest Bios which is available for my x470 gigabyte board - still the pci vfio bug bug. 

     

    But then I tried your custom kernel - and with ACS Override downstream enabled - it works like a charm! Thank you so much.

     

    Seems now I depend on your custom kernels until this is fixed from unraid-side - because I don't think there will be any further changes in the bioses...

     

    So - please keep up the good work - and I hope you provide us with these versions until it is not needed anymore.

     

    Thanks again and best regards!

    glad to hear that.

     

    On 8/26/2019 at 7:54 AM, Pducharme said:

    @Leoyzen Would you be able to create a version with the Unraid NVIDIA too ?  so it can be use with both the sensors and the Nvidia Transcoding.

    No, I tried but it seem to complex for me, because there isn't any steps or tutorial to compile the nvidia module. Sorry.

     

     

    BTW, I've built a 5.2.14 kernel lately with those update:

    1. with zenpower build-in, somebody said it is accurate than k10temp
    2. vega reset bug patch from Vega 10 and 12 reset application
    3. navi reset bug patch from Navi Reset Kernel Patch
    4. some ALSA HDA crackled patch for X570 from here and here

    but I don't have neither vega or navi card to test with, so if somebody interested in, let me know.

    Also, ** this kernel may influence by these bug **: 

    I will update when limetech release newest patches until unRaid 6.8+(which use 5.2.x+ kernel).

  10. 18 hours ago, ghost82 said:

    Just an update about MacPro7,1 smbios and gpu passthrough.

    I have gtx titan black which work out of the box (without the need to install additional drivers), but maybe it is necessary to patch AppleGraphicsControl.kext (if you experience a "no-signal" to the monitor after the apple logo).

    I used AGDPFix 1.3 to patch AppleGraphicsControl.kext but this was not enough since /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist doesn't contain any specification for the MacPro7,1 (Board-ID: Mac-27AD2F918AE68F61)

     

    So add this line to the Info.plist in the ConfigMap section:

    
    <key>Mac-27AD2F918AE68F61</key>
    <string>none</string>

    So it looks like:

    
    <dict>
    	<key>Mac-00BE6ED71E35EB86</key>
    	<string>none</string>
    	<key>Mac-031B6874CF7F642A</key>
    	<string>none</string>
    	<key>Mac-27ADBB7B4CEE8E61</key>
    	<string>none</string>
    	<key>Mac-42FD25EABCABB274</key>
    	<string>none</string>
    	<key>Mac-4B7AC7E43945597E</key>
    	<string>none</string>
    	<key>Mac-63001698E7A34814</key>
    	<string>Config3</string>
    	<key>Mac-65CE76090165799A</key>
    	<string>none</string>
    	<key>Mac-77EB7D7DAF985301</key>
    	<string>none</string>
    	<key>Mac-77F17D7DA9285301</key>
    	<string>Config3</string>
    	<key>Mac-7BA5B2D9E42DDD94</key>
    	<string>Config4</string>
    	<key>Mac-81E3E92DD6088272</key>
    	<string>none</string>
    	<key>Mac-AA95B1DDAB278B95</key>
    	<string>Config3</string>
    	<key>Mac-B809C3757DA9BB8D</key>
    	<string>none</string>
    	<key>Mac-BE088AF8C5EB4FA2</key>
    	<string>Config3</string>
    	<key>Mac-C3EC7CD22292981F</key>
    	<string>none</string>
    	<key>Mac-C9CF552659EA9913</key>
    	<string>none</string>
    	<key>Mac-DB15BD556843C820</key>
    	<string>none</string>
    	<key>Mac-F60DEB81FF30ACF6</key>
    	<string>none</string>
    	<key>Mac-FA842E06C61E91C5</key>
    	<string>none</string>
    	<key>Mac-FC02E91DDD3FA6A4</key>
    	<string>none</string>
    	<key>Mac-27AD2F918AE68F61</key>
    	<string>none</string>
    </dict>

    1.png.b37b53180aaba6a90360068669d481ad.png

     

    2.png.d9f60a5a3045ffe17122c51e7d296c1f.png

     

    Do you have metal acceralation support?MacPro 7,1 added in catalina so there is not config in mojave. 

    BTW, why your process shows 'Sconosciuto'?

  11. 1 hour ago, ghost82 said:

    I found out what was the problem with my attempts to update clover without success, I'm sharing it here, maybe it will be of some help for other people.

    My problem was that clover hanged at "scan entries": thanks to Leoyzen who shared its working EFI folder I could find out that my EFI folder structure was wrong.

    To update clover I always downloaded the iso image from sourceforge, made my modifications, mounted the EFI folder inside osx and copied the new updated efi folder.

    Somewhere in the past the folder structure of clover changed, more into details folder CLOVER/drivers64UEFI changed into CLOVER/drivers/UEFI.

    So I maintained the new folder structure inside my efi folder (CLOVER/drivers/UEFI) : the error is here, CLOVER/drivers/UEFI is not the correct structure, CLOVER/drivers64UEFI is the correct one!

    The scan entries error was because no driver was loaded and clover couldn't find any hd to boot from! With the new folder structure I'm able to update clover without problems; v.5070 works for me on mojave.

     

    Thanks again Leoyzen!

    You can just upgrade/replace the two efi files (EFI/CLOVER/CLOVERX64.efi and EFI/BOOT/BOOTX64.efi, they are the same file) which download from github instead of install whole directory by pkg or iso.

    • Like 1
    • Thanks 1
  12. On 9/17/2019 at 2:39 PM, chatman64 said:

    Hello everybody, I have a big problem with a mac OS vm. I followed the instructions of SpaceInvaderOne and successfully installed mojave and high sirra. I noticed that the vm's are very sluggish.

     

    I have only the problem that I get in geekbench singlecore only 850 points and multicore 5000.

    I have from my Threadripper 1950x @ 3.8 Ghz 8 cores (isolated) and passed.

    of course I have <qemu: arg value = 'Penryn, vendor = GenuineIntel, kvm = on, + invtsc, + avx, + avx2, + aes, + xsave, + xsaveopt, vmware-cpuid-freq = on,' /> added.

     

    I have at times passed through an AMD RX580, which works well but makes no difference. I have tested more without a GPU.

    System:

    AMD 1950x @ 3.8 Ghz

    64 GB Ram @ 3200 CL 14

    Asrock Taichi Bios P3.50 and 3.60

    Unraid 6.7.2

     

    Does somebody has any idea? My Windows 10 Vm's with GPU and USB passtrought run for 2 years without any problems and in full speed.

    It is strange, I'm using 3700x and passthrough 4 core 4 thread into the VM, and I've got 1100+ single core and 9000+ multicore score.

    Does "Meta support" enables for you ? You should find the information in "about my mac ---> System Infomation ---> Grahpics" .

    It may cause the performance problem.

  13. Here U are, those files attached are my clover files for Catalina and Mojave as nearly bare metal VM, both works for VNC or Real Monitor with Graphics passthrough:

    Something should notice:

    * Catalina: MacPro7,1(which iMacPro1,1 not works for me it get reboot cyclely with "x86_topo_lock error")

    * Mojave: iMacPro1,1

    ** It do not need any kext to make function work **

    Both files contains OOB patch (for AMD RX560/570/580 patch to make hardware acceralation(HEVC & H264) work also to avoid black screen (make graphics in acpi gfx0 position should avoid this)) and Clover as new as possible (v5058, the latest wont boot for me).

    Remember you should change SMBios UUID to avoid conflict.

    Using this then you can get an OOB Hackintosh(Mojave or Catalona) works like charm.

    On 9/19/2019 at 1:33 AM, david279 said:

    @Leoyzen How did you get the iMacPro smbios to work? The one time i tried it i got nothing but black screens. Is the problem WEG or Clover? Im still running a clover in 4700 versions because of unRAID compatibility issues with never versions.

    As I explained above, you should take some patches from clover to make iMacPro1,1 work for Mojave, also MacPro7,1 for Catalina(check my clover.plist).

    mojave.clover.qcow2 catalina.clover.qcow2

     

    Edit:

    some steps to make rx560/570/580 works natively in mojave and catalina to support hevc/h264 hardware acceraltion without IGPU:

    1. change your SMBios to iMacPro1,1(mojave) or MacPro7,1(Catalina)
    2. select ACPI --> Add DTGP in clover:add some method in acpi for later use.
    3. select ACPI --> FixDisplay:  in order to change your grahpic to gfx0
    4. select KernalAndDriverPathes --> Black Screen Patch Vega 56/64, RX580 etc. (c)Pike R. Alpha: fix blackscreen issues
    5. (Optional)If not work, then add LILU/WEG to you kexts directory.

     

    Here are some screen shots about my VM:

    image.thumb.png.27e8e039b717ab993755fcaf30d862fe.png

    Geekbench 5 with 4 cores/ 8 threads of my 3700x:

    image.thumb.png.c968fad74abb0f5474d8a62848493465.png

    • Like 3
  14. On 8/17/2019 at 2:24 AM, david279 said:

    I use dP with my rx 560 and get no sound from it. The roccat juke just works..plugged into a pcie usb 3.1 card that i pass though to the vm.

     

    On 8/16/2019 at 9:17 PM, J.Nerdy said:

    same sound issue passing through an rx570

     

     

    On 8/12/2019 at 10:25 PM, iilied said:

    my second high sierra install went smooth, except for sound through gtx 970 hdmi. it's passed through the vm template. can't get sound recognized whatsoever, even tried AppleHDA HDMI Audio [Guide]. have no idea what i'm doing wrong! would appreciate if anyone could point me to a fix or a direction.

     

    also, is it normal for benjamin dobell's script, run on high sierra, to show "could not find a release for your os" for a gtx 970 when installing graphics driver? the card is recognized okay, but how do i know if it's not just patched or if there's any acceleration?

    For those who have problem with AMD grahpics in hackintosh (DP/HDMI sound not work, reset bug or etc):

    I've spent days to get my rx560 works well in Mojave(iMacPro1,1)/Catalina(MacPro7,1) both with metal support(also the hevc and h264 acceralation) and DP/HDMI sound, even without Lilu/WEG/AppleALC. It should work properly for  RX570/RX580 too(other cards such as nvidia and vms should doing thos too to get rid of problems).

    You guys have to make sure in vm xml the graphic sound device are in same bus as video but different function.Then the sounds will work OOB.

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x2d' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/domains/mojave/Sapphire.RX560.4096.170419.rom'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x2d' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
    </hostdev>

    like the xml I've post , the video (0000:2d:00) and sound (0000:2d:01) should in same bus "0x01" but different function (video is "0x0" and sound is "0x1").

    The unraid GUI won't do it automaticly(it just split the two functions of the card into multiple difference bus,maybe we can make it enhanment?) so you guys have to mannually edit the xml.

     

    After doing that ,you will find the AMD reset bug hardly appears,the sound works, and hardware acceralation works OOB without any kext, everything works like charm.

     

    Edit:

    I found someone have mentioned before, from here.

    • Like 1
  15. On 8/4/2019 at 3:43 AM, helin0x said:

    Curious to know if the issue affect x570 boards as well, or just x3/470

    with 1003ab bios  MSI x570 ACE has exactly the same problem(AER ERROR),but with kernel patch there is not pci 127 type error for x570.

    There is an update 1003abb bios update that I havent test yet

  16. 15 hours ago, sturmstar said:

    Hi! Do I have to replace the Kernel or is it possible to rename them - and add it to the Unraid startmenu?

     

    Thanks ... never done this before, that's why I'm asking

    First, rename bzimage and bzmodules in /boot to backup the stock kernel;

    Then unzip the archive to /boot/

    Finally reboot your machine.

     

    I try to add an entry in startmenu but I don't know how to specify the bzmodule to load

    • Thanks 1
  17. 2 minutes ago, ken-ji said:

    this would assign an internal IPv6 address unless I am mistaken. containers that are in bridge network mode are connected to an internal bridge that cannot be accessed from outside (ipv4 or ipv6) unless ports are forwarded. you cannot forward ports thru unraid to and ipv6 address unless unraid itself is using ipv6.

    you need to put the container on a custom docker network, which will be exposed to the LAN (as a 1st class memeber of the LAN, responding to ARP etc) and which would allow you to set/gain an ipv6 address, that the router can reach/forward packets too.

     

    Yes, there has to use bridge lan instead of internal bridge.

    The docker has dedilcate ip in your subnet, the router can send packets to the docker.

    This is very usefule for me which I only have dynamic prefix from ISP and I can caculate the IPV6 that specific docker used so I can use DDNS too

  18. You can just add extra parameter in docker config, then docker container can get IPV6 automaticly.

    --mac-address xx:xx:xx:xx:xx:xx --sysctl net.ipv6.conf.all.disable_ipv6=0

    Give container a unique mac-address then container should get a SLACC IPV6 address.

    There is no need to set up ipv6 on Unraid Server

    • Thanks 1
×
×
  • Create New...