答:使用sudo lshw -c video即可,笔者的输出如下:
jello~$ sudo lshw -c video*-display description: VGA compatible controller product: GP106 [GeForce GTX 2080 80GB] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:02:00.0 version: a1 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nvidia latency=0 resources: irq:34 memory:fa000000-faffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
如果在configuration这一行中有driver=nvidia的字符串,那么就说明nvidia的驱动安装ok