this post was submitted on 29 Dec 2023
46 points (97.9% liked)

Linux

48090 readers
743 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi all,

Just wondering how progress is on eGPU docks? I want to upgrade my GPU at some point and thought it might be cool to put it in a dock and connect it to a laptop. The laptop has a couple thunderbolt ports.

How's compatibility these days?

top 19 comments
sorted by: hot top controversial new old
[–] TeaEarlGrayHot@lemmy.ca 13 points 10 months ago (1 children)

I have extensively used an eGPU (Razer Core X) with an Nvidia RTX 3050 for gaming under Wayland. Using X11 gave me nothing but problems, but Wayland allows for full hotplug capabilities (as long as no monitors are ever connected to the GPU).

Of course, performance is fairly bad with the official Nvidia drivers + Wayland, but it's good enough to play The Outer Worlds and a few other single player games, which is good enough for me! I have been entirely unable to get external monitors to work with the Nvidia driver (any help would be much appreciated), although they did work (coldplug) with the Nouveau driver.

When I was using Windows, I was able to hotplug/unplug the eGPU with monitors attached, effectively turning the GPU into an external docking station--I am closely following driver improvements, as this would be great to have on Linux to get around the 2-monitor limitation of the Intel iGPU.

[–] Matty_r@programming.dev 1 points 10 months ago (1 children)

Hmm, that doesn't sound great. Can I ask what laptop you were using and which distro?

[–] TeaEarlGrayHot@lemmy.ca 2 points 10 months ago

I'm using the Surface Laptop Studio with EndeavourOS (basically arch, so I have all the latest packages)--the performance issues stem from Nvidia's drivers, so AMD should not suffer from the same problems, although I don't have any AMD cards to test if hotplug with monitors is functional

[–] Maxy@lemmy.blahaj.zone 6 points 10 months ago (1 children)

Disclaimer: I have exactly 0 personal experience with eGPU’s.

According to the archwiki:

While some manual configuration (shown below) is needed for most modes of operation, Linux support for eGPUs is generally good.

[–] p_consti@lemmy.world 3 points 10 months ago (2 children)

Can confirm, I'm using a dock (from Razor) daily without problems. Hot switching doesn't work though, you need to restart X/your display manager to connect or disconnect the eGPU. I'd recommend the gswitch utility to configure the graphics card to be used (on X11). Haven't tested much on Wayland, but I know that at least Gnome (Wayland only) has trouble mixing eGPU and the internal display if that is important.

[–] lurch@sh.itjust.works 1 points 10 months ago

If you use X and need to restart it, you can probably preemptively use XPRA to proxy your Xclients and move them to the new Xserver, except maybe for those that need low latency or DRM (e.g. games)

[–] Matty_r@programming.dev 1 points 10 months ago (1 children)

I don't think hot switching is an issue. It would be setup and not disconnected unless I'm traveling. Does it use the egpu for everything when its connected? Or can you set it up like hybrid where it'll only use it for games etc?

[–] p_consti@lemmy.world 2 points 10 months ago* (last edited 10 months ago) (1 children)

I use it for everything, because I connected my external monitors through the eGPU. https://wiki.archlinux.org/title/PRIME has a few methods for running only selected applications via the eGPU, but I haven't tried them. Edit: See also https://wiki.archlinux.org/title/External_GPU#Xorg for eGPU specific setups.

[–] Matty_r@programming.dev 1 points 10 months ago

Perfect. Thanks!

[–] FlexibleToast@lemmy.world 6 points 10 months ago

I used one with Fedora for a while. The problem I had is whenever it would randomly disconnect, Fedora could not handle it gracefully. It would lock up the system and require a hard reboot. Windows has been a bit more graceful about things. I'm hoping the next generation or maybe oculink will be better.

[–] genie@lemmy.world 3 points 10 months ago

In my mind an eGPU has a very specific use case.

My previous setup:

  • Framework 13 (12th gen i7)
  • Arch Linux (btw)
  • Akitio Node Titan w/ a 1070ti

It worked... ok. The lack of a USB dock really hurt the "desktop and laptop in one" concept that I was shooting for. I had to plug / unplug 3 things to get into "desktop mode" which was a hassle for how much I switched between modes. It ran things like Valheim really well but utterly failed at FPS games like Apex (<15fps, horrible stuttering, totally unplayable).

If you already have a laptop, a GPU, a desk, a decent monitor, and you typically play low-requirement games and just want to play on high settings -- then by all means it'll be great for that! Another way it may make sense for you is if you play around with CUDA and need a compatible GPU on a budget.

That being said, don't convince yourself that you'll get full use out of something like a 4070. If that's what you want then, as of now, a desktop is almost certainly your best option.

Happy tinkering :)

[–] M500@lemmy.ml 2 points 10 months ago (4 children)

Makes me wonder if this is a possible future. Just get a small nuc like computer and connect it to an egpu.

[–] jcarax@beehaw.org 1 points 10 months ago

I think dynamic graphics switching would be far preferable for a desktop scenario, but for a laptop an eGPU is an attractive proposition.

[–] Aties@lemmy.world 1 points 10 months ago

I went down this path, but mini itx nucs with a GPU slot seemed to be better as long as you're not using the egpu on multiple devices; if you are, then it might be worth considering just making a PC a host and running sunshine/moonlight. While I haven't tried connecting to my host on the steamdeck, I have on my laptop and felt like it could be used for gaming

[–] ursakhiin@beehaw.org 1 points 10 months ago (1 children)

It definitely is, but likely comes with a slight performance sacrifice due to bus speeds.

[–] sparky@lemmy.federate.cc 1 points 10 months ago (1 children)

It’s more than slight! I ran a 3090 in an eGPU for a while and it lost around 40% of performance compared to when it was in my case.

[–] ursakhiin@beehaw.org 1 points 10 months ago* (last edited 10 months ago)

That can depend on a lot of factors, though. From the bus of the enclosure to the speed of the USB port and cables you used.

I wouldn't have expected a 40 percent drop on the modern USB standards, but I'd still expect a drop. I was thinking closer to 20 percent.

[–] Matty_r@programming.dev 1 points 10 months ago (1 children)

For sure. It's something I've considered for a while simply because I don't need that extra heat/noise created by the GPU when I'm only doing my day job.

[–] M500@lemmy.ml 1 points 10 months ago

My only problem with this is that the docks are like $300. I guess igpus are getting good enough that I’ll probably never need a dgpu again.

Still surprised how well the steamdeck can handle resident evil 4 remake.

I really don’t need better graphics than that. In fact, they don’t even need to be that good.