Jump to content
vlgngrbrdmn

Random Display Freezing, Black Screen on Display Sleep, and Other Issues with Sapphire Radeon RX Vega 64

2 posts in this topic

Recommended Posts

Hey all,

 

This is my first time posting to this forum.

 

Here is my problem: My main issue is random freezing of my display (i.e. cannot move my mouse) and nothing being displayed after my monitors go to sleep (i.e. lock my screen, wait a few minutes, try to move mouse/type on keyboard. My displays wake up but display "no signal"). I have to reboot in order to use my Hackintosh again.

Another issue that I am experiencing is that, every time I reboot my system and login initially, my right and left vertical displays do not display correctly until I turn one of them off and back on again. It is kind of hard to describe what is wrong, but basically the dimensions of the display and the orientation (horizontal vs. vertical) is wrong, and my mouse does not display in the correct place on the screen.

Either way, after some research it looks like this all may be due to my Framebuffer being incorrect. However, I am having a hard time trying to determine whether that is the case and, if so, how to fix it.

I did manually try to add a Framebuffer ("Kamarang") into my config.plist below, however that did not seem to make a difference.

Any help with this would be much appreciated! Also, please let me know if I should upload anymore information.

Currently, My setup consists of 1 Dell U3415w and 2 Dell 2415 monitors in an "H" configuration (both 2415s setup vertically on either side of the U3415W).

This is all being powered by a SAPPHIRE Radeon RX Vega 64 (https://www.newegg.com/Product/Product.aspx?Item=N82E16814202326) with each monitor plugged via a DisplayPort.

I am currently running the latest version of macOS Mojave, 10.14.4.

I am also using the latest version of the Clover boot loader (4920) with the following kexts located in kexts\Other:

  • AppleALC.kext
  • AtherosE2200Ethernet.kext
  • Lilu.kext
  • USBInjectAll.kext
  • VegaTab_64.kext
  • VirtualSMC.kext
  • WhateverGreen.kext

My config.plist file contains the following:

?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>#DisableDrivers</key>
    <array>
        <string>CsmVideoDxe</string>
        <string>VBoxExt4</string>
    </array>
    <key>ACPI</key>
    <dict>
        <key>DSDT</key>
        <dict>
            <key>Fixes</key>
            <dict>
                <key>FixHPET</key>
                <true/>
                <key>FixIPIC</key>
                <true/>
                <key>FixRTC</key>
                <true/>
                <key>FixShutdown</key>
                <true/>
                <key>FixTMR</key>
                <true/>
            </dict>
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>change XHCI to XHC</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    WEhDSQ==
                    </data>
                    <key>Replace</key>
                    <data>
                    WEhDXw==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change XHC1 to XHC</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    WEhDMQ==
                    </data>
                    <key>Replace</key>
                    <data>
                    WEhDXw==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change SAT0 to SATA</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    U0FUMA==
                    </data>
                    <key>Replace</key>
                    <data>
                    U0FUQQ==
                    </data>
                </dict>
            </array>
        </dict>
        <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>DMAR</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>MATS</string>
            </dict>
        </array>
        <key>FixHeaders</key>
        <true/>
        <key>SSDT</key>
        <dict>
            <key>Generate</key>
            <dict>
                <key>PluginType</key>
                <true/>
            </dict>
        </dict>
    </dict>
    <key>Boot</key>
    <dict>
        <key>Arguments</key>
        <string>keepsyms=1 dart=0 debug=0x100 shikigva=40</string>
        <key>DefaultVolume</key>
        <string>LastBootedVolume</string>
        <key>Timeout</key>
        <integer>5</integer>
    </dict>
    <key>BootGraphics</key>
    <dict>
        <key>#DefaultBackgroundColor</key>
        <string>0xF0F0F0</string>
        <key>EFILoginHiDPI</key>
        <integer>1</integer>
        <key>UIScale</key>
        <integer>1</integer>
    </dict>
    <key>CPU</key>
    <dict>
        <key>#BusSpeedkHz</key>
        <integer>133330</integer>
        <key>#FrequencyMHz</key>
        <integer>3140</integer>
        <key>#HWPEnable</key>
        <true/>
        <key>#HWPValue</key>
        <string>0x30002a01</string>
        <key>#QPI</key>
        <integer>4800</integer>
        <key>#SavingMode</key>
        <integer>7</integer>
        <key>#TDP</key>
        <integer>95</integer>
        <key>#TurboDisable</key>
        <true/>
        <key>#Type</key>
        <string>0x0201</string>
        <key>#UseARTFrequency</key>
        <true/>
    </dict>
    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <integer>1</integer>
            <key>ResetHDA</key>
            <true/>
        </dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AAASGQ==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-stolenmem</key>
                <data>
                AAAwAQ==
                </data>
            </dict>
        </dict>
        <key>USB</key>
        <dict>
            <key>FixOwnership</key>
            <true/>
        </dict>
    </dict>
    <key>GUI</key>
    <dict>
        <key>Hide</key>
        <array>
            <string>PREBOOT</string>
        </array>
        <key>Scan</key>
        <dict>
            <key>Entries</key>
            <true/>
            <key>Linux</key>
            <true/>
            <key>Tool</key>
            <true/>
        </dict>
    </dict>
    <key>Graphics</key>
    <dict>
        <key>FBName</key>
        <string>Kamarang</string>
        <key>Inject</key>
        <dict>
            <key>ATI</key>
            <false/>
            <key>Intel</key>
            <false/>
            <key>NVidia</key>
            <false/>
        </dict>
        <key>RadeonDeInit</key>
        <true/>
    </dict>
    <key>KernelAndKextPatches</key>
    <dict>
        <key>KernelPm</key>
        <true/>
        <key>KextsToPatch</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>Port limit increase</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g710////EA==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.12.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                g710////Gw==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Port limit increase (RehabMan)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g32IDw+DpwQAAA==
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.13.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                g32ID5CQkJCQkA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Port limit increase (PMHeart)</string>
                <key>Disabled</key>
                <true/>
                <key>Find</key>
                <data>
                g/sPD4MDBQAA
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.0</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                g/sPkJCQkJCQ
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Port limit increase (Ricky)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g/sPD4OPBAAA
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>MatchOS</key>
                <string>10.14.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                g/sPkJCQkJCQ
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>External Icons Patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                RXh0ZXJuYWw=
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>AppleAHCIPort</string>
                <key>Replace</key>
                <data>
                SW50ZXJuYWw=
                </data>
            </dict>
        </array>
    </dict>
    <key>RtVariables</key>
    <dict>
        <key>BooterConfig</key>
        <string>0x28</string>
        <key>CsrActiveConfig</key>
        <string>0x67</string>
        <key>MLB</key>
        <string>C02601270QXGPF7FB</string>
        <key>ROM</key>
        <string>UseMacAddr0</string>
    </dict>
    <key>SMBIOS</key>
    <dict>
        <key>BoardSerialNumber</key>
        <string>C02601270QXGPF7FB</string>
        <key>ProductName</key>
        <string>iMac17,1</string>
        <key>SerialNumber</key>
        <string>C02R2HZDGG7L</string>
        <key>SmUUID</key>
        <string>91E0E343-A938-4117-BBC7-234EA3ED265E</string>
    </dict>
    <key>SystemParameters</key>
    <dict>
        <key>InjectKexts</key>
        <string>Yes</string>
        <key>InjectSystemID</key>
        <true/>
    </dict>
</dict>
</plist>

Also, for what it is worth, sleep is disabled on my system:

image.png.f4e76c67b02e46c56f0dc7e67b4869cb.png

Again, thank you all for taking time out of your day to help a fellow hackintosher out!

Share this post


Link to post
Share on other sites
Advertisement

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 Coddyx
      Hi,
       
      I followed the AMD OSX Vanilla Guide and managed to successfully build my first hackingtosh.
      Everything works great EXCEPT for my MSI - Radeon RX 580 8 GB GAMING X.
      I ran some benchmarks (and tried World of Warcraft) and I am getting ~50% of the performance I am usually getting in Windows 10.
      Unigine Heaven reports ~950 vs 1750 in Windows and World of Warcraft runs @ 30 fps lowest settings vs 60 fps ultra settings in Windows.
       
      Here are the kexts I am using:
      AppleALC Lilu NullCPUPowerManagement RealtekRTL811 VirtualSMC WhateverGreen  
      I should mention that this is an AMD hackingtosh running on Ryzen 5 1600 3.2 GHz 6-Core Processor.
       
      I read and I completely understand that I should not expect 100% performance. But I believe a 50% drop is out of the ordinary.
       
      If anyone has ideas on what I could try to up the performance it would be greatly appreciated.
       
      Thank you!
       
       
    • By gk12345
      Hi everyone, after lots of attempts i managed to install Mojave 14.4 on my asus zenbook ux303ub and get almost averything working, except i wasnt able to make wifi work with sleep, i replaced the intel wifi with dw1560/bcm94352z which i made to work by installing the kexts.The problem is that when i install it sleep gets affected, when i press sleep it takes 1 minute to go to sleep and when i press the power button it wakes to a black screen that is showing only the cursor and i have to force shut down by holding power button , so in order to fix sleep the only way i have found is to select "fixregions" in config.plist acpi section but then wifi stops working, it shows "hardware not installed" when i click the icon and only bluetooth works.I have tried clover config changes, patching ssdt and dsdt, usb ssdt, installing kexts in different locations but none of them seem to work , can someone help me with this?
      I attach the files below , thanks.
      debug_25741.zip
    • By BauerMac
      Hey guys,
      I hope you can help me solve a mystery.
      Even the amazing Mald0n has been working hard to help me find a solution, but now were are both stuck.
      Creative thinking or maybe just help to see the forest for the trees would be highly appreciated.
       
      PROBLEM:
      Mac will not sleep.
      Monitors sleep fine, and come back on with touch of keyboard.
      GPU and CPU coolers are constantly running on idle to low load and will not go on standby no matter what we have tried.
      Even when using full “Shut down” via apple menu the lights from the MoBo or GPU are pulsing slowly, which they normally dont as far as I recall.
      (This specific issue could possibly be solved by using ErP Ready in BIOS. Haven´t tested this since that´s a smaller issue ATM)
       
      Everything else seems to be working fine.
      This problem started appr a week ago, and I have no idea why.
      No major installs, updates or changes that I can think of.
       
      GOALS:
      • To be able to activate sleep via apple menu.
      • To have it sleep within 15-30 secs and wake up quickly (like it did before) via push on Power button

      TECH SPEC:
      • Running 10.13.6
      • Asus Maximus X Hero Wifi
      • Gtx 1080 Ti
      • 32 GB Corsair RAM
      • Intel i7 8700K
      • 2 monitors via Displayport
      • 6 internal disks (2 HDD, 4 SSD)
      • 1 external backup
      • 1 internal USB hub/SD reader
      • 3rd party Bluetooth and Wifi (Asus MB not compatible)
      • No Blutooth mouse, KB etc

      WHAT I HAVE DONE SO FAR:
      • Used Mald0n’s custom DSDT with latest config
      • IUpdated to latest Security Update
      • Updated to latest BIOS
      • Updated NVIDIA webdriver and CUDA to latest
      • Disconnected LED monitors and tested with old Mac monitor via DVI to see if Displayports were the issue
      • Disabled Adobe CC Sync
      • Run CleanMyMac
      • No start-up apps or extensions in System Prefs
      • Disk Utility: checked all disks
      • Terminal: no info on wake reason at all. (Possibly because it doesn´t sleep, hence nothing is interrupting it).
      • Blutooth allowed to wake sleep: set to OFF
      • Power manager: only setting is “never switch off monitors”. The rest are off/unchecked
      • BIOS: Tested by setting "ErP ready" to S5 > no difference
      • DSDT and EFI folder screenshot attached.

      I think that’s it - otherwise just ask
      I have read a lot of articles on this type of issue, but none with a clear answer.
      So if anyone can solve this mystery, it would be amazing!
      Thank you in advance!
       
      Bauermac DSDT.aml.zip



      UPDATE:
      Of course it was something seemingly insignificant and stupid that prevented sleep: An unfinished PRINTER job.... 
      After clearing the printer queue, it went to sleep but woke up immediately after due to a USB power issue. Possibly an internal USB/SD hub.
      Mald0n used his magic and made a new DSDT file to fix that, and now the machine is running almost perfectly apart from a fickle Bluetooth (fingers crossed).

      Hope this can help others out there with issues.

       
    • By Ade866
      Hi everyone, I have been optimizing my Asus x54h for some time. But now I find myself with sierra 10.12.6 installed with the problem of sleep, well: as soon as I put the PC to sleep the fans keep running, after a while they stop for a second and then start to turn again waking up the PC. What do you think the problem is? The notebook is equipped with: Amd 6470M CPU intel core i3 2330m. 4gb Ram DDR3 SDRAM. Clover legacy bootloader.
      config.plist
      SSDT.aml
      DSDT.aml
      Andrea’s iMac.zip
    • By THE M
      Hi,Everyone
      i've struggled to install Mac High Sierra from three days ago  with an strange error then my pc restart ......
      My PC specifications is
      Cpu amd Athlon 620 II x2
      Ram 8g
      Graphic Ati 5670 DDR3 2g
      Motharboard msi 970 amd

×