netkas.org forum
December 11, 2017, 04:26:21 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Information for registering users http://forum.netkas.org/index.php/topic,2246.0.html
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: eGPU display out enabling tool  (Read 22619 times)
netkas
Administrator
Hero Member
*****
Offline Offline

Posts: 809



« on: May 28, 2015, 11:51:32 PM »



I present my little tool that allow to get display output on nvidia eGPU (aka external GPU) connected to mac via TB (in OSX)

an example of such setup on screenshot - mac mini 2014, TB2, Akitio box and gtx670 videocard.

How it's gonna work:

the tool costs 20$

If you want to get it:

1) make sure cuda already works on your setup (get cuda-z to check - http://cuda-z.sourceforge.net/ , you should see your card in list of cuda devices)
2) collect some information about your mac eGPU system, I will need:
a) ioreg output, do this command in terminal (if eGPU is connected - better):

ioreg -l -w0 > ~/Desktop/ioreg.dump

b) your mac model, display model (display/displays you want to use with egpu, just in case)

3) send me the file ioreg.dump (you will find it on your desktop, after doing step 2.a), your mac model and display model to email - bobahu4@gmail.com subject: "egpu Display"

4) if everything is fine and your mac can be enabled, I will answer you  and will send you paypal link

5) Make donation of 20$ with the link I sent and I will send you the package

6) Install package, reboot, enjoy

TL;DR: collect data, send me, wait for answer, pay, get package, install, reboot, enjoy

Details about this tool:

it allows to enable display plug detection on eGPU (in OSX), multiple displays supported, card will work just like in classic mac pro.
it survives update, I have tested 10.10.4 beta, additional reboot needed after update installed, then everything works again.
I can't guarantee Apple won't break this with future updates, but I'll try my best to fix it if they do so (I have such eGPU system as well).

The tool needs kext-dev-mode=1 in your boot-args, but you probably already have that if cuda (see step 1) works for you.

Supported macs: TB2 macs except Retina Imac, TB1 macs shouldn't have such issues.

Tested machines to work: rmbp mid 2014, 13" and 15", macmini late 2014, MacPro 2013

« Last Edit: June 08, 2015, 02:35:10 PM by netkas » Logged
BrayNShocK
Newbie

Offline Offline

Posts: 3


« Reply #1 on: June 05, 2015, 05:11:34 PM »

Worked like a champ...
3 x 1080p LCDs running of Nvidia GTX750Ti in AKiTiO on my mid-2014 15" Retina MBP Iris Pro.
Thanks!
Logged
Fl0r!an
Sr. Member
****
Offline Offline

Posts: 349


« Reply #2 on: June 05, 2015, 08:10:46 PM »

Awesome work! Sadly I don't have a Thunderbolt Mac, but if I had I wouldn't hesitate to get an Akitio box and buy your tool.
I'll definitely keep an I on your work, maybe I'll replace my Hackintosh with an MBP + eGPU some time.  Smiley
Logged
pscafe
Newbie

Offline Offline

Posts: 9


« Reply #3 on: June 06, 2015, 10:20:55 AM »

Works perfectly on a 780 3gb / 780ti and K4200...

Thanks



« Last Edit: June 06, 2015, 11:34:22 AM by pscafe » Logged
Rominator
Hero Member
*****
Offline Offline

Posts: 2172



« Reply #4 on: June 06, 2015, 07:31:32 PM »

It's an incredible advance for eGPU on Macs with TB2.

Netkas was fiddling with eGPUs back in 2011, now he continues with this groundbreaking discovery.

All the latest and best eGPU info will be coming from this site.
Logged

Before asking a question, check your "Personal Settings" and be sure that you have "Brain Services" set to "On".
Fl0r!an
Sr. Member
****
Offline Offline

Posts: 349


« Reply #5 on: June 08, 2015, 07:25:09 AM »

One question that just came to my mind: I've heard that it's possible in Windows (on a normal Notebook, not MBP) to use a eGPU for rendering stuff on the internal display (using Nvidia Optimus I think). Can you do such a thing on Macs (in OSX), too? Would be totally awesome for iMacs  Shocked
Logged
netkas
Administrator
Hero Member
*****
Offline Offline

Posts: 809



« Reply #6 on: June 08, 2015, 09:34:03 AM »

Sadly no.

Only in apps that allow you to select opengl renderer. (like gl view)

If only we could change default renderer from iGPU to eGPU with some hacks.
Logged
strukt
Newbie

Offline Offline

Posts: 3


« Reply #7 on: June 09, 2015, 08:12:43 PM »

If I understand this correctly...

I buy a AKiTiO Thunder2 PCIe Box
A GTX980ti card

Place that on my desktop. Bring my MacBook Pro (Retina, 15-inch, late 2013) and it will drive the display I have connected to the AKiTio box?

How is the performance? I see you write OS X, would it be able to work in bootcamp? With Windows 10 or something?
Logged
Rominator
Hero Member
*****
Offline Offline

Posts: 2172



« Reply #8 on: June 09, 2015, 08:47:29 PM »

You will need to provide power for the GPU.

You will also need to do some kext mods for OSX.

I will be posting either instructions or a link.

Windows has become the easy part. You just need to be using a GPT install of Windows, not MBR.
Logged

Before asking a question, check your "Personal Settings" and be sure that you have "Brain Services" set to "On".
pscafe
Newbie

Offline Offline

Posts: 9


« Reply #9 on: June 10, 2015, 12:02:04 PM »


If only we could change default renderer from iGPU to eGPU with some hacks.

This would be DOPE!!!!
Logged
RastaFabi
Guest
« Reply #10 on: August 31, 2015, 08:56:06 AM »

Sadly no.

Only in apps that allow you to select opengl renderer. (like gl view)

If only we could change default renderer from iGPU to eGPU with some hacks.

I actually don't have that much programming knowledge, but I think it might be possible to implement such an selection-box like found in GL view using the SIMBL applicacion extension plugin. Somebody having some programming skills could try. Implementing something like this to the windowserver process might even work systemwide.
Logged
JMan
Newbie

Offline Offline

Posts: 6


« Reply #11 on: October 22, 2015, 10:55:50 PM »



I present my little tool that allow to get display output on nvidia eGPU (aka external GPU) connected to mac via TB (in OSX)

an example of such setup on screenshot - mac mini 2014, TB2, Akitio box and gtx670 videocard.

How it's gonna work:

the tool costs 20$

If you want to get it:

1) make sure cuda already works on your setup (get cuda-z to check - http://cuda-z.sourceforge.net/ , you should see your card in list of cuda devices)
2) collect some information about your mac eGPU system, I will need:
a) ioreg output, do this command in terminal (if eGPU is connected - better):

ioreg -l -w0 > ~/Desktop/ioreg.dump

b) your mac model, display model (display/displays you want to use with egpu, just in case)

3) send me the file ioreg.dump (you will find it on your desktop, after doing step 2.a), your mac model and display model to email - bobahu4@gmail.com subject: "egpu Display"

4) if everything is fine and your mac can be enabled, I will answer you  and will send you paypal link

5) Make donation of 20$ with the link I sent and I will send you the package

6) Install package, reboot, enjoy

TL;DR: collect data, send me, wait for answer, pay, get package, install, reboot, enjoy

Details about this tool:

it allows to enable display plug detection on eGPU (in OSX), multiple displays supported, card will work just like in classic mac pro.
it survives update, I have tested 10.10.4 beta, additional reboot needed after update installed, then everything works again.
I can't guarantee Apple won't break this with future updates, but I'll try my best to fix it if they do so (I have such eGPU system as well).

The tool needs kext-dev-mode=1 in your boot-args, but you probably already have that if cuda (see step 1) works for you.

Supported macs: TB2 macs except Retina Imac, TB1 macs shouldn't have such issues.

Tested machines to work: rmbp mid 2014, 13" and 15", macmini late 2014, MacPro 2013


Is this still necessary if you use automate-eGPUhttps://github.com/goalque/automate-eGPU? Or does automate-eGPU take care of that?
Logged
Rominator
Hero Member
*****
Offline Offline

Posts: 2172



« Reply #12 on: October 22, 2015, 11:18:04 PM »

Old goalque's "remarkable discovery" came less then 24 hours after he took a look under the hood of one of Netkas' customers.

As in he "discovered" how Netkas did it and copied his work. Couldn't hack his way out of a wet paper sack.
Logged

Before asking a question, check your "Personal Settings" and be sure that you have "Brain Services" set to "On".
Rominator
Hero Member
*****
Offline Offline

Posts: 2172



« Reply #13 on: December 14, 2015, 11:19:17 PM »

Old goalque's "remarkable discovery" came less then 24 hours after he took a look under the hood of one of Netkas' customers.

As in he "discovered" how Netkas did it and copied his work. Couldn't hack his way out of a wet paper sack.

Since all of my posts get deleted at techinfernal, I will respond to the circus clown here. (Nando4 seems to enjoy feeling like God using that "delete" button) From he-of-the-fright-wig:

Some of you may have noticed that I’ve put a warning text at GitHub. For most of us, it’s not hard to guess who I’m talking about. As he persistently continues insulting me of my volunteering work, he deserves now more public attention here as well.
El Capitan - Automated eGPU Kext Modification | MacRumors Forums
Frequently Asked Questions About NVIDIA PC (non-EFI) Graphics Cards | Page 107 | MacRumors Forums
His answer to previous and a couple of earlier statements such as “glory hog goalie at techinfernal” were pruned off in MR forum. Letter replacing technique didn’t work. I’ll never go to that level of discussion what MVC wants to keep up. The Mavericks comparison method is still repeatable, the ioreg command doesn’t lie.
Said earlier, but I want to mention again that Pike R. Alpha originally figured out the black screen issue with the Mac Pro 6,1. He didn’t use eGPU. However, it’s exactly the same “none” method (described here).
Reading his blog, seems that there are people who don’t respect his copyrighted work either.
Things can be changed. If I see that MVC clears out comments like this:
eGPU display out enabling tool
then I will remove my warnings, including this post. If he doesn’t and I see similar in the future, he will get more visibility. Defamation is a serious matter. I wish I could continue my eGPU studies without googling “goalie”. One found today.
 1


It's funny he mentions Pike, who also suffers from people copy & pasting his work EXACTLY as Goalie did. I will find Pike's quote and link to it, pretty ironic really. Pike is pointing out that real hackers don't need to crib system mods and claim them as their own creation.

Here are the simple, undeniable facts:

1. Goalie tried for months and months and failed each and every time to enable eGPU output on Nvidia cards. Oddly, he was convinced the key lay in the INtelAzul frame buffer kext, which of course had nothing to do with it. I had a good laugh whenever he posted about it.
2. Netkas and I found a VARIETY of ways to do this, and posted numerous screenshots, etc for a similar length of time.
3. Netkas put together an app and asked $20 to cover the hours invested.
4. Desperately jealous, Goalie PM'd a guy on TI called "Bryanshock" who was one of Netkas' first customers and who had reported success. Goalie BEGGED him to go poke around in the system folder and find what Netkas had changed.
5. Within hours of playing "Peek-a-boo" with Netkas' mods, Goalie reported an "AMAZING DISCOVERY" and actually encouraged people not to buy Netkas' app since he was going to hand it out for free like Candy at Christmas.

No real hacker/modder would descend to this level of "borrowing". Enough said.
« Last Edit: December 15, 2015, 04:37:11 AM by Rominator » Logged

Before asking a question, check your "Personal Settings" and be sure that you have "Brain Services" set to "On".
Rominator
Hero Member
*****
Offline Offline

Posts: 2172



« Reply #14 on: January 18, 2016, 10:22:01 AM »

So, I wrote Netstor and told them the truth about the Tech Charlatan. Great thing about telling the truth is you can never get sued for "libel" or "slander". I told them that Netkas and I could accomplish more breakthroughs if we had more gear and asked for some of their chassis to test with as demos.

They told me they don't give out freebies, and that even goalie had to buy his.

Then goalie posted a new round of blather.

https://www.techinferno.com/index.php?/forums/topic/7989-script-automating-the-installation-of-egpu-on-os-x-inc-display-output/&do=findComment&comment=135088

A word wizard who tried to fish my friends and called me a “Tech Charlatan” just before the Christmas Eve (I’m sure he recognizes himself from this), motivated me to do a bit more research on the EFI side of the playground and prove my hypothesis which was based on EFI demystified paragraphs from a book “Mac OS X and iOS Internals: To the Apple’s Core”. Before I could program anything EFI related, I had to know how the early boot process and graphics works at the lowest level, so I browsed through Intel’s white papers and found exactly what I wanted to see:
 
typedef struct _EFI_GRAPHICS_OUTPUT_PROTOCOL EFI_GRAPHICS_OUTPUT_PROTOCOL;
“Provides a basic abstraction to set video modes and copy pixels to and from the graphics controller's frame buffer. The linear address of the hardware frame buffer is also exposed so software can write directly to the video hardware.”
 
I wrote a GNU-EFI application that loops through GOP (Graphics Output Protocol) supported GPUs, and by selecting the index of the eGPU handle buffer, I was able to draw directly to that framebuffer with a R9 390 which supports UEFI GOP. It’s a couple of lines of C code, compiled under Ubuntu 15.10 and works like a charm in OS X EFI. Setting up the programming environment was easier with the GNU-EFI than EDK2. Have to keep in mind that interface calls must be passed on through uefi_call_wrapper() function.
 
The proof of concept is done - I can access and draw anything I like on eGPU monitor at Mac EFI stage with a regular PC GPU, which supports GOP. My Nvidia cards did not seem to support GOP, but after a bit of googling I found that some Nvidia Asus cards have a hybrid vBIOS, including UEFI as well. UEFI vBIOS also explains the squeezed resolution of Apple’s startup manager on MBP’s internal display. I’m investigating possibilities to swap internal and external framebuffers so that the eGPU monitor would become the main screen. Unfortunately there is no documented way to launch Apple’s startup manager programmatically in EFI environment, but if you have EFI programming skills, you can create something similar before the boot.efi & OS X will be loaded, or even replace the automate-eGPU script by an EFI app and menu-like UI, without installing rEFInd & EFI Shell.

If I wanted to create pure C language version of the automate-eGPU, I would probably use FAT formatted USB stick where to load the EFI app. EFI approach would give full access to pre-OS hardware operations that are currently only partially controllable by NVRAM variables from my script. Currently I see no big benefits to move development on the EFI side, but I definitely consider UI app from the user space.


What I find intriguing is the extended effort to sound intelligent. Trying to toss a bunch of big words out and impress the rubes. Here is what I can tell you, the above gibberish explains NOTHING. Particularly illuminating of this fraud's sad attempt to SEEM knowledgeable is this phrase:

"My Nvidia cards did not seem to support GOP, but after a bit of googling I found that some Nvidia Asus cards have a hybrid vBIOS, including UEFI as well."

Wow, really? So someone trying REAL HARD to pass himself off as some sort of GPU guru has a complete and total LACK of actual working knowledge of how video cards work. EVERY VIDEO CARD BROUGHT OUT IN LAST 2-3 YEARS HAS A UEFI/GOP HYBRID BIOS. All of them.  The 2011 era 7950 and 7970 introduced a dual position switch to allow PC users to have a UEFI BIOS and a straight PC BIOS choice. In early days of UEFI, some boards could use, some could not.

I can tell you this, early Kepler cards had a placeholder, but by the time GK110 (780/Titan) came out, EACH AND EVERY NVIDIA CARD HAD A UEFI GOP ROM. Not just some oddball brand, not just some edge use case versions, but EACH AND EVERY CARD MADE BY EVERY MANUFACTURER. They still do. You can go to the TechPowerup GPU database, choose  ANY Maxwell card, download the BIOS and look for yourself. (Will be the section starting around 65536, starts with "55AA") Yet the Rocket Scientist pretending to know things says his Nvidia cards don't have them. He is literally staring them in the face and has no idea what he is looking at, or talking about.

Look at all those words he typed, pretending to explain something he is clearly incapable of understanding. Just needs a tweed jacket and Pipe to complete his "Professor" costume. Typed all those words trying to fool someone, maybe just himself.

How can someone claim to be a GPU Guru when he is 3-5 years behind how they actually work?

Edit: But I do appreciate being called a "Word Wizard". Maybe that will help me get an Agent?
« Last Edit: January 18, 2016, 10:57:59 AM by Rominator » Logged

Before asking a question, check your "Personal Settings" and be sure that you have "Brain Services" set to "On".
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!