Wiki
Clone wikiUbuntu and CUDA on GTX980m laptop / Home
Ubuntu and CUDA on laptop with 2x GTX980m GPUs
I purchased a Clevo P375SM-A from Metabox with 2 x NVIDIA GTX980m GPUs.
These were the steps I followed to get Ubuntu and CUDA up and running:
- Install Ubuntu 14.04 amd64 version. This is a universal 64 bit version for intel and amd 64 bit cpus
- GTX 980m needs a very new nvidia driver - not in normal repository so:
- sudo add-apt-repository ppa:xorg-edgers/ppa
- sudo apt-get update
- sudo apt-get install nvidia-346
- reboot or restart lightdm
- download cuda6.5 64bit and install (but not drivers since we already have those)
- The only remaining wrinkle is that you have to run a cuda app as root before you can run one as non-root. This seems to be related to needing nvidia-uvm kernel module installed and the /dev/nvidia-uvm node created.
- Set up binary and library paths needed to access nvcc, nvvp etc. as well as libraries. I added a couple of lines to the end of my .bashrc
- export PATH=/usr/local/cuda/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
The CuBLAS matrix multiply example in 6.5 gives ~1TFlop on a single GTX980m.
Updated