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

eGPU on Linux - Easy-to-use setup script  

 of  10
  RSS

johan171
(@johan171)
Active Member
Joined: 1 month ago
 

I installed the newest kernel (5.7.7), but it does not work still. However, there is some "progress". When i plug in the egpu while the laptop is powered on, it completely freezes and when i plug it in when it is turned off, I only get a blank screen on start-up.

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

.

ReplyQuote
johan171
(@johan171)
Active Member
Joined: 1 month ago
 

Version 5.7.7 broke other things in my laptop. I also tried 5.5.0, but also was not lucky with that one, the screen also freezes for that version. Another strange thing is that i uninstalled version 5.7.7, but by default it still boots with that version, so now I have to select boot with older kernel each time to get to the stable 5.5.0 version.

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

.

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

@johan171

Switch to the default stable kernel before uninstalling the mainline kernels. Also be sure to run the script as root when installing and uninstalling. It's not very good about giving you feedback. Sorry if I didn't mention that mainline kernels can cause problems.

I think posting the full output of dmesg with the egpu attached would be my next thing to do.

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
johan171
(@johan171)
Active Member
Joined: 1 month ago
 

I knew that newer kernels could give issues, no worries. That has been fixed again. But after trying to make it work for 4 days and a lot of frustration later, I decided to give up this quest. I also contacted customer support of system76 and they said that their newest supported kernels should support my graphics card. That information may be helpful for somebody in the future. I did not pin point the issue unfortunately. A collega of mine with more experience in linux also had a look and also could not make it work. Maybe with more effort I could have made it work, or maybe the graphics card was faulty (but I did not have another machine to test it with). I guess we will never know. Time was also not my friend in this adventure as I needed this for my job, in consultation with my employer we arranged a desktop for me. Anyway, thanks a lot for the effort you took in answering my questions!

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

.

ReplyQuote
Mauri Farias
(@mauri_farias)
New Member
Joined: 1 month ago
 

Hey guys i am new to the linux world.
Manage to get this working, however i have issues when i disconnect the egpu. once i disconnect it from the computer everything freezes and i need to reboot the computer.
In windows this dosnt happend. Any good tips how i can make this work better?

I am running:

egpu: Razer core X
computer: Razer blade stealth
Ubuntu 20.04

 

Thanks in advanced.

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

.

ReplyQuote
hertg
(@hertg)
Active Member
Joined: 1 year ago
 

@mauri_farias

Unfortunately, hot-plugging your eGPU is not possible and a reboot is always required.
Make sure to only connect / disconnect your eGPU while your computer is fully shut down to prevent system freezes.

There's actually an open pull request which will add the feature to remove the eGPU without a reboot in the future.
However, it still requires the user to completely log out, so it's not really the same to what you are used to in Windows.

Notebook: Lenovo ThinkPad X1 Extreme (GTX 1050 Max-Q Ti)
EGPU: Mantiz MZ-02 VENUS (GTX 1080)
OS: Arch (LightDM, AwesomeWM)


ReplyQuote
niirb
(@niirb)
Active Member
Joined: 1 month ago
 

Hey!

Just wanna express my thanks. This script is working well most of the time and withou it I probably would not be able to set up eGPUs in Linux!

I am now running Pop OS 20.04 with a RX 580 in a Sonnet Breakway 350W. Amazingly enough, I get my laptop to charge off the eGPU box on Pop, something it wasn't able to do on Windows!

For the errors, if I turn it on with the box plugged in I don't get to boot but get stuck on a "starting GNOME Display Manager". It feels like I need to pop the thunderbolt cable in the device at a "right time".

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

.

ReplyQuote
hertg
(@hertg)
Active Member
Joined: 1 year ago
 

@niirb

Hey, sorry to hear that it doesn't seem to work properly.

There were similar reports from people using GDM (Gnome Display Manager) in the past.
As far as i know, the common solution for most people was to switch to LightDM.

 

Notebook: Lenovo ThinkPad X1 Extreme (GTX 1050 Max-Q Ti)
EGPU: Mantiz MZ-02 VENUS (GTX 1080)
OS: Arch (LightDM, AwesomeWM)


ReplyQuote
niirb
(@niirb)
Active Member
Joined: 1 month ago
 

@hertg, thanks for the reply. I looked into that but I'd prefer not to mess with the UX (even if minor) on Pop. I'll look into other scripts that do similar things and if they also have issues with GDM i'll try to switch to LightDM!

 

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

.

ReplyQuote
niirb
(@niirb)
Active Member
Joined: 1 month ago
 

Just wanna give an update on my situation. Sadly LightDM didn't help me at all. Thankfully, however using  @Sebulon script made it work flawlessly for me. Thank you both for the effort you are putting into this stuff. I'm very satisfied with how egpus are done in Linux and I'm happy to see this wasn't one of the painpoints when switching from Windows. Smile

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

.

ReplyQuote
 of  10