mupen64plus icon indicating copy to clipboard operation
mupen64plus copied to clipboard

'Legend of Zelda - The, Ocarina of time' extremely laggy

Open GVDmeijde opened this issue 9 years ago • 7 comments

'Legend of Zelda - The, Ocarina of time' (and majora's mask) are extremely laggy. just as Mario Kart 64 was in the beginning.

Sidenote: Dear developers, i am following this project for a while now (for my retropie) and i was wandering, is the mugel64plus for retropie (i guess this version) a different version than the one on windows ?

GVDmeijde avatar Nov 22 '15 14:11 GVDmeijde

RetroPie uses https://github.com/mupen64plus/mupen64plus-core .

If ocarina of time runs laggy OC your pi or use another plugin (rice or gliden64).

gizmo98 avatar Nov 22 '15 17:11 gizmo98

I have tried everyting already, my pi is OC and i have tried all the plugins. Also i wanna say that i am a programmer myself, so if i can be of service on this amazing project just let me know.

GVDmeijde avatar Nov 22 '15 17:11 GVDmeijde

There is plenty to be done, the ricrpi/mupen64plus-core is way out of date as I have been focused on a side project so have not merged and tested updates. Some of these updates may provide slightly better performance.

Also I think the ricrpi core is slightly faster to the official when run as 'root' as it changes the scheduling scheme to reduce Linux context switching for a 5% boost in performance.

I am currently working on a new Dynamic Recompiler which I hope to integrate into the core (probably in 6-12 months time when complete). The design is radically different to newdynarec and I hope it will allow more complex optimizations to be easily implemented and more efficient code to be generated. Any help would be greatly appreciated and I'm fine to provide guidance. Let me know if you are interested and I can point to some areas that can be worked on concurrently.

ricrpi avatar Nov 23 '15 09:11 ricrpi

@GVDmeijde Interesting. I never got Ocarina of time to load at all. So I am assuming you are using Retropie? What video plugin were you using? What version of Raspberry Pi were you running on?

NF3RN0 avatar Dec 04 '15 05:12 NF3RN0

I used an overclocked rpi2 I have tried different video plugins and i think rice did the trick for this game.

GVDmeijde avatar Dec 04 '15 07:12 GVDmeijde

any active development on this?

With my rpi3 overclocked to the max and the highest performing settings i found that i get a 90% playable experience from "Majora's Mask".

as i understand this performance issue is fixable in software (e.g. improved dynamic recompile and/or GPU utilization) i'm wondering where we're standing atm.

btw from "optimization thoughts" do i understand correctly that for now mupen64plus video plugins render entirely on the CPU?

AxxlForce avatar Jun 23 '16 16:06 AxxlForce

At the moment, my mupen64plus-core fork is quite out-of-date compared to the official release. It on my jobs list to merge/update from the official core. I don't know which core is faster but I think both are compatible with the pi now.

Video plugins use GLES so only small (if any) gains to be made there. Maybe more complex GL shader code could allow for less processing on the CPU.

I am currently focused on writing a new dynamic recompiler but its taking a loooong time to write and test.

ricrpi avatar Jun 23 '16 17:06 ricrpi