48
eGPU docks? (programming.dev)
submitted 11 months ago by Matty_r@programming.dev to c/linux@lemmy.ml

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 20 comments
sorted by: hot top controversial new old
[-] TeaEarlGrayHot@lemmy.ca 13 points 11 months ago

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 11 months ago

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

[-] TeaEarlGrayHot@lemmy.ca 2 points 11 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 11 months ago

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 11 months ago

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.

[-] Matty_r@programming.dev 1 points 11 months ago

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 11 months ago* (last edited 11 months ago)

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 11 months ago

Perfect. Thanks!

[-] lurch@sh.itjust.works 1 points 11 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)

[-] FlexibleToast@lemmy.world 6 points 11 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 11 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 :)

[-] Badabinski@kbin.social 2 points 11 months ago* (last edited 11 months ago)

I have an AKiTiO Node Titan eGPU enclosure with a GTX 1070 hooked up to an Ubuntu 22.04 laptop and it's working pretty well. I'm doing PCI passthrough to an Arch Linux VM, since my company mandated that all Linux users must use Ubuntu. To stave off comments about this, I'll say that it's not just that I dislike Ubuntu. They're requiring me to lock down so much stuff that I can't do my job. Plus, the endpoint security sensor on the host plays absolute hell with anything that uses heavy multiprocessing. The GPU (with external monitors), second NVMe drive, mouse, keyboard, audio interface, microphone, webcam, 30 gigs of RAM, and 11 CPU cores are passed to the VM, and the host OS gets the laptop GPU + monitor and my continuing disdain.

I've been using this setup for a month. My experience thus far has been positive. I start the computer up with or without the GPU connected, connect the GPU if I haven't yet, launch my VM via libvirt, and things just work. I really thought I'd have more problems with the GPU, but the USB passthrough stuff has been the truly problematic part (I can't just pass the whole PCI USB controller for IOMMU reasons). It's important to note that the GPU displays directly to external monitors. I think it's possible to like, send the data back to your laptop screen? But I really didn't want that.

(As an aside, the security people at my company have no problems with VMs lol. They know what I've done and they don't seem to care).

[-] M500@lemmy.ml 2 points 11 months ago

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

[-] Matty_r@programming.dev 1 points 11 months ago

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 11 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.

[-] Aties@lemmy.world 1 points 11 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

[-] jcarax@beehaw.org 1 points 11 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.

[-] ursakhiin@beehaw.org 1 points 11 months ago

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

[-] sparky@lemmy.federate.cc 1 points 11 months ago

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 11 months ago* (last edited 11 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.

this post was submitted on 29 Dec 2023
48 points (98.0% liked)

Linux

48335 readers
487 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