zoukankan      html  css  js  c++  java
  • Ubu18.0-NVIDIA显卡驱动重装

    //图片仅供参考,请勿代入

    问题情况:电脑装了双系统,WIN10+Ubu,Ubu分辨率不稳定,经常发生变化

    显卡型号:打开设备管理器进行查看

    解决方法:重装NVIDIA显卡驱动

    1.去英伟达官网下载自己电脑对应的显卡驱动,记住下载到哪个文件夹,后面要用

    https://www.nvidia.cn/Download/index.aspx?lang=cn

     2.切换到控制台模式:Ctrl+ALT+F1,输入用户名和密码(不要用小键盘输入数字)

    3.删除现在显卡驱动

    sudo apt-get remove --purge nvidia*

    4.停止服务 

    sudo service lightdm stop

    5.找到1下载的显卡驱动程序(我是Win10下写的文章,所以此处只是实例)

    cd Downloads

    6.赋予run文件执行权限(可以TAB自动补全)

    sudo chmod a+x NVIDIA-Linux-x86_64-430.09.run

    7.运行

    sudo ./NVIDIA-Linux-x86_64-430.09.run

    8.安装详细步骤(参考别人的,一般都是这个流程)

    The distribution-provided pre-install script failed! Are you sure you want to continue? 选择 yes 继续。

    Would you like to register the kernel module souces with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later?  选择 No 继续。

    问题没记住,选项是:install without signing

    问题大概是:Nvidia's 32-bit compatibility libraries? 选择 No 继续。

    Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up.  选择 Yes  继续

    9.挂载驱动

    modprobe nvidia

    10.检查安装结果(图是别人的)

    nvidia-smi

     11.重启

    reboot 

    其他:

    有的文章是在STEP10后启动服务(sudo service lightdm start),我是直接重启的,大家自己尝试,2分钟的事。

    参考链接

    https://blog.csdn.net/wangyjfrecky/article/details/84029668

    转载请标明,谢谢
  • 相关阅读:
    MySQL基础
    mysql新
    第四章 常用模块
    第三章 函数编程
    第二章 数据类型和文件操作
    基础语法
    day24 面向对象与实例属性
    day21
    详解 Eclipse 中的快速 Java 编码(代码模板)
    补缴2个月社保折腾1年多 刁钻政策玩死人
  • 原文地址:https://www.cnblogs.com/guapilsh/p/13896029.html
Copyright © 2011-2022 走看看