我的笔记本电脑有一个集成的英特尔GPU和一个离散的Nvidia GPU。
在安装了ubuntu18.04之后,已经安装了Nvidia服务器设置应用程序,我可以通过它查看驱动程序版本。
我该怎么为英特尔的司机这么做?
发布于 2019-08-04 22:19:51
您可以使用lspci命令查看所有视频适配器。
lspci -k | grep -EA3 'VGA|3D|Display'
| | | | | \- Only VGA is not good enough,
| | | | | because Nvidia mobile adapters
| | | | | are shown as 3D and some AMD
| | | | | adapters are shown as Display.
| | | | \--------- Print 3 lines after the regexp match.
| | | \-------------- program for searching patterns in files
| | | (regular expressions)
| | \------------------ pipe used for passing the results of the
| | first command (lspci -k) to the next (grep)
| \-------------------- Show kernel drivers handling each device.
\------------------------- utility for displaying information
about PCI buses in the system and
devices connected to them输出将如下所示:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
DeviceName: Onboard IGD
Subsystem: Dell HD Graphics 620
Kernel driver in use: i915
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Subsystem: Dell GM108M [GeForce 940MX]
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidia_drm, nvidia如你所见,我有一个英特尔GPU和一个Nvidia GPU。英特尔GPU使用的是i915驱动程序,Nvidia使用的是nouveau。您可以在输出的Kernel driver in use:部分中检查这一点。
发布于 2019-08-05 05:17:15
标准的Intel驱动程序是内核的一个内置部分,2)台面3D图形库。
若要查看活动内核版本,请使用uname -r或dpkg -l | grep linux-image。
要查看您的活动台面版本,请使用glxinfo -B或dpkg -l | grep mesa。
在Xorg中,与Intel驱动程序的接口可能由xserver-xorg-video-intel模块处理。同样,使用dpkg -l检查其版本(并注意包可能不存在,在这种情况下,Xorg通过“accesses”接口访问相同的Intel驱动程序)。
https://askubuntu.com/questions/1163390
复制相似问题