Sunday, 10 September 2017

memory - How do I calculate video RAM requirements?


I'm upgrading my video card, but I can't decide between 512 or 1024 MB of memory. 512 is cheaper, and do I need 1024?


How do I calculate what's needed? Is it based on resolution, settings, ...?



Answer



A graphics card actually requires relatively little memory to function as a simple framebuffer (2D graphics) device:


For example - the framebuffer requirements for 1920x1080 in 32 bit colour would be:



  • 1920 x 1080 = 2073600 pixels

  • 2073600 x 32 = 66355200 bits

  • 66355200 / 8 = 8294400 bytes

  • 8294400 / 1024 = 8100 kilobytes

  • 8100 / 1024 = 7.91015625 megabytes


So even at that high resolution an 8MB card would be able to display an image.


You can double, or even triple that amount if you are using double or triple buffering (display one image while rendering another then switch to that new image while you render a third, etc).


All the rest of the memory is used when the card is working with 3D graphics to store internal copies (and transformed copies) of textures for rendering. The more memory you have the more and higher resolution textures the card can hold internally, so it won't need to be repeatedly sent the same textures over and over again by the gaming engine.


So basically the more memory you have the better it will be for 3D gaming.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...