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

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: Default speed of android devices
« Reply #45 on: 2011-Oct-26 »
I have no doubt at all that Kitty will get things running, I just suspect that at the moment he is tied up with advancements in iDevice changes :) . It does look like its tegra 2 related though

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 #46 on: 2011-Oct-26 »
ok, please try the package attached. It works for me (also has a "fix" for devices that can't do glColour) on the emulator.
This package should give extensive error logging for all gl commands that failed.
Also, I changed the framebuffer option a bit.

[attachment deleted by admin]

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: Default speed of android devices
« Reply #47 on: 2011-Oct-26 »
Gernot,

Here is the debug info from my Asus Transformer

Code: (glbasic) [Select]
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
I/glbasic ( 1683): onCreate
I/glbasic ( 1683): Updating media files
I/glbasic ( 1683): assets found, copying...
I/glbasic ( 1683): assets still up to date, proceed to main...
I/glbasic ( 1683): done with updating
I/glbasic ( 1683): external files dir is /data/data/com.glbasic.glbasicenginetes
t/files
I/glbasic ( 1683): external storage /mnt/sdcard/Download
I/glbasic ( 1683): onResume()
I/SDL     ( 1683): pixel format RGB_565
I/SDL     ( 1683): SDL_Android_Init()
I/glbasic ( 1683): timer
I/glbasic ( 1683): rbow
I/glbasic ( 1683): rbow init
I/glbasic ( 1683): SDL_init video
I/glbasic ( 1683): SDL_GetVideoInfo = 800x1232 @ 16 bpp
I/glbasic ( 1683): Setting video mode: 800x1232x16 fl=4800000
I/SDL     ( 1683): [STUB] GL_LoadLibrary
I/SDL     ( 1683): Starting up OpenGL ES 1.1
I/glbasic ( 1683): SDL_SetVideoMode seems to be 1
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 1683): get accurate timer - 1st call
I/glbasic ( 1683): flip - 1st call
I/glbasic ( 1683): BGRA ext supported
I/glbasic ( 1683): Texture size limit: 2048
I/glbasic ( 1683): init fbo
I/glbasic ( 1683): 2D VP
I/glbasic ( 1683): OGRB init [OK]
I/glbasic ( 1683): Cptn
I/glbasic ( 1683): Network
I/glbasic ( 1683): Input
I/glbasic ( 1683): Window mode
I/glbasic ( 1683): Create DXin
I/glbasic ( 1683): sdl_grab
I/glbasic ( 1683): reptr
I/glbasic ( 1683): getexe
I/glbasic ( 1683): cd
I/glbasic ( 1683): set cdir to: /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 1683): exepath=curdir= /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 1683): set cdir to: files
I/glbasic ( 1683): Init Finalized
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(191) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): glBindRenderbufferExt failed 8cd6
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(4511) : error OGL1282: The specifie
d operation is not allowed in the current state. The offending function is ignor
ed, having no side effect other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(4755) : error OGL1282: The specifie
d operation is not allowed in the current state. The offending function is ignor
ed, having no side effect other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): glBindRenderbufferExt failed 8cd6
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(191) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): glBindRenderbufferExt failed 8cd6
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1683): solid  grab != on screen
I/glbasic ( 1683): polyvec 1,1 != white
I/glbasic ( 1683): Shut down GLB
I/glbasic ( 1683): glb is shut down
I/SDL     ( 1683): [STUB] GL_UnloadLibrary

and attached is a screen shot of the screen output

Gary

[attachment deleted by admin]

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: Default speed of android devices
« Reply #48 on: 2011-Oct-27 »
The first screen looks exactly like Gary's above.
The next screen is blue with 3 white boxes at the top
and some white text down a ways that says "polyvec 1,1 is white"

Here is the log:

Code: (glbasic) [Select]
ib/libSDL_image.so 0x4078b000
D/dalvikvm( 3282): Added shared lib /data/data/com.glbasic.glbasicenginetest/lib
/libSDL_image.so 0x4078b000
D/dalvikvm( 3282): No JNI_OnLoad found in /data/data/com.glbasic.glbasicenginete
st/lib/libSDL_image.so 0x4078b000, skipping init
D/dalvikvm( 3282): Trying to load lib /data/data/com.glbasic.glbasicenginetest/l
ib/libmikmod.so 0x4078b000
D/dalvikvm( 3282): Added shared lib /data/data/com.glbasic.glbasicenginetest/lib
/libmikmod.so 0x4078b000
D/dalvikvm( 3282): No JNI_OnLoad found in /data/data/com.glbasic.glbasicenginete
st/lib/libmikmod.so 0x4078b000, skipping init
D/dalvikvm( 3282): Trying to load lib /data/data/com.glbasic.glbasicenginetest/l
ib/libSDL_mixer.so 0x4078b000
D/dalvikvm( 3282): Added shared lib /data/data/com.glbasic.glbasicenginetest/lib
/libSDL_mixer.so 0x4078b000
D/dalvikvm( 3282): No JNI_OnLoad found in /data/data/com.glbasic.glbasicenginete
st/lib/libSDL_mixer.so 0x4078b000, skipping init
D/dalvikvm( 3282): Trying to load lib /data/data/com.glbasic.glbasicenginetest/l
ib/libSDL_ttf.so 0x4078b000
D/dalvikvm( 3282): Added shared lib /data/data/com.glbasic.glbasicenginetest/lib
/libSDL_ttf.so 0x4078b000
D/dalvikvm( 3282): No JNI_OnLoad found in /data/data/com.glbasic.glbasicenginete
st/lib/libSDL_ttf.so 0x4078b000, skipping init
D/dalvikvm( 3282): Trying to load lib /data/data/com.glbasic.glbasicenginetest/l
ib/libmain.so 0x4078b000
D/dalvikvm( 3282): Added shared lib /data/data/com.glbasic.glbasicenginetest/lib
/libmain.so 0x4078b000
I/glbasic ( 3282): onCreate
I/glbasic ( 3282): Updating media files
I/glbasic ( 3282): no assets found, copying...
V/glbasic ( 3282): attempting to copy asset: Media
D/TabletStatusBar(  197): lights on
V/glbasic ( 3282): Media is a file, reading...
W/System.err( 3282): java.io.FileNotFoundException: Media
W/System.err( 3282):    at android.content.res.AssetManager.openAsset(Native Met
hod)
W/System.err( 3282):    at android.content.res.AssetManager.open(AssetManager.ja
va:315)
W/System.err( 3282):    at android.content.res.AssetManager.open(AssetManager.ja
va:289)
W/System.err( 3282):    at org.libsdl.app.SDLActivity.recursiveCopy(SDLActivity.
java:266)
W/System.err( 3282):    at org.libsdl.app.SDLActivity.copyAssets(SDLActivity.jav
a:231)
W/System.err( 3282):    at org.libsdl.app.SDLActivity.onCreate(SDLActivity.java:
71)
W/System.err( 3282):    at android.app.Instrumentation.callActivityOnCreate(Inst
rumentation.java:1048)
W/System.err( 3282):    at android.app.ActivityThread.performLaunchActivity(Acti
vityThread.java:1712)
W/System.err( 3282):    at android.app.ActivityThread.handleLaunchActivity(Activ
ityThread.java:1764)
W/System.err( 3282):    at android.app.ActivityThread.access$1500(ActivityThread
.java:122)
W/System.err( 3282):    at android.app.ActivityThread$H.handleMessage(ActivityTh
read.java:1002)
W/System.err( 3282):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 3282):    at android.os.Looper.loop(Looper.java:132)
W/System.err( 3282):    at android.app.ActivityThread.main(ActivityThread.java:4
025)
W/System.err( 3282):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 3282):    at java.lang.reflect.Method.invoke(Method.java:491)
W/System.err( 3282):    at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:841)
W/System.err( 3282):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:599)
W/System.err( 3282):    at dalvik.system.NativeStart.main(Native Method)
I/glbasic ( 3282): done with updating
I/glbasic ( 3282): external files dir is /data/data/com.glbasic.glbasicenginetes
t/files
I/glbasic ( 3282): external storage /storage/Download
I/glbasic ( 3282): onResume()
I/MPL-mldl_cfg_mpu:(  133): mpu3050_resume: Resuming to 0078
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: suspending sensors to 0000
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: Will resume next to 0078
I/MPL-mldl_cfg_mpu:(  133): mpu3050_resume: Resuming to 0078
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: suspending sensors to 0000
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: Will resume next to 0078
I/MPL-mldl_cfg_mpu:(  133): mpu3050_resume: Resuming to 0078
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: suspending sensors to 0000
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: Will resume next to 0078
I/MPL-mldl_cfg_mpu:(  133): mpu3050_resume: Resuming to 0078
I/SDL     ( 3282): pixel format RGB_565
I/SDL     ( 3282): SDL_Android_Init()
I/glbasic ( 3282): timer
I/glbasic ( 3282): rbow
I/glbasic ( 3282): rbow init
I/glbasic ( 3282): SDL_init video
I/glbasic ( 3282): SDL_GetVideoInfo = 800x1232 @ 16 bpp
I/glbasic ( 3282): Setting video mode: 800x1232x16 fl=4800000
I/SDL     ( 3282): [STUB] GL_LoadLibrary
I/SDL     ( 3282): Starting up OpenGL ES 1.1
D/libEGL  ( 3282): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 3282): loaded /system/lib/egl/libEGL_tegra.so
I/ActivityManager(  133): Displayed com.glbasic.glbasicenginetest/org.libsdl.app
.SDLActivity: +777ms (total +3m23s106ms)
D/libEGL  ( 3282): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL  ( 3282): loaded /system/lib/egl/libGLESv2_tegra.so
I/glbasic ( 3282): SDL_SetVideoMode seems to be 1
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 3282): get accurate timer - 1st call
I/glbasic ( 3282): flip - 1st call
I/glbasic ( 3282): BGRA ext supported
I/glbasic ( 3282): Texture size limit: 2048
I/glbasic ( 3282): init fbo
I/glbasic ( 3282): 2D VP
I/glbasic ( 3282): OGRB init [OK]
I/glbasic ( 3282): Cptn
I/glbasic ( 3282): Network
I/glbasic ( 3282): Input
I/glbasic ( 3282): Window mode
I/glbasic ( 3282): Create DXin
I/glbasic ( 3282): sdl_grab
I/glbasic ( 3282): reptr
I/glbasic ( 3282): getexe
I/glbasic ( 3282): cd
I/glbasic ( 3282): set cdir to: /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 3282): exepath=curdir= /data/data/com.glbasic.glbasicenginetest
V/SDL     ( 3282): SDL audio: opening device
V/SDL     ( 3282): SDL audio: wanted stereo 16-bit 44.1kHz, 512 frames buffer
V/SDL     ( 3282): SDL audio: got stereo 16-bit 44.1kHz, 4096 frames buffer
I/glbasic ( 3282): set cdir to: files
I/glbasic ( 3282): Init Finalized
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(191) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): glBindRenderbufferExt failed 8cd6
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(4511) : error OGL1282: The specifie
d operation is not allowed in the current state. The offending function is ignor
ed, having no side effect other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(4755) : error OGL1282: The specifie
d operation is not allowed in the current state. The offending function is ignor
ed, having no side effect other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): glBindRenderbufferExt failed 8cd6
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(191) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): glBindRenderbufferExt failed 8cd6
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(269) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 3282): solid  grab != on screen
I/glbasic ( 3282): polyvec 1,1 != white
I/power   (  133): *** set_screen_state 0
D/PhoneWindow( 3282): couldn't save which view has focus because the focused vie
w org.libsdl.app.SDLSurface@40797fc8 has no id.
I/glbasic ( 3282): onPause()
I/glbasic ( 3282): glbasicOnPause(1)
I/glbasic ( 3282): super.onPause
I/WindowManager(  133): @@ LED State value :0 @@
D/SurfaceFlinger(   88): About to give-up screen, flinger = 0xa830
D/UnlockScreen(  133): portrait mode
D/UnlockScreen(  133): mode normal
I/TabletStatusBar(  197): DISABLE_CLOCK: yes
I/TabletStatusBar(  197): DISABLE_EXPAND: yes
I/TabletStatusBar(  197): DISABLE_NAVIGATION: yes
D/UnlockScreen(  133): mode normal
I/TabletStatusBar(  197): DISABLE_BACK: yes
D/dalvikvm(  133): GC_CONCURRENT freed 86K, 46% free 19014K/34823K, paused 2ms+7
ms
D/skia    (  133): purging 203K from font cache [18 entries]
D/KeyguardViewMediator(  133): wakeWhenReadyLocked(3)
I/power   (  133): *** set_screen_state 1
I/glbasic ( 3282): onResume()
I/WindowManager(  133): @@ LED State value :1 @@
D/WifiService(  133): ACTION_SCREEN_ON
D/SurfaceFlinger(   88): Screen about to return, flinger = 0xa830
I/AwesomePlayer(   91): setDataSource_l('/system/media/audio/ui/Unlock.ogg')
I/AwesomePlayer(   91): setDataSource_l('/system/media/audio/ui/Unlock.ogg')
I/TabletStatusBar(  197): DISABLE_CLOCK: no
I/TabletStatusBar(  197): DISABLE_NAVIGATION: no
W/InputManagerService(  133): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@408ea870
I/TabletStatusBar(  197): DISABLE_BACK: no
I/glbasic ( 3282): Shut down GLB
I/glbasic ( 3282): glb is shut down
I/SDL     ( 3282): [STUB] GL_UnloadLibrary
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: suspending sensors to 0000
I/WindowManager(  133): WIN DEATH: Window{4131ddb0 com.glbasic.glbasicenginetest
/org.libsdl.app.SDLActivity paused=false}
W/WindowManager(  133): Force-removing child win Window{41ca1a78 SurfaceView pau
sed=false} from container Window{4131ddb0 com.glbasic.glbasicenginetest/org.libs
dl.app.SDLActivity paused=false}
I/ActivityManager(  133): Process com.glbasic.glbasicenginetest (pid 3282) has d
ied.
D/gralloc (   88): Attempting to delete a locked buffer!
D/gralloc (   88): Buffer 2e locks: (tid = 3290 (x1), usage = 0x200)
W/WindowManager(  133): Failed looking up window
W/WindowManager(  133): java.lang.IllegalArgumentException: Requested window and
roid.os.BinderProxy@40e1f960 does not exist
W/WindowManager(  133):         at com.android.server.wm.WindowManagerService.wi
ndowForClientLocked(WindowManagerService.java:6535)
W/WindowManager(  133):         at com.android.server.wm.WindowManagerService.wi
ndowForClientLocked(WindowManagerService.java:6526)
W/WindowManager(  133):         at com.android.server.wm.WindowState$DeathRecipi
ent.binderDied(WindowState.java:1332)
W/WindowManager(  133):         at android.os.BinderProxy.sendDeathNotice(Binder
.java:385)
W/WindowManager(  133):         at dalvik.system.NativeStart.run(Native Method)
I/WindowManager(  133): WIN DEATH: null
W/InputManagerService(  133): Got RemoteException sending setActive(false) notif
ication to pid 3282 uid 10120
I/MPL-mldl_cfg_mpu:(  133): mpu3050_suspend: Will resume next to 0078
D/dalvikvm( 1063): GC_EXPLICIT freed 14K, 31% free 25443K/36359K, paused 16ms+7m
s
D/dalvikvm(  256): GC_EXPLICIT freed 83K, 10% free 6427K/7111K, paused 5ms+3ms
Apps published: 3

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: Default speed of android devices
« Reply #49 on: 2011-Oct-27 »
I have no doubt at all that Kitty will get things running, I just suspect that at the moment he is tied up with advancements in iDevice changes :) . It does look like its tegra 2 related though

I have great faith in Kitty as well. I have to admit though that I am starting to get a bit nervous that Amazon's Tegra-2 based Fire tablet with a HUGE amount of pre-orders is due out in only 2.5 weeks. I'd seriously hate to miss that launch.
« Last Edit: 2011-Oct-27 by AlienMenace »
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 #50 on: 2011-Oct-27 »
I think I really found it!
I demanded a depth buffer that was not supported by the shitty drivers.

If it works, one problem remains - I can't get the current render-buffer. If SDL would make use if it, there's chances that I will not restore it with SETSCREEN -1... We'll see.

Can you test the attached again, please?

[attachment deleted by admin]

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: Default speed of android devices
« Reply #51 on: 2011-Oct-27 »
here is the output of the latest test

Code: (glbasic) [Select]
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
I/glbasic ( 1158): onCreate
I/glbasic ( 1158): Updating media files
I/glbasic ( 1158): assets found, copying...
I/glbasic ( 1158): assets still up to date, proceed to main...
I/glbasic ( 1158): done with updating
I/glbasic ( 1158): external files dir is /data/data/com.glbasic.glbasicenginetes
t/files
I/glbasic ( 1158): external storage /mnt/sdcard/Download
I/glbasic ( 1158): onResume()
I/SDL     ( 1158): pixel format RGB_565
I/SDL     ( 1158): SDL_Android_Init()
I/glbasic ( 1158): timer
I/glbasic ( 1158): rbow
I/glbasic ( 1158): rbow init
I/glbasic ( 1158): SDL_init video
I/glbasic ( 1158): SDL_GetVideoInfo = 800x1232 @ 16 bpp
I/glbasic ( 1158): Setting video mode: 800x1232x16 fl=4800000
I/SDL     ( 1158): [STUB] GL_LoadLibrary
I/SDL     ( 1158): Starting up OpenGL ES 1.1
I/glbasic ( 1158): SDL_SetVideoMode seems to be 1
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(5633) : error OGL1281: A numeric ar
gument is out of range. The offending function is ignored, having no side effect
 other than to set the error flag.
I/glbasic ( 1158): get accurate timer - 1st call
I/glbasic ( 1158): flip - 1st call
I/glbasic ( 1158): BGRA ext supported
I/glbasic ( 1158): Texture size limit: 2048
I/glbasic ( 1158): init fbo
I/glbasic ( 1158): 2D VP
I/glbasic ( 1158): OGRB init [OK]
I/glbasic ( 1158): Cptn
I/glbasic ( 1158): Network
I/glbasic ( 1158): Input
I/glbasic ( 1158): Window mode
I/glbasic ( 1158): Create DXin
I/glbasic ( 1158): sdl_grab
I/glbasic ( 1158): reptr
I/glbasic ( 1158): getexe
I/glbasic ( 1158): cd
I/glbasic ( 1158): set cdir to: /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 1158): exepath=curdir= /data/data/com.glbasic.glbasicenginetest
I/glbasic ( 1158): set cdir to: files
I/glbasic ( 1158): Init Finalized
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(281) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1158): depth 24 failed, try 32
I/glbasic ( 1158): depth 32 failed, try 16
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(4511) : error OGL1282: The specifie
d operation is not allowed in the current state. The offending function is ignor
ed, having no side effect other than to set the error flag.
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/OpenGLRainbows.cpp(4755) : error OGL1282: The specifie
d operation is not allowed in the current state. The offending function is ignor
ed, having no side effect other than to set the error flag.
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(281) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1158): glBindRenderbufferExt failed 8cd6
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(281) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1158): depth 24 failed, try 32
I/glbasic ( 1158): depth 32 failed, try 16
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(281) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1158): C:/Users/gf/Documents/SourceCode/frisch/fun/GLBasic/Compiler/
platform/Win32/Bin/Hidden/FBuffers.cpp(281) : error OGL1280: An unacceptable val
ue is specified for an enumerated argument. The offending function is ignored, h
aving no side effect other than to set the error flag.
I/glbasic ( 1158): solid  grab != on screen
I/glbasic ( 1158): polyvec 1,1 != white
I/glbasic ( 1158): Shut down GLB
I/glbasic ( 1158): glb is shut down
I/SDL     ( 1158): [STUB] GL_UnloadLibrary

and attatched is the screen shot, not sure if its what you expected Gernot



[attachment deleted by admin]

Offline caffeinekid

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
    • TCKSOFT
Re: Default speed of android devices
« Reply #52 on: 2011-Oct-28 »
Did the newest version of the fix work how it was meant to?!

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 #53 on: 2011-Oct-29 »
Yes. Now only Grabsprite does not work. But CREATESCREEN totally does.

Offline ampos

  • Prof. Inline
  • *****
  • Posts: 1599
    • View Profile
    • AMpostata Website
Re: Default speed of android devices
« Reply #54 on: 2011-Oct-29 »
Yes. Now only Grabsprite does not work. But CREATESCREEN totally does.

Or should  :nana:
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: Default speed of android devices
« Reply #55 on: 2011-Nov-04 »
Any news?
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 #56 on: 2011-Nov-04 »
Uh... .yes? The current update fixed the issues. GRABSPRITE might not work, but you can (and should) use CREATESCREEN anyway, because it's a lot faster.

Offline caffeinekid

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
    • TCKSOFT
Re: Default speed of android devices
« Reply #57 on: 2011-Nov-04 »
Has someone tested createscreen - and drawing to a created screen on an asus transformer? I still have someone telling me my game doesn't work right. I wish Android wasn't spread so thin across so many very different devices.

I've tried everything I can think of and played with the manifest too but no joy. Maybe I'm doing something wrong but if I am then I don't have a clue what.