eGPU on Linux - Easy-to-use setup script
@dmitry_vasilev, you can find information about that here
boltctl authorize <Device ID>
@hertg Your script still works great in Ubuntu and Pop!_OS 19.10! There's also some enhancement in this version at the login screen. I hot-plugged a Thunderbolt 3 NVMe M.2 adapter and saw this notification.
Have you tested this setup with a Nvidia card since this post? If so, I'd love to know which driver you used. I'm facing some driver issues myself with 435.
@rimsonatoaster, I did not test with an Nvidia eGPU unfortunately. I saw your recent post with a freezing issue.
@itsage, Thanks for letting me know anyways! If you get a chance to setup your R3 with a GTX/RTX card, I'd appreciate hearing which set of drivers you're on.
Like many others, I also tried to use your script, unfortunately I have not been able to get it working. I have been struggling with this for days now and cannot get it to work. I am not very experienced with stuff like this and was hoping one of you would have some pointers for me.
I have the following setup:
Laptop: System76 Darter Pro with Intel i7-10510U CPU and Mesa Intel UHD Graphics (CML GT2)
Os: Pop!_OS 20.04 LTS with linux kernel 5.4.0-7634-generic
Egpu: razer core x + radeon rx 5700 xt from Aorus
What i did:
1. install the drivers using this website: https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-19.10-Radeon-RX-5700
2. authorize my razer core x
3. run your script, which ended successfully
Then i tried to reboot, which took me to a screen where i saw a lot of [ OK ] blablabla. Then rebooted again, got into boot mode and explicitly told it to boot pop_os, then I got stuck in a login loop.
When i run boltctl list, I indeed see that it is authorized. When i run lspci -k | grep -EA3 'VGA|Display' it shows up with it is plugged in but there is no driver information mentioned. It is not listed for xrandr --listproviders. Also, when it is plugged in the fans are constantly at full blast. So I guess the driver is not configured correctly or something.
I have no clue what next steps could be and any help is appreciated!
It probably isn't getting enough pcie resources to start. Can you post the output of lspci -vvvv
Here's an example of what it looks like if it's not getting enough resources. Notice how the memory is <unassigned> and [disabled]
output of lspci -vvvv is this:
It does not have memory is <unassigned> and [disabled]. Is Capabilities: <access denied> not an issue? Also i see that for almost all other hardware there is a line: kernel driver in use, which is missing for the graphics card.
Ok so it's not a pcie resource problem then. It should have a line saying:
Kernel driver in use: amdgpu
so it seems like the the amdgpu driver isn't being used for the card then. I'm not familiar with the whole navi firmware situation. Is this still necessary for the 5700xt to get the firmware manually with kernel 5.4? You could try moving to a newer mainline kernel, my favorite script for installing mainline kernels on ubuntu (and its derivatives) is https://github.com/pimlie/ubuntu-mainline-kernel.sh