Setup & Software Discussions
2013 15" Dell Latitude E6540 (HD8790M) [4th,4C,Q] + RX 580 @ 4Gbps-EC2 (EXP GDC ...
 

2013 15" Dell Latitude E6540 (HD8790M) [4th,4C,Q] + RX 580 @ 4Gbps-EC2 (EXP GDC 8.4) + macOS 10.13.5 & Win10 1803 [nando4]  

  RSS

nando4
(@nando4)
Noble Member Admin
Joined: 3 years ago
 

This is the first non-Apple macOS eGPU build on eGPU.io plus it uses a cost-effective expresscard interface.

Secondhand Dell Latitude E6540 systems like used here are often still in remarkably good condition due to their business grade build. They come with three storage device options (mSATA SSD, 9.5mm SATA drive bay, optical drive or caddy). Some later revisions even have an eDP 72% gamut wide-viewing angle FHD LCD. There are 4xUSB 3.0 ports.

An exclusive finding here, for the first time since the defunct LucidLogix Virtu software, Windows 1803’s Graphics Settings GPU selector works to provide an eGPU accelerated internal LCD mode when using an AMD card on an x1 interface [mPCIe, EC or M.2]. That feature is no longer the exclusive domain of Nvidia Optimus.

 

System specs (model inc screen size, CPU, iGPU, dGPU, operating system)

~US$300 15″ Dell Latitude E6540 or Dell Precision M2800

  • Intel Core i7-4700MQ, 4-cores/8-threads, up to 3.4Ghz CPU
  • 1920×1080 FHD LCD
  • HD4600 iGPU, AMD Radeon HD8790M (or FirePro W4170M in M2800) dGPU
  • 16GB DDR3-L RAM (2x8GB)

 

  • Windows 10 Spring Creators Edition (1803)
  • macOS 10.13.5
  • US$2 RTL8188 USB wifi for macOS since there are no Intel wifi drivers

 

eGPU hardware (eGPU enclosure, video card, any third-party TB3 cable, any custom mods)

  • EXP GDC 8.x – expresscard version
  • AMD Radeon RX 580 (XFX GTS 1366/2000)
  • Generic 12V/18A ATX PSU (a 220W Dell DA-2 was tested finding it switches off under prolonged high eGPU load)

 

Hardware pictures (note: require 5+ posts for “attach files” button to appear. Or can link from say http://imgur.com )

Dell E6540 RX580 EC2 deskcloser
Dell E6540 RX580 EC2 gpu
Dell E6540 RX580 EC2 cabling

 

 

Pre-config using the E6540 eGPU configurator


This step is necessary as both macOS and Windows will fail to start if an eGPU is attached with the factory UEFI configuration. Both OS will hang with a black screen.

1. Obtain>> Dell E6540 UEFI eGPU configurator

2. Extract the eGPU configurator to a FAT32-formatted USB stick. Or extract the contents & run the contained install_to_ESP to add it as a F12 bootitem

3. Reboot into the eGPU configurator (from USB stick or F12 bootitem) and choose option 1 or 2 depending on your preference

4. If require good battery life by way of reinstating the dGPU then reboot into eGPU configurator and choose option 3.

 

 

Installation steps – Win10 1803

1. Windows UEFI installation creates a 100MB EFI partition which macOS will flag as too small (<200MB) and halt installation. To correct that, manually create a 300MB EFI partition during the Win10 installation as follows:

– boot Windows installer USB
– at first screen press Shift+F10 to get command prompt
– type: diskpart
– type: list disk (to you’re certain on the disk you’re working with, in my case confirms disk 0)
– type: select disk 0
– type: clean (erases the drive – be sure you are erasing the correct drive!)
– type: convert gpt
– type: create partition efi size=300
– type: format quick fs=fat32 label=”EFI”
– type: create partition msr size=128
– type: exit

2. Now you can continue with the Windows Installer.

3. Be sure to partition and NTFS format the space you intend will hold macOS

4. Reboot and install AMD eGPU drivers

5. To eGPU accelerate apps when run with just an internal LCD, set Win10’s 1803 Graphics Settings GPU selector for your app to high performance as can be seen below.

6. Can sleep-resume the system with the eGPU working on resume. Can also hot-plug the expresscard to a working eGPU.

 


 

Installation steps – macOS 10.13.5

1. Download>> Dell_E6540_Clover_for_macOS.zip

2. Extracting this package to a FAT32-format USB stick. Or save the package contents to a directory and run the contained install_to_ESP to add it as a F12 bootitem. This E6540 Clover bootloader package has been tested as working for macOS 10.12, 10.12.6, 10.13.5 & 10.14b2. Note: Refer to osxlatitude.com if ever need help in recreating such a Clover package for this system.

3. Create a macOS installation USB stick (eg: find a macOS installation image and use rufus to write it to USB stick or have a Mac owner make you one). Insert the USB stick in a USB port.

4. Reboot Clover from USB stick or from F12 bootitem & select the Install macOS icon. Once loaded, use Disk Utility to erase the previously created in Windows macOS partition. This will format it in APFS or HFS format. Then continue through macOS installation.

5. Once completed, reboot via Clover (USB or F12 bootitem) into macOS.

6. Install these additional packages:

VoodooHDA.kext using Kext Utility to have sound

– RTL8188 WLAN driver

 

Issues

– sleep-resume, unless done within a short duration, almost never works. The system black screens on resume. That’s with or without the eGPU.
– if bootup with iGPU+eGPU configuration, using set-eGPU.sh to try to get apps to prefer using the eGPU has no effect.
– instead, need to use the eGPU configurator option 2 (eGPU as primary) with an external LCD to guarantee apps like FCPX are eGPU-accelerated.

   

 

Benchmarks (Include a CUDA-Z or AIDA64 bandwidth pic. Optional: Valley, 3dmark, noting if it’s on internal/external LCD )

Windows 10 (1803)

RX 580@4Gbps-EC2ext [email protected]int [email protected]
Unigine Heaven48.237.3
Unigine Valley46.036.8
Unigine Superposition57.19NA
3dmark-fs.gpu13417NA
3dmark11.gpu16760NA
3dmark062760818899
Tomb Raider 2013158.949.0**
Shadow of Mordor79.8344.24**
Dirt Rally39.5235.46
FFXV47163387

NA – ignores eGPU. Runs using the iGPU
** – appears max FPS is 50Hz, tied to the internal LCD refresh rate

 


macOS 10.13.5

RX 580@4Gbps-EC2ext [email protected]
Unigine Heaven31.7
Unigine Valley36.9
Luxmark14029
Geekbench85001
MetalBench2415
FCPX BruceX**30s (90s when using CPU)
   

** Requires using Option 2 of the E6540 eGPU configurator to get acceleration

 

Comments (eg: how has the eGPU improved your workflow or gaming)

Here we demo a low cost, but capable, Hackintosh system. Was a bit of fun getting macOS going with and seeing first hand the lingo that goes with it.

 

 

This topic was modified 1 week ago

eGPU Setup 1.35    •    eGPU Port Bandwidth Reference Table

15" Dell Precision 7510 (Q M1000M) (6th,4C,H) + GTX 1080 Ti @ 32Gbps-M2 (ADT-Link R43SG) + macOS 10.13.6 & Win10


Yukikaze, rhyker2u, TRUTH94 and 5 people liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago

bluetech and nando4 liked
ReplyQuote
bluetech
(@bluetech)
Eminent Member
Joined: 12 months ago
 

Hi nando4,

Hackintosh & eGPU  -> That's AWESOME! 😍😍😍 

I think, by the time, i have to learn/understand Clover, to update my 
Dell 17" Laptop from Snow Leopard to High Sierra. macbook 8.3 specs.

Is it much more difficult to get a system "like yours" running at OS X with nVidia Hardware? (I know, have to change my mind about AMD-Graphic-Cards)
For example: i7-2xxxQM / K4000M -> eGPU= GTX970

Best regards,
Bluetech

HexaMacMini/32Gb/512gb/10Gbit/s
...is waiting for [email protected]


ReplyQuote
rhyker2u
(@rhyker2u)
Active Member
Joined: 3 years ago
 

Has been on my wishlist to do something like this for a year. So thanks for putting this eGPU guide together nando4.

Additional tip. Replace the ODD (CD/DVD RW) with a HDD caddy and with 2x SSD in RAID0 (software RAID through Disk Utility prior to 1st time installation) gives these Blackmagic results in 10.13.x High Sierra with HFS+J filesystem on Samsung EVO 850s:

Opposed to only 1x Samsung 500GB EvO 850 SSD with APFS:

Bare in mind that software RAID (or Fusion) is currently only supported on HFS+J filesystem and not APFS. Thats not a hackintosh, but a generic Apple MacOSX limitation. Which poses some lovely challenges at upgrading to minor & major releases of MacOS. Since 10.13.4 and thus 10.14.x Mojave too, Apple expects file systems to be APFS. On a single drive thats not a problem as conversion to APFS is fully automatic. But ... 🙁 a very long troubleshoot story very short: in case of RAID0 the non-updated MacOS first has to be cloned with a free CCC (Carbon Copy Cloner app) to a single external USB3 APFS formatted HDD/SSD (and make sure the EFI partition is too), reboot computer and boot with the USB3,  run the MacOS update from the USB3 drive, and after updating clone it back to the RAID HFS+J. Bit of hassle, but worth it performance wise 🙂 

MacOS 10.13.6 (High Sierra) @ HP EliteBook 2570p laptop: i5-3320m, 2x8=16GB RAM, Samsung 2x500GB Samsung EVO 860 RAID0 HFS+J SSD, HD4000 (soon eGPU) with AOC 28" U2879VF 4K || MacOS 10.14.x @ HP EliteDesk: i7-4770, 4x8=32GB RAM, FusionDrive: Intel 20GB SSD + Seagate 500GB HDD, HD4600


nando4 liked
ReplyQuote
Yukikaze
(@yukikaze)
Prominent Member Moderator
Joined: 3 years ago
 

This is pretty damn brilliant. BTW, the RX580 is sub-200$ nowdays, so the cost you list is higher than it needs to be.

Want to output [email protected] out of an old system on the cheap? Read here.
Give your Node Pro a second Thunderbolt3 controller for reliable peripherals by re-using a TB3 dock (~50$).

"Always listen to experts. They'll tell you what can't be done, and why. Then do it."- Robert A. Heinlein, "Time Enough for Love."


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 

@nando4 I recall set-eGPU never worked for you on this build. Have you tried updating to Mojave and trying the Prefer eGPU option that is built-in?

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


ReplyQuote
nando4
(@nando4)
Noble Member Admin
Joined: 3 years ago
 

@mac_editor, Mojave also did not see say FCPX accelerated when set to prefer eGPU option. Other apps like Unigine continue to be accelerated so long as they are launched off an eGPU-attached LCD.

You’ll notice in Display Preferences that Thunderbolt eGPUs appear as external GPU. In this system they appear simply as a GPU.  Apple are making a distinction and giving eGPUs more capability.

Though for this system can use the EFI eGPU configurator to set eGPU as the primary adapter which will then see FCPX acceleration activated. Only dilemma there is an external LCD is required which a true Mac TB eGPU system using the prefer eGPU option doesn’t require.

@yukikaze, it is a nice build. However, the price of 6th/7th gen Latitudes and Precisions is tumbling (E5570/5580/3510/3520). The beauty with those is they can have a M.2 + 2.5″ SATA drive arrangement. The M.2 slot can host a very potent eGPU that surpasses TB3 in performance at a surprisingly low budget as @jkey shows us. Some even come with TB3 ports though it’s those lacking TB3 that tend to be the bargain pick on ebay.

eGPU Setup 1.35    •    eGPU Port Bandwidth Reference Table

15" Dell Precision 7510 (Q M1000M) (6th,4C,H) + GTX 1080 Ti @ 32Gbps-M2 (ADT-Link R43SG) + macOS 10.13.6 & Win10


rhyker2u liked
ReplyQuote
(@romanvibornov)
New Member
Joined: 7 months ago
 

Hello, I have an e6540 notebook. I did according to your instructions, but on the already installed version of Windows. Chose 1 download option. windows booted and I was able to install amd drivers for rx470 radeon. But I cannot use a video card with a built-in laptop screen, as the system sees the main Intel 4600 card. What drivers need to be installed for the rx460 radeon version? If I go to the graphic settings where I can choose the performance, then above, he does not write which video cards I can use. What am I doing wrong ?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
sabrefv
(@sabrefv)
Eminent Member
Joined: 7 months ago
 

I just recently purchased a refurb Dell Latitude e6430 Intel Core i7 3rd Gen., Core i7-3740QM with EC slot on ebay. 
I'm waiting for my EXP GDC Beast with ExpressCard connector to arrive.
I intend to use an RX 580 (MSI Gaming Radeon RX 580 256-bit 8GB GDRR5) and  Dell DA-2 220w PSU (however, I do have 4+ spare ATX PSUs lying around).
OS is Win 10 Pro 1803.
Do I need to use any part of your pre-config configurator? I have no intention of running MAC OS anything.
My intention was to:
Plug in EC to slot
Connect to Beast HDMI
flick on PWR switch on beast
Plug in RX 580 to beast
Power up
install Radeon drivers
reboot
test
Is it not that easy?
you mention "This step is necessary as both macOS and Windows will fail to start if an eGPU is attached with the factory UEFI configuration. Both OS will hang with a black screen".

Lenovo Yoga 730, Dell XPS 13
Akitio Node, Gigabyte Aorus 1070
Sapphire Nitro RX 580, Nvidia GE Force GTX 1070


ReplyQuote
(@joemer_pantua_sunga)
New Member
Joined: 2 months ago
 

Hi can i also have egpu (gtx 750) on my Dell Latitude e6540 with i7 4610m? Thanks

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nando4
(@nando4)
Noble Member Admin
Joined: 3 years ago
 

@joemer_pantua_sunga

Yes, a NVidia or AMD eGPU can be attached successfully to a Dell Latitude E6540 or Precision M2800.

eGPU Setup 1.35    •    eGPU Port Bandwidth Reference Table

15" Dell Precision 7510 (Q M1000M) (6th,4C,H) + GTX 1080 Ti @ 32Gbps-M2 (ADT-Link R43SG) + macOS 10.13.6 & Win10


ReplyQuote
(@joemer_pantua_sunga)
New Member
Joined: 2 months ago
 

@nando4

Thanks for the fast response.  

This post was modified 2 months ago

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote