Can't comunicate with Driver - Ubuntu on a Macbook with Nvidia eGPU
I'm trying to get my eGPU to work. I have a fresh install of Ubuntu 20.04 LTS (during this I disconnected the GPU) on a Macbook Pro A1707. Then I connected it again and installed the correct driver through the Ubuntu Software Manager.But here is where it starts to be weird:
lscpi shows the GPU correctly but nvidia-smi prints the following:
Also dmesg prints:
Can anyone help me? If you need more information just ask. Thanks in advance!
The relevent error is:
check out other threads about this error like this one: https://egpu.io/forums/thunderbolt-linux-setup/tutorial-ubuntu-18-04-rtx-2080-razer-core-v1/
@nu_ninja, hi thank you for your quick answer. I tried the post you sent. However when adding the parameter to the grub config the eGPU (and Breakout Box) wasn't recognised. Furthermore the connected LAN-Adapter wasn't detected. Also the messages in dmesg were missing. Ubuntu also wasn't able to detect the thunderbolt capabilities (Thunderbolt menu in settings). lspci however showed the Thunderbolt connections but without the eGPU.
Ok, to be clear, does the eGPU show up in the Thunderbolt menu in the settings normally without the kernel parameters? You can use the terminal command:
to show more info on the thunderbolt devices that have been authorized. Normally I'd say the first step is to make sure that the eGPU has been authorized, but I think macs have their thunderbolt security level set to off so it should always be authorized.
You might want to try a different combination of kernel parameters than the thread I linked, for example, you might or might not need pcie_ports=native or assign-busses. Based on the error you posted, I'm fairly sure that pci=nocrs,realloc are needed, but I'm not sure about the other parameters.
@nu_ninja, yeah right without the kernel params the eGPU get's recognized properly
boltctl without kernel params