• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 152 153 154 155 156 ... 365 Next »

Why do emulators need such powerful hardware?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Why do emulators need such powerful hardware?
10-15-2013, 11:15 AM
#1
ijed Offline
Junior Member
**
Posts: 18
Threads: 7
Joined: May 2013
Can someone explain to me simply why emulators require such powerful processors and why 360/ps3 emulators are currently impossible? I'm not saying I want anyone to make a 360/PS3 emulator I just want to be informed.
Thanks
Find
Reply
10-15-2013, 11:29 AM
#2
DatKid20 Offline
UDK/Cryengine3/Unity tinkererer
****
Posts: 516
Threads: 26
Joined: Jul 2013
(10-15-2013, 11:15 AM)ijed Wrote: Can someone explain to me simply why emulators require such powerful processors and why 360/ps3 emulators are currently impossible? I'm not saying I want anyone to make a 360/PS3 emulator I just want to be informed.
Thanks
No emulator for a system is impossible. It may be impractical but not impossible.

The reason Emulators need powerful processors put simply is because you are not just directly playing the game. Your PC has to act like or emulate the actual system which would be easier if the system was x86 but it isn't so you have to also translate powerpc instructions to x86 instructions.

That's put simply. Anyone can expand on this.
Find
Reply
10-15-2013, 11:38 AM
#3
MayImilae Offline
Ambassador of Niche Platform Support
**********
Administrators
Posts: 4,440
Threads: 116
Joined: Mar 2011
https://dolphin-emu.org/docs/faq/#why-do-i-need-such-powerful-computer-emulate-old-c

Dolphin FAQ Wrote:While it's true the GameCube and Wii hardware is a lot slower than what you need to emulate the console using Dolphin, the hardware found in these consoles is also very different from what you can find in a gaming PC. For example:

*Instead of an Intel or AMD x86 CPU, GameCube and Wii use an IBM PowerPC CPU. Games are programmed for this CPU: when emulating, every basic instruction a game runs needs to be translated to something a PC can execute. Depending on the instruction, this can take from 2x to 100x clock cycles, which explains why you need more than a 486MHz CPU to emulate a GameCube.

*The RAM in these consoles is SRAM, smaller but faster than the SDRAM used in a PC. It is also shared between CPU and GPU, which makes operations like texture uploads (CPU memory to GPU memory) or framebuffer copies (GPU memory to CPU memory) a lot less demanding than they are on a PC.

*The GPU is not using shaders: every graphics effect and every computation done by the game is executed directly by the hardware without an intermediate programming language. This does not match how a PC GPU works at all. Dolphin uses shaders on the PC GPU to translate what the GC GPU can do directly in hardware, causing it to run a lot slower.

*A PC runs an operating system in order to be able to run several programs at the same time. A GameCube or a Wii does not have the same requirement and can directly execute things on the hardware without going through the operating system, making a lot of communication between chips faster.

This list is not exhaustive but should give you a good idea of what exactly makes emulation require a powerful computer.
[Image: RPvlSEt.png]
Windows 10 x64 | Core i9-9900k | NVIDIA GeForce RTX 3090 EVGA FTW3 Ultra| 32GB DDR4-3000 | Asus Xonar Essence STX on Logitech Z-2300 | Logitech G903 Hero
MacBook Pro 14in | M1 Max (32 GPU Cores) | macOS 12 | 64GB LPDDR5 6400
Find
Reply
10-15-2013, 02:33 PM
#4
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,008
Threads: 24
Joined: Oct 2009
Another alternative quick summary: You're essentially building a virtual computer out of code that runs as fast as the real thing. Modern computers are extremely complicated machines will hundreds of millions or billions of electronic components that process billions of computational operations every second. Doing this entirely in software that needs to mimic different hardware behavior is understandably going to be quite demanding.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
10-15-2013, 07:22 PM (This post was last modified: 10-15-2013, 07:24 PM by Link_to_the_past.)
#5
Link_to_the_past Offline
Link on steroids really
*******
Posts: 1,767
Threads: 17
Joined: Feb 2010
Or think of it like the difference of trying to talk to a foreign person using his native language and with the help of a person who translates it to your own. Emulation is the second case, it will always be a lot slower using the help of someone to translate for you than it would be if you knew the native language to talk directly. Pc's don't understand the commands that wii uses and need a program to make that translation to a code that they do understand.
Find
Reply
10-16-2013, 01:31 AM
#6
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,510
Threads: 46
Joined: Dec 2010
(10-15-2013, 07:22 PM)Link_to_the_past Wrote: Pc's don't understand the commands that wii uses and need a program to make that translation to a code that they do understand.

This program is Dolphin Big Grin
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (21H2)
Find
Reply
10-16-2013, 08:58 AM
#7
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,008
Threads: 24
Joined: Oct 2009
Except human language translators don't end up spitting out sentences 50 times as long as the original.....

Other than that it's a fairly good analogy.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
10-16-2013, 09:29 AM
#8
xemnas Offline
Senior Member
****
Posts: 322
Threads: 7
Joined: Jul 2013
Except simultaneous interpreters as well.
Find
Reply
10-20-2013, 12:10 AM
#9
CarlKenner Offline
Banned
Posts: 59
Threads: 5
Joined: Jan 2012
(10-15-2013, 11:15 AM)ijed Wrote: Can someone explain to me simply why emulators require such powerful processors and why 360/ps3 emulators are currently impossible? I'm not saying I want anyone to make a 360/PS3 emulator I just want to be informed.
Thanks
Because they emulate the hardware chips rather than the game or the SDK.

Obviously, it would be possible to just emulate the game, because there are ports of the game to different platforms, including PC. And those ports mostly run the exact same source code. But emulating every single CPU instruction for the completely different multiple CPUs and GPUs, is the slow part.

There are xbox emulators that (sort of) work by only emulating at the SDK level.
Find
Reply
10-20-2013, 12:20 AM
#10
KHRZ Offline
Above and Beyond
*******
Posts: 1,527
Threads: 61
Joined: Mar 2009
Ports doesn't use the exact same source code, the word "porting" precisely means to change the source code so that it works on another platform.
Specs: intel i5 3570k @ 3.4GHz;
16Gb RAM; Raedon HD 7900;
Win8 64-Bit
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode