SlideShare a Scribd company logo
Graphics Hardware
 Display (CRT, LCD,…)
 Graphics accelerator
 Scan controller
 Video Memory (frame buffer)
 Display/Graphics Processor
 CPU/Memory/Disk …
Display Technologies
 Front projection
 Back projection
 Direct view
 Backlit
Display Technologies
 CRT
 LED
 LCD
 Plasma Panels
 DLP
 OLED
 Etc.
Trade-offs
 Cost, Weight, Size
 Power consumption
 Spatial & Color resolution
 Peak brightness, Black, contrast
 Etc.
Cathode Ray Tube (CRT)
1 2 3 4 5 6
1. Filament (generate heat)
2. Cathode (emit electrons)
3. Control grid (control intensity)
4. Focus 5. Deflector 6. Phosphor coating
Color CRT
Color = (red, green, blue)
Red = 0 to 100%
Green = 0 to 100%
Blue = 0 to 100%
Black = (0,0,0)
White = (1,1,1)
Red = (1,0,0)
Green = (0,1,0)
Blue = (0,0,1)
…
3 electron guns, 3 color phosphor dots at each pixel
LED - Direct view
- backlight source
LCD: backlit
Plasma Panels: emit light; soon extinct?
DLP: http://www.dlp.com/includes/video_demo.aspx
Digital Micromirror Device
For digital projection
Trade-offs
Peak brightness
Black level
Contrast
Screen brightness
Motion artifaces
Aging
Maximum resolution
Thickness
Weight
Power consumption
Rear projection
Front projection
Direct view
Backlit
http://www.displaymate.com/ShootOut_Comparison.htm
Random Scan Order
 Old way: No pixels - The electron gun
draws straight lines from location to
location on the screen (vector graphics)
a.k.a. calligraphic display,
Random scan device, vector drawing
display
Use either display list or
storage tube technology
Vector graphics
Display list
Move (100,200)
Draw(200,200)
Draw(200,100)
Draw(100,100)
Raster Display graphics
 Based on (analog) raster-scan TV technology
 The screen (and a picture) consists of discrete pixels
Digital Display
How CRT draws a picture
 We have only one electron gun but
many pixels in a picture need to be lit
simultaneously…
Refresh of CRT
 Refresh – the electron gun needs to come back to
hit the pixel again before it fades out
 An appropriate fresh rate depends on the property of
phosphor coating
Phosphor persistence: the time it takes for the
emitted light to decay to 1/10 of the original intensity
 Typical refresh rate: 60 – 80 times per second (Hz)
(What will happen if refreshing is too slow or too
fast?)
Frame Buffer
 Frame buffer: the memory to hold the pixel intensity
values
 Properties of a frame buffer that affect the graphics
performance:
 Size: screen resolution
 Depth: color level
1 bit/pixel: black and white
8 bits/pixel: 256 levels of gray
24 bits/pixel: 16 million colors
 Speed: refresh speed
Raster Scan Order
 What we do now: the electron gun will
scan through the pixels from left to
right, top to bottom (scanline by
scanline)
Raster Scan Order
 The electron gun will scan through the
pixels from left to right, top to bottom
(scanline by scanline)
Horizontal retrace
Raster Scan Order
 The electron gun will scan through the
pixels from left to right, top to bottom
(scanline by scanline)
Vertical retrace
Progressive vs. Interlace
 Progressive: Scan every scan line
 Interlace: Scan only every other scan
line (even -> odd -> even -> odd …)
- so the refresh rate becomes twice as fast
0
1
2
3
4
5
Even scan
Odd scan
Standards
 NTSC: Interlaced, 525 line, 59.94Hz,
4:3
 DTV: Digital version of NTSC, 480i, 4:3
 HDTV: e.g. 720p, 60Hz, 16:9
 Blu-ray: 1080p
 Other standards?
Raster Scan Control
 Scan Controller (video adaptor) and frame
buffer
Frame buffer
Scan controller
x
y
DAC
Color is expensive …
 At least used to be
 The more color you want, the more bits you
will need for each pixel
 Exercise: 1024 x 1280 screen with
24 bits per pixel, how many bytes in the
frame buffer?
1024 x 1280 x 24 / 8 = 4M Byte
@30fps = 120MB/sec
Color Lookup Table
 Say I am a poor man … I only have 3 bits per pixel
 But I insist on having high quality pictures …
 Use Color Look Up Table (LUT)
3 bits/pixel frame buffer
R G B
You can still have 24 bits
in each of the color table
entries
0
1
2
3
4
5
6
7
24 bit wide
A simple graphics system
System bus
CPU Main Memory
Frame
buffer
Scan
Controller
Frame buffer can be part
of the main memory
Problem?
Dedicated memory
System bus
CPU Main Memory
Frame
buffer
Scan
Controller
Video memory: On-board frame buffer:
much faster to access
Graphics Accelerator
System bus
CPU Main Memory
Graphics Memory/
Frame buffer
Scan
Controller
Graphics
Processor
A dedicated processor
for graphics processing
Graphics Accelerator
Graphics Accelerator
NVIDIA GPUs
Quadro FX 5600 Quadro FX 4600
Memory Size 1.5GB GDDR3 768MB GDDR3
Memory Interface 384-bit 384-bit
Memory
Bandwidth
76.8 GB/sec. 67.2 GB/sec.
Max Power
Consumption
171W 134W
Number of Slots 2 2
Display Connectors DVI-I DVI-I Stereo DVI-I DVI-I Stereo
Dual-Link DVI 2 2
Price $2,999.00 $1,999.00
AMD GPUs
Desktop vs Mobility Radeon Graphics
Desktop
Radeon HD
6990
Desktop
Radeon HD
6870
Radeon HD
6990M
Transistors 5.28 billion 1.7 billion 1.7 billion
Engine Clock 830 MHz 900 MHz 715 MHz
Shader
(ALUs)
3072 1120 1120
Texture Units 192 56 56
ROP Units 64 32 32
Compute
Performance
5.1 TFLOPS 2.01 TFLOPS 1.60 TFLOPS
DRAM Type GDDR5-5000 GDDR5-4200 GDDR5-3600
DRAM
Interface
256-bits per
GPU
256-bits 256-bits
Memory
Bandwidth
160 GB/s per
GPU
134 GB/s 115.2 GB/s
TDP 375 W 151 W 100 W
GPUs
http://sbel.wisc.edu/Courses/ME964/2011/Literature/onGPUcomputingDally2010.pdf
THE GPU COMPUTING ERA
The Evolution of GPUs
ftp://download.nvidia.com/developer/presentations/2004/Perfect_Kitchen_Art/English_Evolution_of_GPUs.pdf
The Graphics Pipeline
Graphics Bus Interface
CPU Main Memory
Graphics Memory/
Frame buffer
Scan
Controller
Graphics
Processor
PCI based technology
PCI Bus – 132 MB/s
System Bus – 800MB/s
Other
Peripherals
Graphics Bus Interface (2)
 PCI Bus becomes the bottleneck!
 Many devices are using it
 There is a lot of stuff needs to be
transmitted from main memory to graphics
memory (geometry, textures, etc)
 Example: 2M triangle, 90 Bytes each –
180MB > 132 MB (PCI bandwidth)
Accelerated Graphics Port (AGP)
CPU Main Memory
Graphics Memory/
Frame buffer
Scan
Controller
Graphics
Processor
PCI Bus – 132 MB/s
Other
Peripherals
AGP 1x: 518 MB/s
A dedicated bus that allows direct access of main memory
Fast!!!
AGP
 AGP 1x is four times as fast compared
to PCI! (now we have AGP 8x)
 No more local bus congestion!
 More geometry can be processed!
 Direct execution of many graphics
operations from main memory
PCI Express
 Bandwidth?
Reading and Lab1
 Textbook Chapter 1, 2
Lab 1: Compile and run the sample OpenGL
program posted on the class web site

More Related Content

Similar to 2.Hardware.ppt

3526192.ppt
3526192.ppt3526192.ppt
3526192.ppt
ssuseraf60311
 
Crt notes
Crt notesCrt notes
Cgmm introduction
Cgmm introductionCgmm introduction
Cgmm introduction
SIRT BHOPAL
 
GPU Compute in Medical and Print Imaging
GPU Compute in Medical and Print ImagingGPU Compute in Medical and Print Imaging
GPU Compute in Medical and Print Imaging
AMD
 
Display device
Display deviceDisplay device
Display device
GunjanGaur5
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
video compression techique
video compression techiquevideo compression techique
video compression techiqueAshish Kumar
 
Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
MalleshBettadapura1
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
Ankit Garg
 
Lec-2 Graphics System.ppt
Lec-2 Graphics System.pptLec-2 Graphics System.ppt
Lec-2 Graphics System.ppt
MNSUAM
 
Evolution of the modern graphics architectures with a focus on GPUs | Turing1...
Evolution of the modern graphics architectures with a focus on GPUs | Turing1...Evolution of the modern graphics architectures with a focus on GPUs | Turing1...
Evolution of the modern graphics architectures with a focus on GPUs | Turing1...
Persistent Systems Ltd.
 
Lec09
Lec09Lec09
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
Godo Dodo
 
Graphics Primitives and CG Display Devices
Graphics Primitives and CG Display DevicesGraphics Primitives and CG Display Devices
Graphics Primitives and CG Display Devices
DIPIKA83
 
Threading Successes 06 Allegorithmic
Threading Successes 06   AllegorithmicThreading Successes 06   Allegorithmic
Threading Successes 06 Allegorithmicguest40fc7cd
 
Digital Image Processing and gis software systems
Digital Image Processing and gis software systemsDigital Image Processing and gis software systems
Digital Image Processing and gis software systems
Nirmal Kumar
 
Computer components
Computer componentsComputer components
Computer components
Md. Sohanur Rahman
 

Similar to 2.Hardware.ppt (20)

3526192.ppt
3526192.ppt3526192.ppt
3526192.ppt
 
Crt notes
Crt notesCrt notes
Crt notes
 
Crt notes
Crt notesCrt notes
Crt notes
 
Cgmm introduction
Cgmm introductionCgmm introduction
Cgmm introduction
 
GPU Compute in Medical and Print Imaging
GPU Compute in Medical and Print ImagingGPU Compute in Medical and Print Imaging
GPU Compute in Medical and Print Imaging
 
Display device
Display deviceDisplay device
Display device
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Unit 1
Unit 1Unit 1
Unit 1
 
Lec-2 Graphics System.ppt
Lec-2 Graphics System.pptLec-2 Graphics System.ppt
Lec-2 Graphics System.ppt
 
Evolution of the modern graphics architectures with a focus on GPUs | Turing1...
Evolution of the modern graphics architectures with a focus on GPUs | Turing1...Evolution of the modern graphics architectures with a focus on GPUs | Turing1...
Evolution of the modern graphics architectures with a focus on GPUs | Turing1...
 
Lec09
Lec09Lec09
Lec09
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
 
Graphics Primitives and CG Display Devices
Graphics Primitives and CG Display DevicesGraphics Primitives and CG Display Devices
Graphics Primitives and CG Display Devices
 
Threading Successes 06 Allegorithmic
Threading Successes 06   AllegorithmicThreading Successes 06   Allegorithmic
Threading Successes 06 Allegorithmic
 
Digital Image Processing and gis software systems
Digital Image Processing and gis software systemsDigital Image Processing and gis software systems
Digital Image Processing and gis software systems
 
Ch7 031102
Ch7 031102Ch7 031102
Ch7 031102
 
Computer components
Computer componentsComputer components
Computer components
 

Recently uploaded

678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 

Recently uploaded (20)

678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 

2.Hardware.ppt

  • 1. Graphics Hardware  Display (CRT, LCD,…)  Graphics accelerator  Scan controller  Video Memory (frame buffer)  Display/Graphics Processor  CPU/Memory/Disk …
  • 2. Display Technologies  Front projection  Back projection  Direct view  Backlit
  • 3. Display Technologies  CRT  LED  LCD  Plasma Panels  DLP  OLED  Etc.
  • 4. Trade-offs  Cost, Weight, Size  Power consumption  Spatial & Color resolution  Peak brightness, Black, contrast  Etc.
  • 5. Cathode Ray Tube (CRT) 1 2 3 4 5 6 1. Filament (generate heat) 2. Cathode (emit electrons) 3. Control grid (control intensity) 4. Focus 5. Deflector 6. Phosphor coating
  • 6.
  • 7. Color CRT Color = (red, green, blue) Red = 0 to 100% Green = 0 to 100% Blue = 0 to 100% Black = (0,0,0) White = (1,1,1) Red = (1,0,0) Green = (0,1,0) Blue = (0,0,1) … 3 electron guns, 3 color phosphor dots at each pixel
  • 8. LED - Direct view - backlight source
  • 10. Plasma Panels: emit light; soon extinct?
  • 12. Trade-offs Peak brightness Black level Contrast Screen brightness Motion artifaces Aging Maximum resolution Thickness Weight Power consumption Rear projection Front projection Direct view Backlit http://www.displaymate.com/ShootOut_Comparison.htm
  • 13. Random Scan Order  Old way: No pixels - The electron gun draws straight lines from location to location on the screen (vector graphics) a.k.a. calligraphic display, Random scan device, vector drawing display Use either display list or storage tube technology
  • 14. Vector graphics Display list Move (100,200) Draw(200,200) Draw(200,100) Draw(100,100)
  • 15. Raster Display graphics  Based on (analog) raster-scan TV technology  The screen (and a picture) consists of discrete pixels Digital Display
  • 16. How CRT draws a picture  We have only one electron gun but many pixels in a picture need to be lit simultaneously…
  • 17. Refresh of CRT  Refresh – the electron gun needs to come back to hit the pixel again before it fades out  An appropriate fresh rate depends on the property of phosphor coating Phosphor persistence: the time it takes for the emitted light to decay to 1/10 of the original intensity  Typical refresh rate: 60 – 80 times per second (Hz) (What will happen if refreshing is too slow or too fast?)
  • 18. Frame Buffer  Frame buffer: the memory to hold the pixel intensity values  Properties of a frame buffer that affect the graphics performance:  Size: screen resolution  Depth: color level 1 bit/pixel: black and white 8 bits/pixel: 256 levels of gray 24 bits/pixel: 16 million colors  Speed: refresh speed
  • 19. Raster Scan Order  What we do now: the electron gun will scan through the pixels from left to right, top to bottom (scanline by scanline)
  • 20. Raster Scan Order  The electron gun will scan through the pixels from left to right, top to bottom (scanline by scanline) Horizontal retrace
  • 21. Raster Scan Order  The electron gun will scan through the pixels from left to right, top to bottom (scanline by scanline) Vertical retrace
  • 22. Progressive vs. Interlace  Progressive: Scan every scan line  Interlace: Scan only every other scan line (even -> odd -> even -> odd …) - so the refresh rate becomes twice as fast 0 1 2 3 4 5 Even scan Odd scan
  • 23. Standards  NTSC: Interlaced, 525 line, 59.94Hz, 4:3  DTV: Digital version of NTSC, 480i, 4:3  HDTV: e.g. 720p, 60Hz, 16:9  Blu-ray: 1080p  Other standards?
  • 24. Raster Scan Control  Scan Controller (video adaptor) and frame buffer Frame buffer Scan controller x y DAC
  • 25. Color is expensive …  At least used to be  The more color you want, the more bits you will need for each pixel  Exercise: 1024 x 1280 screen with 24 bits per pixel, how many bytes in the frame buffer? 1024 x 1280 x 24 / 8 = 4M Byte @30fps = 120MB/sec
  • 26. Color Lookup Table  Say I am a poor man … I only have 3 bits per pixel  But I insist on having high quality pictures …  Use Color Look Up Table (LUT) 3 bits/pixel frame buffer R G B You can still have 24 bits in each of the color table entries 0 1 2 3 4 5 6 7 24 bit wide
  • 27. A simple graphics system System bus CPU Main Memory Frame buffer Scan Controller Frame buffer can be part of the main memory Problem?
  • 28. Dedicated memory System bus CPU Main Memory Frame buffer Scan Controller Video memory: On-board frame buffer: much faster to access
  • 29. Graphics Accelerator System bus CPU Main Memory Graphics Memory/ Frame buffer Scan Controller Graphics Processor A dedicated processor for graphics processing
  • 32. NVIDIA GPUs Quadro FX 5600 Quadro FX 4600 Memory Size 1.5GB GDDR3 768MB GDDR3 Memory Interface 384-bit 384-bit Memory Bandwidth 76.8 GB/sec. 67.2 GB/sec. Max Power Consumption 171W 134W Number of Slots 2 2 Display Connectors DVI-I DVI-I Stereo DVI-I DVI-I Stereo Dual-Link DVI 2 2 Price $2,999.00 $1,999.00
  • 33. AMD GPUs Desktop vs Mobility Radeon Graphics Desktop Radeon HD 6990 Desktop Radeon HD 6870 Radeon HD 6990M Transistors 5.28 billion 1.7 billion 1.7 billion Engine Clock 830 MHz 900 MHz 715 MHz Shader (ALUs) 3072 1120 1120 Texture Units 192 56 56 ROP Units 64 32 32 Compute Performance 5.1 TFLOPS 2.01 TFLOPS 1.60 TFLOPS DRAM Type GDDR5-5000 GDDR5-4200 GDDR5-3600 DRAM Interface 256-bits per GPU 256-bits 256-bits Memory Bandwidth 160 GB/s per GPU 134 GB/s 115.2 GB/s TDP 375 W 151 W 100 W
  • 34.
  • 35. GPUs http://sbel.wisc.edu/Courses/ME964/2011/Literature/onGPUcomputingDally2010.pdf THE GPU COMPUTING ERA The Evolution of GPUs ftp://download.nvidia.com/developer/presentations/2004/Perfect_Kitchen_Art/English_Evolution_of_GPUs.pdf
  • 37. Graphics Bus Interface CPU Main Memory Graphics Memory/ Frame buffer Scan Controller Graphics Processor PCI based technology PCI Bus – 132 MB/s System Bus – 800MB/s Other Peripherals
  • 38. Graphics Bus Interface (2)  PCI Bus becomes the bottleneck!  Many devices are using it  There is a lot of stuff needs to be transmitted from main memory to graphics memory (geometry, textures, etc)  Example: 2M triangle, 90 Bytes each – 180MB > 132 MB (PCI bandwidth)
  • 39. Accelerated Graphics Port (AGP) CPU Main Memory Graphics Memory/ Frame buffer Scan Controller Graphics Processor PCI Bus – 132 MB/s Other Peripherals AGP 1x: 518 MB/s A dedicated bus that allows direct access of main memory Fast!!!
  • 40. AGP  AGP 1x is four times as fast compared to PCI! (now we have AGP 8x)  No more local bus congestion!  More geometry can be processed!  Direct execution of many graphics operations from main memory
  • 42. Reading and Lab1  Textbook Chapter 1, 2 Lab 1: Compile and run the sample OpenGL program posted on the class web site