Hello everyone!
My brother suggested that I see about lending any of my software engineering experience to the Dolphin project.
I pulled the source (master branch) from GitHub and installed VS2013, and attempted to run the 'povray.elf' file from the Dolphin-Benchmark.7z archive in the thread "New Dolphin CPU Benchmark - NO GAME REQUIRED".
And it crashed I poked around and the memory at RIP was all zeroes, suggesting a malfunction in the JITter.
So I switched to interpreted mode, and it didn't crash, but I got not display output whatsoever. In particular, I did not even see the yellow CPU information that's displayed at the beginning of EmuThread() in Core.cpp.
I then tried to run the pre-built copy of Dolphin that was included in Dolphin-Benchmark.7z from the aforementioned thread, and it ran the povray test flawlessly (total duration: about 20 minutes).
I asked delroth and he said that the pre-built copy was built from commit 0a5bd83af2917534501537c36d7ed25cd1cef31c. So I checked out and built that version, and the new results are:
* JITted mode crashes just like before (access violation, memory at RIP is all zeroes)
* Interpreted mode is interrupted after several seconds with the message:
So in summary:
1. Pre-built Dolphin.exe from Dolphin-Benchmark.7z runs fine
2. Dolphin built from source (master) crashes in JIT mode, no display output in interpreted mode
3. Dolphin built from source (0a5bd83), which should match the pre-built version, crashes in JIT mode, semi-crashes in interpreted mode
Even if the latest dev branch (#2) had bugs, I would still expect #3 to work exactly the same as #1, but it doesn't.
What am I doing wrong?
My brother suggested that I see about lending any of my software engineering experience to the Dolphin project.
I pulled the source (master branch) from GitHub and installed VS2013, and attempted to run the 'povray.elf' file from the Dolphin-Benchmark.7z archive in the thread "New Dolphin CPU Benchmark - NO GAME REQUIRED".
And it crashed I poked around and the memory at RIP was all zeroes, suggesting a malfunction in the JITter.
So I switched to interpreted mode, and it didn't crash, but I got not display output whatsoever. In particular, I did not even see the yellow CPU information that's displayed at the beginning of EmuThread() in Core.cpp.
I then tried to run the pre-built copy of Dolphin that was included in Dolphin-Benchmark.7z from the aforementioned thread, and it ran the povray test flawlessly (total duration: about 20 minutes).
I asked delroth and he said that the pre-built copy was built from commit 0a5bd83af2917534501537c36d7ed25cd1cef31c. So I checked out and built that version, and the new results are:
* JITted mode crashes just like before (access violation, memory at RIP is all zeroes)
* Interpreted mode is interrupted after several seconds with the message:
Code:
---------------------------
Warning
---------------------------
IntCPU: Unknown instruction 00000001 at PC = 833db7e0 last_PC = 833db7dc LR = 80162188
---------------------------
Yes No
---------------------------
So in summary:
1. Pre-built Dolphin.exe from Dolphin-Benchmark.7z runs fine
2. Dolphin built from source (master) crashes in JIT mode, no display output in interpreted mode
3. Dolphin built from source (0a5bd83), which should match the pre-built version, crashes in JIT mode, semi-crashes in interpreted mode
Even if the latest dev branch (#2) had bugs, I would still expect #3 to work exactly the same as #1, but it doesn't.
What am I doing wrong?