我需要安装一些对显卡内存要求极小的程序,我如何获取显卡内存的大小以及可能的供应商和类型?
输出lspci | grep VGA | cut -d " " -f 1 | xargs lspci -vv -s
:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Elitegroup Computer Systems Device 9981
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 44
Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 1800 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
答案1
从 运行此命令Terminal
:
lspci | grep VGA | cut -d " " -f 1 | xargs lspci -vv -s
这将向您显示有关您的视频卡的详细信息表。
答案2
lspci -v -d '::03xx'
显示控制器被分配给PIC 设备类03
。