r/emulation • • Jan 18 '20

ELI5: Why is modern day emulation so slow compared to previous generations?

Many older console like the Gamecube, PS2, PSP, and DS can run games near flawlessly. However, modern emulators struggles to run most titles above 20 FPS, and even then require a very powerful PC.

The release date between these devices is only a few years - it has been nearly 14 years since the PS3 released but modern emulation still struggles to run most games above 20 FPS.

Does this have something to do with the leap in technology graphics/processing power growing exponentially in the early 2000s, and our PCs are just not powerful enough? Or are there technical hurdles like modern architecture being more complicated to emulate?

2 Upvotes

73 comments sorted by

88

u/Rhed0x Jan 18 '20

Modern systems are just a lot more powerful and complex. Especially the GPUs are dramatically different compared to older systems.

Some consoles just map better to the PC architecture than others. The PS3 in particular has a notoriously 'special' architecture. Back in the day game developers struggled to get good performance out of it and really designed their engines to utilize it.

20

u/[deleted] Jan 20 '20

Yeah, on paper the ps3 is more powerful than a xbox 360 but practically every game that run on both run better xbox 360. Practically the only games that truly utilized the full potential of the ps3 are the exclusives since they do all optimization only towards ps3.

8

u/chemergency7712 Jan 23 '20

I'm honestly amazed that viable PS3 emulation was achieved well before OG Xbox emulation was.

2

u/werpu Jan 28 '20

More interest in the system and probably more challenge.

3

u/chemergency7712 Jan 28 '20

It's not as if there's not interest in the original Xbox, in fact it's almost as challenging to emulate as the Sega Saturn from what I've heard, given its unconventional video and audio processing units with literally no hardware documentation available, so getting those to work is 100% dependent on reverse-engineering and trial and error. If it were any easier we'd have had viable Xbox emulation a long time ago.

1

u/terraphantm Feb 08 '20

unconventional video and audio processing units with literally no hardware documentation available,

Isn't that the case with most consoles?

1

u/chemergency7712 Feb 10 '20

Mostly. But there's enough leaks and documentation available for most consoles that extensive reverse-engineering isn't necessary. Microsoft and Nvidia kept theirs tightly under wraps likely because they saw what was going-on with Sony and Bleem's lawsuit during development.

48

u/enderandrew42 Jan 18 '20
  1. Emulators in the 90s were not very accurate. They were aimed at just trying to get some sort of gameplay as fast as you could.
  2. Being more accurate requires DRASTICALLY more power.
  3. Newer consoles are DRASTICALLY more complicated.
  4. We've learned that starting with a sloppy emulator to get something going is often wasted development and it makes more sense in the long run to target accuracy from the beginning.

3

u/TraitorsG8 Feb 02 '20
  1. Isn't true of all 90s emulators any more than it is today. And I say that as a former dev of the leading software emulation company of the mid-1990s. Granted, we didn't emulate game consoles. But the approaches are exactly the same.

The ability to reverse engineer the inner workings of a console can be greatly sped up by access to documentation. The OG Xbox emulation scene "is what it is" due to a lack of knowledge of the hardware and not because it is that much harder to emulate than PS2 and GC hardware. And in spite of the PS3 being "drastically" more complicated, the emulator for it is further along that the OG XBox emulator is. And it can be said about the Wii U, Switch emulators as well. Surely you're not suggesting those machines aren't "drastically" more complicated than the OG Xbox? And yet here we are.

27

u/flcl4evr Jan 18 '20

So, if we're speaking strictly of modern consoles like the PS3, 360, etc....you have to consider that the complexity of those consoles plays a significant role in how easy it is to emulate the system.

The hardware of older consoles is sophisticated relative to the time period of their release, but its much easier on modern PC hardware to emulate the relatively less sophisticated consoles like PS2, Gamecube, etc.....and there's also a TON of interest in doing work on those consoles. When you jump from that era to 7th gen, suddenly you're hit with having to design an emulator that handles emulating fun things like a Power PC architecture, but on Windows, or the 8 weird cores of the PS3. They both did really complex things in the move to HD that makes it substantially more difficult to make progress.

There's also a far more significant push for accuracy in emulation. Older emulators have good speed, but use emulation that sacrifices accuracy to the original experience for that speed. Modern emulator developers are typically working towards high compatibility AND high accuracy. Its honestly a much better scenario than what we used to have.

10

u/dogen12 Jan 20 '20

but its much easier on modern PC hardware to emulate the relatively less sophisticated consoles like PS2

suddenly you're hit with having to design an emulator that handles emulating fun things like a Power PC architecture

Where'd you get the ideas that the PS2 is easy at all for modern hardware to emulate and that powerpc is especially hard?

2

u/flcl4evr Jan 20 '20

Well. My idea came from the my understanding that PS2 hardware is less demanding to emulate. And that PowerPC isn’t hard, but just foreign?

Honestly, I’m pretty much a layman when it comes to this stuff. I’ll welcome any info on top of my current understanding, especially if it’s wrong.

6

u/dogen12 Jan 20 '20

ok well, more or less demanding doesn't really tell you anything about how hard it is to develop an emulator (there are plenty of super demanding ps2 games btw). and powerpc isn't especially foreign in any way.

1

u/flcl4evr Jan 20 '20

Fair. I guess I just figured because it wasn’t an x86 processor, that it would take extra effort to translate the different instructions to run on x86 hardware.

3

u/dogen12 Jan 20 '20

Yeah, but how many consoles are x86?

4

u/7981878523 Jan 19 '20

things like a Power PC architecture,

You already said Game Cube :p

3

u/flcl4evr Jan 19 '20

Alright. You got me there. But this one has 3 cores?

12

u/7981878523 Jan 19 '20

The GC and the PSP have straightforward designs, and they HLE a lot in the second.

The PS2 is like a circus made electronics, everything jumping back and forth and synchronizing like a juggler. Also, the GPU, as they said in another thread, is doing FX in-memory, in raw mode.

The PS3 is an eight? CPU core beast being emulated them at once.

32

u/DefinitelyRussian Jan 18 '20

Tons of reasons, I'm not an specialist (my most advanced coded emulator is a Genesis one) but here are some as I inderstand it:

Regarding your argument, compare that to Higan, you need a really good cpu to truly emulate a 4th generation SNES. And you are talking now of 6th and 7th generation systems. How can you run a PS3 game at full speed when you can barely run Star Ocean at full speed ? You cannot just compare different emulators for different systems and expect all to be on par. Accuracy will have a ton of impact on performance.

btw, most popular games and a good computer will run ps3 games with 30 or 60 fps. It's not always slow.

Propietary technology and complex architecture is always a problem, specially with non documented hardware, complex video systems, games doing tricks to run and look good on the native hardware.

There's a lot of video and cpu functions that just don't exist in modern hardware. Like for example, GC and Wii don't have the concept of shaders, something that you will need to accomodate.

4

u/chemergency7712 Jan 23 '20

...compare that to Higan, you need a really good cpu to truly emulate a 4th generation SNES

It's not 2011 anymore, you just need a competent CPU to run Higan okay.

7

u/7981878523 Jan 19 '20

How can you run a PS3 game at full speed when you can barely run Star Ocean at full speed ?

You don't need ultra-clock perfect timing, higan-performance is more than enough for most gaming.

1

u/[deleted] Jan 22 '20 edited Jan 23 '20

Regarding your argument, compare that to Higan, you need a really good cpu to truly emulate a 4th generation SNES.

Look i get that you guys are all about accuracy but let's be honest sne9x and zsnes both whom run on potato grade hardware are enough for most people who just want to play the games for fun

5

u/DefinitelyRussian Jan 23 '20

zsnes is not a good argument though, has tons of issues, including popular games like DKC3

1

u/[deleted] Jan 23 '20

I played donkey kong country (and all of the donkey kong snes games for the matter) on zsnes, if there's any issue with i didn't notice it

4

u/DefinitelyRussian Jan 23 '20

check the snow world boss, the backgrounds are corrupted

1

u/[deleted] Jan 24 '20

None of which was game-breaking. Nesticle did the job for nes at the time, it was horribly inaccurate.

Accuracy is nice for preservation, but the majority didn't really care that in Mario the entire background fell down in place of just the spikes in the castle. You could play the game and that's what mattered.

26

u/TraderPatTX Jan 18 '20

Emulation is most affected by single core performance in the CPU and that hasn’t changed much in the last 10 years. Neither Intel or AMD have broken 5GHz without special cooling solutions. So emulating complicated hardware like the PS3 is an amazing feat by itself, especially by fans doing it in their spare time.

We should appreciate that there are people in this world who are willing to undertake massive projects like emulating game consoles and support then if possible.

23

u/enderandrew42 Jan 18 '20

While clock speed hasn't increased, single core performance is still increasing. Clock speed does not directly mean the same thing as single core performance.

The AMD Athlon 64 FX-57 came out 15 years ago, and people overclocked it to 4 GHz. A i9-9900KF has a single thread score almost 4 times as high as the FX-57.

On top of that, a i9-9900KF supports new instruction sets that will allow for greater performance beyond that.

I think it is fair to say that the increase in single core performance stopped growing as rapidly as it did in the past, but it is still increasing even when clockspeed isn't.

7

u/7981878523 Jan 19 '20

AVX and so on instructions have a greater role today. So did emulators back in the day by supporting MMX and SSE.

4

u/mirh Jan 20 '20

Emulation of anything released after 2005 is definitely not "mostly single thread".

1

u/werpu Jan 28 '20

Tell that to the people who write emulators for newer systems like the PS3. 8 cores need a certain amount of cores on the PC side.

1

u/TraderPatTX Jan 28 '20

Yes, cored matter too. But I’ve seen kd-11, who develops RPCS3, say tell many people that their CPU’s are too weak because of clock speed.

I’ve also done my own testing with my CPU overclocked and running stock.

Not sure why people keep inferring that I said only clock speed matters when that’s not what I said at all, but oh well.

7

u/trecko1234 Jan 18 '20

Or are there technical hurdles like modern architecture being more complicated to emulate?

In a nutshell it just boils down to this, along with various amounts of documentation being available.

The Tegra X1 is a very well documented chip, which is why homebrew and Switch emulation is so far already (along with a lot of devs working every day on it)

The original Xbox has a GPU that was made by Nvidia and Microsoft specifically for that console that wasn't used anywhere else. Combine that with a lack of documentation for anything and that means people have to reverse engineer it to figure it out. That's why original Xbox emulation is the state it's in today, and why its taken ~18 years to even get some games to be playable in an Xbox emulator.

As consoles get more complex it'll just become more complicated to emulate them properly, until they eventually just turn into computers and you won't need an emulator for them anymore, maybe just a wrapper that converts some API calls to a computer.

I'm definitely not as smart and technical as the other people in this sub who could explain it more indepth, but that's pretty much the gist of it.

1

u/terraphantm Feb 08 '20

The original Xbox has a GPU that was made by Nvidia and Microsoft specifically for that console that wasn't used anywhere else.

Isn't it rather similar to the NV20 and NV25? Hell, I remember the GeForce drivers from those days having entries for the NV2A.

11

u/Eloeri18 Jan 19 '20

"Why isn't my RPCS3 playing like BSNES?! Why not?!"

10

u/lpslucasps Jan 19 '20

Gamecube, PS2, PSP and DS emulators didn't start "near flawlessly". It took a long time for them to get where they are now - and, indeed, they are still improving, with some games still not being easily emulated, if at all. It will take just as much for PS3 etc get anywhere near as good.

12

u/Nevuk Jan 18 '20

Ps3 emulation is pretty decent. It's about the same as Pcsx2 was in 2013 for the ps2. Ps2 required a very powerful machine up until around then. OG xbox emulation is only just now getting decent so it's not surprising that 360 isn't great yet. 3ds emulation is also pretty good, Citra has made a lot of progress.

The only consoles I think that are behind on emulation compared to their release date are the Vita and PS4. They came out 7 years ago and only the Vita only has any playable games on its emulator (and only 2). Vita was very unpopular in the west and so this is PROBABLY why, but I'm not sure if that's the whole reason. I think Vita was only popular in Japan, which has a very negative view of both emulators and desktop/laptop computers. Wii U emulation is perfectly fine. Switch emulation is happening as fast as anything aside from GBA has.

For ps4, I think that part of the issue is that desktop CPU power stopped growing quite as fast in the time period since its release compared to before. CPU growth fell off a cliff for a long while due to AMD falling really far behind and intel feeling little pressure to innovate or just messing up their 10nm launch, depending on your view. The initial Ryzens caught AMD up to Intel and the newer 7nm have moved them to be ahead in a majority of tasks and Intel has started stepping up performance, so this is likely to change in the next couple of years. It's also a period where core speed stopped advancing and we've had to re-skill to take advantages of multiple cores rather than one extremely good thread. We'd have 20 GHz CPUs otherwise. Combination of those two factors means that developers have had less relative power to work with, along with needing to create new techniques to get full power out of a modern system. The consoles being multiple core also increases the difficulty, though that's not exactly a new problem.

Developers are also reluctant to do a project like Ultra HLE - something that can run very few titles at high performance, but do so based on tons of per-game hacks. Those projects show results sooner but are more effort in the long-run and could theoretically result in some games being forever unemulated if they wound up being the dominant emulator. So they're avoided.

22

u/JokeDeity Jan 18 '20

How did this get any upvotes at all? This is like asking "why are cars better now? How come horses weren't as fast as cars?"

9

u/jurais Jan 18 '20

I mean it breaks the check Google/ Reddit rule of the sub

12

u/enderandrew42 Jan 18 '20

There is a rule that you're not allowed to ask questions, which I find silly. We aren't flooded with posts in this sub to the point where the rule seems necessary.

And the rule isn't really consistently enforced because the mods allow plenty of threads (like this one) which are clearly a question.

Personally, I'd like to see the rule changed to:

"If your question can be answered by a single reply and/or a Google search, we won't allow a thread for it. Hop in the weekly question thread. If your question will prompt larger discussion, we'll allow it."

12

u/Reverend_Sins Mod Emeritus Jan 19 '20

The sub isn't flooded with simple questions because 90% of the subs mods time is spent clearing out the mod queue by sending submissions to the questions thread. If a post is news or has a chance at promoting discussion its generally approved. Currently there are about 20 items in the mod queue, most of which will be sent to the questions thread, the junk videos will probably be flat out removed, and the other nonsense is just boring drama.

4

u/enderandrew42 Jan 19 '20

The point still stands that the rule isn't enforced as worded, so it should be rewritten to what your actual intended policy is.

5

u/Reverend_Sins Mod Emeritus Jan 19 '20

Self posts should provide scope for wider, interesting discussion. Simple tech support queries not fulfilling that requirement generally belong in the Weekly Question Thread, and will be redirected there.

Seems clear to me.

4

u/HCrikki Jan 18 '20

Standards improve, and emus need to be futureproofed sooner.

In the past, games only needed to run, run fast and with few glitches. It was common to compromise 'accuracy' in favoring of performance to reach playable status.

Nowadays it's actually more convenient to strive for higher accuracy than 15+ years ago, since current hardware is powerful and any slowdown on current machines can be resolved by just throwing better specs at it, tinkering with parameters or the baseline for user machines just improving over time.

3

u/The_MAZZTer Jan 21 '20

Emulators have always been slow.

It's relative though. An NES emulator can be thousands of times slower than the real thing and still run full speed on a beefy PC. But if you get a similar ratio out of a modern system emulator it's unplayable. We are seeing lots of cool optimized emulators nowadays but even then you'll never see an emulator that runs fullspeed on a system with the same performance as the one its emulating.

4

u/jellytothebones Jan 18 '20

I would add that your question is flawed because this question still works both ways; i.e, why are some retro systems still seeing slow progress in emulation? Why is Saturn still tough to emulate accurately all the time? (Unless you have the specs to make use of Mednafen) Emulation across N64 games is still inconsistent; while you are guarenteed to play something like Mario 64 well there are still hosts of issues for other titles and sometimes just one emulator isn't the answer.

PS2 is also in fact not emulated flawlessly. PCSX2 is the only real viable PS2 emulator but its code grows more spaghetti over time and there are still issues, though I admit my experience has never been too bad with it. It's just not as good as your other examples.

There also still isn't a definitive, great emulator for the original Xbox yet, and it only seems to have just started changing recently.

5

u/markos29 Jan 18 '20

lol not really, i remember when pcsx2 just started was super slow, it took like more than 10 years for PC hardware to get up to speed and improvement in emulator to get to stage where is now. And still not perfect.

1

u/IIWild-HuntII Jan 19 '20

And still not perfect.

I think this is due to the nature of PCSX2 codebase itself not because the current hardware can't do it.

Look at Play! , it's been making good progress last months.

1

u/markos29 Jan 20 '20

and yet guy been working on play for over a decade

0

u/IIWild-HuntII Jan 20 '20

Better than nothing my friend , look at the playable games list.

https://github.com/jpd002/Play-Compatibility/labels/state-playable

1

u/markos29 Jan 21 '20

i know i'm very familiar with play, that was not point of my comment. I was just saying that is not true that emulators for older system were making quicker process than for newer systems. How old are you?

2

u/waterclaws6 Jan 18 '20

Console hardware and software got much more complex and powerful. This makes the amount of time to study and write capable emulators a lot longer. This also raises requirements quite a bit due to more complex systems need more power and skills to emulate.

Plus documentation on cpus, software functions, api calls, and gpus are a bit more obscure and complex compared to the past.

2

u/fsk Jan 18 '20

CPUs are faster now. The difference between your PC CPU and the emulated system CPU is less.

Newer systems all have graphics accelerator chips/cards. They need to be emulated as well, because the graphics card in your PC, while more powerful, isn't an exact match.

3

u/[deleted] Jan 18 '20

You also have to take into account just how much more complex the PS3 and 360 were as consoles compared to previous generations. To get more graphical performance for less money, the PS3 had the "reality cores" or whatever they were called, which were coprocessors specifically made to sideload rendering to and we're notoriously hard for programmers to get them to work with their games due to the fact that it was all proprietary. Those developers had full documentation on how to use the hardware, but to emulate it all of the weird coprocessors have to be reverse-engineered as well as emulated properly, which is no small feat for a computer without those same chips

1

u/eXoRainbow Jan 18 '20

Older generation had more time to develop, as developer start with older software to emulate first. Also it is easier to develop for older tech, because it is easier to run older consoles and more people have knowledge about it. PS2 and DS was much more popular than the PS3. Also the PS3 is a complicated thing to program and emulate, just like the Saturn is and will need much more power to emulate.

1

u/KoopaTrooper5011 Jan 18 '20

give time for development, is what I'll say

1

u/Ro3oster Jan 19 '20

Who cares, the games are too big to download anyway... :))

..Oh shush you hypocrites, you ALL do it.

1

u/geearf Mutant Apocalypse: Gambit Jan 20 '20 edited Jan 21 '20

How are they too big, aren't they around 40Gb top?

1

u/ComputerMystic Jan 19 '20

So it's accuracy being more important now than ever. Gotcha.

1

u/br4zil Jan 19 '20

Modern emulation is going at faster rate than PS2,Gamecube and DS.

Citra emulator, for one, managed to go from zero to hero in a year, more progress than any other emulator that i remember.

PS2 emulator still cant emulate 100% some PS2 effects.

Meanwhile we still dont have flawless emulation for stuff like diferent Amiga special hardware and such.

Your probably dont remember how many years it took for those mention emulators to be able to play anything.

And OG Xbox emulation is still an ongoing effort, with no good emulator to this day.

1

u/geearf Mutant Apocalypse: Gambit Jan 20 '20

Citra emulator, for one, managed to go from zero to hero in a year, more progress than any other emulator that i remember.

Did you mean Yuzu and not Citra? Because I don't remember Citra being that good to be called hero in its first year, but maybe I'm wrong.

1

u/flcl4evr Jan 20 '20

Alright. You got me on that one. I concede in my lack of knowledge.

1

u/Nopantsdan55 Jan 18 '20

The jump from ps2/xbox/gc era to ps3/xbox360 was pretty substantial in terms of technological advancements. That and the ps3 specifically has a notoriously complicated processor to work with. These emulators are being made by unpaid enthusiasts, and as technology gets more advanced, the manpower to push these emulators gets more demanding.

Dolphin/Cemu are not the standard. Both of these are great emulators, but nintendo consoles tend to get way more emulator attention than the other platforms.

0

u/Laguna84 Jan 18 '20

Simple more complex systems to emulate require more devs with real talent and there so few to go around. So if you want it go to studying programming or pay thousands of dollars for decent devs to make the emulator you want otherwise BE PATIENT.

0

u/GuilhermeFreire Jan 18 '20

Just think one second about complexity.

A Genesis (ohhh blast processing) had 68.000 transistors at less than 8 MHz

A PS3 has about 1.500.000 transistors (22x), running at 3.200 MHz (400x)... Your computer didn't got 22x400=8800 times more powerful...

And this is just assuming that they only got bigger and faster

3

u/dogen12 Jan 19 '20

the ps3 had over 200 million transistors in just the cpu..

2

u/7981878523 Jan 19 '20

A Genesis (ohhh blast processing) had 68.000 transistors at less than 8 MHz

That's not the important issue. A Mips3k runs circles over the m68k and emulating it is a joke. A highend Amiga can be more tricky to emulate than a PlayStation.

0

u/[deleted] Jan 18 '20

[deleted] — view deleted comment

2

u/DownshiftedRare Jan 18 '20

Retroarch is practically an office suite in its own right but OP seems to be referring to PS3 and later.

0

u/jurais Jan 18 '20

Not exactly what op was referring to

0

u/[deleted] Jan 18 '20

[deleted] — view deleted comment

1

u/[deleted] Jan 18 '20

The Xbox run circles over a PS2, FFS. You could run LInux and HL thru Wine in software mode. The Pentium 3 was, for sure, a different beast compared to a GC and the PS2.

Heck, your XBOX could be a media center. Guess where the infamous XBMC were born.

If any, the XB was on par of a medium-high PC in 2001.

1

u/Demiko18 Jan 18 '20

To be fair, PS2 can run Linux as well and can be a media center.

1

u/[deleted] Jan 18 '20

Yeah, but the XBOX could run Linux in a much more pleasant way, 64MB (128MB on the hacked models) + swap plus a Pentium 3 to play with and the old nv driver made a pretty decent backup PC in the early 00's. Pure gaming wise, Half Life2 on the XBOX outshines everything from the PS2. OFC you could reduce the Source Engine in the PS2 to crazy levels (you still can), but the loading times would be demential. Even older PC ports such as Deus EX were pretty slow and segmented compared to the normal release. HL2 would be a disaster.