eGPU on Linux - Easy-to-use setup script
 
Notifications
Clear all

eGPU on Linux - Easy-to-use setup script  

 of  13
  RSS

niirb
(@niirb)
Active Member
Joined: 11 months ago
 

@hertg, Yes I was using the PPA, it told me that no releases were available when I tried installing it so no binaries must have been it. I decided to go back to 20.04 due to numerous other issues but thanks for releasing them Smile

 

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
wout
 wout
(@wout)
New Member
Joined: 6 months ago
 

@hertg Thank you so much for your work on this!

I just received my eGPU (Razer Core X + AMD RX 580) and got it up and running in under an hour. I'm using a Dell XPS 13 9370 with elementary OS 5.1 (based on Ubuntu 18.04). I had to do some fiddling the BIOS settings for Thunderbolt, by enabling Pre-Boot ACL.

Oddly, I also had to specifically define the internal and external GPU. Because for some reason, the GPU was laggy before I did so. It felt like the Intel GPU was used through the eGPU. And aside from the same slowness, it also produced artefacts and behaved strangely when resizing windows.

But now all is well. It's like I've got a brand new computer. Smile

image

White and Gold Dell XPS 13 9370 i7/16GB/512GB with Windows 10 + Razer Core X + AMD Radeon RX 6700 XT 12GB


ReplyQuote
jbj
 jbj
(@jbj)
New Member
Joined: 6 months ago
 

Thanks for developing this script!

 

I am trying to get it working, and at this point I a not sure where I have to debug, so hoping a push in the right direction 

 

I am using a T430 with internal NVIDIA card

Operating system is Ubuntu Mate 20.04

via ExpressCard, I connected EXP GDC Beast 8.5c to Externally add AMD/ATI Curacao PRO Radeon R7 370/R9 270/370 (I have 300W PSU for it)

 

without doing anything I could utilize the HDMI out from the external graphics card, but I could not find the card in the Ubuntu Mate Nvidia menu, here only the internal card was visible.

 

when configuring the egpu switcher software, I could detect and select the external card, but when rebooting my T430, the screen goes blank just before arriving at the login screen.

 

with a few searches, I discovered that the error message I got is related to the graphical userinterface, and I can get text-based interface with tty1 by pressing Ctrl Alt F1.

 

Could this be related to the egpu switcher software or should I debug somewhere else?

 

best greetings

This post was modified 4 months ago

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
troozers
(@troozers)
Active Member
Joined: 2 months ago
 

Hi,

Is there any plans to release a ppa for Ubuntu 21.04?  Also, with 21.04 will the script support wayland or just xorg?

Many thanks for an excellent script ^_^

 

Dell XPS 13 9300 i7/32GB/1TB with Ubuntu 20.04 + Razer Core X Chroma + Nvidia GeForce GTX 1080Ti


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

@troozers

This script is only for xorg configurations, it will not affect wayland. If you need to setup the eGPU as primary under GNOME Wayland check out this other script:

https://github.com/dangreco/gnome-egpu

 

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


itsage liked
ReplyQuote
troozers
(@troozers)
Active Member
Joined: 2 months ago
 

@nu_ninja, many thanks for that - i've not used cargo before to install packages; unfortunately it seems to bork as it requires a library (zeroize v0.9.3) that is no longer available/supported.  It's actually required by dialoguer, which is required by gnome-egpu.

Will the egpu-switcher package be available on ubuntu 21.04 with xorg support, as a ppa?  Otherwise I will start looking at how to implement either version manually - just need to find a trusted source on how to do this.

Cheers again.

 

Dell XPS 13 9300 i7/32GB/1TB with Ubuntu 20.04 + Razer Core X Chroma + Nvidia GeForce GTX 1080Ti


ReplyQuote
troozers
(@troozers)
Active Member
Joined: 2 months ago
 

I managed to rebuild gnome-egpu from source and resolve the dependencies but for some reason just can't get Ubuntu 21.04 with Wayland to work properly with the Razer Chrome X and nVidia 1080Ti... I can see my laptop screen, it knows there's an nvidia card, but it doesn't see the two monitors connected to the eGPU.

Is this an issue with Wayland + nVidia?  I was looking at XFX Radeon RX 580, but wanted to make sure that I wasn't missing something obvious, or worse potentially pay out for a new card which won't change anything.

Any advise is most welcome.

 

Dell XPS 13 9300 i7/32GB/1TB with Ubuntu 20.04 + Razer Core X Chroma + Nvidia GeForce GTX 1080Ti


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

I haven't upgraded to ubuntu 21.04 yet due to this bug so I haven't tested, but from what I've read I think wayland is only enabled on AMD and intel graphics so far.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


ReplyQuote
TheGreen
(@thegreen)
Active Member
Joined: 3 months ago
 

@hertg, I have not yet used your script (thank you in advance for sharing your work), just commenting to say that your code is a pleasure to read. Very good style.

 

Dell Latitude 7390 2in1 8GB + Akitio Node Pro w/ GTX 770 or GTX 1660 (AMA while I haven't a build posted)


ReplyQuote
RaggaMuffin
(@raggamuffin)
Active Member
Joined: 1 month ago
 

@hertg thank you very much for the script! It worked pretty seamlessly for me. 

Saving my Nvidia X Server settings to the xorg.conf.egpu file worked fine, although the preferred performance mode does not get saved. It's not a problem with the switcher script conf, but the Nvidia app itself. I have tried various workarounds posted elsewhere to change default PowerMizer settings, but I've had no luck getting it to default to maximum performance. Does anyone have a workaround for this?

 

@troozers

I can't get my 1080 and Razer Core X to work with Wayland either. I'm using Arch with KDE. I can get it to work with X11, though. If I change my session from Wayland to X11 at the SDDM login screen, it then all works perfectly. What display manager are you using just out of curiosity?

 

edit: Sorry, I didn't read your previous post where you mentioned X working for you.

2018 Lenovo T480s [8th,4C,U] + GTX 1080 @ 16Gbps-TB3 (Razer Core X) + Win10 / Arch


ReplyQuote
 of  13