Skip to content

Instantly share code, notes, and snippets.

@sar
Last active March 18, 2021 17:58
Show Gist options
  • Select an option

  • Save sar/bf6fb3f366a6acbe119c41740812bd0f to your computer and use it in GitHub Desktop.

Select an option

Save sar/bf6fb3f366a6acbe119c41740812bd0f to your computer and use it in GitHub Desktop.
cat /etc/X11/xorg.conf.egpu
# ----------
# EGPU as Default Config for X11
# Place under (ln -s) /etc/X11/xorg.conf -> /etc/X11/xorg.conf.egpu
# Replace busId using lspci -vvv | grep NVIDIA
# ----------
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
BusID "11:0:0"
Option "AllowEmptyInitialConfiguration"
Option "AllowExternalGpus" "True"
Option "SLI" "Auto"
EndSection
@sar

sar commented Mar 18, 2021

Copy link
Copy Markdown
Author

BusID can be identified using lspci -vvv | grep NVIDIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment