Web lists-archives.com

Re: how to find out video memory size?

Le 16/02/2019 à 06:52, David Wright a écrit :
On Sat 16 Feb 2019 at 05:20:32 (+0000), Long Wind wrote:
i've just bought a display card, how to know its memory size?

$ lspci -v
will tell you. Eg:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Haswell-ULT Integrated Graphics Controller
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at b2000000 (64-bit, non-prefetchable) [size=4M]
	Memory at a0000000 (64-bit, prefetchable) [size=256M]

This only shows the PCI memory address ranges. The actual memory size may differ. Sometimes it is written in the kernel logs or Xorg logs.