vickycq 写道:
设法执行以下指令
sudo apt install pastebinit
设法执行以下指令将结果全部复制贴上来
代码:
sudo cat /var/log/apt/history.log | pastebinit
lspci -knn | grep -iA2 'vga\|3d\|disp'
sudo lshw -C display
结果就是这样的
xinglingwu@xinglingwu-Lenovo-M490:~/桌面$ sudo cat /var/log/apt/history.log | pastebinit
[sudo] xinglingwu 的密码:
Failed to contact the server: [Errno socket error] The write operation timed out
xinglingwu@xinglingwu-Lenovo-M490:~/桌面$ lspci -knn | grep -iA2 'vga\|3d\|disp'00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:5003]
Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 635M] [10de:0de3] (rev a1)
Subsystem: Lenovo GF108M [GeForce GT 635M] [17aa:5003]
Kernel driver in use: nvidia
xinglingwu@xinglingwu-Lenovo-M490:~/桌面$ sudo lshw -C display
*-display
description: VGA compatible controller
product: GF108M [GeForce GT 635M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:3000(size=128) memory:f3000000-f307ffff
*-display
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:28 memory:f3400000-f37fffff memory:d0000000-dfffffff ioport:4000(size=64)
xinglingwu@xinglingwu-Lenovo-M490:~/桌面$