现在的位置: 首页 > 综合 > 正文

看看一个小时能Install CUDA 5 on Ubuntu 12.04 LTS

2013年09月04日 ⁄ 综合 ⁄ 共 30904字 ⁄ 字号 评论关闭

1. 傻瓜教程

google一下,还是比较promising(of coz it should be!!)。先看这两个今年的帖子

How to install CUDA 5.0 Toolkit in Ubuntu

How to install CUDA 5.0 on Ubuntu 12.04 LTS

等等等等,两片都是关于5.0的,网站上也只有for Ubuntu 11.10的版本。刚才扫了几个帖子说应该没有问题。不过既然网站提示5.5rc都out了,而且OpenCV 2.4.6也加了对5.5的支持---改装最新的吧

Linux Getting Started Guide 上顺便了解到  NVIDIA CUDA Toolkit有两种基本安装方式:

RPM/DEB packages (recommended):先下个很小的deb包更新repository的cuda源,再按标准方式从package manager里安装

stand-alone install :凡是下了几百M的run file都是这种方式

CUDA 5.5只提供了第一种方式的安装---没有选择,真好!

2. 安装

开始安装了。。。。。坑阿,太慢了。20多k的下载速度,第一个nvidia-current都没下完,这5.5放哪个服务器上的阿?越南还是Ecuador阿

1个小时肯定装不完了,能下完就不错了。吃饭去吧,回来更新

。。。。。

没想象中糟,下载其实总共35min,估计装就几分钟。没发现错误,目前。在末尾copy一些信息,也许以后会看

重启。。。

3. 问题

没问题能叫linux吗?没有2个小时就能装好,那不是变成Windows了。。。。

CUDA确实不到一个小时就好了,没有任何问题。问题在opencv和ffmpeg上。

bug在http://code.opencv.org/issues/2916

原因是ffmpeg libavcodec > 53.25.0 (怀疑应该是54.25.0,原因见下面) 后 “the enum CodecID was changed to AVCodecID

让我困惑的是,这是2.4.4就fixed的bug,怎么现在还有?

我下了2.4.4,2.4.5,2.4.6和2.4.6.1测试(不停敲同样的命令,恶心坏了)

其中4和5有cmake找不到gpu的错误,估计是我用的CUDA 5.5有新路径的缘故,因为两个2.4.6版本都没有问题

但两个6版本始终有上面的错误。

查看源码 modules/highgui/src//cap_ffmpeg_impl.hpp 中也确实打上补丁了。(但到处都是CALC_FFMPEG_VERSION(54,25,0) )

4.原因& 解决

尽管ffmpeg显示libavcodec版本大于54.25.0,实际/usr/local/include/libavcodec/avcodec.h还是老文件!!!

也就是说enum还是定义成CodecID。

在ffmpeg_cvg运行一下make install旧好了

5. 意外

之前看过一点点libav和ffmpeg的恩怨。解决这个问题的过程中无意中发现

/usr/include/libavcodec/avcodec.h是libav的

/usr/local/include/libavcodec/avcodec.h是ffmpeg

两个文件几乎完全一样,除了Libav<===>ffmpeg的替换。。。。

6. 结局

最后编译 OpenCV 花了很多时间,主要是编CUDA的部分(NVCC)

-The End

PS. 今天还是决定make install昨天编译的这个最新版了。最大不同应该是对每个库都加了cuda的runtime path

-- Set runtime path of "/usr/local/lib/libopencv_core.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/core/gpumat.hpp
-- Installing: /usr/local/include/opencv2/core/internal.hpp
-- Installing: /usr/local/include/opencv2/core/operations.hpp
-- Installing: /usr/local/include/opencv2/core/version.hpp
-- Installing: /usr/local/include/opencv2/core/mat.hpp
-- Installing: /usr/local/include/opencv2/core/opengl_interop_deprecated.hpp
-- Installing: /usr/local/include/opencv2/core/eigen.hpp
-- Installing: /usr/local/include/opencv2/core/devmem2d.hpp
-- Installing: /usr/local/include/opencv2/core/core.hpp
-- Installing: /usr/local/include/opencv2/core/opengl_interop.hpp
-- Installing: /usr/local/include/opencv2/core/wimage.hpp
-- Installing: /usr/local/include/opencv2/core/cuda_devptrs.hpp
-- Installing: /usr/local/include/opencv2/core/types_c.h
-- Installing: /usr/local/include/opencv2/core/core_c.h
-- Installing: /usr/local/lib/libopencv_imgproc.so.2.4.6
-- Installing: /usr/local/lib/libopencv_imgproc.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_imgproc.so
-- Set runtime path of "/usr/local/lib/libopencv_imgproc.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/imgproc/imgproc.hpp
-- Installing: /usr/local/include/opencv2/imgproc/types_c.h
-- Installing: /usr/local/include/opencv2/imgproc/imgproc_c.h
-- Installing: /usr/local/lib/libopencv_flann.so.2.4.6
-- Installing: /usr/local/lib/libopencv_flann.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_flann.so
-- Set runtime path of "/usr/local/lib/libopencv_flann.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/flann/flann.hpp
-- Installing: /usr/local/include/opencv2/flann/miniflann.hpp
-- Installing: /usr/local/include/opencv2/flann/flann_base.hpp
-- Installing: /usr/local/include/opencv2/flann/result_set.h
-- Installing: /usr/local/include/opencv2/flann/hdf5.h
-- Installing: /usr/local/include/opencv2/flann/config.h
-- Installing: /usr/local/include/opencv2/flann/index_testing.h
-- Installing: /usr/local/include/opencv2/flann/heap.h
-- Installing: /usr/local/include/opencv2/flann/dist.h
-- Installing: /usr/local/include/opencv2/flann/kdtree_single_index.h
-- Installing: /usr/local/include/opencv2/flann/matrix.h
-- Installing: /usr/local/include/opencv2/flann/sampling.h
-- Installing: /usr/local/include/opencv2/flann/timer.h
-- Installing: /usr/local/include/opencv2/flann/simplex_downhill.h
-- Installing: /usr/local/include/opencv2/flann/kmeans_index.h
-- Installing: /usr/local/include/opencv2/flann/object_factory.h
-- Installing: /usr/local/include/opencv2/flann/nn_index.h
-- Installing: /usr/local/include/opencv2/flann/allocator.h
-- Installing: /usr/local/include/opencv2/flann/params.h
-- Installing: /usr/local/include/opencv2/flann/general.h
-- Installing: /usr/local/include/opencv2/flann/any.h
-- Installing: /usr/local/include/opencv2/flann/lsh_table.h
-- Installing: /usr/local/include/opencv2/flann/lsh_index.h
-- Installing: /usr/local/include/opencv2/flann/random.h
-- Installing: /usr/local/include/opencv2/flann/kdtree_index.h
-- Installing: /usr/local/include/opencv2/flann/dummy.h
-- Installing: /usr/local/include/opencv2/flann/autotuned_index.h
-- Installing: /usr/local/include/opencv2/flann/saving.h
-- Installing: /usr/local/include/opencv2/flann/all_indices.h
-- Installing: /usr/local/include/opencv2/flann/logger.h
-- Installing: /usr/local/include/opencv2/flann/hierarchical_clustering_index.h
-- Installing: /usr/local/include/opencv2/flann/ground_truth.h
-- Installing: /usr/local/include/opencv2/flann/composite_index.h
-- Installing: /usr/local/include/opencv2/flann/dynamic_bitset.h
-- Installing: /usr/local/include/opencv2/flann/defines.h
-- Installing: /usr/local/include/opencv2/flann/linear_index.h
-- Installing: /usr/local/lib/libopencv_highgui.so.2.4.6
-- Installing: /usr/local/lib/libopencv_highgui.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_highgui.so
-- Set runtime path of "/usr/local/lib/libopencv_highgui.so.2.4.6" to "/usr/local/lib:/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/highgui/highgui.hpp
-- Installing: /usr/local/include/opencv2/highgui/ios.h
-- Installing: /usr/local/include/opencv2/highgui/cap_ios.h
-- Installing: /usr/local/include/opencv2/highgui/highgui_c.h
-- Installing: /usr/local/lib/libopencv_features2d.so.2.4.6
-- Installing: /usr/local/lib/libopencv_features2d.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_features2d.so
-- Set runtime path of "/usr/local/lib/libopencv_features2d.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/features2d/features2d.hpp
-- Installing: /usr/local/lib/libopencv_calib3d.so.2.4.6
-- Installing: /usr/local/lib/libopencv_calib3d.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_calib3d.so
-- Set runtime path of "/usr/local/lib/libopencv_calib3d.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/calib3d/calib3d.hpp
-- Installing: /usr/local/lib/libopencv_ml.so.2.4.6
-- Installing: /usr/local/lib/libopencv_ml.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_ml.so
-- Set runtime path of "/usr/local/lib/libopencv_ml.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/ml/ml.hpp
-- Installing: /usr/local/lib/libopencv_video.so.2.4.6
-- Installing: /usr/local/lib/libopencv_video.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_video.so
-- Set runtime path of "/usr/local/lib/libopencv_video.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/video/tracking.hpp
-- Installing: /usr/local/include/opencv2/video/background_segm.hpp
-- Installing: /usr/local/include/opencv2/video/video.hpp
-- Installing: /usr/local/lib/libopencv_objdetect.so.2.4.6
-- Installing: /usr/local/lib/libopencv_objdetect.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_objdetect.so
-- Set runtime path of "/usr/local/lib/libopencv_objdetect.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/objdetect/objdetect.hpp
-- Installing: /usr/local/lib/libopencv_contrib.so.2.4.6
-- Installing: /usr/local/lib/libopencv_contrib.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_contrib.so
-- Set runtime path of "/usr/local/lib/libopencv_contrib.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/contrib/detection_based_tracker.hpp
-- Installing: /usr/local/include/opencv2/contrib/retina.hpp
-- Installing: /usr/local/include/opencv2/contrib/hybridtracker.hpp
-- Installing: /usr/local/include/opencv2/contrib/openfabmap.hpp
-- Installing: /usr/local/include/opencv2/contrib/contrib.hpp
-- Installing: /usr/local/lib/libopencv_photo.so.2.4.6
-- Installing: /usr/local/lib/libopencv_photo.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_photo.so
-- Set runtime path of "/usr/local/lib/libopencv_photo.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/photo/photo.hpp
-- Installing: /usr/local/include/opencv2/photo/photo_c.h
-- Installing: /usr/local/lib/libopencv_legacy.so.2.4.6
-- Installing: /usr/local/lib/libopencv_legacy.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_legacy.so
-- Set runtime path of "/usr/local/lib/libopencv_legacy.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/legacy/compat.hpp
-- Installing: /usr/local/include/opencv2/legacy/legacy.hpp
-- Installing: /usr/local/include/opencv2/legacy/streams.hpp
-- Installing: /usr/local/include/opencv2/legacy/blobtrack.hpp
-- Installing: /usr/local/lib/libopencv_gpu.so.2.4.6
-- Installing: /usr/local/lib/libopencv_gpu.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_gpu.so
-- Set runtime path of "/usr/local/lib/libopencv_gpu.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/gpu/gpumat.hpp
-- Installing: /usr/local/include/opencv2/gpu/stream_accessor.hpp
-- Installing: /usr/local/include/opencv2/gpu/devmem2d.hpp
-- Installing: /usr/local/include/opencv2/gpu/gpu.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/simd_functions.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/type_traits.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/static_check.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/emulation.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/transform.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/vec_distance.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/dynamic_smem.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/border_interpolate.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/warp_shuffle.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/scan.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/datamov_utils.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/common.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/color.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/functional.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/limits.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/saturate_cast.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/reduce.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/warp.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/vec_math.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/utility.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/block.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/filters.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/vec_traits.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/warp_reduce.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/funcattrib.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/detail/type_traits_detail.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/detail/transform_detail.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/detail/reduce.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/detail/color_detail.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/detail/vec_distance_detail.hpp
-- Installing: /usr/local/include/opencv2/gpu/device/detail/reduce_key_val.hpp
-- Installing: /usr/local/include/opencv2/gpu/NPP_staging.hpp
-- Installing: /usr/local/include/opencv2/gpu/NCV.hpp
-- Installing: /usr/local/lib/libopencv_nonfree.so.2.4.6
-- Installing: /usr/local/lib/libopencv_nonfree.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_nonfree.so
-- Set runtime path of "/usr/local/lib/libopencv_nonfree.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/nonfree/ocl.hpp
-- Installing: /usr/local/include/opencv2/nonfree/features2d.hpp
-- Installing: /usr/local/include/opencv2/nonfree/gpu.hpp
-- Installing: /usr/local/include/opencv2/nonfree/nonfree.hpp
-- Installing: /usr/local/lib/python2.7/dist-packages/cv2.so
-- Set runtime path of "/usr/local/lib/python2.7/dist-packages/cv2.so" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/lib/python2.7/dist-packages/cv.py
-- Installing: /usr/local/lib/libopencv_stitching.so.2.4.6
-- Installing: /usr/local/lib/libopencv_stitching.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_stitching.so
-- Set runtime path of "/usr/local/lib/libopencv_stitching.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/stitching/warpers.hpp
-- Installing: /usr/local/include/opencv2/stitching/stitcher.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/warpers_inl.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/util.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/camera.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/seam_finders.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/exposure_compensate.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/matchers.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/motion_estimators.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/warpers.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/autocalib.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/blenders.hpp
-- Installing: /usr/local/include/opencv2/stitching/detail/util_inl.hpp
-- Installing: /usr/local/lib/libopencv_superres.so.2.4.6
-- Installing: /usr/local/lib/libopencv_superres.so.2.4
-- Installing: /usr/local/lib/libopencv_superres.so
-- Set runtime path of "/usr/local/lib/libopencv_superres.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/superres/optical_flow.hpp
-- Installing: /usr/local/include/opencv2/superres/superres.hpp
-- Installing: /usr/local/lib/libopencv_ts.so.2.4.6
-- Installing: /usr/local/lib/libopencv_ts.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_ts.so
-- Set runtime path of "/usr/local/lib/libopencv_ts.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/ts/ts_perf.hpp
-- Installing: /usr/local/include/opencv2/ts/ts.hpp
-- Installing: /usr/local/include/opencv2/ts/gpu_perf.hpp
-- Installing: /usr/local/include/opencv2/ts/gpu_test.hpp
-- Installing: /usr/local/include/opencv2/ts/ts_gtest.h
-- Installing: /usr/local/lib/libopencv_videostab.so.2.4.6
-- Installing: /usr/local/lib/libopencv_videostab.so.2.4
-- Up-to-date: /usr/local/lib/libopencv_videostab.so
-- Set runtime path of "/usr/local/lib/libopencv_videostab.so.2.4.6" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/include/opencv2/videostab/fast_marching_inl.hpp
-- Installing: /usr/local/include/opencv2/videostab/frame_source.hpp
-- Installing: /usr/local/include/opencv2/videostab/inpainting.hpp
-- Installing: /usr/local/include/opencv2/videostab/optical_flow.hpp
-- Installing: /usr/local/include/opencv2/videostab/fast_marching.hpp
-- Installing: /usr/local/include/opencv2/videostab/motion_stabilizing.hpp
-- Installing: /usr/local/include/opencv2/videostab/global_motion.hpp
-- Installing: /usr/local/include/opencv2/videostab/deblurring.hpp
-- Installing: /usr/local/include/opencv2/videostab/videostab.hpp
-- Installing: /usr/local/include/opencv2/videostab/stabilizer.hpp
-- Installing: /usr/local/include/opencv2/videostab/log.hpp
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_fullbody.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_upperbody.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_righteye.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_profileface.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_lefteye.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt2.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_lowerbody.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_eyepair_big.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_eye_tree_eyeglasses.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_eyepair_small.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_nose.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_mouth.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_eye.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_lefteye_2splits.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt_tree.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_smile.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_righteye_2splits.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_upperbody.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_rightear.xml
-- Installing: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_leftear.xml
-- Installing: /usr/local/share/OpenCV/lbpcascades/lbpcascade_silverware.xml
-- Installing: /usr/local/share/OpenCV/lbpcascades/lbpcascade_frontalface.xml
-- Installing: /usr/local/share/OpenCV/lbpcascades/lbpcascade_profileface.xml
-- Installing: /usr/local/bin/opencv_haartraining
-- Set runtime path of "/usr/local/bin/opencv_haartraining" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/bin/opencv_createsamples
-- Set runtime path of "/usr/local/bin/opencv_createsamples" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/bin/opencv_performance
-- Set runtime path of "/usr/local/bin/opencv_performance" to "/usr/local/lib:/usr/local/cuda/lib64"
-- Installing: /usr/local/bin/opencv_traincascade
-- Set runtime path of "/usr/local/bin/opencv_traincascade" to "/usr/local/lib:/usr/local/cuda/lib64"

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cuda-5-5 cuda-command-line-tools-5-5 cuda-core-5-5 cuda-core-libs-5-5 cuda-documentation-5-5
  cuda-extra-libs-5-5 cuda-headers-5-5 cuda-license-5-5 cuda-misc-5-5 cuda-samples-5-5 cuda-visual-tools-5-5
  nvidia-current nvidia-current-dev nvidia-modprobe nvidia-settings
Recommended packages:
  nvidia-settings-current
The following NEW packages will be installed
  cuda cuda-5-5 cuda-command-line-tools-5-5 cuda-core-5-5 cuda-core-libs-5-5 cuda-documentation-5-5
  cuda-extra-libs-5-5 cuda-headers-5-5 cuda-license-5-5 cuda-misc-5-5 cuda-samples-5-5 cuda-visual-tools-5-5
  nvidia-current-dev nvidia-modprobe
The following packages will be upgraded:
  nvidia-current nvidia-settings
2 upgraded, 14 newly installed, 0 to remove and 183 not upgraded.
Need to get 772 MB of archives.
After this operation, 4,498 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-current 319.21-0ubuntu1 [68.7 MB]
Get:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-current-dev 319.21-0ubuntu1 [111 kB]                                                    
Get:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-modprobe 319.21-0ubuntu1 [16.4 kB]                                                      
Get:4 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-settings 319.21-0ubuntu1 [1,950 kB]                                                     
Get:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-license-5-5 5.5-11 [23.5 kB]                                                              
Get:6 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-headers-5-5 5.5-11 [1,138 kB]                                                             
Get:7 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-core-5-5 5.5-11 [29.9 MB]                                                                 
Get:8 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-core-libs-5-5 5.5-11 [233 kB]                                                             
Get:9 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-command-line-tools-5-5 5.5-11 [6,692 kB]                                                  
Get:10 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-extra-libs-5-5 5.5-11 [126 MB]                                                           
Get:11 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-samples-5-5 5.5-11 [169 MB]                                                              
Get:12 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-documentation-5-5 5.5-11 [86.0 MB]                                                       
Get:13 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-misc-5-5 5.5-11 [1,811 kB]                                                               
Get:14 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-visual-tools-5-5 5.5-11 [280 MB]                                                         
Get:15 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-5-5 5.5-11 [1,812 B]                                                                     
Get:16 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda 5.5-11 [1,642 B]                                                                         
Fetched 772 MB in 35min 16s (365 kB/s)                                                                                                                                           
(Reading database ... 556967 files and directories currently installed.)
Preparing to replace nvidia-current 304.88-0ubuntu0.0.2 (using .../nvidia-current_319.21-0ubuntu1_amd64.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement nvidia-current ...
Selecting previously unselected package nvidia-current-dev.
Unpacking nvidia-current-dev (from .../nvidia-current-dev_319.21-0ubuntu1_amd64.deb) ...
Selecting previously unselected package nvidia-modprobe.
Unpacking nvidia-modprobe (from .../nvidia-modprobe_319.21-0ubuntu1_amd64.deb) ...
Preparing to replace nvidia-settings 304.88-0ubuntu0.0.2 (using .../nvidia-settings_319.21-0ubuntu1_amd64.deb) ...
Unpacking replacement nvidia-settings ...
Selecting previously unselected package cuda-license-5-5.
Unpacking cuda-license-5-5 (from .../cuda-license-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-headers-5-5.
Unpacking cuda-headers-5-5 (from .../cuda-headers-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-core-5-5.
Unpacking cuda-core-5-5 (from .../cuda-core-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-core-libs-5-5.
Unpacking cuda-core-libs-5-5 (from .../cuda-core-libs-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-command-line-tools-5-5.
Unpacking cuda-command-line-tools-5-5 (from .../cuda-command-line-tools-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-extra-libs-5-5.
Unpacking cuda-extra-libs-5-5 (from .../cuda-extra-libs-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-samples-5-5.
Unpacking cuda-samples-5-5 (from .../cuda-samples-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-documentation-5-5.
Unpacking cuda-documentation-5-5 (from .../cuda-documentation-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-misc-5-5.
Unpacking cuda-misc-5-5 (from .../cuda-misc-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-visual-tools-5-5.
Unpacking cuda-visual-tools-5-5 (from .../cuda-visual-tools-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda-5-5.
Unpacking cuda-5-5 (from .../cuda-5-5_5.5-11_amd64.deb) ...
Selecting previously unselected package cuda.
Unpacking cuda (from .../archives/cuda_5.5-11_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up nvidia-current (319.21-0ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia-current/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken.
update-alternatives: warning: skip creation of /usr/lib/XvMCConfig because associated file /usr/lib/nvidia-current/XvMCConfig (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-initramfs: deferring update (trigger activated)

A modprobe blacklist file has been created at /etc/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /etc/modprobe.d/nvidia-graphics-drivers.conf.
A new initrd image has also been created. To revert, please replace /boot/initrd-3.2.0-44-generic with /boot/initrd-$(uname -r)-backup.

*****************************************************************************
*** Reboot your computer and verify the NVIDIA graphics driver is loaded. ***
*** If the driver fails to load, please use the NVIDIA graphics driver    ***
*** .run installer to get into a stable state.                            ***
*****************************************************************************

INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Dell Inc. with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match Precision WorkStation T7500 with Latitude E6530
DEBUG:Quirk doesn't match
Loading new nvidia-current-319.21 DKMS files...
Building only for 3.2.0-44-generic
Building for architecture x86_64
Building initial module for 3.2.0-44-generic
Done.

nvidia_current:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-44-generic/updates/dkms/

depmod....

DKMS: install completed.
Setting up nvidia-modprobe (319.21-0ubuntu1) ...
Setting up nvidia-settings (319.21-0ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia-settings/ld.so.conf because link group nvidia_settings_conf is broken.
Setting up cuda-license-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-headers-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-core-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-core-libs-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-command-line-tools-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-extra-libs-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-samples-5-5 (5.5-11) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia-current/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken.
update-alternatives: warning: skip creation of /usr/lib/XvMCConfig because associated file /usr/lib/nvidia-current/XvMCConfig (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
Setting up cuda-documentation-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Setting up cuda-misc-5-5 (5.5-11) ...
Setting up cuda-visual-tools-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up nvidia-current-dev (319.21-0ubuntu1) ...
Setting up cuda-5-5 (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.

*****************************************************************************************
*** Please reboot your computer and verify that the nvidia graphics driver is loaded. ***
*** If the driver fails to load, please use the NVIDIA graphics driver .run installer ***
*** to get into a stable state.                                                       ***
*****************************************************************************************
Setting up cuda (5.5-11) ...
*** LICENSE AGREEMENT ***
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-5.5/doc/EULA.txt. The EULA can also be found at http://docs.nvidia.com/cuda/eula/index.html. If you
do not agree to the terms and conditions of the EULA, do not use the software.
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-44-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

抱歉!评论已关闭.