Author Topic: Default speed of android devices  (Read 15208 times)

Offline caffeinekid

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
    • TCKSOFT
Re: Default speed of android devices
« Reply #30 on: 2011-Oct-19 »
I hope you did find it Kitty, good luck.

Fingers crossed that this will fix the CREATESCREEN command on some Android devices too? :)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10739
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Default speed of android devices
« Reply #31 on: 2011-Oct-19 »
It's the same code. I really hope it's fixed.

Offline caffeinekid

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
    • TCKSOFT
Re: Default speed of android devices
« Reply #32 on: 2011-Oct-19 »
Please let me know when the update is out. I have someone who can test my code on his Asus Transformer and tell me if it's better and if the fix works right.  :nw:

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10739
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Default speed of android devices
« Reply #33 on: 2011-Oct-19 »
OK, I think about one last update before the big native-iOS compiler gets shipped.

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: Default speed of android devices
« Reply #34 on: 2011-Oct-19 »
Sweet!
Apps published: 3

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4306
    • View Profile
    • Portfolio
Re: Default speed of android devices
« Reply #35 on: 2011-Oct-20 »
OK, I think about one last update before the big native-iOS compiler gets shipped.


GASP! :O

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10739
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Default speed of android devices
« Reply #36 on: 2011-Oct-25 »
OK, I did some code changes, but I can't really test (here) now.
Can you please test the program attached and see if it runs and what warnings the debug console displays?



[attachment deleted by admin]

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: Default speed of android devices
« Reply #37 on: 2011-Oct-25 »
Okay, on my Toshiba Thrive it came up:

A small white box with red center at the very top.
A Green filled rectangle with a small white box in the upper left, there is some white text as well but I can't make out what it says.
Down a bit is a red line with the white text "redline" beneath it.
Down a bit more is another line of white text that says "solid grab is on screen"... I think.

Tapping the screen...

The screen turns blue, there are 3 white boxes at the top and some white text down a ways that says "polyvec 40,40"

Tap the screen again, app quits.

Here is the log:
Code: (glbasic) [Select]
I/glbasic ( 2655): SDL_GetVideoInfo = 800x1232 @ 16 bpp
I/glbasic ( 2655): Setting video mode: 800x1232x16 fl=4800000
I/SDL     ( 2655): [STUB] GL_LoadLibrary
I/SDL     ( 2655): Starting up OpenGL ES 1.1
D/libEGL  ( 2655): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 2655): loaded /system/lib/egl/libEGL_tegra.so
I/ActivityManager(  135): Displayed com.glbasic.glbasicenginetest/org.libsdl.app
.SDLActivity: +926ms
W/IInputConnectionWrapper(  243): showStatusIcon on inactive InputConnection
D/libEGL  ( 2655): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL  ( 2655): loaded /system/lib/egl/libGLESv2_tegra.so
I/glbasic ( 2655): SDL_SetVideoMode seems to be 1
I/glbasic ( 2655): get accurate timer - 1st call
I/glbasic ( 2655): flip - 1st call
I/glbasic ( 2655): BGRA ext supported
I/glbasic ( 2655): Texture size limit: 2048
I/glbasic ( 2655): init fbo
I/glbasic ( 2655): 2D VP
I/glbasic ( 2655): OGRB init [OK]
I/glbasic ( 2655): Cptn
I/glbasic ( 2655): Network
I/glbasic ( 2655): Input
I/glbasic ( 2655): Window mode
I/glbasic ( 2655): Create DXin
I/glbasic ( 2655): sdl_grab
I/glbasic ( 2655): reptr
I/glbasic ( 2655): getexe
I/glbasic ( 2655): cd
I/glbasic ( 2655): set cdir to: /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 2655): exepath=curdir= /data/data/com.glbasic.glbasicenginetest
V/SDL     ( 2655): SDL audio: opening device
V/SDL     ( 2655): SDL audio: wanted stereo 16-bit 44.1kHz, 512 frames buffer
V/SDL     ( 2655): SDL audio: got stereo 16-bit 44.1kHz, 4096 frames buffer
I/glbasic ( 2655): set cdir to: files
I/glbasic ( 2655): Init Finalized
I/glbasic ( 2655): glBindRenderbufferExt failed 8cd6
I/glbasic ( 2655): solid  grab != on screen
D/dalvikvm(  135): GC_EXPLICIT freed 486K, 43% free 16051K/27847K, paused 8ms+5m
s
I/glbasic ( 2655): polyvec 40,40
D/dalvikvm(  807): GC_EXPLICIT freed 46K, 7% free 7353K/7879K, paused 3ms+2ms
I/glbasic ( 2655): Shut down GLB
I/glbasic ( 2655): glb is shut down
I/SDL     ( 2655): [STUB] GL_UnloadLibrary
E/InputDispatcher(  135): channel '40ba3438 com.glbasic.glbasicenginetest/org.li
bsdl.app.SDLActivity (server)' ~ Consumer closed input channel or an error occur
red.  events=0x8
E/InputDispatcher(  135): channel '40ba3438 com.glbasic.glbasicenginetest/org.li
bsdl.app.SDLActivity (server)' ~ Channel is unrecoverably broken and will be dis
posed!
I/MPL-mldl_cfg_mpu:(  135): mpu3050_suspend: suspending sensors to 0000
D/gralloc (   88): Attempting to delete a locked buffer!
D/gralloc (   88): Buffer 23 locks: (tid = 2663 (x1), usage = 0x200)
I/ActivityManager(  135): Process com.glbasic.glbasicenginetest (pid 2655) has d
ied.
I/WindowManager(  135): WIN DEATH: Window{4106d4e0 SurfaceView paused=false}
I/WindowManager(  135): WIN DEATH: Window{40ba3438 com.glbasic.glbasicenginetest
/org.libsdl.app.SDLActivity paused=false}
I/WindowManager(  135): WINDOW DIED Window{40ba3438 com.glbasic.glbasicenginetes
t/org.libsdl.app.SDLActivity paused=false}
I/MPL-mldl_cfg_mpu:(  135): mpu3050_suspend: Will resume next to 0078
Apps published: 3

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10739
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Default speed of android devices
« Reply #38 on: 2011-Oct-25 »
run it again, and also on windows.
In stage 1, the green box ought have 2 boxes with text underneath. One (left) says "grb" - that's GRABSPRITE.
the center one says "scr", that's CREATESCREEN.

If the center box is not there, there's something bad going on.

In your log I see:
Quote
D/gralloc (   88): Attempting to delete a locked buffer!
which is very intersting!!
Can you insert some lines:

STDOUT "LINE: "+CODE_LINE()+"\n"

along the source to find out where this error occurs? Thanks a lot!

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: Default speed of android devices
« Reply #39 on: 2011-Oct-25 »
OK, I did some code changes, but I can't really test (here) now.
Can you please test the program attached and see if it runs and what warnings the debug console displays?

I will check this out on my Asus Transformer tonight :) Fingers crossed

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: Default speed of android devices
« Reply #40 on: 2011-Oct-25 »
I'll need the source code, there is only an apk file in the zip.
Apps published: 3

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: Default speed of android devices
« Reply #41 on: 2011-Oct-25 »
on my asus transformer I have the SCR box missing as well

Here is my debug information

Code: (glbasic) [Select]
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
I/glbasic ( 1778): onCreate
I/glbasic ( 1778): Updating media files
I/glbasic ( 1778): assets found, copying...
I/glbasic ( 1778): assets still up to date, proceed to main...
I/glbasic ( 1778): done with updating
I/glbasic ( 1778): external files dir is /data/data/com.glbasic.glbasicenginetes
t/files
I/glbasic ( 1778): external storage /mnt/sdcard/Download
I/glbasic ( 1778): onResume()
I/SDL     ( 1778): pixel format RGB_565
I/SDL     ( 1778): SDL_Android_Init()
I/glbasic ( 1778): timer
I/glbasic ( 1778): rbow
I/glbasic ( 1778): rbow init
I/glbasic ( 1778): SDL_init video
I/glbasic ( 1778): SDL_GetVideoInfo = 800x1232 @ 16 bpp
I/glbasic ( 1778): Setting video mode: 800x1232x16 fl=4800000
I/SDL     ( 1778): [STUB] GL_LoadLibrary
I/SDL     ( 1778): Starting up OpenGL ES 1.1
I/glbasic ( 1778): SDL_SetVideoMode seems to be 1
I/glbasic ( 1778): get accurate timer - 1st call
I/glbasic ( 1778): flip - 1st call
I/glbasic ( 1778): BGRA ext supported
I/glbasic ( 1778): Texture size limit: 2048
I/glbasic ( 1778): init fbo
I/glbasic ( 1778): 2D VP
I/glbasic ( 1778): OGRB init [OK]
I/glbasic ( 1778): Cptn
I/glbasic ( 1778): Network
I/glbasic ( 1778): Input
I/glbasic ( 1778): Window mode
I/glbasic ( 1778): Create DXin
I/glbasic ( 1778): sdl_grab
I/glbasic ( 1778): reptr
I/glbasic ( 1778): getexe
I/glbasic ( 1778): cd
I/glbasic ( 1778): set cdir to: /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 1778): exepath=curdir= /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 1778): set cdir to: files
I/glbasic ( 1778): Init Finalized
I/glbasic ( 1778): glBindRenderbufferExt failed 8cd6
I/glbasic ( 1778): solid  grab != on screen
I/glbasic ( 1778): polyvec 40,40
I/glbasic ( 1778): Shut down GLB
I/glbasic ( 1778): glb is shut down
I/SDL     ( 1778): [STUB] GL_UnloadLibrary

Hope that helps
Gary

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: Default speed of android devices
« Reply #42 on: 2011-Oct-25 »
I'll need the source code, there is only an apk file in the zip.

Not sure the source will help, I suspect that that APK file was compiled with a special beta version that Gernot has created to try to fix this problem

Offline caffeinekid

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
    • TCKSOFT
Re: Default speed of android devices
« Reply #43 on: 2011-Oct-25 »
Awww doesn't sound promising at the moment then. Fingers crossed that it can still be sorted and that the Asus Transformer has the tech to handle this command somehow.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10739
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Default speed of android devices
« Reply #44 on: 2011-Oct-26 »
Yes. There's surely a way to get it working.