博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
thinkpad s5 + ubuntu18 + 1050M(GT107)安装cuda driver
阅读量:4209 次
发布时间:2019-05-26

本文共 969 字,大约阅读时间需要 3 分钟。

真特么废了老鼻子劲了。试变了网上的所有方法,包括但不限于

  • 关掉Nouveau
  • 更新gcc版本
  • 切换各种源
  • 关掉secure boot
  • 换发行版(ubuntu 16 18 mint19)

 

死活卡在

ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most

   frequently when this kernel module was built against the wrong or
   improperly configured kernel sources, with a version of gcc that differs
   from the one used to build the target kernel, or if a driver such as
   rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
   obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
   installed in this system is not supported by this NVIDIA Linux graphics
   driver release.
 

 

最终总算找到了个偏门

 

It says append, not replace. Hence:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_port_pm=off"

Don't forget to re-generate your /boot/grub/grub.cfg after the config file change:

grub-mkconfig -o /boot/grub/grub.cfg

 

  1. sudo vi /etc/default/grub 
  2. GRUB_CMDLINE_LINUX_DEFAULT里加上pcie_port_pm=off
  3. sudo grub-mkconfig -o /boot/grub/grub.cfg

 

药到病除啊!!!!!!!

妈蛋折腾了三天啊!!!!!

 

转载地址:http://cwrli.baihongyu.com/

你可能感兴趣的文章
运算符重载之数组实例的应用
查看>>
派生类访问控制
查看>>
类型兼容性原则
查看>>
继承与组合混搭情况下,构造和析构调用原则
查看>>
继承中的同名成员变量处理方法
查看>>
派生类中的static成员
查看>>
多继承的应用
查看>>
虚继承的应用
查看>>
c++中的多态
查看>>
多态的理论基础
查看>>
虚析构函数的作用
查看>>
c++中重写 pk 重载 pk 重定义
查看>>
多态原理探究
查看>>
如何证明vptr指针的存在
查看>>
如何证明vptr指针的存在
查看>>
在父类的构造函数中调用虚函数可以实现多态么?
查看>>
纯虚函数和抽象类
查看>>
用接口解决多继承带来的二义性问题
查看>>
batch normalization
查看>>
tensorflow源码分析(一)
查看>>