Dinh 2011/NOTES/2011-7-28

From ZhangLabWiki
Jump to navigation Jump to search

Genemapster Fix with CUDA install[edit]

sudo mv /etc/init/gdm.conf /etc/init/gdm.disabled
  • Second, disable nouveau
sudo vim /etc/modprobe.d/disable-nouveau.conf
#Insert the following 2 lines:
   blacklist nouveau
   options nouveau modeset=0
  • Third, remove all nvidia drivers
sudo apt-get --purge remove nvidia-*
  • Reboot into terminal
  • Ran nvidia driver installer
  • Enable gdm
sudo mv /etc/init/gdm.disabled /etc/init/gdm.conf
  • Reboot
  • Ran CUDA toolkit installer
  • Ran CUDA SDK installer
  • Copy contents of /usr/local/cuda/bin to /usr/local/bin
  • Add cuda libraries to path
sudo vim /etc/ld.so.conf.d/cuda.conf
#Insert the following 2 lines:
   /usr/local/cuda/lib64 
   /usr/local/cuda/lib
  • Reload library path
sudo ldconfig 
  • Install libglut3-mesa-dev
sudo apt-get install libglut3-mesa-dev
  • Compile SDK source codes with make
  • Install any required libraries
  • After compilation is finished, try running:
sudo ./deviceQuery
  • Note: Installation of Nvidia driver and running of ./deviceQuery allowed control of the GPU's fan so that it's no longer running at full capacity.
  • Run sensors-detect to make sure that the system's sensors are working correctly:
sensors-detect
  • Update bash.bashrc so that "ls" command can color the files in directories
  • Update /etc/fstab to mount HDD partitions by UUID
  • For some reasons, genemapster always make a lot of noise at bootup