ubuntu显卡驱动的下载和安装

1.首先查看电脑的显卡是什么型号。

使用命令:

lspci -vnn | grep VGA -A 12
即可查看显卡的型号:

root:/opt# lspci -vnn | grep VGA -A 12
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218M [GeForce G210M] [10de:0a74] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device [17aa:389f]
	Flags: bus master, fast devsel, latency 0, IRQ 52
	Memory at f4000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at ce000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 2000 [size=128]
	[virtual] Expansion ROM at f5080000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [b4] Vendor Specific Information: Len=14 
	Capabilities: [100] Virtual Channel

由上面的终端信息可知我的电脑显卡型号是:
GeForce G210M

2.进入显卡的官网下载显卡驱动

NVDIA显卡驱动的官网地址

ubuntu显卡驱动的下载和安装_第1张图片

选择linux 64-bit的显卡驱动下载即可。

最后下载显卡驱动的时候竟然出现网页页面,而没弹出下载框。解决方法是用wget命令下载

wget http://cn.download.nvidia.com/XFree86/Linux-x86_64/340.102/NVIDIA-Linux-x86_64-340.102.run


你可能感兴趣的:(ubuntu系统)