Jump to content

Ploddles

Members
  • Posts

    389
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Ploddles

  1. Yeah, finally got bare metal Catalina installed. 😀

     

    Turns out that it didn’t like having 2 graphics cards in the machine during install - with just the one it flew along nicely. After the install I put the other one back in just to check but it didn’t miss a heart beat. The 2nd card was an Nvidia 1050, which I know can’t be used in Catalina but was installed for Proxmox when I was trying to get that to work and passing through the RX580.

     

    i have the usual restart issue that everyone else seems to have,  but have now seen the other SSTDs that @iGPU has shared and also a new config file that works with Catalina and Big Sur. I will have a play with those later in the week. I did try an install of BS (with my Catalina config file) but that just hangs after the first reboot.

     

    If anybody wants my IOReg file to look at to compare between different motherboards just let me know, I have the Gigabyte Xtreme.

     

    There are a lot of files floating about in this thread and it can be hard to keep an eye on what is what and remember to update as things are discovered and files are modified. Would it be a good idea to have somewhere, maybe a sticky post or section in the downloads section, where new/updated files can be upload/downloaded to save everybody jumping  around looking for things and trying to remember what each one if for, eg common SSDTs for all boards and then those specific to MSI, Gigabyte etc etc? Just an idea but could be a pain to administer depending on how it is done.

     

    Anyway, thanks for your help guys, glad to be finally up and running. Now to try the Adobe fixes later this evening.

    • Like 1
  2. 20 hours ago, tsongz said:

    @Ploddles - so during my time trying to tweak RTC settings, I ran into almost all the standard, default, issues, even when trying to boot off of a working EFI (USB). What the root cause of the issue was for me, was the BIOS settings (which gets reset when I have to clear CMOS due to hard shutdowns). And this was after having a working Installation.

     

    Here's a few things to try:

    - Clear your CMOS (if you have the button option on your mobo, save your BIOS settings on a USB, or as profile, unplug from wall, clear it with the button, then load it or manually check them again)

    - CSM Disabled/4G Encoding Enabled (4G Encoding was disabled which caused my PCI error)

    - Clear/Reset NVRAM - reboot, before attempting reinstall. Some cache of it may be left behind from previous installs? I can't verify this.

    - If you haven't already, do a full disk erase before installing

     

      Reveal hidden contents

     

    RTC Attempt

     

    What I tried that didn't work (all in one go, bad idea, I know): 

    - Enabling RTCMemoryFixup.kext

    - Adding -rtcfx_exclude=80-FF in boot-args

    - Enabling AppleRtcMemory

    - Adding "56 57" to NVRAM > rtc-blacklist

     

    Adobe Fixup Script

     

    Run Step 1 and then Step 2 below in Terminal. Last Script is in case something breaks

     

    Step 1

    
    
    for file in MMXCore FastCore TextModel libiomp5.dylib; do
        find /Applications/Adobe* -type f -name $file | while read -r FILE; do
            sudo -v
            echo "found $FILE"
            [[ ! -f ${FILE}.back ]] && sudo cp -f $FILE ${FILE}.back || sudo cp -f ${FILE}.back $FILE
            echo $FILE | grep libiomp5 >/dev/null
            if [[ $? == 0 ]]; then
                dir=$(dirname "$FILE")
                [[ ! -f ${HOME}/libiomp5.dylib ]] && cd $HOME && curl -sO https://excellmedia.dl.sourceforge.net/project/badgui2/libs/mac64/libiomp5.dylib
                echo -n "replacing " && sudo cp -vf ${HOME}/libiomp5.dylib $dir && echo
                rm -f ${HOME}/libiomp5.dylib
                continue
            fi
            echo $FILE | grep TextModel >/dev/null
            [[ $? == 0 ]] && echo "emptying $FILE" && sudo echo -n >$FILE && continue
            echo "patching $FILE \n"
            sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' $FILE
            sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x4A\x00|\x90\x90\x90\x90\x56\xE8\x1A\x00|sg' $FILE
        done
    done

     

    Step 2

     

    
    
    [ ! -d $HOME/Library/LaunchAgents ] && mkdir $HOME/Library/LaunchAgents
    AGENT=$HOME/Library/LaunchAgents/environment.plist
    sysctl -n machdep.cpu.brand_string | grep Ryzen >/dev/null 2>&1
    x=$(echo $(($? != 0 ? 5 : 4)))
    cat >$AGENT <<EOF
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>Label</key>
        <string>mkl-debug</string>
        <key>ProgramArguments</key>
        <array>
        <string>sh</string>
        <string>-c</string>
            <string>launchctl setenv MKL_DEBUG_CPU_TYPE $x;</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
    </dict>
    </plist>
    EOF
    launchctl load ${AGENT} >/dev/null 2>&1
    launchctl start ${AGENT} >/dev/null 2>&1

    # Reboot after this step and it should work now. Sigh. Have to hard reboot unfortunately for me.


    ## Revert the previous script in case you brick something

    
    
    for file in MMXCore FastCore TextModel libiomp5.dylib; do
        find /Applications/Adobe* -type f -name $file | while read -r FILE; do
            sudo -v
            [[ -f ${FILE}.back ]] && echo "found backup $FILE" && sudo mv -f ${FILE}.back $FILE
        done
    done
    
    AGENT=$HOME/Library/LaunchAgents/environment.plist
    if [[ -f $AGENT ]]; then
        launchctl unload ${AGENT} >/dev/null 2>&1
        launchctl stop ${AGENT} >/dev/null 2>&1
        rm -rf $AGENT
    fi

    Script to Change your CPU Name in About this Mac for Cosmetic Reasons. Copy and paste this into a new file, cpu_name.sh - then run it with

    sh cpu_name.sh. In case you want to have a different name, you can add it under the if block as a cpu_name="My Hackintosh" which will override the original variable. Should show after reboot. I set a custom name because "Ryzen" made it too long to display the full name.

     

    image.png.a55bf05455ff3721c044305997718e42.png

     

    
    
    #!/bin/bash
    
    locale=`defaults read -g AppleLocale | cut -c 1-2`
    cpu_name=`sysctl -n machdep.cpu.brand_string | sed -e 's/ *$//'`
    target="/System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/Resources/${locale}.lproj/AppleSystemInfo.strings"
    
    if [ $# -ge 1 ]; then
      cpu_name=$1
    fi
    
    echo "Locale: $locale"
    echo "New Name: $cpu_name"
    read -p "ok? (y/n): " yn
    
    case $yn in
      [yY])
        sudo mount -uw / &&
        sudo cp $target $target.`date +%Y%m%d%H%M` &&
        sudo plutil -replace IntelSpeedAndTypeFormat -string "%1\$@ $cpu_name" $target
        echo "Finished."
        ;;
      *) echo "Aborted."
    esac

     

    Some benchmarks for @fabiosun

     

      Reveal hidden contents

     

     

    image.png.6144b381a12efdfe13c4ddd39613d668.png

    image.png.31dff191fbc11b0eec38860f094025c3.png

     

     

     

     

     

    Thanks for replying.

     

    I have reset CMOS and NVRAM a number of times and have CSM Disabled and Above 4G Encoding Enabled.

     

    When I get back, I'll try removing all the other NVMes and SSD/HDDs and see how it goes.

  3. 41 minutes ago, TheDantee said:

    @meina222 can you please share your EFI Folder with me we have very similar setup but mine gets stuck near the end of bar with the apple logo on loading the installer and then restarts my PC

     

    Catalina, Mojave and Big Sur will not run with a Nvidia 1080 graphics card. You need an older supported Nvidia card or an AMD one. @meina222's EFI is a few pages back, you can download it from there.

  4. Not getting anywhere fast here  I changed to a Catalina install rather than Big Sur. I am now getting “can’t perform kext scan: no kext summary”

     

    and then

     

    ”** in memory panic stackshot succeeded ** bytes traced 4064 ••”


    When I try with BS again I am now getting the same message and I don’t reach the [Configuring PCI] that I got to yesterday. 
     

    I am away for the weekend but will try again next week  Aaaarrrrrrggggg 
     

  5. 17 minutes ago, iGPU said:

     

    This might work. You'll need to fill-in SN parts. I also left kexts activated for BT/WiFi; turn-off it you don't want them. This is using compilation from yesterday for OC v061. Patches were from fabiosun's post above.

    EFI-v061-08-09-20-BareMetal-public.zip 6.84 MB · 2 downloads

     

    Much appreciated. Thanks. As soon as the weather here in the UK cools down a bit I'll start my 'playing'. I have a different MB (Gigabyte TRX40 Xtreme) to everyone else on this and Fabiosun's Proxmox thread so hopefully I can get it working.

     

  6. This looks exciting. I haven't managed to get Proxmox working fully/correctly yet. I can create the Hack, use the Proxmox Console or VNC or Remote Desktop into macOS but not pass through my RX580 properly. Whenever I do that the Hack either fails to start or if it does I no longer have Console, VNC or RD control - the monitor flashes for a brief second and then displays a message saying no input is being received and goes back to sleep.. I've tried numerous different Proxmox configs but I haven't managed it yet.

     

    I would much prefer to run it as Bare Metal, either Catalina or BS as I am far happier in that environment than Proxmox.

     

    If someone would be willing to upload their full EFI I would be forever thankful. I've tried so many various things under Proxmox I'm pretty sure I've screwed everything up and need a nice fresh one that is known to work well.

     

  7. On 7/19/2020 at 11:26 PM, meina222 said:

    p.s.

    As CCC doesn't copy the MacOS main disk EFI by default, you need to do that manually once only, when happy with your OpenCore config, else it won't boot of course. OC crashes badly if your try to use the NVME as a Time Machine or CCC destination and forget to fix the EFI. Then the only way to boot is to remove the NVME PCI, but that defeats the purpose of using it as a backup, so don't forget this step.

     

    Have a look HERE,  at Step 13 Spoiler. There is a script in there that you can add to your CCC clone job to automatically clone your EFI partition to your CCC disk's EFI. There is a TEST_SWITCH so you can run it without actually copying the files but it outputs a list of what it would copy. Just change the switch to 'N' so that it does the copy if you are happy with the test.

    • +1 1
  8. My motherboard and CPU should be with me next week, so I am looking forward to building my first virtual Hackintosh.

     

    I have got through about half of this thread, so hopefully I will be uptodate by the time I start my build. So much information here, thanks guys, but I will have probably forgotten most of it by the time I am up and running.

     

    I have already downloaded the OC_EFI_Maker to get my OC.ISO built, with the latest kexts etc. but am wondering if I need any SSDTs like I use on my Z390 MB and i9-9900k CPU. I haven't seen any mention of SSDTs so I am guessing that I don't need any or I have to make my own.

     

    A pointer as to where I can get any prebuilt ones, if I need them, would be gratefully appreciated.

     

    Cheers.

  9. 2 hours ago, fabiosun said:

    @Ploddleswelcome 😊

    evaluate well 3960x

    some user said it is difficult to pass all cores in proxmox

    i have no direct experience on this

    witn 3970x I can use all its cores

     

    Thanks for letting me know so quickly. I have now changed my order to the 3970x.

    • Like 1
  10. I am just about to embark on the ThreadRipper/macOS journey. I have bits on order and am awaiting delivery but I have 34 pages of this thread to read first.

     

    I know absolutely nothing about Proxmox so this will be an 'interesting journey' and who knows, by xmas I may have a working (Mac) system 🙂

     

    I have a Gigabyte motherboard and the 3960x on order. Hopefully this will be a good combination for my Hackintosh. My 'old' i9-9900k Hack will be going to my daughter for her university degree work in Digital Animation. Building that has at least educated me a little in hackintoshing. Wish me luck 🙂

     

    • Like 1
    • Cross Finger 2
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.