7 ms·
Ask HN: Are EGPUs for M1/M2 MacBook's on Linux Possible?
Three things:
1) 2D acceleration with the recent Rust driver in Asahi Linux seems quite attainable, and will enable everyday/office/development use.
2) USB 4 should allow suitable bandwidth for an eGPU
3) What needs to happen to support say, an Nvidia RTX 3090 in an eGPU case/dock? I'm thinking the 'open source' Nvidia driver needs to be compiled for ARM, and everything pushed to it is code for the internal ISA of the GPU.
3D acceleration through an eGPU seems much more possible in the near-term than supporting the internal iGPU of the M1/M2.
- deleted 4y ago[deleted]
- anigbrowl 4y agoI was under the impression that the obstacles were at least partly a MacOS issue, because people have encountered difficulties running eGPUs on Intel Macs as well. Would love to hear if/how this is working in the field.
- oneplane 4y agoIt works fine on Intel Macs with supported hardware, but after a bit no new updates came for newer GPUs and because the corporate relation between Apple and Nvidia got shot to the around the 8600/8800 GPU series debacle, the only eGPUs that work on macOS on Intel were AMD gpus. You could run Windows and use GPUs there, but on ARM that's a different story, there don't seem to be any Windows or macOS drivers at all, except for Linux. So would it work hardware-wise? Yep. But no official software is being made to do it because none of the parties that could are incentivised to do so.
- oneplane 4y agoIt's definitely possible, but there are no drivers released by the GPU manufacturers. They may simply not see any benefit of making such an investment, and they might point a finger at Apple for not allowing them the ease of development using kernel access (they would have to make a DEXT or something like that). It's also likely that there isn't really much of a market for it anymore.
- rektide 4y agoTo be clear, there really shouldnt need to be support for egpus specifically. Its just that MacOS, being run on almost entirely fixed hardware with off-brand/custom apis (Metal) isnt attractive for gpu makers in any capacity. Otoh on Linux it should just work!
- Wowfunhappy 4y ago> Otoh on Linux it should just work! It won't, unfortunately. https://twitter.com/marcan42/status/1538426240922963968 https://twitter.com/marcan42/status/1538426240922963968
- oneplane 4y agoYeah, most of the M1 (and some M2) limitations seem to stem from the mobile stack where it's not "a PC but smaller" but the other way around ("embedded mobile, but now make it PC-sized"). They lack a whole bunch of similar peripheral configurations, it's why on the base M1 you also get very few USB/TB ports, graphics output support or PCIe lanes in general. I suppose it makes sense considering they can design the products as a whole and only add what they actually need instead of just getting a bunch of stuff and seeing what sticks in their design (which is what happens if you have a ton of external suppliers for CPU, PCH etc.). Maybe if they come up with some M2 Ultra Max XXL or whatever they will get an abundance of lanes that require other BAR configurations to make proper use of (which would then mostly make sense if they go Mac Pro or at least larger-than-mac-studio - but if that is going to include PCIe slots... who knows).
- oneplane 4y agoTo be clear, I was talking about binary drivers supplied by AMD and Nvidia for the most common GPUs that are attached externally. Not about the fact that they were external. MacOS has built in drivers for plenty of GPUs, including AMD, Nvidia, Apple and Intel. But on the ARM64 side, AMD and Nvidia have not made any drivers for Windows or macOS, so you are out of luck on the software side.
- forrestthewoods 4y agoI have never seen a single review or benchmark of eGPUs that was impressive.
- rektide 4y agoI've never seen a review that had any real issue with them? They performed fine everywhere I saw.
- lmeyerov 4y agoWe mostly want this for development of CUDA apps, not even super worried about performance. Increasingly, I'm thinking just a mobile eGPU Ubuntu node you plugin and ssh into, and just a nice remote setup...
- forrestthewoods 4y agoIt’s hard to even find a review with gaming benchmarks. A quick search and I’m not sure any eGPUs are even being made? All the reviews seemed to be from 2019. It’d be awesome if eGPUs provided high throughput and low latency. But it really doesn’t seem like that’s the case.
- izacus 4y agoThere are whole sites dedicated to eGPU reviews so I'm not sure what are you looking at?
- forrestthewoods 4y agoShare links.
- oneplane 4y agohttp://egpu.io http://egpu.io
- 4y ago
- Apreche 4y agoThere isn't ever going to be official support for it, that's for sure. As for unofficial support, it's going to take some nerds to put that together. It could be you! Go buy one and start working on it. Let us know how it goes. I'm sure you can get a lot of enthusiastic people to help you. Personally, I think a better and easier option is to just get an entire other computer with the GPU(s) in it. This can either be a physical machine you have, or some GPU cloud instance. Then in situations where the Mac graphics capabilities aren't up to snuff, you can use something like remote desktop or streaming to offload that work to the other machine. e.g.: Setup a small headless PC on your network that has a powerful GPU and Steam installed. Then run Steam Link on your Mac to play games that don't run natively on MacOS.
- CharlesW 4y ago> There isn't ever going to be official support for it, that's for sure. What makes you so sure, given that Apple was early to the eGPU party (support was announced and demonstrated at WWDC 2017), continues to support them on Intel silicon Macs¹, and continues to sell them²? ¹ https://support.apple.com/en-us/HT208544 https://support.apple.com/en-us/HT208544 ² https://www.apple.com/shop/product/HM8Y2VC/A/blackmagic-egpu https://www.apple.com/shop/product/HM8Y2VC/A/blackmagic-egpu
- Matthias247 4y agoThey probably meant the "on Linux" part.
- minimaul 4y agomarcan (working on linux on these devices) has talked about this on twitter previously. tl;dr is that while it is kinda technically possible, it would require a lot of changes to existing software and might result in nasty performance issues that could make the whole idea not worth it. https://twitter.com/marcan42/status/1534825580801433600 https://twitter.com/marcan42/status/1534825580801433600
- Mandatum 4y agoSounds like something suitable for a vendor writing new drivers and compatibility abstractions for fresh hardware. Intel might have a leapfrog opportunity here..
- uni_rule 4y agoConsidering the status of GPUs on hackintosh systems / the Mac Pro I am under the impression that no Nvidia cards after Pascal are supported by MacOS and the ones that are are via various kludges dredging drivers from High Sierra upwards to new versions via OpenCore. Officially, MacOS is firmly in Radeon territory when it comes to dgpus.
- amelius 4y agoMy advice would be to get a real industrial computer running Linux instead of relying on consumer electronics.
- hahamrfunnyguy 4y agoI am on my 2nd laptop PC (HP Spectre) using the same eGPU over TB3, an Akito Node with a GTX 1060. My newest laptop has better hardware acceleration than my previous laptop, but the eGPU is still useful for playing games. I was playing Fortnite quite a bit, but at some point in 2019 they released a patch that made the game unplayable with my eGPU so I haven't played since. So was some commenters have said on this thread already, eGPUs are not well supported.