Nvidia-linux.run after installation, a login page loop appears, and the workaround is to add-no-opengl-files after running the command
Opens the Nvidia x server settings software, which shows: You don't appear to be using the NVIDIA x driver. Please edit your x configuration file (just run ' nvidia-xconfig ' as root), and restart the X server.
Running sudo nvidia-xconfig, after restarting, causes the screen resolution to change to 688x688. The recovery method is to delete the/etc/x11/xorg.conf file.
Update grub: To prevent the system from automatically modifying this file, open the file/etc/default/grub, add the option "Nogpumanager" in Grub_cmdline_linux_default, then update the GRUB,
Http://www.cnblogs.com/gaowengang/p/6068788.html
$:/etc/x11$ sudo nvidia-xconfig
Warning:unable to locate/open X configuration file.
Package Xorg-server is not found in the Pkg-config search path.
Perhaps you should add the directory containing ' xorg-server.pc '
To the PKG_CONFIG_PATH environment variable
No package ' xorg-server ' found
New X configuration file written to '/etc/x11/xorg.conf '
Finally, this problem to give up the solution, the middle modified the/ect/module file, the inside is empty, back to change over, no use, the reason for change, is to see the Ubuntu official online nvidia-manual.
Install CUDNN 7.0, install Openblas.
OPENCV is installed through Apt-get in a pre-condition, the file location downloaded via Apt-get install is under/var/cache/apt/archives. OpenCV related header files in the/usr/include directory, dynamic link library files and static library files under/usr/lib/x86_64linux_gnu.
http://blog.csdn.net/tina_ttl/article/details/52745807
Installing some dependent libraries using PIP encountered a problem, reported Python PIP Install throws typeerror:unsupported operand type (s) for-=: ' Retry ' and ' int ' error.
Workaround: http://www.itwendao.com/article/detail/186752.html
The above link is a solution to a series of ubantu problems.
Apt-get Remove Python-pip Python3-pip
wget https://bootstrap.pypa.io/get-pip.py
Python get-pip.py
Python3 get-pip.py
As a result, pip9.0.1 was downloaded and the original version was 8.0.1.
After an afternoon of trying, and thought is the problem of network cable, changed the network cable, useless.
The final method: sudo pip install.
Python path for each installation package:/usr/local/lib/python2.7/dist-packages
Error encountered:
1. Some dependencies are not installed, such as Glog,lmdb. HDF5 because the installation is Hdf5-serial-dev, the Makefile.config header file library path needs to be added to the/usr/include/hdf5/serial.
2.NVCC fatal:unsupported GPU Architecture ' compute_20 '
Makefile:594:recipe for target '. BUILD_RELEASE/CUDA/SRC/CAFFE/UTIL/MATH_FUNCTIONS.O ' failed
Modify the Cuda_arch in Makefile.config to comment out the two items of the ' compute_20 '.
3. Error:/usr/bin/ld:-lhdf5_hl not found
/USR/BIN/LD:-lhdf5 not found
Workaround: Locate Libhdf5_hl, find the location of the library, modify the library_dirs, and increase the path where the library is located.
Pycaffe:pythonpath configuration: sudo gedit/etc/profile, export Pythonpath=~/documents/caffe-master/python: $PYTHONPATH
The configuration should also be OK in ~/.BASHRC.
Ubuntu installs graphics drivers and Cuda