Skip to content

Instantly share code, notes, and snippets.

@joyk50
Created August 12, 2020 00:26
Show Gist options
  • Save joyk50/9f624449e2750e0d0672404dd0c308b6 to your computer and use it in GitHub Desktop.
Save joyk50/9f624449e2750e0d0672404dd0c308b6 to your computer and use it in GitHub Desktop.
Linux nvidia graphic driver SLI 설정법

Linux Nvidia graphic driver SLI 설정법

  1. 그래픽카드를 메인보드에 설치, 그래픽 드라이버도 SLI 지원하는 버전으로 설치까지 완료
  2. SLI LINK cable? 브릿지? 를 그래픽드라이버에 설치
  3. 재부팅하면 바로 설정은 안됨.
sudo nvidia-xconfig -sli=auto -multigpu=auto
  1. 위까지만 설정하고 재부팅 하면 화면이 까매지며 아무것도 안뜨게 됨. 원인은 '/etc/X11/xorg.conf'의 PCI BusID 를 다 날리기 때문에
각 Device 영역에 다음 추가
    BusID          "PCI:BusID(10진수):0:0"
  1. 다시 재부팅하면 sli는 enabled 되었는데, nvidia-smi 하면 먹통이됨. 원인은 스크린의 서브 모듈이 제대로 안먹혀서 그런듯 함. Xserver 실행을 하려면 다음과 같이 설정해줘야 화면이 올바르게 뜸
sudo nvidia-xconfig --sli=Mosaic --metamodes="GPU-0.DFP-0: 1920x1024+0+0, GPU-0.DFP-1: 1920x1024+1920+0, GPU-1.DFP-0: 1920x1024+0+1024, GPU-1.DFP-1: 1920x1024+1920+1024"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment