Author Topic: 3.0 Alpha Testing  (Read 295480 times)

Offline Gillou68310

  • Developer
  • long
  • *****
  • Posts: 112
    • View Profile
Re: 3.0 Alpha Testing
« Reply #510 on: January 21, 2015, 09:07:17 AM »
Quote
So if the CPU don't have the IDIVa feature it will use the DMULT solution? or it will use the normal approach?

It will use the old DIV/DIVU approach (slower). DMULTU is another optimization,  it's not related to this one ;)

Offline Gillou68310

  • Developer
  • long
  • *****
  • Posts: 112
    • View Profile
Re: 3.0 Alpha Testing
« Reply #511 on: January 21, 2015, 10:08:13 AM »
One more optimization to test ;D
DMULT instruction is now recompiled instead of interpreted (ARM).
http://www.paulscode.com/source/Mupen64Plus-AE/AutoBuilds/Mupen64PlusAE_DMULT_201501211201_3e1d814.apk
« Last Edit: January 21, 2015, 01:11:39 PM by Gillou68310 »

Offline IDSG

  • byte
  • *
  • Posts: 11
    • View Profile
Re: 3.0 Alpha Testing
« Reply #512 on: January 21, 2015, 11:41:29 AM »
Quote
So if the CPU don't have the IDIVa feature it will use the DMULT solution? or it will use the normal approach?

It will use the old DIV/DIVU approach (slower). DMULTU is another optimization,  it's not related to this one ;)

Oh, well i tested the DMULTU opt, and works perfectly without bugs on my Dual Cortex A9, it's a little faster

Offline retroben

  • float
  • ****
  • Posts: 432
    • View Profile
Re: 3.0 Alpha Testing
« Reply #513 on: January 21, 2015, 08:52:16 PM »
So,by theory,could you convert all of the instructions to recompiler for a crazy performance gain at the cost of accuracy?

Offline xperia64

  • Moderator
  • double
  • *****
  • Posts: 591
    • View Profile
    • My Apps
Re: 3.0 Alpha Testing
« Reply #514 on: January 21, 2015, 10:48:31 PM »
One more optimization to test ;D
DMULT instruction is now recompiled instead of interpreted (ARM).
http://www.paulscode.com/source/Mupen64Plus-AE/AutoBuilds/Mupen64PlusAE_DMULT_201501211201_3e1d814.apk
Does this one include the idiv optimization? If not, I'd be curious to see how fast a build with both optimizations can run.

Offline Mikhail

  • long
  • ***
  • Posts: 127
    • View Profile
Re: 3.0 Alpha Testing
« Reply #515 on: January 21, 2015, 10:53:45 PM »
When using the rice plugin with Doubutsu no Mori (J) [!] it renders the intial n64 boot logo multiple times overlapping about sixteen times all over the screen, this didn't happen in 2.4.4

The textures for title screen text aren't showing up either using rice, this also happened in 2.4.4 though.
Both problems exist within latest integer-divide also.
« Last Edit: January 21, 2015, 11:12:23 PM by Mikhail »

Offline retroben

  • float
  • ****
  • Posts: 432
    • View Profile
Re: 3.0 Alpha Testing
« Reply #516 on: January 21, 2015, 10:56:54 PM »
I have the need for speed because there's hardly any noticable speed improvements from the optimized builds at all on my weak FireTV. :(

Offline Mikhail

  • long
  • ***
  • Posts: 127
    • View Profile
Re: 3.0 Alpha Testing
« Reply #517 on: January 21, 2015, 11:48:51 PM »
I have the need for speed because there's hardly any noticable speed improvements from the optimized builds at all on my weak FireTV. :(

You should be able to overclock it to 1.9Ghz, the Nexus 7 2013 can safely overclock to 1.7Ghz from it's stock 1.5Ghz, so a 200Mhz overclock on the firetv to 1.9Ghz should be no problem with it's bigger case area for heat dissipation.
The Adreno320 can be overclocked safely to 531Mhz.
« Last Edit: January 21, 2015, 11:51:19 PM by Mikhail »

Offline retroben

  • float
  • ****
  • Posts: 432
    • View Profile
Re: 3.0 Alpha Testing
« Reply #518 on: January 22, 2015, 03:17:07 AM »
Tested again,and the Integer Divide build is a little smoother with Banjo-Tooie.

Edit:Remember,mine is Qualcomm Krait with "Adreno" instead,so it is a little different than Cortex and more different than others.
What's your CPU and GPU Jermain? (Edit it into your post like I just did mine.)
« Last Edit: January 22, 2015, 11:18:06 AM by retroben »

Offline Jermain

  • byte
  • *
  • Posts: 18
    • View Profile
Re: 3.0 Alpha Testing
« Reply #519 on: January 22, 2015, 06:43:01 AM »
The DMULT version is 1 to 2 frames better.

Offline retroben

  • float
  • ****
  • Posts: 432
    • View Profile
Re: 3.0 Alpha Testing
« Reply #520 on: January 25, 2015, 02:38:29 AM »
Decided to test again,and Divide seems to be faster by a few frames.
Everything in N64 emulation has being going crazy lately. (mainly PJ64 updating all over and compiled via EmuCR)

Let's hope Gonetz gets a little crazy with GlideN64 too. ;D
I'd really like to see if performance will be greatly increased with it on Mupen64Plus AE.
Hope he won't hit too many roadblocks with GPU/device differences,though I'd assume we would be testing it on our devices to help him out when the time comes.

Offline rafar

  • int
  • **
  • Posts: 67
    • View Profile
Re: 3.0 Alpha Testing
« Reply #521 on: January 25, 2015, 03:52:14 AM »
@retroben could you compare Pokemon snap (in first stage) in both versions, alpha and divide or dmult?

with alphas have 12 or 13 fps, and in the dmult version I only have 3 fps.

edit: I dont know how could improve the performance that plugin, I only think that plugin will fix many gliches or issues as the cam spy of perfect dark or the eye of truth of legend of zelda...
« Last Edit: January 25, 2015, 04:01:14 AM by rafar »

Offline Gillou68310

  • Developer
  • long
  • *****
  • Posts: 112
    • View Profile
Re: 3.0 Alpha Testing
« Reply #522 on: January 25, 2015, 04:56:22 AM »
This doesn't seems to be related to my optimizations. The glide plugin seems to be the cause, try switching to rice or gln64.

Offline rafar

  • int
  • **
  • Posts: 67
    • View Profile
Re: 3.0 Alpha Testing
« Reply #523 on: January 25, 2015, 06:38:13 AM »
with gln64 plugin the game has a normal speed.

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: 3.0 Alpha Testing
« Reply #524 on: January 25, 2015, 11:07:13 AM »
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version