There are cases where you need to know how much video RAM you have. Usually it is before you install a 3D game or an application that uses 3D graphics intensively.
Unfortunately, unlike Windows, The Linux Operating System has no easy way to view the amount of video RAM. After long discussion and community debates about different possible commands, (like lspci, KInfoCenter...) the command above was the only one to be found stable (i.e. works on all tested systems, other commands break on different systems).
So scanning the log file of X Window System is the only reliable answer so far. I hope a feature to view VRAM will be integrated into Yast at some point in the future.
This info is sometimes important to know. Especially given the fact that some old ATI and S3 cards do not display their Video BIOS/RAM on boot.
If you just wanna know which device you are running you can use either:
sax2 -p
-or-
lspci -v -v
NOTE: I have tested dozens of commands. Some fail on nVidia, some on ATI cards, some on VMware virtual driver. I found no 100% reliable way to view the amount of video RAM. If you think you have found such a command, feel free to email me at: al4321@gmail.com
The original How-To from openSUSE wiki: http://en.opensuse.org/How-to_view_the_amount_of_Video_RAM_on_Linux.