2017 15" Dell Precision 5520 (Q M1200) [7th,4C,H] + GTX 1070 @ 32Gbps-TB3 (AKiTi...
Clear all

2017 15" Dell Precision 5520 (Q M1200) [7th,4C,H] + GTX 1070 @ 32Gbps-TB3 (AKiTiO Node) + Linux Manjaro 18 [Random_Jerk]  


New Member
Joined: 3 years ago

System specs:

  • CPU:Intel Core i7-7820HQ
  • Laptop : 2017 Dell Precision 5520
  • RAM: 16 GB (2x8 GB) 2400MHz
  • iGPU: Intel® HD Graphics 630 0.35-1.1 GHz
  • dGPU: NVIDIA GM107GLM [Quadro M1200 Mobile]
  • OS: Manjaro 18 with KDE 5.14.4 with Kernel 4.19.x/4.20.x
  • External display: Dell 27 inch 4K
  • Thunderbolt port has only 2 PCIe lanes assigned (Major bottleneck)


eGPU Hardware:
Hardware Pictures:

Installation Steps:

1) Install and configure Manjaro Linux. In my case its Manjaro 18 KDE version with kernel 4.19+

2) Install the Nvidia-Prime driver (No Bumblebee please) for the Nvidia Quadro M1200 following the steps from here

3) Connect in the eGPU and check if its detected. (For some laptops, Thunderbolt devices should be authorized. I changed by Thunderbolt settings to make sure it was in Secure Mode in the BIOS. Once the Secure Mode has been set in the BIOS, Manjaro automagically detected it)

                 Output of lspci | grep -E "VGA|3D" showing the list of devices connected with their PCI Bus IDs at the start (00.02.0 for Intel iGPU, 01:00.0 for NVidia Quadro M1200 and 0b:00.0 for eGPU GTX 1070 in my case)
                (Note that all the above PCI Bus ID values are in Hex, they should be converted to Decimal in the following steps)


4) Installing the NVidia Prime driver in Step 2 would have generated an /etc/X11/xorg.conf.d/optimus.conf file that the X Server system would read to load the appropriate display config for the OS. Backup the existing file and change it to the following:

[Please login to see this]

(Note that the Bus ID of the eGPU GTX 1070 now is PCI:11:0:0 (which is the decimal equivalent of 0b:00.0 from the earlier step 3)
The above file defines 2 devices, the first 'nvidiaegpu' being the GTX 1070 eGPU and the second 'intel' being the Intel iGPU.  2 Server Layouts are defined, each to use the eGPU or iGPU.  Next steps would be to switch between them during boot based on if the eGPU is connected or not.

5) Now, I followed Step 4 from nu_ninja's Build guide , but also tweaked it for Arch based systems.      

      a) Create a directory called inactive in /etc/X11/xorg.conf.d/ and create a file called 01-laptop.conf

[Please login to see this]

    b) Create a script to automatically switch to eGPU GTX 1070 or Intel iGPU when the eGPU is connected or not.  This can be done by creating the following script /usr/bin/gpuswitch.sh

[Please login to see this]


      c)  Create a service that triggers this gpu Switch script at startup. Create a file /etc/systemd/system/gpuswitch.service

[Please login to see this]

      d)  Provide appropriate execution rights for the GPU switch service to run smoothly

[Please login to see this]

6) Restart and enjoy


Benchmarks on External Display:

1) Youtube 4K60 videos using VP9 codec play ultra smoothly with  ~1% frame drops in the new eGPU  GTX 1070 configuration, while Quadro M1200 used to drop 50-60% of the frames. 

2) FishGl would struggle to hit 10-12 fps when the the fish count is above 100 when using the Quadro M1200, while consistently hits 55+ fps when the fish count is 400 on the eGPU.

3) Unigine Heaven Score on Quadro M1200 : 428
    Unigine Heaven Score on eGPU GTX 1070 is



Additional Comments:
  • Was unable to get the Quadro M1200 working in Laptop mode , when the eGPU 1070 is disconnected. As of now, in laptop mode the Intel iGPU is being used. Will update the above configuration once I get that working.
  • KDE's KWin Compositing was dropping frames heavily and I was experiencing lots of input lag on the eGPU 1070, while everything was smooth on the Quadro M1200 and the Intel iGPU, even on the same NVidia driver.  The silver bullet to fix this issue turned out to be setting  ‘export KWIN_COMPOSE=O2ES’ in /etc/profile.d/kwin.sh during KDE startup.
  • Bumblebee never worked for me, even with Intel iGPU and Quadro M1200 dGPU. So, I always used Prime. So, never bothered to test this eGPU stuff with Bumblebee
This topic was modified 3 years ago
2017 15" Dell Precision 5520 (Q M1200) [7th,4C,H] + GTX 1070 @ 32Gbps-TB3 (AKiTiO Node) + Linux Manjaro 18 [build link]  

fvsl and itsage liked