Can't comunicate with Driver - Ubuntu on a Macbook with Nvidia eGPU
 
Notifications
Clear all

Can't comunicate with Driver - Ubuntu on a Macbook with Nvidia eGPU  

  RSS

Niklas j.
(@niklas_j_)
New Member
Joined: 6 months ago
 

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:

[Please login to see this]

Also dmesg prints:

[Please login to see this]

Can anyone help me? If you need more information just ask. Thanks in advance!

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

@niklas_j_

The relevent error is:

[Please login to see this]

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/

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


itsage liked
ReplyQuote
Niklas j.
(@niklas_j_)
New Member
Joined: 6 months ago
 

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

 

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 3 years ago
 

@niklas_j_

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:

[Please login to see this]

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.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1

 
2012 13" MacBook Pro [3rd,2C,M] + RX 460 @ 10Gbps-TB1 (AKiTiO Thunder2) + macOS 10.14.4 [build link]  


ReplyQuote
Niklas j.
(@niklas_j_)
New Member
Joined: 6 months ago
 

@nu_ninja, yeah right without the kernel params the eGPU get's recognized properly

boltctl without kernel params

[Please login to see this]

[Please login to see this]

 
Your recommened params (pci=nocrs,realloc) the GPU and the LAN Adapter aren't recognized.
 
Is it a Problem that I can't start the Macbook with the Gpu connected? Doesn't Linux need it to be attached already during boot? When I do so grub isn't even loaded (EFI Issue?)

[Please login to see this]

 

This post was modified 6 months ago

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote