关于英伟达驱动安装心得体会

换了一台电脑,内置英伟达1080显卡,但是重新装了系统后,无法安装驱动。显示错误信息:

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://blog.csdn.net/ksws0292756/article/details/79160742

https://blog.csdn.net/qq_32492561/article/details/79902539

https://stackoverflow.com/questions/24734986/unable-to-load-the-kernel-module-nvidia-ko

为解决,后来查看显卡信息:

lspci | grep VGA     # 查看集成显卡
lspci | grep NVIDIA  # 查看NVIDIA显卡

不显示任何NVIDIA显卡信息,但是显卡在主机里,并且显示屏是工作的,

后来没辙了,把显卡拔下来,重新插上,在查看显卡显卡信息,就显示成功了。

所以,有时候,组装电脑也是一门玄学。出的一些问题也是非常搞笑的。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在Ubuntu上安装英伟达驱动,可以按照以下步骤进行操作: 1. 首先,打开终端并输入以下命令来更新软件包列表: sudo apt-get update 2. 接下来,使用以下命令安装g++、gcc和make: sudo apt-get install g++ sudo apt-get install gcc sudo apt-get install make 3. 然后,下载英伟达驱动并给予可执行权限。可以使用以下命令: sudo chmod 777 NVIDIA-Linux-x86_64-525.53.run 4. 运行下载的驱动安装程序。可以使用以下命令: sudo ./NVIDIA-Linux-x86_64-525.53.run –no-opengl-files -no-x-check 5. 安装完成后,可以通过在应用程序栏中搜索nvidia来验证驱动是否成功安装。如果能够找到并打开NVIDIA设置,那么说明安装成功。同时,您还可以使用命令nvidia-smi来检查驱动是否正常工作。 请注意,这只是一种安装英伟达驱动的方法,具体步骤可能会因不同的系统版本和驱动版本而有所不同。建议您在安装之前查阅英伟达官方文档或相关资源以获取最新的安装指南和驱动版本信息。 #### 引用[.reference_title] - *1* *2* [【超详细】【ubunbu 22.04】 手把手教你安装nvidia驱动,有手就行,隔壁家的老太太都能安装](https://blog.csdn.net/huiyoooo/article/details/128015155)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [Ubuntu安装nvidia驱动](https://blog.csdn.net/qq_43193873/article/details/126143585)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值