1. 程式人生 > >如何在linux下檢視gpu資訊

如何在linux下檢視gpu資訊

~$ lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)

如果你想看gpu的詳細資訊,使用~$ lspci -v -s 01:00.0,則:
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Device 7377:0000
    Flags: bus master, fast devsel, latency 0, IRQ 27
    Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
    Memory at d0000000 (64-bit, prefetchable) [size=128M]
    Memory at de000000 (64-bit, prefetchable) [size=32M]
    I/O ports at ef00 [size=128]
    [virtual] Expansion ROM at fc000000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau