本文主要是介绍ubuntu 18.04 安装血泪史,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
文章目录
-
首先问题是u盘插到电脑上就已经在卡logo了
:只好在开机的时候按F12进入选择界面,然后按F6选择nomodest(集显) -
其次是安装完之后进到系统里装驱动,这个应该先换ubuntu的源,换成阿里云的。
-
其次对于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
这篇关于ubuntu 18.04 安装血泪史的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!