Skip to content

Instantly share code, notes, and snippets.

@rltm9940
Last active February 24, 2016 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rltm9940/c4b972916b8a6740ff71 to your computer and use it in GitHub Desktop.
Save rltm9940/c4b972916b8a6740ff71 to your computer and use it in GitHub Desktop.
Debian GNU/Linux 8.3(64bit)でNVIDIA GPUを使ったBOINCを動かす ref: http://qiita.com/rltm/items/c3b9c0cf3eb6ad7ea6e6
deb http://ftp.jp.debian.org/debian/ jessie main
deb http://ftp.jp.debian.org/debian/ jessie main contrib non-free
# aptituide update
# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
# aptituide update
# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
# mkdir /etc/X11/xorg.conf.d
# mkdir /etc/X11/xorg.conf.d
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
# dpkg --add-architecture i386
# aptitude update
# dpkg --add-architecture i386
# aptitude update
# aptitude install boinc boinc-nvidia-cuda nvidia-opencl-icd nvidia-glx libcuda1
# aptitude install boinc boinc-nvidia-cuda nvidia-opencl-icd nvidia-glx libcuda1
# ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so
# /etc/init.d/boinc-client restart
# ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so
CUDA: NVIDIA GPU 0: GeForce GT 430 (driver version unknown, CUDA version 6.5, compute capability 2.1, 1023MB, 798MB available, 269 GFLOPS peak)
OpenCL: NVIDIA GPU 0: GeForce GT 430 (driver version 340.96, device version OpenCL 1.1 CUDA, 1023MB, 798MB available, 269 GFLOPS peak)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment