MacBook Pro 2018 (Manjaro Linux) + Razer Core X + Radeon R9 390
I was wondering if I could possibly throw my hat in the ring to try get an eGPU working on Linux for T2 enabled MacBooks.
So, I am running Manjaro on a T2 2018 13", I used this efi to ensure that the iGPU and eGPU are both loaded into linux. My kernel Parameters are simply: `radeon.cik_support=0 amdgpu.cik_support=1`.
Boltctl recognizes the enclosure and it is trusted:
● Razer Core X ├─ type: peripheral ├─ name: Core X ├─ vendor: Razer ├─ uuid: c9030000-0090-8718-233d-5310aa633121 ├─ generation: Thunderbolt 3 ├─ status: authorized │ ├─ domain: ca030000-0060-641e-03e0-0b11a6f1b121 │ ├─ rx speed: 40 Gb/s = 2 lanes * 20 Gb/s │ ├─ tx speed: 40 Gb/s = 2 lanes * 20 Gb/s │ └─ authflags: boot ├─ authorized: Sun 02 Aug 2020 06:18:17 ├─ connected: Sun 02 Aug 2020 06:18:17 └─ stored: Sun 02 Aug 2020 05:53:02 ├─ policy: auto └─ key: no
However, upon boot I get these errors in dmesg when i grep for amd:
[ 1.568700] [drm] amdgpu kernel modesetting enabled. [ 1.569293] amdgpu 0000:09:00.0: BAR 2: releasing [??? 0x00000000 flags 0x0] [ 1.569294] amdgpu 0000:09:00.0: BAR 0: releasing [??? 0x00000000 flags 0x0] [ 1.569368] [drm:amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-16). [ 1.569444] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <gmc_v7_0> failed -19 [ 1.569587] amdgpu 0000:09:00.0: amdgpu_device_ip_init failed [ 1.569628] amdgpu 0000:09:00.0: Fatal error during GPU init [ 1.569669] [drm] amdgpu: finishing device.
Unfortunatley, this is where my knowledge runs slightly short. This is getting a tad too low level for me so any eyes to look over this would be greatly appreciated. Happy to try things out
Solved the issue! Stumbled upon this thread https://egpu.io/forums/thunderbolt-linux-setup/tutorial-ubuntu-18-04-rtx-2080-razer-core-v1/#post-76425 and after passing these kernel params was working like a charm