Author Topic: Getting a plugin?  (Read 5549 times)

Offline ILoveRobots

  • bit
  • Posts: 3
    • View Profile
Getting a plugin?
« on: December 24, 2011, 05:35:44 PM »
In another forum I noticed you mentioned a Rice plugin that will help improve the graphics problems. Where would I get that and how would I install that?

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Getting a plugin?
« Reply #1 on: December 24, 2011, 06:27:25 PM »
It is included with the app.  Just go to Settings->Video->Change, and select libgles2rice.so (if you're using the Xperia Play version, make sure update it to the latest version I posted today.. if you purchased from the market it should auto update).  Gles2rice is very slow though, so not really suitable for playing most games at the moment.  The default video plug-in is libgles2n64.so.  It is considerably faster, but has many more graphics glitches.  They both need work..
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Kris

  • Developer
  • int
  • *****
  • Posts: 91
    • View Profile
Re: Getting a plugin?
« Reply #2 on: December 24, 2011, 07:35:29 PM »
I seem to recall you noticing a big performance hit when I first added support for alpha test textures, on the touchpad performance seems comparable to the other plugin and better in one or two games (e.g. Tony Hawk).  gles2n64 handles those textures in the same way so if you're using the same compile flags for both then the issue may lie elsewhere. I wonder if rice is slower on all the chipsets or just omap/powervr? I'll have to get some actual numbers from the profiler.

It was pointed out that a possible improvement that hasn't been done in gles2n64 would be to only enable alpha testing when needed instead of all the time, it's only a small bit added to the end of the shader but it causes lots of gpu optimsiations to be disabled. Fixing the same issue in rice should be easy enough.

Offline ILoveRobots

  • bit
  • Posts: 3
    • View Profile
Re: Getting a plugin?
« Reply #3 on: December 24, 2011, 07:36:19 PM »
Thanks man, Good app by the way.

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Getting a plugin?
« Reply #4 on: December 24, 2011, 07:57:25 PM »
That's a good point, I've really only tested on OMAP myself.. it may run well on other chipsets.  For me, Mario runs about half-speed (15 fps) with rice, and other games I tried even worse (although the graphics themselves are way better most of the time).  Does anyone else see comparable performance (speed-wise) to gles2n64 from Kris' plug-in?  I should also check through the code I added to make sure I'm not doing anything stupid, haha.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Kris

  • Developer
  • int
  • *****
  • Posts: 91
    • View Profile
Re: Getting a plugin?
« Reply #5 on: December 24, 2011, 08:04:59 PM »
Was just about to delete the post as it was meant as a reply to the 'Getting a Plugin' thread in support not this one never mind I guess.

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Getting a plugin?
« Reply #6 on: December 24, 2011, 08:17:54 PM »
Was just about to delete the post as it was meant as a reply to the 'Getting a Plugin' thread in support not this one never mind I guess.
I moved it.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline scorpio16v

  • long
  • ***
  • Posts: 203
    • View Profile
Re: Getting a plugin?
« Reply #7 on: December 25, 2011, 04:07:08 AM »
I said before, Rice plugin performes best on Galaxy S2.
For Mario, I have 25 FPS, even without frameskip and disabled auto fs.  :)
Pilotwings 40-50 fps without fs on both plugins !
But it needs realy more improvement to fix the many graphic bugs.
The emulator often resumes to homescreen with it. Gles2n64 has even more bugs for me, so it's most times no alternative.
Besides the known bugs in mario, there came up some new things after the first update of rice. Other things are better.

On mario, the letters are messed up. This error was in an old Daedalus version ( PSP branch of  mupen64plus) and was fixed in later one. This error realy sucks.  ;)
It comes up if you use a version with other languages. In my case german.
Any ideas to fix it ?


Should look like this (enabled gles2n64)


sorry for going even more off topic.  :(

« Last Edit: December 25, 2011, 05:34:08 AM by scorpio16v »

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Getting a plugin?
« Reply #8 on: December 25, 2011, 07:41:34 AM »
Ahh, I thought you meant that gles2n64 was as slow/ slower than rice, not that rice was faster than I had described it.  I'm glad it runs full speed on some devices.. I'll have to figure out why OMAP takes such a major hit after the alpha test stuff is implemented.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline scorpio16v

  • long
  • ***
  • Posts: 203
    • View Profile
Re: Getting a plugin?
« Reply #9 on: December 25, 2011, 11:33:14 AM »
One suggestion to the Rice plugin for testing. I put the old, renamed, version in the plugin directory for testing. Because some game graphics are better with it.
Maybe you should provide it for further tests as a separate download ? In future releases, you can even release different optimized versions as a separate plugin.
Because of that, I simply like this emulator.  ;D

@ kris

I read in your emulator thread, that you have a new version nearly ready. Will you provide this version for Android ?