Author Topic: Alpha Testing Underway!  (Read 303853 times)

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #360 on: December 01, 2011, 04:05:22 PM »
you were supposed to use the original build without resume because of the new bugs that added..

 ;) Case in point:
Code: [Select]
I/DEBUG   (17146): stack:
I/DEBUG   (17146):     487f8af8  43a4ffac
I/DEBUG   (17146):     487f8afc  afd0be39  /system/lib/libc.so
I/DEBUG   (17146):     487f8b00  00000000
I/DEBUG   (17146):     487f8b04  b0004a8c  /system/bin/linker
I/DEBUG   (17146):     487f8b08  b00170f4
I/DEBUG   (17146):     487f8b0c  81d03629  /data/data/paulscode.android.mupen64plus/lib/libmain.so
(it crashed in the front end, not the core)

Also, could you post the memory maps after running the test with the last official build?  They will show whether this optimization is possible on your device.  They should be located at [sdcard]/app-data/paulscode.android.mupen64plus/DEBUG_PluginTestA_memoryMaps.txt  Also, don't forget to change the permissions of libcore.so to executable after replacing it (that is likely what caused your crash in the front-end, which is where the .so file is executed from - further supported by the fact that the stack mentions "/system/bin/linker").
« Last Edit: December 01, 2011, 04:08:56 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: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #361 on: December 01, 2011, 06:54:57 PM »
Ok, I think I know what the problem could be (I hope I'm wrong, though, because I don't see any way around it).  Please provide the logcat output for this version, as well as the memory maps after running it:

Core w/ RDRAM at Native Address, verbose (#5)
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 MaXiMu

  • byte
  • *
  • Posts: 35
    • View Profile
Re: Alpha Testing Underway!
« Reply #362 on: December 01, 2011, 07:43:33 PM »

haha I test on build without resume is working ok No crash thanks all  ;D

Offline xperia64

  • Moderator
  • double
  • *****
  • Posts: 591
    • View Profile
    • My Apps
Re: Alpha Testing Underway!
« Reply #363 on: December 01, 2011, 09:17:03 PM »
Again here

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #364 on: December 01, 2011, 09:29:27 PM »
Ok, one more (same link, since the change is minor).  Also, please post the memory maps file after running the test.
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 nscxp2005

  • byte
  • *
  • Posts: 16
    • View Profile
Re: Alpha Testing Underway!
« Reply #365 on: December 02, 2011, 05:37:02 AM »
Here's mine Paul.

« Last Edit: December 02, 2011, 05:41:03 AM by nscxp2005 »
Device: Sony Xperia Z3
CPU: 2.5 GHz (Snapdragon 801)
GPU: Adreno 330 | RAM: 3 GB
Screen res: 1920 x 1080 | ROM: Stock 5.1.1

Nexus 7 (2013)
CPU: 1.5 GHz (Snapdragon S4Pro)
GPU: Adreno 320 | RAM:  2 GB
Screen res: 1920 x 1200 | ROM: Stock 5.1.1

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #366 on: December 02, 2011, 01:20:20 PM »
Oh, that's good news!  Means I was wrong about what was causing the problem.  Now I just have to figure out why the mmap is failing.
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 xperia64

  • Moderator
  • double
  • *****
  • Posts: 591
    • View Profile
    • My Apps
Re: Alpha Testing Underway!
« Reply #367 on: December 02, 2011, 01:48:20 PM »
Here's mine just in case

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #368 on: December 02, 2011, 08:42:08 PM »
Ok, this version should print out an error code when the mmap fails.  Hopefully it will be something useful that will indicate what I need to change:

Core w/ RDRAM at Native Address, verbose (#6)
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 xperia64

  • Moderator
  • double
  • *****
  • Posts: 591
    • View Profile
    • My Apps
Re: Alpha Testing Underway!
« Reply #369 on: December 02, 2011, 08:50:40 PM »
On it

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #370 on: December 02, 2011, 09:23:38 PM »
It gave error code 12 (ENOMEM).  According to the documentation, this means "MAP_FIXED was specified, and the range [addr,addr+len) exceeds that allowed for the address space of a process".  I guess that explains why the XPeria Play doesn't have any system libraries loaded there..  I'm wondering if this optimization would work on any Android device.  :(  Oh, well.. back to working on the GUI, I suppose.
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 Mats

  • int
  • **
  • Posts: 65
    • View Profile
Re: Alpha Testing Underway!
« Reply #371 on: December 03, 2011, 09:26:00 AM »
It gave error code 12 (ENOMEM).  According to the documentation, this means "MAP_FIXED was specified, and the range [addr,addr+len) exceeds that allowed for the address space of a process".  I guess that explains why the XPeria Play doesn't have any system libraries loaded there..  I'm wondering if this optimization would work on any Android device.  :(  Oh, well.. back to working on the GUI, I suppose.
how does u write a gui ?

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #372 on: December 03, 2011, 09:56:57 AM »
It's written in Java.  The API is unique for Android though (very different than the standard Swing API in Sun/Oracle Java)
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 Mats

  • int
  • **
  • Posts: 65
    • View Profile
Re: Alpha Testing Underway!
« Reply #373 on: December 03, 2011, 12:45:29 PM »
It's written in Java.  The API is unique for Android though (very different than the standard Swing API in Sun/Oracle Java)
thanks, in the first build with gui would you change the video plugin ??

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Alpha Testing Underway!
« Reply #374 on: December 03, 2011, 02:26:20 PM »
Yes
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