LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2006, 10:06 PM   #1
Neubie
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Video Ram question


I have a question for homework and I am not quite sure how to answer it. I am not a computer major and I would appreciate any help.

"I have 512 MB of memory. My monitor runs at 1600 x 1200 resolution, at 32-bit colour
depth. What percentage of my main memory is devoted to video RAM?"

How do I go about solving this? Thanks in advance!
 
Old 07-03-2006, 12:30 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
32 bit color depth, so each pixel uses 32 bits

Calculate the number of pixels.
From there, calculate the number of bits.
You need to know that 8 bits form a byte, so divide result by 8.
Calculate percentage.
 
Old 07-03-2006, 03:02 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There is no such thing as 32-bit color depth. There is only 24-bit color depth. The extra 8-bits is the alpha channel which is the opaque channel. The alpha channel provides the effect that program windows can be seen right through to the other windows. In Linux this channel is handled by the Composite module.

A 1600x1200 at 24-bit color depth takes about 6 MB of video RAM.

http://en.wikipedia.org/wiki/Video_Graphics_Array
http://www.computerhope.com/help/video.htm
http://en.wikipedia.org/wiki/Color_depth
http://en.wikipedia.org/wiki/Alpha_blending
 
Old 07-03-2006, 05:17 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Thanks, always wondered what these extra 8 bits were for.
 
Old 07-03-2006, 07:42 AM   #5
Neubie
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Wim Sturkenboom and Electro for your help. I was heading actually thinking about doing it the way you guys mentioned, but I didn't know if I was correct. I guess it was an easy question for you guys. Not so easy for me since I'm just a
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking how much video ram i have? webazoid Linux - Software 1 08-09-2005 06:00 PM
memtest for video ram? xemous Linux - Hardware 1 04-14-2005 04:52 AM
how do I increase video card RAM? timsch75 Linux - Hardware 6 07-21-2004 08:10 PM
slackware XFree86 video ram question doralsoral Linux - Software 6 01-07-2004 07:56 AM
Video Ram sami Linux - General 3 03-26-2003 06:31 AM


All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration