Author Topic: Zelda OoT, MM - 20fps on Tegra 4  (Read 8316 times)

Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Zelda OoT, MM - 20fps on Tegra 4
« on: December 16, 2013, 03:45:43 PM »
Hi,

Both games runs at 20fps on Nvidia Shield.
20fps at 320x240 resolution and the same 20fps at 1280x720. That's strange.

What is your framerate?

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #1 on: December 16, 2013, 03:55:42 PM »
All that means is that the GPU isn't the bottleneck.  Which video plugin are you using?  What is your frameskip setting?
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #2 on: December 16, 2013, 04:06:42 PM »
Any plugin, glide or Rice. Hires textures or not. Fps in zeldas is always 20fps.
Frameskip is off.

Golden eye 007 15-20 fps also.

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #3 on: December 16, 2013, 04:10:13 PM »
Did a previous version run faster for you, or are you just surprised it's not higher?  I believe some ROMs put explicit limits on FPS.  IIRC Mario 64 limits to 30FPS.  Maybe something similar here.  Do you know which version/country ROM you are using?
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #4 on: December 16, 2013, 05:46:20 PM »
I dunno about wich version. Perhaps US.
I just surprised about 20fps on powerful device. And just want to known if it's tegra 4 specific problem or n64 android emulation in general.

There is any way to unlock that limit? On pj64 PC I always put 60fps.

Fyi, even with 20fps both games (except goldeneye) are very playable.

Offline beansta

  • byte
  • *
  • Posts: 29
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #5 on: December 16, 2013, 07:15:21 PM »
Thats a bit strange. I dont know the shields specs but i assume its more powerful than what im using (samsung gt i9305 @ 1.7ghz quad) and apart from SSB which for some reason struggles to run >20fps without frameskip (possibly because of the texture packs im using) everything i throw at it runs at a near constant 50.
Devices:
Samsung Galaxy S3 LTE international
rXtreme v14.1 ROM and Perceus v36.2 kernel
1.7ghz Quadcore CPU and 533mhz GPU
1.77 GB useable RAM

Samsung Galaxy Tab 2 10.1 Wifi
Zap Blaster v2.2 ROM and Next v1.41 kernel
1.35ghz Dualcore CPU and 384mhz GPU
1006MB useable RAM


Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #6 on: December 17, 2013, 07:13:11 AM »
Hmmm... Zelda's n64 framerate is locked to 20fps NTCS and 18fps PAL.
F-Zero is up to 60fps like a real game on n64.

100% sure that the Mupen64plus AE following this lock.
Any way to unlock it?

I found something:
Quote
Yes, there is a frame limit set for wave race in the data file. Edit the following file:
/Android/data/paulscode.../data/gles2n64rom.conf

Go to where it says Wave Race 64 and delete the line that says "target FPS

Gonna test that today and back with the results.

Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #7 on: December 17, 2013, 07:24:19 PM »
Doesn't work. Seems that there is some FPS limit on the emulator itself.

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #8 on: December 17, 2013, 07:35:54 PM »
I assume you tried it with the gles2n64 plugin... that's the only way that config file will have any effect.
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #9 on: December 18, 2013, 07:01:55 AM »
Yes, gles2n64. 20 fps in Zeldas and 30 in Mario 64.




Offline Sf1

  • byte
  • *
  • Posts: 14
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #10 on: February 09, 2014, 09:00:26 AM »
Any news, any fix? Even RetroArch have same problem...

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #11 on: February 09, 2014, 09:17:56 AM »
The 20 FPS limit is built into the rom itself.  That was the speed it ran on the original console, and it seems that a lot of its internal logic is dependent on that specific framerate.  So it's not something that can be changed.

For all zelda games, be sure that frameskip is turned off.
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

LecktheTech

  • Guest
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #12 on: February 11, 2014, 05:38:26 PM »
The 20 FPS limit is built into the rom itself.  That was the speed it ran on the original console, and it seems that a lot of its internal logic is dependent on that specific framerate.  So it's not something that can be changed.
Wouldn't it be possible to hack the ROM and multiply/divide/ect the logic for movement?

Offline xperia64

  • Moderator
  • double
  • *****
  • Posts: 591
    • View Profile
    • My Apps
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #13 on: February 11, 2014, 05:42:54 PM »
Probably, but I haven't seen other n64 emulators with FPS hacks. Not really a priority in my opinion.

LecktheTech

  • Guest
Re: Zelda OoT, MM - 20fps on Tegra 4
« Reply #14 on: February 12, 2014, 03:26:01 PM »
Probably, but I haven't seen other n64 emulators with FPS hacks. Not really a priority in my opinion.
Yeah, 20 is smooth enough, what i hate is sound and video lag. A little i can take, but a lot = adjust settings