Is it possible to connect eGPU after xorg starts?
 
Notifications
Clear all

Is it possible to connect eGPU after xorg starts?  

  RSS

(@ivasonn)
New Member
Joined: 2 months ago
 

Is it possible to connect eGPU after xorg starts?
There's no problem with connect it and loading nvidia, nvidia_drm drivers before xorg starts. But what's about running xorg with iGPU and only certain applications on eGPU?
Also interested in connect external display, can it be done with eGPU help?

arch (linux-lts)
eGPU nvidia gtx 1050ti (440.44-10)

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


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

@ivasonn

Assuming you want to do graphical things on the eGPU, then no xorg can't switch to a GPU that wasn't connected when it started. The arch wiki gives a good summary of the alternative options here: https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Available_methods

1) Use nvidia-prime (or optimus-manager, but nvidia-prime is the official way now) and restart xorg to switch between internal and egpu (this made easier with the gswitch script and GUI from this forum)

2) Start a separate x session on the egpu

3) Use bumblebee

I'd recommend avoiding bumblebee due to it's issues and the fact that it uses a lot of bandwidth, which is a problem for eGPUs.

 

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


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

@nu_ninja

Thanks a lot, already test all of this. 

Do you know will this feature in the future or may be wayland can do this?

And not egpu related question, can i start two x sessions with one profile? 

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


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

I don't think this will become a feature in xorg, maybe some advanced wayland compositor will allow it (macOS does, so it's possible) but I didn't have much luck when I tried them last year. You should be able to start two x sessions with the same profile, the linux build in my signature might help for if you want to use 1 xorg.conf and start one session in the laptop layout and another in the egpu layout

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


itsage liked
ReplyQuote
(@ivasonn)
New Member
Joined: 2 months ago
 

thanks again for answers

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


ReplyQuote