$ du -a ./ | sort -n -r > du_out.txt
Friday, April 15, 2016
Thursday, April 14, 2016
Install new NVIDIA graphics card and cuda on Linux Mint
NVIDIA driver
Manual install instructions from https://sites.google.com/site/easylinuxtipsproject/12
Manual install instructions from https://sites.google.com/site/easylinuxtipsproject/12
- Power off
- Install card in motherboard slot
- Connect monitor cables to card outputs
- Find out what graphics card you have: $ lspci | grep VGA
- Find out which driver you should download by entering card details at: http://www.nvidia.com/Download/index.aspx?lang=en-us
- Download the driver
- Remove all previous nvidia drivers by running: $ sudo apt-get purge nvidia*
- $ chmod +x -v ~/Downloads/NVIDIA-Linux-*.run
- Switch to terminal only mode: $ sudo service mdm stop
- Login in terminal-only mode
- Run: $ sudo sh ~/Downloads/NVIDIA-Linux-*.run
- Accept all options
- After everything is done, $ sudo reboot
- Did it work?
- Everything should display properly in high res
- $ lsmod | grep nvidia
- $ lspci | grep VGA
- Check if nouveau is still being used (if properly installed, no), by: $ lsmod | grep nouveau
If things didn't go to plan, and you need to uninstall, then:
$ sudo sh ~/Downloads/NVIDIA-Linux-*.run --uninstall
$ sudo rm -v /etc/X11/xorg.conf
$ sudo reboot
CUDA
Again, prefer manual install from https://developer.nvidia.com/cuda-toolkit-archive over official repository cuda packages. Use the run file instructions from http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#axzz45oaAPyTF. Don't accept offer to reinstall Nvidia drivers during cuda installation.
Again, prefer manual install from https://developer.nvidia.com/cuda-toolkit-archive over official repository cuda packages. Use the run file instructions from http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#axzz45oaAPyTF. Don't accept offer to reinstall Nvidia drivers during cuda installation.
Monday, April 11, 2016
Nicknames for ssh hosts
You can specify ssh host nicknames through your .ssh/config file. See: https://gist.github.com/dineshj1/9f304084a1f4af27ae2ccf79c134b0e6
Wednesday, March 30, 2016
Install improved_dense_trajectories code on vision machines
https://gist.github.com/dineshj1/873850c07a0ff2a5a899a14008dc8abe
Run install_IDT_code.sh, but this will run into errors at first. Follow the instructions given in install_IDT_code.sh to edit Makefile. That should do the job.
Run install_IDT_code.sh, but this will run into errors at first. Follow the instructions given in install_IDT_code.sh to edit Makefile. That should do the job.
Wednesday, March 16, 2016
Setting primary group on UTCS machines
The code snippet in https://gist.github.com/dineshj1/d6b975a8d3d160e95c69 should be added to the end of the .profile file.
NOTE: This causes issues with getting graphics working on eldar-1.
NOTE: This causes issues with getting graphics working on eldar-1.
Subscribe to:
Posts (Atom)