美文网首页
联想R9000x 安装Ubuntu系统记录

联想R9000x 安装Ubuntu系统记录

作者: 倪伟_2131 | 来源:发表于2021-06-19 00:06 被阅读0次

gtx1650ti 显卡驱动的重装。

  1. UltraISO制作U盘启动盘, 在ubuntu官网下的20.04TLS版本。
  2. 插上U盘重启按F2, 选择U盘启动,安装Ubuntu系统。
  3. 重装显卡驱动。
  • 在下面连接下载驱动,链接中有说适合什么显卡。

    https://www.nvidia.cn/drivers/results/175761/
    
  • 修改下载后的文件: NVIDIA-Linux-x86_64-465.31.run,添加可执行权限。然后运行。

    chmod +x NVIDIA-Linux-x86_64-465.31.run
    su root
    ./NVIDIA-Linux-x86_64-465.31.run
    
  • 安装成功后,会出现无法调节亮度的情况。需要修改/etc/X11/xorg.conf文件,具体修改如下:

    把其中如下内容
    Section "Device"
    Identifier    "Default Device"
    Driver    "nvidia"
    Option    "NoLogo"    "True"
    EndSection
    改成
    Section "Device"
    Identifier    "Default Device"
    Driver    "nvidia"
    Option "RegistryDwords" "EnableBrightnessControl=1"
    EndSection
    即添加   Option "RegistryDwords" "EnableBrightnessControl=1"
    
  • 重启系统,基本可以修改亮度了。

  • 最后运行nvidia-smi 查看是否安装成功。类似下面的信息,表示安装成功。

    Sat Jun 19 00:02:09 2021       
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 465.31       Driver Version: 465.31       CUDA Version: 11.3     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |                               |                      |               MIG M. |
    |===============================+======================+======================|
    |   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
    | N/A   43C    P8     4W /  N/A |    314MiB /  3903MiB |      2%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
                                                                               
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      | 
    |=============================================================================|
    |    0   N/A  N/A      1127      G   /usr/lib/xorg/Xorg                 35MiB |
    |    0   N/A  N/A      1842      G   /usr/lib/xorg/Xorg                119MiB |
    |    0   N/A  N/A      1981      G   /usr/bin/gnome-shell               52MiB |
    |    0   N/A  N/A      3004      G   ...AAAAAAAAA= --shared-files       97MiB |
    +-----------------------------------------------------------------------------+
    
  • 如果提示如下错误

    NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. 
    Make sure that the latest NVIDIA driver is installed and running
    

    可以做如下尝试:

    sudo apt-get install dkms
    //重新安装显卡驱动
    ./NVIDIA-Linux-x86_64-465.31.run
    

相关文章

网友评论

      本文标题:联想R9000x 安装Ubuntu系统记录

      本文链接:https://www.haomeiwen.com/subject/bcfryltx.html