Linux如何查看显存

(以下内容由参看资料总结而来,若有不对,望指出)

用ctrl+alt+t打开终端,输入命令:lspci,得到如下(部分):
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]
03:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
然后再输入命令:lspci -vs 01:00.0   (注意和上哥命令查询到的序号一致),得到:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device 1bf2
    Flags: bus master, fast devsel, latency 0, IRQ 43
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0020000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at d000 [size=256]
    Expansion ROM at f0000000 [disabled] [size=128K]
    Capabilities:
    Kernel driver in use: radeon
256M即为显存

你可能感兴趣的:(Linux)