Jump to content

IMcD23

Registered User
  • Posts

    6
  • Joined

  • Last visited

Posts posted by IMcD23

  1. I now have a GTX 980 Ti + Razer Core working in both macOS 10.12.2 and Windows 10 on my 2016 MacBook Pro 15" with Pro 460 GPU. Here's what I know:

     

    Windows 10:

    Spoiler

    Getting it working in Windows was the easiest.

     

    Here's the general overview of what I had to do:

    • Edit my DSDT to add a new large memory block. I followed instructions of others in this thread, and other threads online.
    • Put Windows in Test Mode and applied the DSDT.
    • Restarted the machine
    • Installed the latest Nvidia drivers.

    Booting with the eGPU plugged in causes the boot time to increase dramatically. 

    The eGPU is mostly hot-pluggable. Sometimes, I get a blue screen when I unplug it.

     

    macOS 10.12.2:

    Spoiler

    This took me some time to get fully working.

     

    A few things are needed:

    General overview of what I had to do:

    • Patch my IOThunderboltFamily.kext in /System/Library/Extensions using tb3-enabler.
      • This takes the Core from being "Unsupported" in System Information > Thunderbolt to showing as connected.
      • The USB ports on the Core now work after a restart.
      • An Nvidia card shows up in System Information > Graphics/Displays, but no drivers are loaded (haven't installed them yet)
    • Run automate-eGPU.
      • This installs a patched version of the Nvidia web drivers with support for eGPUs.
      • It also fixes a few other common eGPU issues.
    • Add the "nv_spanmodepolicy=1" kernel argument to use a 4K or 5K MST display (optional)
      • automate-eGPU adds itself to `/usr/local/bin/automate-eGPU.sh` and runs on boot to set kernel arguments.
      • Nvidia Web Drivers will not support MST displays unless this argument is passed.
      • Search through automate-eGPU.sh for "boot_args" and add the "nv_spanmodepolicy=1" boot argument everywhere you find "nvda_drv=1"
      • Restart the machine at least two times.

    Notes:

    • Test the eGPU without any screens plugged in. You'll hear the GPU fans die down if drivers engage. This is the first step to getting it working.
    • I've had graphics glitches and slowness when the Intel iGPU is in use. Turn off Automatic Graphics Switching (use the Radeon Pro GPU) to fix this.
    • I don't need to hot-plug the eGPU when the Apple logo to get the eGPU to work. However, at one point I did (not sure how I fixed that). If your eGPU is not working, you may want to leave it unplugged at boot until the Apple logo appears, then immediately plug it in before the progress bar appears.

    Screen Shot 2016-12-15 at 2.32.07 PM.png

    Screen Shot 2016-12-15 at 2.41.40 PM.png

     

    • Thumbs Up 1
  2. FYI: When I plug in a screen to the eGPU, here is the kernel panic I am getting. Doesn't look too helpful to me.

     

    *** Panic Report ***
    panic(cpu 6 caller 0xffffff800de05ead): Kernel trap at 0xffffff7f903f836a, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000c48, CR3: 0x00000000130e3000, CR4: 0x00000000003627e0
    RAX: 0x0000000000000000, RBX: 0xffffff81f915be00, RCX: 0x0000000009000000, RDX: 0xffffff800e46b658
    RSP: 0xffffff81f915be00, RBP: 0xffffff81f915be20, RSI: 0xffffff8032f55600, RDI: 0x0000000000000000
    R8:  0xffffff8032e87000, R9:  0xffffff800e46b618, R10: 0x0000000000000015, R11: 0xffffff8032f21100
    R12: 0x0000000100000515, R13: 0xffffff8032eabab8, R14: 0xffffff8032f55400, R15: 0xffffff8032eab000
    RFL: 0x0000000000010246, RIP: 0xffffff7f903f836a, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000c48, Error code: 0x0000000000000000, Fault CPU: 0x6, PL: 0, VF: 1
    
    Backtrace (CPU 6), Frame : Return Address
    0xffffff81f915ba90 : 0xffffff800dcf211c 
    0xffffff81f915bb10 : 0xffffff800de05ead 
    0xffffff81f915bcf0 : 0xffffff800dca3743 
    0xffffff81f915bd10 : 0xffffff7f903f836a 
    0xffffff81f915be20 : 0xffffff7f903fb3d5 
    0xffffff81f915be70 : 0xffffff7f9047c515 
    0xffffff81f915be90 : 0xffffff800e2960a3 
    0xffffff81f915bed0 : 0xffffff800e2bcb9e 
    0xffffff81f915bf10 : 0xffffff800e295498 
    0xffffff81f915bf90 : 0xffffff800e294ac7 
    0xffffff81f915bfb0 : 0xffffff800dca0af7 
          Kernel Extensions in backtrace:
             com.apple.iokit.IOAcceleratorFamily2(289.22)[F866114B-BEDE-3892-B80C-E6EE5B269A3C]@0xffffff7f903d0000->0xffffff7f90460fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[F3140AEE-63C8-3B1B-AAE7-56599A3F2EAE]@0xffffff7f8e532000
                dependency: com.apple.iokit.IOGraphicsFamily(513.1)[3B0B8521-BEA7-3D6D-AB6E-2E84590FFE40]@0xffffff7f8eb74000
             com.nvidia.web.GeForceWeb(10.1.3)[7577D72D-2377-358A-9DED-E2D1796DA18C]@0xffffff7f90470000->0xffffff7f90511fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[F3140AEE-63C8-3B1B-AAE7-56599A3F2EAE]@0xffffff7f8e532000
                dependency: com.apple.iokit.IONDRVSupport(513.1)[6A04DB7B-061F-36D4-84C6-5BF4C8AA9A7D]@0xffffff7f8ebbb000
                dependency: com.nvidia.web.NVDAResmanWeb(10.1.3)[CFAACEF2-B37A-3F9E-AE5A-E1374E88F81D]@0xffffff7f8ebd7000
                dependency: com.apple.iokit.IOGraphicsFamily(513.1)[3B0B8521-BEA7-3D6D-AB6E-2E84590FFE40]@0xffffff7f8eb74000
                dependency: com.apple.iokit.IOAcceleratorFamily2(289.22)[F866114B-BEDE-3892-B80C-E6EE5B269A3C]@0xffffff7f903d0000
    
    BSD process name corresponding to current thread: kernel_task
    Boot args: nvda_drv=1 kext-dev-mode=1 dfr_debug=1
    
    Mac OS version:
    16C48b
    
    Kernel version:
    Darwin Kernel Version 16.3.0: Wed Nov  9 19:52:37 PST 2016; root:xnu-3789.31.1~4/RELEASE_X86_64
    Kernel UUID: 6D3D2C7F-E09E-3796-A3DE-6E658C861AD9
    Kernel slide:     0x000000000da00000
    Kernel text base: 0xffffff800dc00000
    __HIB  text base: 0xffffff800db00000
    System model name: MacBookPro13,3 (Mac-A5C67F76ED83108C)

     

  3. My current status on the macOS side, trying with a GTX 980 Ti:

    • Patched IOThunderboltFamily.kext and can get the Razer Core to show up in the System Profiler, as well as the GPU.
    • USB and Ethernet ports work plug-and-play.
    • Nvidia web drivers are installed. automate-eGPU.sh detects the 980Ti and runs without errors (other than saying 10.12.2 is incompatible and offering to patch kexts). Patched the Nvidia web driver kext with that.
    • I can get the drivers to load on boot if I plug the Core in immediately after the Apple logo appears. If it is plugged in from a cold boot, it won't work, and if you plug it in after the progress bar appears or once the system has booted, it won't work. 
    • My card's fans run at 100% until drivers load. I know that when I get the drivers to load for the card, the fans quiet down.
    • My MBP will not boot to the login screen with the Core plugged in and drivers loaded, when a screen is connected to the eGPU. The progress bar under the Apple logo stops at around 33%. If I boot in verbose mode, it hangs immediately after the console disappears and the graphics drivers load, but doesn't print any errors that I can find. It will hang forever at this state. If I unplug the Core while it's hung, my system Kernel Panics with the Nvidia driver in the stack trace.

    I have the Core fully working in Boot Camp, other than being able to power the internal screen with the eGPU, which I don't really need to do right now.

     

    Edit: If no screens are plugged into the eGPU, I can get to the login screen and use the machine with the core working and drivers loaded. When I plug in a screen to the eGPU, both screens go black and the computer freezes. When the Intel iGPU is turned on (graphics switching), there are tons of artifacts on the screen. Turning off the iGPU fixes that, but plugging in a screen  still freezes up the machine.

  4. 1 hour ago, rettymoo said:

    Any one knows how to solve this one?

    Screen Shot 2016-11-17 at 1.07.46 PM.png

     

    I have mine working after making modifications to IOThunderboltFamily.kext. The Razer Core now shows up as 40Gb/s and my GPU shows up in the Graphics/Displays section.

     

    http://forum.netkas.org/index.php/topic,11654.msg34140.html#msg34140

    1 hour ago, kid2010 said:

    by default it seems macOS refuse to recognize a set of TB3 devices (like Razer Core). After digging around, it looks like the decision is made by IOThunderboltFamily. There is a shouldSkipEnumeration function and by patching it to always return false, I was able to get MBP working with my Razer Core. I tried with RX460 and it's working (not really good though)

    I'm not exactly sure why Apple decided to refuse to talk with some TB3 devices and I cannot be sure whether or not the patch will physically harm the machine.

     

    screen-shot-2016-11-14-at-9-03-01-pm.png
    screen-shot-2016-11-14-at-8-59-58-pm.png
    screen-shot-2016-11-14-at-9-00-20-pm.png

     

     

    • Thumbs Up 1
  5. On 11/10/2016 at 7:01 PM, DanKnight said:

    How did you get your core to work? Can't get mine to work. Still stuck on the Error Code 12.

    I'm getting the same Error 12 in Boot Camp. I tried installing the Intel Thunderbolt drivers, and still nothing. I have a 15" with Touch Bar, Radeon Pro 460, and trying to use the Razer Core with a GTX 980 Ti. Have you gotten yours to work yet?

    • Thumbs Up 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.