ReBAR Support

Just in case anyone running Linux is having performance issues with eGPUs, I recently set up an RX 580, and had to manually force the amdgpu driver to the correct PCI speeds (kernel argument: amdgpu.pcie_gen_cap=0x40000). Resulted in a measurable performance improvement when running benchmarks.

I’m not sure if something similar is happening to other GPU brands, but worth taking a look at the output of lspci.