Speicher berechnen

#hwinfo –gfxcard
Memory Range: 0xc0000000-0xcfffffff (rw,prefetchable)
#bc
ibase=16
CFFFFFFF-C0000000+1
268435456
ibase=A
268435456/2^20
256

lspci -v -s `lspci | awk '/VGA/{print $1}'` | sed -n '/Memory.*, prefetchable/s/.*\[size=\([^]]\+\)\]/\1/p'