determine the amout of video ram
Nix, Robert P.
Nix.Robert at mayo.edu
Mon Dec 15 22:05:35 UTC 2003
-----Original Message-----
From: Mads V. Pedersen [SMTP:rhl-list at volsted.com]
Sent: Monday, December 15, 2003 3:55 PM
To: fedora-list at redhat.com
Subject: Re: determine the amout of video ram
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
Actually, it would be easier to express the formula as:
video RAM needed (in MB) = (width x height x (number-of-bits / 8)) / 1048576
and, this would more acurately express what is actually happening, because it's the number of bits / 8, to make bytes, that is significant. Putting it in the constant at the end is confusing.
----
Robert P. Nix internet: nix.robert at mayo.edu
Mayo Clinic phone: 507-284-0844
RO-CE-8-857 page: 507-270-1182
200 First St. SW
Rochester, MN 55905
---- "Codito, Ergo Sum"
"In theory, theory and practice are the same,
but in practice, theory and practice are different."
More information about the fedora-list
mailing list