euqlaog Posted February 7, 2016 Author Share Posted February 7, 2016 (edited) @panini Delete Automate-eGPU folder and then reinstall from recovery, https://support.apple.com/en-us/HT204904 Edited February 7, 2016 by goalque Quote Link to comment Share on other sites More sharing options...
panini Posted February 7, 2016 Share Posted February 7, 2016 15 hours ago, goalque said: @panini You have messed up your system if you are running build 14F1605 on Mac mini and there is no driver 346.02.03f05 for NVDAStartup. Reinstall OS X. Never install/update Nvidia web drivers manually. Let the script download the correct driver. On OS X Yosemite, the NVDAStartup stays loaded just a moment after restart so run kextstat command immediately. It’s normal that it vanishes away from the kextstat list and shows Loaded: No. @goalque Ok - here's what I did: download fresh yosemite installer create yosemite usb installer boot mac mini from usb installer disk utility erase my hd do clean install of yosemite mac mini now also has build 14F27 do install of automate-eGPU.sh script run automate-eGPU.sh script reboot no GTX 960 screens light up checking cmd's macmini2:Desktop erwin$ kextstat -l |grep NVDA 107 0 0xffffff7f80eed000 0x3000 0x3000 com.nvidia.NVDAStartup (10.0.5) <12 4 3> 125 2 0xffffff7f80f4f000 0x2d8000 0x2d8000 com.nvidia.web.NVDAResmanWeb (10.0.5) <102 96 94 12 7 5 4 3 1> 126 0 0xffffff7f81236000 0x1ff000 0x1ff000 com.nvidia.web.NVDAGM100HalWeb (10.0.5) <125 12 4 3> macmini2:Desktop erwin$ uptime 17:32 up 1 min, 4 users, load averages: 1.46 0.53 0.20 macmini2:Desktop erwin$ syslog -B -F '$Time $(Sender): $Message' | grep NVDA Feb 7 17:19:52 kernel: NVDAStartup: Web Feb 7 17:19:52 kernel: NVDAGM100HAL loaded and registered Feb 7 17:19:55 kernel: NVDA::rmStart failed Feb 7 17:19:55 kernel: NVDA,Display-B: Not usable Feb 7 17:19:55 kernel: NVDA,Display-C: Not usable Feb 7 17:19:55 kernel: NVDA,Display-D: Not usable Feb 7 17:19:55 kernel: NVDA,Display-E: Not usable Feb 7 17:19:55 kernel: NVDA,Display-F: Not usable macmini2:Desktop erwin$ Here, at the above point 2, I notice visible differences ran sudo ./automate-eGPU.sh -a background services enabled reboot again no new visible improvement system profiler shows NVIDIA chip model on PCIe bus (see screenshot) At the moment Xcode is still downloading, so I will post the clpeak results later this evening. Awaiting your comment.. ;-) Erwin Quote Link to comment Share on other sites More sharing options...
panini Posted February 7, 2016 Share Posted February 7, 2016 Quote At the moment Xcode is still downloading, so I will post the clpeak results later this evening. Hmmm... Xcode downloaded & installed... it was different than the previous time.. more hassle and now clpeak errors out: I tried to empty /tmp dir and reran the script, but same error.. macmini2:Desktop erwin$ sudo ./automate-eGPU.sh -clpeak Downloading clpeak % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 124 0 124 0 0 143 0 --:--:-- --:--:-- --:--:-- 1033 100 137k 100 137k 0 0 72296 0 0:00:01 0:00:01 --:--:-- 424k /Users/erwin/Desktop Downloading cmake-3.3.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 21.3M 100 21.3M 0 0 570k 0 0:00:38 0:00:38 --:--:-- 507k /Users/erwin/Desktop -- Setting build type to Release -- Selected OpenCL includes from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework -- Selected OpenCL lib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework -- Configuring done -- Generating done -- Build files have been written to: /Library/Application Support/Automate-eGPU/clpeak [ 8%] Building CXX object CMakeFiles/clpeak.dir/src/common.cpp.o In file included from /tmp/clpeak-master/src/common.cpp:1: /tmp/clpeak-master/src/include/common.h:5:14: fatal error: 'OpenCL/cl.hpp' file not found #include <OpenCL/cl.hpp> ^ 1 error generated. make[2]: *** [CMakeFiles/clpeak.dir/src/common.cpp.o] Error 1 make[1]: *** [CMakeFiles/clpeak.dir/all] Error 2 make: *** [all] Error 2 ./automate-eGPU.sh: line 1053: /Library/Application Support/Automate-eGPU/clpeak/clpeak: No such file or directory macmini2:Desktop erwin$ Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 7, 2016 Author Share Posted February 7, 2016 (edited) 2 hours ago, panini said: macmini2:Desktop erwin$ syslog -B -F '$Time $(Sender): $Message' | grep NVDA Feb 7 17:19:52 kernel: NVDAStartup: Web Feb 7 17:19:52 kernel: NVDAGM100HAL loaded and registeredFeb 7 17:19:55 kernel: NVDA::rmStart failed Feb 7 17:19:55 kernel: NVDA,Display-B: Not usable Feb 7 17:19:55 kernel: NVDA,Display-C: Not usable Feb 7 17:19:55 kernel: NVDA,Display-D: Not usable Feb 7 17:19:55 kernel: NVDA,Display-E: Not usable Feb 7 17:19:55 kernel: NVDA,Display-F: Not usable You may have a faulty eGPU or PSU. @chrise had exactly the same issue. https://www.techinferno.com/index.php?/forums/topic/7989-script-automating-the-installation-of-egpu-on-os-x-inc-display-output/&do=findComment&comment=130572 Edited February 7, 2016 by goalque Quote Link to comment Share on other sites More sharing options...
panini Posted February 7, 2016 Share Posted February 7, 2016 (edited) 35 minutes ago, goalque said: You may have a faulty eGPU or PSU. @chrise had exactly the same issue. https://www.techinferno.com/index.php?/forums/topic/7989-script-automating-the-installation-of-egpu-on-os-x-inc-display-output/&do=findComment&comment=130572 Well.. I have a hard time believing that: I rather believe I make a human error As said the Sonnet is the sole PSU to the eGPU - no other PSU's present The GTX650 Ti works.. with the said Sonnet PSU What I also suspect is maybe I'm using the wrong connection? (It has connectors A (DVI-*), C (DP), B (HDMI), D1 (DVI-*), D2 (2x DP)) see attached. I will try to go out and buy another graphics card tomorrow, will test the GTX 960 in a x86 PC later but am confident it will work. Questions: Do you have any advice to get clpeak to work? Do you have any recommendations about the maxwell card to buy? I will use it most for Autocad, Sketchup and also a little bit on windows for Coolux Pandora's Box Thanks a lot! Do you have any Amazon or other gift shop list so I can buy you a beer for thanking you? ;-) Edited February 7, 2016 by panini Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 7, 2016 Author Share Posted February 7, 2016 (edited) @panini @chrise said that it didn’t work on Windows either. “Error code 43: This circumstance can occur if the device hardware fails or if the device driver fails.” So this is very likely a hardware issue. Clpeak should work without an eGPU monitor. Have you installed Xcode command line tools? My Nvidia cards are from Gigabyte & EVGA. There is still something you can do: SMC and NVRAM reset, https://support.apple.com/en-us/HT204063https://support.apple.com/en-us/HT201295 I’m a beer lover but I’m not taking donations right now, thanks! EDIT: Maybe the file /System/Library/Frameworks/OpenCL.framework/Headers/cl.hpp is missing? Edited February 7, 2016 by goalque Quote Link to comment Share on other sites More sharing options...
panini Posted February 8, 2016 Share Posted February 8, 2016 On 7 Feb 2016 at 10:41 PM, goalque said: @panini @chrise said that it didn’t work on Windows either. “Error code 43: This circumstance can occur if the device hardware fails or if the device driver fails.” So this is very likely a hardware issue. Clpeak should work without an eGPU monitor. Have you installed Xcode command line tools? My Nvidia cards are from Gigabyte & EVGA. There is still something you can do: SMC and NVRAM reset, https://support.apple.com/en-us/HT204063https://support.apple.com/en-us/HT201295 I’m a beer lover but I’m not taking donations right now, thanks! EDIT: Maybe the file /System/Library/Frameworks/OpenCL.framework/Headers/cl.hpp is missing? The continuing story... Here's what I did: installed the GTX 960 in a desktop PC, only 6pin PSU connected. boot win7 (older system that needs updating) & updated driver reboot - displays would not come up - error in device management, but device was recognised as GTX 960 reboot - after adjusting bios GTX 960 works Important: Somewhere I figured the GTX 960 needed more power and connected the extra 8pin PSU also After that it all functioned As a test: powerdown down machine took off 8pin PSU connector tried to reboot: system did not come up... On the Sonnet / mac mini side: tried to boot once more with the extra PSU connected - no joy, same situation Questions: I don't have bootcamp installed on the mini How do you test with windows? (on a mac mini) What specific Nvidia cards do you use (with the sonnet)? As I'm looking at buying another one. Thanks for helping! Quote Link to comment Share on other sites More sharing options...
Dschijn Posted February 8, 2016 Share Posted February 8, 2016 1. owwwwww 2. with 1. Of course you need ALL power plugs to be connected to the GPU! All the time… How is the Sonnet powered? With the Sonnet PSU? Quote Link to comment Share on other sites More sharing options...
panini Posted February 8, 2016 Share Posted February 8, 2016 1 minute ago, Dschijn said: 1. owwwwww 2. with 1. Of course you need ALL power plugs to be connected to the GPU! All the time… How is the Sonnet powered? With the Sonnet PSU? 6pin from the Sonnet PSU 8pin from external PC I specifically asked before whether the GTX 960 needs ALL power connections at all times... Quote Link to comment Share on other sites More sharing options...
Dschijn Posted February 8, 2016 Share Posted February 8, 2016 (edited) I have a really bad feeling about your setup and mixing that 6/8-Pin plugs from different power supplies. Ok here is what I think. You got the Sonnet III-D, right? That huge Sonnet Case with beefy PSU. The GTX 960 G1 needs 2x6-Pin PCIe plugs. You can try and get a 6-Pin PCIe splitter (y-cable) and make two out of that single 6-Pin. With the Gigabyte card you made a rather unlucky choice since the G1 line can draw a LOT of power (peak loads). But it should still work. Edited February 8, 2016 by Dschijn Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 8, 2016 Author Share Posted February 8, 2016 On 6 February 2016 at 5:12 PM, panini said: 1. Does the 6 pin connector of the III-D supply enough power for the 960? I expected that your GTX 960 has only one 6-pin connector in which case the answer is yes. The power sockets of the GPU cannot be left unconnected, and you should never use two PSUs. Anyhow, now we know the script still works on Yosemite too. Quote Link to comment Share on other sites More sharing options...
panini Posted February 9, 2016 Share Posted February 9, 2016 5 hours ago, goalque said: I expected that your GTX 960 has only one 6-pin connector in which case the answer is yes. The power sockets of the GPU cannot be left unconnected, and you should never use two PSUs. Anyhow, now we know the script still works on Yosemite too. @goalque @Dschijn Thanks for clarifying! The 300W PSU of the III-D is what I bought it for in the first place! I get your drift about two pus's. I'll look into that, maybe for testing I can also power the Sonnet from my external PSU? I haven't even looked at it in the first place. Has anybody done this before? Experiences? Also @goalque @Dschijn what specific Nvidia cards do you use??? I don't mind looking into buying a supplementary one, but would like it to work 'more easily' though ;-) Thank you! Quote Link to comment Share on other sites More sharing options...
Dschijn Posted February 9, 2016 Share Posted February 9, 2016 Please first try and only use the 300W PSU of the Sonnet. Just split the power cable to the amount of plugs you need (from the one 6-Pin of the Sonnet to two 6-Pins). Nobody tried to power the Sonnet with another PSU and especially with a GTX960 I don't see a reason why.... I am currently using a KFA2 GTX970 Gamer OC, also known under the brand Galax GTX970 Gamer OC. Take a look at this builds: https://www.techinferno.com/index.php?/forums/topic/7855-2012-mac-mini-gtx97010gbps-tb1-sonnet-iii-d-win81-eoiz/ https://www.techinferno.com/index.php?/forums/topic/6181-2014-15-macbook-pro-iris-gtx98016gbps-tb2-sonnet-iii-d-win81-mrhappypills/ Quote Link to comment Share on other sites More sharing options...
panini Posted February 9, 2016 Share Posted February 9, 2016 @goalque @Dschijn Guys! Pirates of the eGPU-universe!! It's working now! I added an extra 8pin PSU connector and voilà! Thx for everything, and DO remember: beer is awaiting!! I've only checked the mac mini. Will check the MBP later and report back. Erwin 2 Quote Link to comment Share on other sites More sharing options...
sbuyukbas Posted February 11, 2016 Share Posted February 11, 2016 Hello Help please! Im trying to make my setup work. I have an evga 980ti + akitio tb2 running on Macbook retina pro with OSX 10.9.5. I tried to run the script, I keep getting this message: "Only Kepler architecture cards are supported on OS X 10.9.5." I read a dew people having the same setup working on Osx 10.9.5. What I am doing wrong?? Thank you! Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 11, 2016 Author Share Posted February 11, 2016 44 minutes ago, sbuyukbas said: Hello Help please! Im trying to make my setup work. I have an evga 980ti + akitio tb2 running on Macbook retina pro with OSX 10.9.5. I tried to run the script, I keep getting this message: "Only Kepler architecture cards are supported on OS X 10.9.5." I read a dew people having the same setup working on Osx 10.9.5. What I am doing wrong?? Thank you! You did nothing wrong. GTX 980 Ti requires at least OS X version 10.10. Quote Link to comment Share on other sites More sharing options...
aiv Posted February 12, 2016 Share Posted February 12, 2016 I've tried to setup a new "MSI GTX 970 GAMING 4G". The installation seems to be ok: installer: Package name is NVIDIA Web Driver 346.03.05f01 installer: Installing at base path / installer: The install was successful. installer: The install requires restarting now. Checking IOPCITunnelCompatible keys... Missing IOPCITunnelCompatible keys. IOPCITunnelCompatible mods done. Add: ":IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-42FD25EABCABB274" Entry Already Exists Board-id added. All ready. Please restart the Mac. -clpeak went wrong: $ sudo ./automate-eGPU.sh -clpeak Downloading cl.hpp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file Warning: /System/Library/Frameworks/OpenCL.framework/Headers/cl.hpp: No such Warning: file or directory curl: (23) Failed writing body (0 != 16384) -- Setting build type to Release -- Selected OpenCL includes from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework -- Selected OpenCL lib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework -- Configuring done -- Generating done -- Build files have been written to: /Library/Application Support/Automate-eGPU/clpeak [ 8%] Building CXX object CMakeFiles/clpeak.dir/src/common.cpp.o In file included from /tmp/clpeak-master/src/common.cpp:1: /tmp/clpeak-master/src/include/common.h:5:14: fatal error: 'OpenCL/cl.hpp' file not found #include <OpenCL/cl.hpp> ^ 1 error generated. make[2]: *** [CMakeFiles/clpeak.dir/src/common.cpp.o] Error 1 make[1]: *** [CMakeFiles/clpeak.dir/all] Error 2 make: *** [all] Error 2 ./automate-eGPU.sh: line 1053: /Library/Application Support/Automate-eGPU/clpeak/clpeak: No such file or directory and when I try to render in Blender I get this: $ ./blender.app/Contents/MacOS/blender ndof: 3Dx driver not found Read new prefs: /Users/aivlap/Library/Application Support/Blender/2.76/config/userpref.blend found bundled python: /Users/aivlap/Downloads/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/MacOS/../Resources/2.76/python Device init success Compiling OpenCL kernel ... Build flags: OpenCL error (GeForce GTX 970): [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10007) OpenCL error (GeForce GTX 970): OpenCL Warning : clBuildProgram failed: could not build program for 0x1022700 (GeForce GTX 970) (err:-2) OpenCL error (GeForce GTX 970): [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log: Error getting function data from server OpenCL kernel build output: Error getting function data from server OpenCL build failed: errors in console Please help Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 12, 2016 Author Share Posted February 12, 2016 (edited) 8 hours ago, aiv said: $ sudo ./automate-eGPU.sh -clpeak Downloading cl.hpp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file Warning: /System/Library/Frameworks/OpenCL.framework/Headers/cl.hpp: No such Warning: file or directory curl: (23) Failed writing body (0 != 16384) There is a write error. I'm quite sure that you've enabled SIP. Keep it disabled. Edited February 12, 2016 by goalque Quote Link to comment Share on other sites More sharing options...
aiv Posted February 12, 2016 Share Posted February 12, 2016 I had to install the cuda driver as described here http://blender.stackexchange.com/questions/7485/enabling-gpu-rendering-for-cycles I took this one http://www.nvidia.com/object/macosx-cuda-7.5.25-driver.html and now its working! Quote Link to comment Share on other sites More sharing options...
aiv Posted February 12, 2016 Share Posted February 12, 2016 There is one problem: I'm not able to set the native 5k resolution in my iMac - the maximum available option is 4k. Even when I unplug the egpu, set in Graphics Drivers menu the option "OS X Default Graphics Driver" and restart the system. How can I fix that? Quote Link to comment Share on other sites More sharing options...
Dschijn Posted February 12, 2016 Share Posted February 12, 2016 (edited) ---deleted--- Edited February 12, 2016 by Dschijn Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 12, 2016 Author Share Posted February 12, 2016 @aiv Don’t touch Nvidia driver manager settings. Uninstall and reinstall the script. I advise you to contact @chrise. If I understood his message correctly, the newest OS X beta fixed the “black borders” on the iMac(17,1) 5K display. The eGPU monitor worked as well with the v0.9.8. Quote Link to comment Share on other sites More sharing options...
aiv Posted February 13, 2016 Share Posted February 13, 2016 well @chrise is exactly in the same situation, his internal screen is downscaled to 4k. Actually I do not wont accelerate any games, just use the CUDA computing power for rendering. Quote Link to comment Share on other sites More sharing options...
euqlaog Posted February 13, 2016 Author Share Posted February 13, 2016 1 hour ago, aiv said: well @chrise is exactly in the same situation, his internal screen is downscaled to 4k. Actually I do not wont accelerate any games, just use the CUDA computing power for rendering. Ok, but the system_profiler says “Resolution: 5120 x 2880 Retina”? - I guess it’s always the maximum resolution. Can you see that resolution available in SwitchResX or DisableMonitor app? - Is it selectable after your uninstall the script and restart the Mac? Maybe I have to add an option that the script doesn’t change graphics policy if the user wants to run only GPGPU applications. Quote Link to comment Share on other sites More sharing options...
aiv Posted February 13, 2016 Share Posted February 13, 2016 The max availble resolution in SwitchResX is 4k, after uninstalling the script 5k again. I'll check system_profiler this evening. And yes, please please provide this option. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.