ubuntu 18.04 安装血泪史

时间秒杀一切 提交于 2020-01-10 07:19:43

文章目录

  1. 首先问题是u盘插到电脑上就已经在卡logo了
    :只好在开机的时候按F12进入选择界面,然后按F6选择nomodest(集显)

  2. 其次是安装完之后进到系统里装驱动,这个应该先换ubuntu的源,换成阿里云的。

  3. 其次对于nvidia显卡驱动版本的选择,这次我没有.run了,我是直接用了
    驱动对照提示网址

ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001180sv00001458sd0000353Cbc03sc00i00
vendor  : NVIDIA Corporation
model    : GK104 [GeForce GTX 680]
driver  : nvidia-304 - distro non-free
driver  : nvidia-340 - distro non-free
driver  : nvidia-384 - distro non-free recommended
driver  : xserver-xorg-video-nouveau - distro free builtin

== cpu-microcode.py ==
driver  : intel-microcode - distro free

然后直接用命令:

sudo ubuntu-drivers autoinstall1

安装完毕

suchun@suchun-F117:~$ nvidia-smi
Thu Jan  9 11:10:52 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21       Driver Version: 435.21       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1050    Off  | 00000000:01:00.0  On |                  N/A |
| N/A   50C    P8    N/A /  N/A |    391MiB /  4040MiB |      6%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1374      G   /usr/lib/xorg/Xorg                           178MiB |
|    0      1560      G   /usr/bin/gnome-shell                         206MiB |
|    0      6932      G   /usr/lib/firefox/firefox                       1MiB |
|    0      7045      G   /usr/lib/firefox/firefox                       1MiB |
+-----------------------------------------------------------------------------+

但是依然有问题,画面刷屏率低,找来找去,发现是nomodest的问题,最后是找了
配置文件详解
把里面的nomodest删除就行,
关键的是一定要update-grub

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!