The Sony PS3 thread (apparently *still* obnoxious!)

Inane baanter or words of wisdom - you decide...
Locked
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Post by gilesgoat »

To keep the 60 fps steady is quite a hell, the main problem is "to keep
the chip properly busy but not over busy and not wasting time as well".

This is really difficult, for lot of reasons ..

As an "extremely gross rule of thumb" you should consider "don't feed the
chip more than X polygons at time and more than N textures at time" and
that would very roughly work but you'd be quite surely under-use the power of the chip.

One of the biggest problems is always the same, the bus, you have those
super-ultra GPUs BUT the amount of memory they can process is still
"not that big" and the GPU-CPU transfer is always limited.

Fact is, to have "the max you can get" the GPU should be something
"integrated" inside the CPU iteslf like we moved from external Floating Point
coprocessor chips to FPUs as part of the CPU.

The day we'll have a GPU as integral part of the CPU core things could
be lot different and this seems to be the direction.

GPUs ARE really powerful but of course by the very nature of the data
they process and all it's really hard to keep them working always "at best".

Let's say so, you can have a well written program/algorithm that is all
well aligned and sorted and is making all the cache and all work as smooth
as silk and then "someone moves a camera" and *blam* everything
scrambled, all the caches invalidated, all the pipelines broken all the data
updated completely and all tits ..

That's more or less the scenario of a GPU, it's hard for various reasons
and it's all but trivial to optimize stuff to make it well.

It can be you have a fall back from 60 to 30 and then after 1 second all
is 60 again when everything is "well realigned again" but it's fucking hard
to say "this temporary drop should not happen".

Fact is, depending on what you are redering an how sometime a GPU
can well render "smegload of stuff" even at 1000 fps but .. you change
"a comma" of all that and then you see that way of rendering and feeding
up the things is not valid any more and the frame rate drops to 30 fps ..

So let's say that "30 fps should always be granted because there's such
HW grunt that the worst case scenario is still guaranteed 30" .. but
over 30 it means "you are in those special well designed cases where it
can be easy to jump out of those all in a sudden".

Despite all this power there are still a number of HW issuses well yet
to be solved, it's not perfection yet.

And we still need now the "N cores GPUs" :wink:
Giles the billy goat
"Baa"
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Bubba wrote:I may be completely wrong here, but wasn't this something to do with the fixed camera angles in God of War?
Yeah, I read something where David Jaffe said as much. Because they could guarantee the camera angles at all times they could optimise the scene and models.
User avatar
Darkflame
Sheepie Whore
Sheepie Whore
Posts: 18236
Joined: Mon Mar 31, 2003 11:06 am 0
Location: Not the UK

Post by Darkflame »

Well, seeing as 3D software cant even remotely predict total render times, and they already have all the informtion to work with,exact camera movements ect.
I am not supprised at all framerate on real time things is near impossible to predict.
Dio wrote:
Darkflame wrote:Agreed.
Lets "fix" 60fps as the standard, and adjust graphics to make that work, rather then constantly setting 30fps as the standard and everything else as the variable.

Of course though, with this generation, its not quite that simple.
The problem is that 'scaling graphics to keep framerate' is impossible (the simple answer is that you don't know how long it takes to render the frame until you render it and that predictive methods don't do a very good job. There are plenty of serious research papers on the complex answer :D ).

Aiming for flat 60fps is a total nightmare full stop:
- Dropping from 60fps to 30fps is visible and not in a nice way, even if gameplay is framerate compensated.
- Therefore, your most complex scene must stay within the 60fps boundary.
- You probably can't determine your peak workload, so you'll need some headroom even on that - say 10-20%.
- Therefore, if you choose to run at 30fps with the same headroom, you have nearly 2.5x the horsepower to throw at the problem.

The 'simple' solution is to use vsync triple buffer and run 'as fast as possible' but it's far from a perfect solution, not least because of the excess memory cost. It's what I'd press for though. It allows you to pitch typical scenes at the 20%-under-60fps barrier while allowing for the possibility of a 30-50fps limp on more complex scenes.
But surely " 'scaling graphics to keep framerate'" also applies too 30fps? Or, well, any steady framerate you aim for.
Seems to me is very possible, but its not an absolute art, but rather a lot of guesswork and trail and error.

I know a low but pretty steady framerate is much better then a high but unsteady one. Couldnt agree more on that.

I just wish, for one generation, we would sacrifice that "2.5x " amount of horsepower and get the framerates up instead.

But yes, as people have pointed out, it wouldnt look nearly so good in stills, and magazines and such. ~sigh~
Ive always prefered my fluid movement to my stills in any form of animation.
And, of course, there's the 1080p60 issue (it's not necessarily a standard, supported res) and therefore you might not even be able to use 60fps anyway.
That I didnt know about :-/
Another minus point for the HD revolution then.
User avatar
Kemper_Boyd
Sheepie Whore
Sheepie Whore
Posts: 11967
Joined: Wed Jul 31, 2002 9:15 pm 0

Post by Kemper_Boyd »

Ah but you are assuming that doubling the visuals equals double the work,
that's not necessarily the case. Some things will be O(log n), some O(n),
some O(n log n) and so on, different parts of the game will scale at
different rates. It's not a case of just taking the hit for 60 Hz.

For example hitting a steady 60 Hz for graphics might be relatively easy
but the physics may not make it. If it was as easy as divide your work
in two and run at 60Hz most games would already do that. No matter
what you come up with it will always be harder to run steadily at 60 Hz
than 30 Hz, and the reality is many 'open' games have a very variable
frame rate.
User avatar
Sir_LANs-a-lot
Sheepie Whore
Sheepie Whore
Posts: 12143
Joined: Mon Mar 10, 2003 1:00 am 0
Location: Here

Post by Sir_LANs-a-lot »

And there was me thinking they all had auto-doodad-profiling systems now that squeezed every last bit of gaming juice out of the chips until they squeaked on every next-gen title.

Guess not.


Why not?
:?
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.
User avatar
Flabio
Baaaaaaa!
Baaaaaaa!
Posts: 8717
Joined: Wed Mar 03, 2004 12:37 pm 0
Location: Guildford

Post by Flabio »

It's all well and good having a profiling tool, but you have to be able to interpret what it's telling you.

I once heard it said that there's no such thing as a good profile, only varying degrees of bad ones.

Even then it's only telling you whats going on, not how to make it better.

Saying that, the 360 does have a rather nice one.
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

And you're also assuming that the load that you present to the 3D engine actually bears some resemblance to the load the 3D engine actually incurs.

You'd need a complete model of the chip. I've got one in my head and I have enough trouble predicting load in advance for all but the simplest scenarios.
User avatar
rockwaldo
Baaaaaa!
Baaaaaa!
Posts: 4096
Joined: Sun Mar 09, 2003 11:49 pm 0
Location: playing cricket in the street at 3am

Post by rockwaldo »

this thread has got too technical for me. Can we go back to hating Sony please?
So, you want to be an ARCADE champion BLOG to read. yay! [ http://www.arcadechampion.co.uk ]
User avatar
Sir_LANs-a-lot
Sheepie Whore
Sheepie Whore
Posts: 12143
Joined: Mon Mar 10, 2003 1:00 am 0
Location: Here

Post by Sir_LANs-a-lot »

Phil Harrison LOLZ!
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.
User avatar
Marius
Baaaaaa!
Baaaaaa!
Posts: 3095
Joined: Sat Jun 04, 2005 11:34 pm 0
Location: Oslo, Norway

Post by Marius »

Phil is funny :)
User avatar
HGFB
Sheepie Whore
Sheepie Whore
Posts: 23575
Joined: Sat Apr 27, 2002 8:51 pm 0
Location: At my desk. Tap tap tapping.

Post by HGFB »

rockwaldo wrote:this thread has got too technical for me. Can we go back to hating Sony please?
I got an email from them today and they're sending me my free copy of Casino Royale.

No Sony hating from me at the moment :)
My bag is called Mr Shitface
User avatar
gravy
Sheepie Whore
Sheepie Whore
Posts: 19572
Joined: Wed May 01, 2002 1:28 pm 0
Location: The Other Place

Post by gravy »

Let the linking to uk resistance resume!

http://www.ukresistance.co.uk
User avatar
Kemper_Boyd
Sheepie Whore
Sheepie Whore
Posts: 11967
Joined: Wed Jul 31, 2002 9:15 pm 0

Post by Kemper_Boyd »

gravy wrote:Let the linking to uk resistance resume!

http://www.ukresistance.co.uk
Damn you!
User avatar
oxo
Baaaa!
Baaaa!
Posts: 988
Joined: Fri Jul 28, 2006 11:03 pm 0
Location: Sunny Stockport

Post by oxo »

yay I got the free Casino Royale! \o/ :lol:
User avatar
Darkflame
Sheepie Whore
Sheepie Whore
Posts: 18236
Joined: Mon Mar 31, 2003 11:06 am 0
Location: Not the UK

Post by Darkflame »

Kemper_Boyd wrote:Ah but you are assuming that doubling the visuals equals double the work,
that's not necessarily the case. Some things will be O(log n), some O(n),
some O(n log n) and so on, different parts of the game will scale at
different rates. It's not a case of just taking the hit for 60 Hz.

For example hitting a steady 60 Hz for graphics might be relatively easy
but the physics may not make it. If it was as easy as divide your work
in two and run at 60Hz most games would already do that. No matter
what you come up with it will always be harder to run steadily at 60 Hz
than 30 Hz, and the reality is many 'open' games have a very variable
frame rate.
Oh, sure, the 2.5times was just refering to what Dio said.
It will vary a lot on different games and hardware, of course.

Thing is, the open-ended games are the ones that least need it in my book.

Fast paced racing games and should be 60fps now as standard easily, however.

FZeroGX on the Gamecube was a solid 60fps, and had pretty darn nice graphics for the time. I dont remember it dropping at all either.
Locked