eGPU automatically as primary GPU for wayland/gnome
 
Notifications
Clear all

eGPU automatically as primary GPU for wayland/gnome  

  RSS

(@backslashhh)
New Member
Joined: 2 years ago
 

With this patch for clutter and the mentioned udev rule, gnome on wayland runs perfectly fine and all applications will use the eGPU automatically, if connected (including steam). If you can wait, I am sure there will be updated packages for 3.38 as it was merged in that branch also.

To disconnect the eGPU, you will have to poweroff and restart.

Despite that, no special scripts or services are needed.

YAY!

Finally a glmark2 of 11302 for my AMD Radeon RX 5700 XT compared to 2631 for the internal Intel(R) UHD Graphics 620 (WHL GT2).

Razer Core X with Gigabyte AMD Radeon RX 5700 XT connected to Lenovo T490s (Linux) or MacBook Pro


nu_ninja and itsage liked
ReplyQuote
Topic Tags
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 4 years ago
 

Thanks for drawing attention to this. Wayland is seeing a lot of linux development so it's good to have an egpu option.

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
(@nicolaj)
Active Member
Joined: 4 years ago
 

I'm having trouble replicating this with my Razer Book 13, Core X, 3060 ti, and Ubuntu 21.10... Any advice?

Do I need to do something else, besides downloading the nvidia driver, and setting the udev rule accordingly?

2020 13" Razer Book 13 [11th,4C,G] + RTX 3060 Ti @ 32Gbps-TB4 (Razer Core X) + Linux Pop!_OS 21.10 [build link]  

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

@nicolaj

Check if you are using Wayland or Xorg under the Settings app > About > Windowing System. If it says Xorg then these steps don't apply and you should use an xorg configuration tool like egpu-switcher or gswitch. If it says Wayland then you can try my all-ways-egpu script

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
(@nicolaj)
Active Member
Joined: 4 years ago
 

@nu_ninja

Thanks for the advice!

I explicitly chose wayland at login. I was kinda intrigued by the idea of not using scripts.

I’ve got a working setup with Pop_OS 21.10, using egpu-switcher on Xorg. I like the GUI-switching on Pop_OS.

 

 

2020 13" Razer Book 13 [11th,4C,G] + RTX 3060 Ti @ 32Gbps-TB4 (Razer Core X) + Linux Pop!_OS 21.10 [build link]  

ReplyQuote