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

    转载请标明,谢谢
  • 相关阅读:
    hdu2089 不要62 (数位dp)
    LightOJ 1140
    在n到m中 有多少个1 (数位dp)
    Frequent Subsets Problem 状态压缩 判断出现的次数
    LightOj 1215
    LightOJ 1197
    Spring 知识点提炼
    设计模式—访问者模式
    设计模式—模板模式
    设计模式—策略模式
  • 原文地址:https://www.cnblogs.com/guapilsh/p/13896029.html
Copyright © 2011-2022 走看看