2018 12" Lenovo ThinkPad X280 [8th,4C,U] + RTX 3090 @ 32Gbps-TB3 (Razer Core X) ...
 
Notifications
Clear all

2018 12" Lenovo ThinkPad X280 [8th,4C,U] + RTX 3090 @ 32Gbps-TB3 (Razer Core X) + Linux Ubuntu 20.04 [lessse]  

  RSS

Luís Espírito Santo
(@luis_espirito_santo)
New Member
Joined: 4 weeks ago
 

 

System specs 

  • 2018 12.5'' Lenovo ThinkPad X280
  • Intel Core i7-8650U 1.9- 4.2Ghz 4c/8t
  • 16GB DDR4 2400
  • Intel HD 620 iGPU  
  • Lenovo ThinkVision panel
  • 500GB SSD
  • Dual boot: Ubuntu 20.04 + Windows 10 (for now eGPU just working on Ubuntu 20.04)

 

eGPU hardware

  • Razer Core X - eGPU box
  • Graphics card: PNY GeForce RTX 3090 24GB XLR8 Gaming REVEL EPIC-X RGB Triple Fan Edition

 

Hardware pictures

 

Installation steps

1. Add nvidia repo

[Please login to see this]

2. Install nvidia-460 drivers

[Please login to see this]

3. Disable secure boot and TB3 security in BIOS

4. Install and config eGPU-switcher

5. To check if everything is ok, run

[Please login to see this]

(For TensorFlow with eGPU)

6. Install CUDA 11.2 and set path

7. Install cdnn

8. Use TensorFlow 2.4.1

 

Tips

Q1: I'm getting "ERROR: NVIDIA driver is not loaded" error, what should I do?

A: Check if your thunderbolt port is ok (Q6) and drivers are loaded (Q2).

 

Q2: How to know if my Nvidia Drivers are loaded and how to load them manually?

A: Run:

[Please login to see this]

 

Q3: I'm getting "modprobe nvidia throws error: could not insert 'off'" error when doing Q2, what should I do?

A: Check https://askubuntu.com/questions/1084829/modprobe-nvidia-throws-error-could-not-insert-off

 

Q4: I'm not sure I can reach the GPU?

A: To check if you see you GPU in the result of any of the following commands:

[Please login to see this]

Q5: I'm not sure my usb-c supports TB3?

A: Check https://askubuntu.com/questions/979660/how-to-check-via-software-if-my-usb-3-1gen2-type-c-port-supports-thunderbolt3

 

Q6: My laptop support TB3 but I don't know if its working?

A: Try plugin it in and out and check if the output of the following command changes

[Please login to see this]

 

Q7: I'm getting "Could not load dynamic library 'libcudart.so.11.0'" error or cudnn library error, what should I do?

A: Check if you installed correctly the cuda and cudnn libraries and check os.environ inside python to check if your LD_LIBRARY_PATH is set to the directories at run time.

Run:

[Please login to see this]

 

Other tips:

- update your OS

- when installing and adding repos to apt, check if your repos in apt are ok (some of apt functionality such as adding keys don't work as explained around the web if you have unsigned repos);

- check your linux kernel version and update it;

- check your firmware (fwupdmgr get-devices);

- create a bug report (nvidia-bug-report.sh) and publish it on Nvidia forum;

 

Benchmarks

No benchmark for now 🙁 Sorry! I'll update these later

 

Comments

I'm using it for deep learning training, so if you're looking for a solution like this for training your models, it works. Smile

This topic was modified 3 weeks ago
2018 12" Lenovo ThinkPad X280 [8th,4C,U] + RTX 3090 @ 32Gbps-TB3 (Razer Core X) + Linux Ubuntu 20.04 [build link]  

aurelius pontius, mr.ribeiro, nando4 and 1 people liked
ReplyQuote
itsage
(@itsage)
Founder Admin
Joined: 4 years ago
 

@luis_espirito_santo, What an excellent build and clear troubleshooting steps to get the eGPU working in Linux!

 

LinkedIn | Twitter | Facebook | Youtube | Instagram

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 13" MacBook Pro [10th,4C,G] + RX 6700 XT @ 32Gbps-TB3 (CM MasterCase EG200) + Win10 1903 [build link]  


ReplyQuote