Author Topic: game wont load shuts down emulator and returns to android main screen  (Read 39551 times)

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #15 on: December 23, 2011, 03:33:04 PM »
its taking me quite a while to load the logs it justs keeps coming and where do you go to run the test.
Once you download the test APK, click it to install it.  Then, it will be listed as "Mupen64 Plus TEST" in with the rest of your applications.  The aLogcat program can take a really long time to load the logs when you run it the first time.  Just let it run.  Once its finished, you'll be able to "clear" the logs, and it won't take so long to load the next time.  You'll want to run the test, return to aLogcat, and save the log.  Once you are finished, you can uninstall the test app.
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 Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #16 on: December 23, 2011, 04:59:10 PM »
Br1ttan, your problem looks like it will take a little time to correct.  It won't be fixed in the next update, but it is my top priority at the moment (I'll fix it as soon as possible).  I'll write some more tests for you to run to pin down where the problem is coming from.  Could you run the test again, and this time chose libgles2rice.so for the video plug-in (under Settings->Video), and post the logcat for that one if it also crashes?

Eddief1234, which ROM are you testing, and what format is it in?  The reason I ask is there was a separate bug that I fixed which has the same behavior as Br1ttan describes, with zipped ROMs from Game Hunter and similar programs.  I'd like to rule that out as the cause of your problem (easiest way to make sure is to try loading the default mupen64plus ROM that ships with the app, to see if it crashes as well).  I'll know for sure if it is the same problem as Br1ttan's once I see your log output.
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 br1ttan

  • byte
  • *
  • Posts: 39
  • Mupen64Plus, AE Tester
    • View Profile
Re: game wont load shuts down emulator and returns to android main screen
« Reply #17 on: December 23, 2011, 06:29:43 PM »
the following was recorded (2011-12-23 05:19 pm)
Device:HTC Sensation 4G HD
CPU:1.2GHz dual core
RAM:768 MB
Resolution:540 x 960

Offline Eddief1234

  • bit
  • Posts: 5
    • View Profile
Re: game wont load shuts down emulator and returns to android main screen
« Reply #18 on: December 25, 2011, 01:03:09 PM »
is the APK test in the market or after alogcat runs because my logs are still loading and the roms that i have is from gamehunter this is how the rom looks like mariokart64.zip

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #19 on: December 25, 2011, 01:30:17 PM »
If the latest market release still crashes, then please install the test version, and provide the logcat output after it crashes.  You can uninstall the test version after you are done testing.  It won't affect the market version.
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 Eddief1234

  • bit
  • Posts: 5
    • View Profile
Re: game wont load shuts down emulator and returns to android main screen
« Reply #20 on: December 25, 2011, 02:40:04 PM »
Thanks dude the update that you put out worked and now i can play anything i want ;D

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #21 on: December 25, 2011, 03:35:29 PM »
Perfect!  Glad to hear 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 br1ttan

  • byte
  • *
  • Posts: 39
  • Mupen64Plus, AE Tester
    • View Profile
Re: game wont load shuts down emulator and returns to android main screen
« Reply #22 on: January 01, 2012, 05:19:30 PM »
well i got the controls to stay on the screen it seems to take longer for it to crash if im using libgles2rice.so video impu and i have tried several other games still with the same outcome. posted a alogcat info a few dayz ago
Device:HTC Sensation 4G HD
CPU:1.2GHz dual core
RAM:768 MB
Resolution:540 x 960

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #23 on: January 01, 2012, 05:43:34 PM »
This is definitely not a problem with any specific game, and from the logcat outputs you posted, it is not specific to either video plug-in (it has the exact same error for both).  I had originally thought this was related to the Nexus bug, but it is not.  I will need to create a simpler test-case because the code is a bit too complicated to know where the problem is located.  I will do this soon, I'm just also working on several other issues at the moment (and this one has a slightly lower priority now since it is not related to the Nexus bug as I had originally thought).  I'll have some more tests for you to run later this week, sorry for the delay.
« Last Edit: January 01, 2012, 05:45:11 PM by Paul »
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 Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #24 on: January 01, 2012, 07:41:59 PM »
Here is the first of a series of tests to zero in on the source of the problem (the line "error  of type 0x500 glGetIntegerv").  I'm basically trying to create a trace to the exact line of code that produces this error, so each of these tests will get closer to the line.  Once we get there, hopefully I will be able to figure out a way around the problem.

Please run this test, with gles2n64 (not rice) as the video plug-in, and post the logcat after it crashes:

GL Enum Problem Test

BTW, thanks for helping run these tests.  It is much appreciated!
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 pdeluca

  • bit
  • Posts: 1
    • View Profile
Re: game wont load shuts down emulator and returns to android main screen
« Reply #25 on: January 02, 2012, 08:40:17 PM »
Same problem I'm having as well. I also had roms that used to work, but don't work now. I do have gles v. 2.0. I had super  mario 64 working good, but that will also close emulator and go to home screen. I have HTC Glacier soft version 2.3.4. I love the work you have done so far, keep up the great work! Thanks

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #26 on: January 02, 2012, 09:19:35 PM »
pdeluca, your problem sounds different than br1ttan's problem.  I posted an update on the Market, so when it appears install it (unless you have it set to update automatically).  If you didn't purchase the app on the market, just grab the latest version (1.3) from the forum here.

Once the app is updated, you will see a new option in the "Settings" menu called "Restore App Data".  Back up your saves if you don't want to lose them (everything in the folder [sdcard]/Android/data/paulscode.android.mupen64plus/data/save), then run the app and click on "Settings" then "Restore App Data".  Once you get the games working again, just paste your saves back into the save folder.

This will fix situations where the config files have become corrupt (which sounds like what happened in your case if the ROMs were working before then stopped for no apparent reason).  I'm working on a way to prevent the config files from getting corrupt, so hopefully I'll have that solved by the next update.

If that doesn't fix your problem let me know, and I'll post a verbose test for you to run to see where the breakdown is occurring.
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: game wont load shuts down emulator and returns to android main screen
« Reply #27 on: January 03, 2012, 01:53:21 AM »
Your last changes fixed the resume to mainscreen bug for some games on my SGS2 with activated gles2n64.  :)

« Last Edit: January 03, 2012, 02:15:16 AM by scorpio16v »

Offline br1ttan

  • byte
  • *
  • Posts: 39
  • Mupen64Plus, AE Tester
    • View Profile
Re: game wont load shuts down emulator and returns to android main screen
« Reply #28 on: January 03, 2012, 03:35:19 PM »
Following was recorded on 12-01-02 at 1:02 Pm
ALOGCAT
Device:HTC Sensation 4G HD
CPU:1.2GHz dual core
RAM:768 MB
Resolution:540 x 960

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3499
  • Developer
    • View Profile
    • PaulsCode.Com
Re: game wont load shuts down emulator and returns to android main screen
« Reply #29 on: January 03, 2012, 06:03:59 PM »
Getting closer.  This test will get in a little closer to the problem (probably 2 or 3 more tests after this one to find exactly where that enum problem happens).  Please post the logcat after experiencing the crash again with this test:

GL Enum Problem Test #2
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