Autor Tema: BennuGD very slow on LG G4  (Leído 5155 veces)

Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
BennuGD very slow on LG G4
« en: Febrero 20, 2016, 08:04:45 pm »

Hi !
My BennuGD game is very slow on LG G4.
Does someone  know why BennuGD is slower on certains smartphones ? The LG G4 is not an old smartphone, it should works normally.


Thanks !
My game developer instagram :
https://www.instagram.com/ben_dev_game/

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:BennuGD very slow on LG G4
« Respuesta #1 en: Febrero 20, 2016, 10:22:55 pm »
No idea.
Could you share it so that I can treat it in my Nexus 5?

panreyes

  • Administrator
  • *****
  • Mensajes: 2154
  • Karma: 74
    • panreyes.com
Re:BennuGD very slow on LG G4
« Respuesta #2 en: Febrero 20, 2016, 11:31:54 pm »
Hi Grew!

I'm pretty sure you're using one of the first builds, which hadn't hardware escalation and were really slow on HD devices.

Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
Re:BennuGD very slow on LG G4
« Respuesta #3 en: Febrero 21, 2016, 10:08:49 am »
No idea.
Could you share it so that I can treat it in my Nexus 5?
Thank you for your help, but I've already tried on Nexus 5, it works well (60 fps).


Hi Grew!

I'm pretty sure you're using one of the first builds, which hadn't hardware escalation and were really slow on HD devices.
I don't know if I'm using the last version of BennuGD, but it woks well on these (HD) devices :
  • Nexus 5
  • Xiaomi Redmi Note 3
  • Samsung S5
  • Samsung Note 4
The only one I have tested which is very slow is LG G4.
I will check my BennuGD version and try with the last one.

EDIT : I'm using the last version from here : http://www.bennugd.org/node/2 (r307).
« última modificación: Febrero 21, 2016, 10:29:37 am por Grew »
My game developer instagram :
https://www.instagram.com/ben_dev_game/

panreyes

  • Administrator
  • *****
  • Mensajes: 2154
  • Karma: 74
    • panreyes.com
Re:BennuGD very slow on LG G4
« Respuesta #4 en: Febrero 21, 2016, 12:39:56 pm »
Have you tried to compile it with PixTudio?

Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
Re:BennuGD very slow on LG G4
« Respuesta #5 en: Febrero 24, 2016, 06:54:25 pm »
Yes but I've encountered a bug :





I have not taken the time to look more closely.
« última modificación: Febrero 24, 2016, 06:57:24 pm por Grew »
My game developer instagram :
https://www.instagram.com/ben_dev_game/


Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
Re:BennuGD very slow on LG G4
« Respuesta #7 en: Febrero 25, 2016, 09:01:34 am »
Solution
http://forum.bennugd.org/index.php?topic=4148.75
Thank you, but the problem here seems to come from mikmod library. The openal library is already imported in the Android PixTudio project.
My game developer instagram :
https://www.instagram.com/ben_dev_game/

Goku jr

  • Sr. Member
  • ****
  • Mensajes: 329
  • Karma: 6
Re:BennuGD very slow on LG G4
« Respuesta #8 en: Febrero 25, 2016, 12:50:04 pm »
Solution
http://forum.bennugd.org/index.php?topic=4148.75
Thank you, but the problem here seems to come from mikmod library. The openal library is already imported in the Android PixTudio project.


[size=16px !important]Hello , you're right , it was seemed like a mistake to me happened to me, and hurriedly ran one from Mobile , para · try to help xD[/size][/font]

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:BennuGD very slow on LG G4
« Respuesta #9 en: Febrero 29, 2016, 03:18:34 pm »
Have you compiled the C code with ndk-build?

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:BennuGD very slow on LG G4
« Respuesta #10 en: Febrero 29, 2016, 03:21:28 pm »
Also, although it will probably reveal nothing, could you please provide a logcat of your program's execution in the LG G4 phone?

Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
Re:BennuGD very slow on LG G4
« Respuesta #11 en: Abril 20, 2016, 08:11:29 am »

I've succeeded to build and run my game on Android. But on most devices, the PixTudio version is slower than BennuGD version (tried on Redmi Note 3 and Nexus 5, 60fps with BennuGD, 40 with PixTudio).
I will make two APK to help to find the problem.
My game developer instagram :
https://www.instagram.com/ben_dev_game/

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:BennuGD very slow on LG G4
« Respuesta #12 en: Abril 20, 2016, 09:18:14 am »

I've succeeded to build and run my game on Android. But on most devices, the PixTudio version is slower than BennuGD version (tried on Redmi Note 3 and Nexus 5, 60fps with BennuGD, 40 with PixTudio).
I will make two APK to help to find the problem.
That might be the case if you're rendering to a graph (scroll_on_map and similar techniques). Is that the case?

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12756
  • Karma: 375
Re:BennuGD very slow on LG G4
« Respuesta #13 en: Abril 20, 2016, 12:00:18 pm »

I've succeeded to build and run my game on Android. But on most devices, the PixTudio version is slower than BennuGD version (tried on Redmi Note 3 and Nexus 5, 60fps with BennuGD, 40 with PixTudio).
I will make two APK to help to find the problem.

what is possible? :(

please, give us more info...
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

panreyes

  • Administrator
  • *****
  • Mensajes: 2154
  • Karma: 74
    • panreyes.com
Re:BennuGD very slow on LG G4
« Respuesta #14 en: Abril 20, 2016, 12:03:27 pm »
Grew, please try this benchmark:
http://www.pixe.es/gputest.apk

How many FPS does it report?
Thanks!

Also, if anyone else wants to try it, tell us the results and your smartphone model :)