Computer Graphics Seminar 2018 Stanislav Belogrivov

Slides:



Advertisements
Similar presentations
Practical Caches COMP25212 cache 3. Learning Objectives To understand: –Additional Control Bits in Cache Lines –Cache Line Size Tradeoffs –Separate I&D.
Advertisements

Presentation by: Serena, Ann & Nicole
PC BIOS and CMOS.
Cisc Complex Instruction Set Computing By Christopher Wong 1.
Digital Graphics and Computers. Hardware and Software Working with graphic images requires suitable hardware and software to produce the best results.
A job of my dream Student: Anatoly Shatilov Moscow State College of Electromechanics and Information Technologies.
Computer Graphics Graphics Hardware
The 4 functions of a computer are 1.Input 2.Output 3.Storage 4.Processing.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Y. Kotani · F. Ino · K. Hagihara Springer Science + Business Media B.V Reporter: 李長霖.
THE PARTS OF A PERSONAL COMPUTER Adrian St.Hill Faith Christian Academy Basic Computer Training August 2010.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
The types of computers and their functionalities.
GCSE Computing: A451 Computer Systems & Programming Topic 3 Software System Software (1) The Operating System.
Parts of a PC Unit one.. What is a DVD A DVD is a disc able to hold large amounts of high definition data such as a movie A device such as a DVD player.
System Software (1) The Operating System
How to use a Pixel Shader CMT3317. Pixel shaders There is NO requirement to use a pixel shader for the coursework though you can if you want to You should.
CS120 Purchasing a Computer
2D Graphics Optimizations
Computer Graphics Graphics Hardware
Computer Hardware What is a CPU.
Computer Science.
GPU Architecture and Its Application
Memory P2 Understand hardware technologies for game platforms
Modularity Most useful abstractions an OS wants to offer can’t be directly realized by hardware Modularity is one technique the OS uses to provide better.
Graphics Processor Graphics Processing Unit
COMPUTER GRAPHICS CHAPTER 38 CS 482 – Fall 2017 GRAPHICS HARDWARE
Chapter Objectives In this chapter, you will learn:
Memory Miss Elliott.
Activity 1 6 minutes Research Activity: What is RAM? What is ROM?
Week 2 - Monday CS361.
Processor support devices Part 2: Caches and the MESI protocol
Design Components are Code Components
Week 2 - Friday CS 113.
What is GPU? how does it work?
Mechanism: Address Translation
Building a Gaming PC part 2:
Central Processing Unit- CPU
How will execution time grow with SIZE?
Read Only Memory July 22, 2018.
Deferred Lighting.
Real-Time Ray Tracing Stefan Popov.
Drill Translate the following message:
Application Development Theory
Introduction to Computers
Introduction CSE 1310 – Introduction to Computers and Programming
Stylized Environmental Rendering
Chapter 1: Introduction
Lecture 2: Intro to the simd lifestyle and GPU internals
TechnoSpecialist Computers Information Package
CPU Central Processing Unit
Parallelizing Dynamic Time Warping
Better Line Following with PID
Computer Basics: Inside a Computer Part II
Real-time Volumetric Lighting in Participating Media
Memory P2 Understand hardware technologies for game platforms
1.1 The Characteristics of Contemporary Processors, Input, Output and Storage Devices Types of Processors.
Recall: ROM example Here are three functions, V2V1V0, implemented with an 8 x 3 ROM. Blue crosses (X) indicate connections between decoder outputs and.
Logical Computer System
2.C Memory GCSE Computing Langley Park School for Boys.
Computer Graphics Graphics Hardware
Ainsley Smith Tel: Ex
Title of Project Joseph Hallahan Computer Systems Lab
Tonga Institute of Higher Education IT 141: Information Systems
LO2 – Understand Computer Software
Tonga Institute of Higher Education IT 141: Information Systems
EE 155 / Comp 122 Parallel Computing
Mechanism: Address Translation
Computer Applications Unit A
Presentation transcript:

Computer Graphics Seminar 2018 Stanislav Belogrivov CPU vs GPU Computer Graphics Seminar 2018 Stanislav Belogrivov

SO, WHAT’S THIS ALL ABOUT? Theoretical comparison of CPU and GPU. What they do for video games? How far can you go (and when) to replace one with the other?

CPUs

CPUs CPU processes the game’s instructions, reads player input… … And distributes these tasks among so called bridges … as well as sends tasks to the GPU (via Northbridge)

So CPU looks like this

So.. How to use it? A lot of games that want to perform physics simulations rely heavily on CPUs. Strategy games also favor CPU over GPU, since… AI and game logic > graphics.

Anything else? AI is the other thing that is handled by the CPU itself! As such, strategy games, especially turn-based ones, really prefer (over)using CPU than GPU (though do not hesitate to use the latter).

CPU is quite bad at handling graphics…or is it? Find out soon!

CPU is quite bad at handling graphics…or is it? Find out soon! How about… now?

Yes, CPU is useable for graphics …though not that well. CPUs have integrated graphics cards, which can run something simple. I.e. Minecraft

Yes, CPU is useable for graphics …though not that well. CPUs have integrated graphics cards, which can run something simple. I.e. Minecraft Though… not always… WAY not always

GPUs

GPUs MTAT.03.015, MTAT.03.328, MTAT.03.305 As follows from the name “Graphics Processing Unit”...

Still, some general info Has its own memory – VRAM, since GPU cannot directly access computer memory. GPU uses VRAM to store assets. ^ why open-world/high-texture-quality games need a lot of it. GPU by itself cannot do anything – “orders” are received from CPU. Any issues?

Yes, there is an issue! Since GPU cannot work without orders and does not do any game analysis by itself, all directives “draw this here” are passed from CPU. If CPU is too fast and the GPU is not (or the opposite)… we get a bottleneck issue!

CPU Bottleneck Since GPU cannot work without orders and does not do any game analysis by itself, all directives “draw this here” are passed from CPU. If CPU is too fast and the GPU is not (or the opposite)… we get a bottleneck issue!

CPU Bottleneck Since GPU cannot work without orders and does not do any game analysis by itself, all directives “draw this here” are passed from CPU. If CPU is too fast and the GPU is not (or the opposite)… we get a bottleneck issue! Can be solved by..?

GPU Bottleneck Exactly the opposite: fast processor paired with a mediocre/old video card.

GPU Bottleneck Exactly the opposite: fast processor paired with a mediocre/old video card.

How to spot a bottleneck? Usually visible during sudden scene changes (i.e. walking out of a dark room into sunlight or a ton of visual effects) Or a static decrease of frames(way harder to spot this). Either way, possible to monitor the GPU performance.

Example https://youtu.be/DAgpvWc4VBM?t=710

What to do? Change your games of choice. Change hardware. Lower graphics settings in-game.

Back to the GPU talk GPU is designed to process simple mathematical formulas extremely efficiently (which results in speed). Since all rendering and such is done via mathematical simulations… GPU excels at that.

How to apply it? Anything that has to do with 3D is a sphere of GPU. However, most modern “fancy” and “realistic” effects (both post- processing and rendering itself) are called only on specific occasions. Mainly, in Third Person Shooters and First Person Shooters.

The end?

The end? No, not really…

NVidia Shield

Nvidia Shield Does not have a spate GPU or CPU Tegra X1 System on a Chip (SoC), something similar to Raspberry Pi and such. Can easily support 4K HDR games without any visible issues.

Nvidia Shield When it has to run BIG games, it does not. Instead, it does the streaming – game by itself is computed somewhere on NVidia servers, then delivered to you as just “video”. Still handles user input. Runs on Android, supports both PC and Android.

Conclusion It really depends on what you want to get CPU is good for: Accounting game physics, game logic, AI etc. As such, for most games that focus on “gameplay”, strategies, simulators and such. GPU is good for: Fancy effects and real-time computations. As such, generally for FPS games, since those specifically try to imitate “human eye effects”(motion blur) or “camera effect”(lens flares). Whereas GPU allows you to get amazing real-time computations. Both work for non-real-time rendering (i.e. for cinematics or such), but CPU is generally way slower at rendering.

More conclusion Since there is a bottleneck issue (among other incompatibility issues), a very important idea: Newer != Better! Ideally, always think what the setup is intended for. Obviously, you can use CPU only mode for games and rendering, buut… you will get this

Keeping up with latest tech is… expensive

THANK YOU FOR YOUR ATTENTION! And don’t forget to balance your CPU and GPU!

Materials Bitwit – Do You NEED a Graphics Card to Game? https://www.youtube.com/watch?v=bMC5OG3gMZo Tegra X1 – The Powerful Processor Behind SHIELD https://shield.nvidia.com/blog/tegra-x1-processor-and-shield Quora - What role does the CPU, GPU, and RAM play during gaming? https://www.quora.com/What-role-does-the-CPU-GPU-and-RAM-play- during-gaming-I-know-their-functions-and-what-they-do-but-what-are- they-responsible-for WePC – CPU and GPU Bottleneck: A Detailed Explanation https://www.wepc.com/tips/cpu-gpu-bottleneck/ Quora - Can we use GPU instead of CPU? https://www.quora.com/Can-we- use-GPU-instead-of-CPU