Jump to content
EwinRacing Flash Series Gaming Chairs
euqlaog

[SCRIPT] Automating the installation of eGPU on OS X (inc display output)

Recommended Posts

11 minutes ago, perra said:

 

see my screenshot on my dropbox:

https://www.dropbox.com/s/pighuv19o9ns7ik/Screenshot 2016-12-08 15.02.21.png?dl=0

GTX 970 is detect but /// my macbook info 750 still show why?

need i deactivate 750 first ?

if yes how ?

 

You cannot disable the dgpu under OS X unfortunately :(( Been looking for the same thing for a long time. 

It can be disabled under windows.

Share this post


Link to post
Share on other sites
12 minutes ago, w4vz said:

You cannot disable the dgpu under OS X unfortunately :(( Been looking for the same thing for a long time. 

It can be disabled under windows.

so what this mean, i cant use GTX 970 under OSX now ?

 

after restart macbook

its less lagging now.

 

but my bluetooth device are connecting disconnecting -.- wtf i dont do anything with them ( touchpad keyboard)

Edited by perra

Share this post


Link to post
Share on other sites

I asked Nvidia to make an installer for eGPUs. And they answered: „We will definitely take this as a feedback and pass it on to the concerned team.“

Share this post


Link to post
Share on other sites
1 hour ago, perra said:

so what this mean, i cant use GTX 970 under OSX now ?

 

after restart macbook

its less lagging now.

 

but my bluetooth device are connecting disconnecting -.- wtf i dont do anything with them ( touchpad keyboard)

 

Your egpu is used for the external monitor connected to it only

 

the dgpu is here and cannot be disabled under osx. I think it can be used for the internal monitor and not sure about cuda applications but I don't see why you could not use both.

 

bluetooth is rubbish so don't worry about that :D

1 hour ago, Uhlhorn said:

I asked Nvidia to make an installer for eGPUs. And they answered: „We will definitely take this as a feedback and pass it on to the concerned team.“

 

unfortunately apple legal policies will probably prevent them to write that script but since they chose AMD for their latest lineup they might do it anyway I hope. That would certainly give them an edge.

 

Now if someone can answer the golden question of why apple is making it harder for us with their new tb3 barrier I would love to hear that madness. They are going backward :( 

Share this post


Link to post
Share on other sites

Hi, i managed to get it working. It seemed to be a power issue. However when 3D modelling i get frequent random crashes. See report

 

Anonymous UUID:       7ECB7F8E-2A79-C121-8AB3-38AC50C7AF41

Thu Dec  8 16:17:49 2016

*** Panic Report ***
panic(cpu 0 caller 0xffffff7f810d6e1e): NVRM[0/193:0:0]: Read Error 0x00000000: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xb2000000 0xffffff93a7cec000 0x120080a1, D0, P2/4
Backtrace (CPU 0), Frame : Return Address
0xffffff93a5cab3f0 : 0xffffff80002f748c 
0xffffff93a5cab470 : 0xffffff7f810d6e1e 
0xffffff93a5cab530 : 0xffffff7f811b1a79 
0xffffff93a5cab590 : 0xffffff7f811e2bd5 
0xffffff93a5cab5b0 : 0xffffff7f810dd675 
0xffffff93a5cab670 : 0xffffff7f810da297 
0xffffff93a5cab870 : 0xffffff7f810dc1d1 
0xffffff93a5cab960 : 0xffffff7f8106ff44 
0xffffff93a5cabd90 : 0xffffff7f8106e611 
0xffffff93a5cabdb0 : 0xffffff7f838fe067 
0xffffff93a5cabe80 : 0xffffff7f838fde47 
0xffffff93a5cabee0 : 0xffffff7f838fc626 
0xffffff93a5cabf00 : 0xffffff800032edea 
0xffffff93a5cabfb0 : 0xffffff80002a6af7 
      Kernel Extensions in backtrace:
         com.nvidia.web.NVDAResmanWeb(10.1.3)[90CC7E2E-7B90-3008-B459-7AF133377C13]@0xffffff7f8106b000->0xffffff7f813a6fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[731443D8-78D5-30C8-939A-1ED3E857CA22]@0xffffff7f80c14000
            dependency: com.apple.iokit.IONDRVSupport(2.4.1)[C1544DFB-9066-340F-AD0A-9302DC3E6841]@0xffffff7f8104f000
            dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[377FAA09-C02F-3FF4-A5DE-C0F2E711C8B0]@0xffffff7f81008000
            dependency: com.apple.AppleGraphicsDeviceControl(3.13.60)[FDEAB5E1-3BFF-34DF-92AB-6AE26C8405F7]@0xffffff7f8105f000
         com.apple.driver.AGPM(110.23.7)[E6276A25-70A0-366A-A935-2328CFA9226D]@0xffffff7f838fa000->0xffffff7f83911fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[731443D8-78D5-30C8-939A-1ED3E857CA22]@0xffffff7f80c14000
            dependency: com.apple.driver.IOPlatformPluginFamily(6.0.0d8)[09B480A4-4793-311C-B5CF-4C56A3C67D18]@0xffffff7f81f44000
            dependency: com.apple.iokit.IONDRVSupport(2.4.1)[C1544DFB-9066-340F-AD0A-9302DC3E6841]@0xffffff7f8104f000
            dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[377FAA09-C02F-3FF4-A5DE-C0F2E711C8B0]@0xffffff7f81008000
            dependency: com.apple.AppleGraphicsDeviceControl(3.13.60)[FDEAB5E1-3BFF-34DF-92AB-6AE26C8405F7]@0xffffff7f8105f000

BSD process name corresponding to current thread: kernel_task
Boot args: NvidiaWeb

Mac OS version:
16A323

Kernel version:
Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64
Kernel UUID: 622D2470-C34D-31F9-A62B-6AA9A3C6A3CD
__HIB  text base: 0xffffff8000100000
System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61)

System uptime in nanoseconds: 515065956539
last loaded kext at 12279002633: com.apple.filesystems.msdosfs    1.10 (addr 0xffffff7f8189f000, size 69632)
last unloaded kext at 236766208462: com.apple.driver.AppleXsanScheme    3 (addr 0xffffff7f82f81000, size 40960)
loaded kexts:
com.nvidia.CUDA    1.1.0
com.nvidia.web.GeForceWeb    10.1.3
com.nvidia.web.NVDAGM100HalWeb    10.1.3
com.nvidia.web.NVDAGK100HalWeb    10.1.3
com.nvidia.web.NVDAResmanWeb    10.1.3
com.Cycling74.driver.Soundflower    2
com.corel.painter.PainterAudioDriver    1
com.apple.filesystems.msdosfs    1.10
com.apple.driver.AppleHWSensor    1.9.5d0
com.apple.filesystems.autofs    3.0
com.apple.iokit.IOBluetoothSerialManager    5.0.0f18
com.apple.filesystems.ntfs    3.13
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AGPM    110.23.7
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.AppleMikeyHIDDriver    127
com.apple.driver.AppleHDA    276.26
com.apple.driver.AppleThunderboltIP    3.0.8
com.apple.driver.AppleBacklight    170.9.10
com.apple.driver.AppleMikeyDriver    276.26
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    5.0.0f18
com.apple.driver.AppleUpstreamUserClient    3.6.4
com.apple.driver.AppleMCCSControl    1.2.13
com.apple.driver.AppleIntelHD5000Graphics    10.1.8
com.apple.driver.AppleIntelFramebufferAzul    10.1.8
com.apple.driver.AppleLPC    3.1
com.apple.driver.AppleSMCLMU    208
com.apple.driver.AudioAUUC    1.70
com.apple.driver.pmtelemetry    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleHV    1
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleUSBDisplays    380
com.apple.driver.AppleUSBStorageCoexistentDriver    404.1.1
com.apple.iokit.SCSITaskUserClient    394
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    39
com.apple.filesystems.hfs.kext    366.1.1
com.apple.iokit.IOAHCIBlockStorage    295.1.1
com.apple.driver.AirPort.Brcm4360    1100.37.1a16
com.apple.driver.AppleAHCIPort    326
com.apple.driver.AppleSDXC    1.7.6
com.apple.iokit.AppleBCM5701Ethernet    10.2.6
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleACPIButtons    5.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleACPIEC    5.0
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    171
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleBluetoothHIDKeyboard    197
com.apple.driver.IOBluetoothHIDDriver    5.0.0f18
com.apple.driver.AppleHIDKeyboard    197
com.apple.kext.triggers    1.0
com.apple.iokit.IOSerialFamily    11
com.apple.driver.DspFuncLib    276.26
com.apple.kext.OSvKernDSPLib    525
com.apple.driver.AppleThunderboltEDMSink    4.1.1
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport    5.0.0f18
com.apple.iokit.IOBluetoothHostControllerTransport    5.0.0f18
com.apple.driver.AppleSMBusController    1.0.14d1
com.apple.AppleGraphicsDeviceControl    3.13.60
com.apple.iokit.IOAcceleratorFamily2    288.13
com.apple.driver.AppleSMBusPCI    1.0.14d1
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.driver.AppleHDAController    276.26
com.apple.iokit.IOHDAFamily    276.26
com.apple.iokit.IONDRVSupport    2.4.1
com.apple.iokit.IOAudioFamily    205.11
com.apple.vecLib.kext    1.2.0
com.apple.iokit.IOSurface    152
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.iokit.IOBluetoothFamily    5.0.0f18
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOUSBMassStorageClass    4.0.4
com.apple.iokit.IOSCSIBlockCommandsDevice    394
com.apple.driver.usb.IOUSBHostHIDDevice    1.1
com.apple.iokit.IOUSBMassStorageDriver    131.1.1
com.apple.iokit.IOSCSIArchitectureModelFamily    394
com.apple.driver.usb.AppleUSBHub    1.1
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.1
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleThunderboltDPInAdapter    4.5.3
com.apple.driver.AppleThunderboltDPOutAdapter    4.5.3
com.apple.driver.AppleThunderboltDPAdapterFamily    4.5.3
com.apple.driver.AppleThunderboltPCIUpAdapter    2.0.3
com.apple.driver.AppleThunderboltPCIDownAdapter    2.0.3
com.apple.driver.AppleThunderboltNHI    4.1.3
com.apple.iokit.IOThunderboltFamily    6.2.1
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IOAHCIFamily    288
com.apple.iokit.IOEthernetAVBController    1.0.3b4
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.iokit.IONetworkingFamily    3.2
com.apple.driver.usb.AppleUSBXHCIPCI    1.1
com.apple.driver.usb.AppleUSBXHCI    1.1
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.iokit.IOUSBHostFamily    1.1
com.apple.driver.AppleUSBHostMergeProperties    1.1
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.DiskImages    444
com.apple.iokit.IOStorageFamily    2.1
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    5.0
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1
 

 

What does this mean ?

Share this post


Link to post
Share on other sites
3 minutes ago, w4vz said:


 

Quote

 

Your egpu is used for the external monitor connected to it only


 

is it matter, if i let macbook open and use both display ? or just it works only 100% if i closed the macbook and run only over the external display ?

 

3 minutes ago, w4vz said:
Quote

 

the dgpu is here and cannot be disabled under osx. I think it can be used for the internal monitor and not sure about cuda applications but I don't see why you could not use both.


 

i wanna use gtx 970 for final cut pro x ... to have a smooth workflow , payback, editing etc.... but i dont think that this is It, i dont feel any performance... 

and why the heck it show me only the 750 and not my gtx970 ... 

https://www.dropbox.com/s/r87zte0b96dr69q/Screenshot 2016-12-03 15.29.44.png?dl=0

i saw that people got there right GPU in that window... on youtube

Quote

bluetooth is rubbish so don't worry about that :D

i restart and it works again -.-

 

 

Share this post


Link to post
Share on other sites
49 minutes ago, w4vz said:

Your egpu is used for the external monitor connected to it only

 

This is not completely correct. If you are using the eGPU for 3D rendering only, you do not need a external display. ;-)

Share this post


Link to post
Share on other sites
35 minutes ago, perra said:

 

 

 

anything that runs on your display connected to the ogpu is accelerated. the lid does not matter. If it works when the lid is closed then good but I never tried.

 

not sure about cuda and fcpX so can't really help here but if it is recognised by OS X then try updating cuda to the latest version ?

Share this post


Link to post
Share on other sites
1 hour ago, w4vz said:

unfortunately apple legal policies will probably prevent them to write that script but since they chose AMD for their latest lineup they might do it anyway I hope. That would certainly give them an edge.

Please, can You give me a link where I can validate this?

 

If You write an installer, you do not need Apples permission to do this, except you will provide it via Mac App Store.

 

@w4vzFinal Cut is using OpenCL I think and not CUDA.

Edited by Uhlhorn

Share this post


Link to post
Share on other sites
2 hours ago, Uhlhorn said:

Please, can You give me a link where I can validate this?

 

If You write an installer, you do not need Apples permission to do this, except you will provide it via Mac App Store.

 

@w4vzFinal Cut is using OpenCL I think and not CUDA.

 

Ha yes you're right about fcpx and OpenCL. maybe a fcpx bug then..

 

about the T/C  goalque posted in this thread earlier a link to kext editing being prohibited.

Also pretty sure Apple would not see Nvidia's script well as it would go against their hideous commercial tactics to enable people to "hack" their machines and put their own GPU instead of buying their inflated prices. The latest TB3 lock shows their cards in my opinion. I could be wrong but I think that mostly depends on their relations with apple and if they plan to win back the contract for future products. Nvidia web driver support has always been unnoficial regarding apple and I noticed that OS X does not appear on the list automatically now; you need to select other OS. probably nothing but worth noting I think so I would not get my hopes too high on that.

 

Best would be a fork from 0.98 maintained by someone who can pickup the pieces.. This script is amazing to people who have very limited coding knowledge and it should never be stopped because it enables a wide range of people to access egpu and it also represents a lot of efforts and hope from a very active and passionate community where a lot of people have put small pieces at a time for a long time and as MVC pointed the script is not all of Goalque's findings so it kinda represents the entire community too. I really hope goalque has a change of heart but looks like his mind is set on his new project. I find the entire situation a waste of something really great. I hope @MVC can do it ? or someone else eventually... I don't have enough coding knowledge unfortunately it would take me months to just begin to fully understand what is in the script and first I would have to figure out which language lol so that says about my skills on the subject.

 

Still no driver update for me and no egpu under Sierra latest build. I get the error below. Anyone knows why it is not able to find and modify another driver ?

No web driver yet available for build [16B2659].

This script can download and modify the older package [367.15.10.15f03] (y/n)?

y

No web driver found for OS X 10.12.1.

Web driver not found. Nvidia may have changed their web driver search service.

Edited by w4vz

Share this post


Link to post
Share on other sites

OMG I learnt something !!!!!

 

got my egpu working by forcing the script to install from url :) 

 

for anyone just append -url and paste the url to the previous driver

 

good day 

  • Thumbs Up 1

Share this post


Link to post
Share on other sites
44 minutes ago, w4vz said:

for anyone just append -url and paste the url to the previous driver

Can You give me an example please?

 

And thank You for Your explanations.

Share this post


Link to post
Share on other sites

Hey Uhlhorn,

 

I think the following line is what w4vz was trying to say:

sudo ./automate-eGPU.sh -url http://de.download.nvidia.com/Mac/Quadro_Certified/367.15.10.15f03/WebDriver-367.15.10.15f03.pkg

(This is assuming you are running Sierra 10.12.1 Build: 16B2659

Edited by Halbertus
syntax mistake

Share this post


Link to post
Share on other sites
1 hour ago, Uhlhorn said:

Can You give me an example please?

 

And thank You for Your explanations.

 

automate-eGPU.sh -url http://www

Share this post


Link to post
Share on other sites

After the update from today macOS Sierra 10.12.2 (16C67) the script does not find a driver again. (This is Nvidia’s fault.)

So I installed the driver like in the previous post, but after this my Mac was not able to run with it. The screen was grey (without colors) and was not working correctly.

Now I deinstalled the driver and can not use the eGPU for rendering. :-(

 

IMG_0971.jpg

Edited by Uhlhorn

Share this post


Link to post
Share on other sites

You can stop buying Nvidia GPU’s, because Nvidia has stopped providing web drivers for eGPU’s for Mac’s. :-(

Edited by Uhlhorn
  • Thumbs Up 1

Share this post


Link to post
Share on other sites

OMG ...I got run my eCard with el capitan, 

after crash / i reinstalled / and now i got the news version of el capitan and 

no WEB driver is now compatible wtf 

 

i got an old version of EL capitan on my stick as boot stick

but the stick is not detected at start anymore -.- WTF oh common 

Some one know what to do if the stick not show at "alt pressed at start" mode ?

 

if Nvidia don't support Webdrive I resell my action and Grafikkart fuk off 

Bildschirmfoto 2016-12-14 um 01.35.15.png

Share this post


Link to post
Share on other sites
1 hour ago, Uhlhorn said:

You can stop buying Nvidia GPU’s, because Nvidia has stopped providing web drivers for eGPU’s for Mac’s. :-(

u know it `? 

 

How i get the link for download web driver for gtx 970?

what i have to type in terminal

 

can't i download it to desktop and install web driver manually ?

 

Edited by perra

Share this post


Link to post
Share on other sites

Before getting out the tar and feathers, maybe give Nvidia 24-48 hours to release the new driver?

Share this post


Link to post
Share on other sites

I talked to Nvidia’s support already. ;-) They wrote:

Quote

As informed previously that the drivers are not available for the GTX 980Ti card for the Mac OS. The drivers should be provided with the operating system.

But they did provide drivers until 10.12.1. Now they don’t.

 

So, that means, they stopped providing drivers for the Mac.

Share this post


Link to post
Share on other sites

They have always said that, and then the drivers are released.  They don't officially support it... so they won't officially give an affirmative response. When Sierra came out it was a day or so... the last patch was a day or 2 also.

 

Wait a couple days and it will likely be released. If they were going to stop doing it... they probably would have stopped it for Sierra at all... not just stopping all of the sudden on a random small patch release to the OS.

Share this post


Link to post
Share on other sites

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

×

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.