determine the amout of video ram

Rick Stevens rstevens at vitalstream.com
Mon Dec 15 22:07:49 UTC 2003


Mads V. Pedersen wrote:
> Rick Stevens wrote:
> 
>> Don't forget the color depth.  If you go to 8- or 16-bit color rather
>> than the 24-bit color, you cut your memory requirements by 33-66%.  You
>> can then get the 1152x864 size, but not as many colors.  Here is the
>> video RAM needed for an 1152x864 display:
>>
>>     24-bit:    24MB
>>     16-bit:    15MB
>>     8-bit:    7.5MB
>>
>> If all you can give is 8MB, you're limited to an 8-bit 1152x864 display
>> (256 colors).  The formula is:
>>
>>     video RAM needed (in MB) = (width x height x number-of-bits)/1048576
> 
> 
> Your formula is calculating the amount of memory in Mega _bits_ not Mega 
> _Bytes_. You have to divide the number by 8. So you get
> 
> video RAM needed (in MB) = (width x height x number-of-bits) / 8388608

Doh!  Right.  My boo-boo.  Gotta stop writing messages to the list with
people in my office yelling at me.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-          su -; find / -name someone -exec touch \{\} \;            -
-                          - The UNIX way of touching someone        -
----------------------------------------------------------------------





More information about the fedora-list mailing list