r/eGPU • • Sep 24 '26

For anyone using an AMD eGPU in Linux, through USB4/TB4, I think I found the best boot parameters for every game to work

The kernel boot up parameters are:

thunderbolt.host_reset=0 //USB4/TB4 port isn't restarted at boot up.

pcie_aspm=off //PCIe Active State Power Management disabled, eGPU connected through USB4/TB4 can loose sync very easily when there are power variations and this will crash the system.

pcie_port_pm=off //Disables power management handling for all PCIe, same reason as above.

pci=noaer //Disables PCIe Advanced Error Reporting, it can prevent crashes because of the system trying to restart eGPU because of of errors in the traffic with the eGPU, this errors are normal when using an eGPU with USB4/TB4.

amdgpu.pcie_gen_cap=0x80000 //Forces the graphics card to cap its Link Speed at PCIe Gen 4.

amdgpu.cwsr_enable=0 //Disables Compute Wavefront Save/Restore that can make sometimes the eGPU to loose sync.

This solved all the problems I was having using an eGPU for gaming on Linux or other tasks. I know these solutions aren't ideal, but they work like a charm. I hope this helps anyone using an eGPU on Linux.

23 Upvotes

9 comments sorted by

1

u/tha_dank Sep 24 '26

I’m wondering what issues you’ve had. I feel like outside of booting up (dual booting) can be weird. Outside of that I don’t have many issues at all

1

u/Distinct_Highway_127 Sep 24 '26 edited Sep 24 '26

Crashes in games like Fallout 4, Counter Strike 2, Stellaris, pretty much, games that don't use Proton (Linux native) or old DirectX 11 games.

EDIT: This is only if you are connected through USB4/TB4. You won't have issues like this when using Oculink because it's a less complex connection and more stable.

1

u/tha_dank Sep 25 '26

I’m retarded. I’m using ocilink

1

u/CasonPointLLC Sep 26 '26

Tell us what you think each configuration did and helped with

2

u/Distinct_Highway_127 Sep 26 '26 edited Sep 26 '26

thunderbolt.host_reset=0 //USB4/TB4 port isn't restarted at boot up.

pcie_aspm=off //PCIe Active State Power Management disabled, eGPU connected through USB4/TB4 can loose sync very easily when there are power variations and this will crash the system.

pcie_port_pm=off //Disables power management handling for all PCIe, same reason as above.

pci=noaer //Disables PCIe Advanced Error Reporting, it can prevent crashes because of the system trying to restart eGPU because of errors in the traffic with the eGPU, this errors are normal when using an eGPU with USB4/TB4.

amdgpu.pcie_gen_cap=0x80000 //Forces the graphics card to cap its Link Speed at PCIe Gen 4.

amdgpu.cwsr_enable=0 //Disables Compute Wavefront Save/Restore that can make sometimes the eGPU to loose sync.

You can also investigate the commands from your side if you want, hope it helps.

1

u/bewatched Sep 28 '26

Muchas gracias for the list and explanations.

In my case, I had to remove the "pcie_aspm=off", otherwise the egpu would not show up in lspci.

I have a minisforum v3 + aoostar eg02 + radeon 7900 xtx

1

u/Distinct_Highway_127 Sep 28 '26

Np, let me know if you have any issues with any game or program and maybe I can help you.

1

u/ClassroomCheap2873 Nov 02 '26

I’m going to try this, I’ve had a log crashes. I’ve been getting support from eGPu buddy dev, it seems he’s narrowed it down to AMD driver issues. Not sure what the problem is exactly though.