andersch.dev

<2023-04-08 Sat>

External GPU (eGPU)

External GPUs (eGPUs) are graphics cards that are connected to a computer (usually a laptop) via a docking station or a cable.

Increasing eGPU performance

  • enable PCI Resizable BAR (output should be BAR=8192M afterwards) $ sudo dmesg | grep BAR=
  • Disable the eGPU audio device and use the notebook inbuilt speaker to ensure the bandwidth is dedicated for eGPU traffic.
  • Ensure in the BIOS that the link is running in Gen2 mode (2nd-5th Gen i-core) or Gen3 8Gbps (6th Gen i-core or newer).
  • To lower input lag, you can disable the render queue of your GPU, and disable page flipping. For AMD GPUs, create the following file: /etc/X11/xorg.conf.d/20-amdgpu.conf with the content:

    Section "Device"
            Identifier "AMD"
            Driver "amdgpu"
            Option "TearFree" "false"
            Option "EnablePageFlip" "false"
    EndSection
    

Resources