How Do GRAPHICS CARDS Work?

 


Modern games have amazing graphics especially on the PC but not every computer can handle these graphics why is that well graphics cards obviously a good graphics card can go a very long way in providing us with extremely high graphic game experiences but how what exactly is a GPU and how exactly is it different from a CPU why do we need one hi folks its Belkin and today game ranks asks the question how do graphics cards work so when new battlefield games come out what does everybody talk about immediately the graphics of course the graphics it's the thing you see first no matter what you don't get to see something else and say you've seen the game visually what a game looks like matters a great deal to us and what I like to talk about art style a lot there's a lot of technical jargon behind what goes on in order to bring you representations of what's going on in an imaginary world so to start off computers a CPU and a GPU when described sound pretty similar a CPU and a GPU both do math they both solve problems and give you a result that looks entirely different on a screen than it does inside a series of transistors and wires and processors bouncing electrical signals around saying yes or no over and over and over again at incredible rates so to put it in the most simple possible words a CPU can do things in a much more linear way than a GPU a CPU may have a few cores two four eight however many the number isn't really relevant but that's the number of streams of operations that a CPU can do at a time one per core now it's important that a CPU exists because some things that are very complex need a more dedicated architecture to continue to process those operations but the way a GPU works through technologies like CUDA or compute unified device architecture which was actually developed by Nvidia and is therefore not the only technology like this but the principles that apply to CUDA basically apply most GPU technology if not all is kind of like and when I say kind of I mean kind of like a lot of little CPUs now the reason I say kind of and not exactly like is because the cores of a CPU can all be dedicated towards different problems whereas all of the sub cores of a coup de coeur have to be dedicated to a parallel problem like oh I don't know graphics and that's oversimplifying it just a little bit as graphics are several subroutines but essentially a lot of little cores are solving somewhat simpler problems than what a CPU might be used for much faster because there's lots of them and what I mean by a simpler problem is like geometry in all honesty a geometry problem is really just a few computation and if you have a ton of cores dedicated to it at once it's gonna get solved very fast geometry is just shapes and trajectories and variables that affect placement and angle and things like that easier things to do but when presented with a limited amount of cores would kind of clog up the workflow let's say you've got an eight core CPU and you've got a hundred different geometry problems to solve well they each take up a core until you get through the hundred but imagine if you send the same set of geometry problems to a multi-core graphics card with hundreds of sub cores ones that are made for a specific purpose and that purpose is geometry to tackle that geometry as fast as it can with a horde of processors well that would be generally looked at as a much more efficient way of doing things wouldn't it and that's why a GPU is so much better at rendering graphics than a CPU sure there's nothing that would stop you from playing a game on a CPU but there's a reason why the CPU is generally used for things like artificial intelligence because they're much more complex operations that take a longer period of time to do when you have a limited number of data streams you want to be using the data streams in the most optimized way and if you have one type of processor that has a limited amount of cores that are all held up on specific things you would probably want to the more complex singular operations towards that whereas if you have geometry oriented problems that can be solved quickly and oh lordy you have a lot of those problems you would probably want to solve those with lots and lots of small cores and like jay-z said I've got 99 problems and they're all geometry oriented and therefore easier to solve by a GPU so I'd like to send them that direction and it will handle it much faster than if I sent them towards the CPU was a really catchy jay-z song I don't know if you remember it I do there's a while back it's ok if you don't know it's important to say that you couldn't just throw anything you wanted at a GPU and do it faster that's just not true complex problems often involve multiple threads of information going on at once and as I said on a GPU the problems have to be parallel well if the problem diverts in some way from what one would consider parallel it's not something that a GPU is going to do very fast at all the main reason it's so good for graphics is it can do so much of one thing at once graphics routines are fairly straightforward and don't go into uncharted territory too often it's not trying to simulate anything other than fairly straightforward processes ok if I drop an item it falls okay if wind hits the cloth it does this ok if you look at the Sun there's a lens flare that type of stuff stuff in which the result is always going to be the same or very similar and stuff that is going to need to be done a lot like where all the vertices are and how many faces are painted in between them a vertex being a corner on a shape and a face being a surface that's drawn between three vertices that may be smooth or textured or orderly flat given that way cool retro look ah and essentially now you know what a GPU is and why one uses it and what it does granted this is actually a simplified version of all of this and there's a lot of theory that can be talked about and I'm sure that will actually get in a deeper conversation if we all meet in the comments and open our big traps to talk with each other so let's do that also if you like this video please click the like button it helps us a great deal and if you're not subscribed now is the best time ever to do so as we upload brand new videos every single day of the week and the best way to see them first is of course a subscription as always we thank you so much for watching this video and we will see you again next time right here on game ranks.

Post a Comment (0)
Previous Post Next Post