本文主要是介绍thinkpad s5 + ubuntu18 + 1050M(GT107)安装cuda driver,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
真特么废了老鼻子劲了。试变了网上的所有方法,包括但不限于
- 关掉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.
最终总算找到了个偏门
https://bbs.archlinux.org/viewtopic.php?id=245562
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
- sudo vi /etc/default/grub
- GRUB_CMDLINE_LINUX_DEFAULT里加上pcie_port_pm=off
- sudo grub-mkconfig -o /boot/grub/grub.cfg
药到病除啊!!!!!!!
妈蛋折腾了三天啊!!!!!
这篇关于thinkpad s5 + ubuntu18 + 1050M(GT107)安装cuda driver的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!