Hi there,
I had a bit of hassle setting up my new RTX 2080 (Gigabyte RTX 2080 OC 8G) eGPU on Ubuntu 18.04 using a Razer Core v1.
So I thought I would share how I did it!
The problem: I had a working setup with the same hardware but a different GPU (Gigabyte 1060 GTX OC 6G).
When I switched the GPU, I was not able to boot on Windows or Linux: after selecting the OS in grub, the screen switched to
black and nothing happened.
- In my BIOS (XPS 13 9380), I disabled the "Thunderbolt Boot Support". After that, Windows booted ok. But in Ubuntu,
the NVIDIA drivers would not load and I had a strange error in dmesg:NVRM: BAR1 is 0M @ 0x0
- I removed all the nvidia related packages:
sudo apt-get --purge remove 'nvidia*'
- Reboot.
- Add the following kernel parameters in /etc/default/grub:
pcie_ports=native pci=assign-busses,nocrs,realloc iommu=on
- Update grub:
sudo update-grub
- Reboot.
- Install the 440 NVIDIA drivers:
sudo apt-get install nvidia-driver-440
- Reboot.
- At this point, the NVIDIA GPU was recognized and listed in nvidia-smi. But I was stuck in a login loop, presumably because the X server settings were incorrect.
So I installed egpu-switcher:sudo add-apt-repository ppa:hertg/egpu-switcher
sudo apt update
sudo apt install egpu-switcher
sudo egpu-switcher setup - Reboot.
- Everything works as expected!
I hope it can help others!
To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.
.Hi, I just wanted to say a huge thank you, this worked like a charm with Ubuntu 20.04 and a Razer Core X. I’ve already spent around 20+ hours on googling, reinstalling and breaking my system, but this finally worked. The added Kernel parameters together with the egpu-switcher finally did the trick. Thanks so much for sharing this solution!!
To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.
.I second Lukas!
Thank you very much! Been beating my head getting this to work.
Thinkpad X1 Carbon 6th Gen
Pop_OS 20.04 (aka Ubuntu 20.04 LTS)
Razer Core X
AMD Vega64
Using gswitch.
Â
Razer Core X, AMD Vega 64, various 1x-to-4x HDMI-connected monitors
|- Thinkpad P1, Pop_OS (aka Ubuntu) w/Regolith
|- Thinkpad Carbon X1 6th Gen, Pop_OS (aka Ubuntu) w/Regolith
^- 2018 Macbook Pro 15", macOS High Sierra