[android-developers] Re: SurfaceFlinger and permitions

2009-05-01 Thread Jon Colverson

On Apr 30, 2:09 pm, Guian guiandou...@gmail.com wrote:
 The error is a little bit different since I moved from OpenGL ES 1.1
 to OpenGL ES 1.0, but still here on the GPU surface request :

 E/SurfaceFlinger(   65): HW3D_REVOKE_GPU failed (Invalid argument),
 mFD=146, base=0x499f8000

 but only on the G1,  it works fine on the emulator

Have you tried stepping through your code (particularly your OpenGL
initialization stuff) to see which line is causing the process to die?
I expect that the HW3D_REVOKE_GPU error is just a symptom of the
sudden process death rather than the cause.

--
Jon

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SurfaceFlinger and permitions

2009-04-30 Thread Guian

The error is a little bit different since I moved from OpenGL ES 1.1
to OpenGL ES 1.0, but still here on the GPU surface request :

E/SurfaceFlinger(   65): HW3D_REVOKE_GPU failed (Invalid argument),
mFD=146, base=0x499f8000


but only on the G1,  it works fine on the emulator





On 27 avr, 10:25, Guian guiandou...@gmail.com wrote:
 nobody can help?

 On 24 avr, 17:24, Guian guiandou...@gmail.com wrote:



  I'm porting my app on the t-mobile G1. this app uses OpenGL (using the
  glSurfaceView from API demo )

  my app works fine on the emulator with these minor errors :

  04-24 16:57:04.957: ERROR/GLLogger(213): couldn't load libhgl.so
  library (Cannot find library)
  04-24 16:57:05.147: DEBUG/SurfaceFlinger(45): pid 213 requesting gpu
  surface (current owner = -1)
  04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
  pmem_gpu1: No such file or directory
  04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
  pmem_gpu0: No such file or directory
  04-24 16:57:05.157: DEBUG/SurfaceFlinger(45): pid 213 requesting gpu
  surface (current owner = -2)
  04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
  pmem_gpu1: No such file or directory
  04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
  pmem_gpu0: No such file or directory

  when lauching it on the G1 errors become :
  and the app simply close.

  D/SurfaceFlinger(18083): pid 18620 requesting gpu core (owner = -1)
  D/SurfaceFlinger(18083): pid 18620 requesting gpu surface (current
  owner = -1)
  D/SurfaceFlinger(18083): gpu surface granted to pid 18620
  D/SurfaceFlinger(18083): pid 18620 requesting gpu surface (current
  owner = 18620)
  D/SurfaceFlinger(18083): gpu surface granted to pid 18620
  I/ActivityManager(18083): Displayed activity
  com.mypackage.package/.Test: 11906 ms
  D/EGL.oem (18620): SMI region at virtual=0x45648000, physical=0x0,
  size=7340032 offset=0
  D/EGL.oem (18620): EBI1 region at virtual=0x45d48000,
  physical=0x1650, size=8388608 offset=1228800
  D/EGL.oem (18620): REGS region at virtual=0x44c44000,
  physical=0xa000, size=1048576, offset=0
  D/dalvikvm(18620): GC freed 1754 objects / 95936 bytes in 108ms
  D/dalvikvm(18620): GC freed 309 objects / 15832 bytes in 92ms
  D/dalvikvm(18620): GC freed 63 objects / 2152 bytes in 93ms
  D/dalvikvm(18620): GC freed 70 objects / 2592 bytes in 91ms
  I/ActivityManager(18083): Process com.navigaia.android (pid 18319) has
  died.
  D/dalvikvm(18620): GC freed 44 objects / 1576 bytes in 118ms
  D/dalvikvm(18620): GC freed 52 objects / 1856 bytes in 93ms
  D/dalvikvm(18620): GC freed 50 objects / 1784 bytes in 92ms
  D/dalvikvm(18620): GC freed 52 objects / 1840 bytes in 91ms
  D/dalvikvm(18620): GC freed 50 objects / 1784 bytes in 94ms
  D/dalvikvm(18620): GC freed 44 objects / 1560 bytes in 95ms
  D/dalvikvm(18620): GC freed 52 objects / 1840 bytes in 120ms
  D/dalvikvm(18620): GC freed 50 objects / 1784 bytes in 92ms
  D/dalvikvm(18620): GC freed 44 objects / 1568 bytes in 91ms
  D/dalvikvm(18620): GC freed 44 objects / 1576 bytes in 92ms
  D/dalvikvm(18620): GC freed 52 objects / 2576 bytes in 93ms
  I/ActivityManager(18083): Process
  com.smartcapsules.cooking.android.taster (pid 18288) has died.
  I/DEBUG ( 29): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
  *** ***
  I/DEBUG ( 29): Build fingerprint: 'android-devphone1/dream_devphone/
  dream/trout:1.1/UNLOCKED/142608:userdebug/test-keys'
  I/DEBUG ( 29): pid: 18620, tid: 18636  com.myPackage.package 
  I/DEBUG ( 29): signal 11 (SIGSEGV), fault addr 00c0
  I/DEBUG ( 29): r0 0018 r1 001a94d8 r2 0001 r3 
  I/DEBUG ( 29): r4 001aa4d8 r5 001a94d8 r6 ad31a3fc r7 
  I/DEBUG ( 29): r8 fffe r9  10 0001 fp deadbeef
  I/DEBUG ( 29): ip  sp 44c43d78 lr 8012eaac pc 80123250 cpsr
  0010
  I/DEBUG ( 29): #00 pc 80123250 /system/lib/libhgl.so
  I/DEBUG ( 29): #01 lr 8012eaac /system/lib/libhgl.so
  I/DEBUG ( 29): stack:
  I/DEBUG ( 29): 44c43d38 0320
  I/DEBUG ( 29): 44c43d3c afe35d78
  I/DEBUG ( 29): 44c43d40 001e62d0 [heap]
  I/DEBUG ( 29): 44c43d44 001aac70 [heap]
  I/DEBUG ( 29): 44c43d48 ffcf
  I/DEBUG ( 29): 44c43d4c 
  I/DEBUG ( 29): 44c43d50 ffe0
  I/DEBUG ( 29): 44c43d54 8012eaac /system/lib/libhgl.so
  I/DEBUG ( 29): 44c43d58 001aac70 [heap]
  I/DEBUG ( 29): 44c43d5c 8012ea00 /system/lib/libhgl.so
  I/DEBUG ( 29): 44c43d60 001aa4d8 [heap]
  I/DEBUG ( 29): 44c43d64 001a94d8 [heap]
  I/DEBUG ( 29): 44c43d68 ad31a3fc /system/lib/libandroid_runtime.so
  I/DEBUG ( 29): 44c43d6c 
  I/DEBUG ( 29): 44c43d70 df002777
  I/DEBUG ( 29): 44c43d74 e3a070ad
  I/DEBUG ( 29): #00 44c43d78 44c43dc0
  I/DEBUG ( 29): 44c43d7c 
  I/DEBUG ( 29): 44c43d80 ad31a3fc /system/lib/libandroid_runtime.so
  I/DEBUG ( 29): 44c43d84 41016eb4
  I/DEBUG ( 29): 44c43d88 44c43da0
  I/DEBUG ( 29): 44c43d8c 41016eac
  I/DEBUG ( 29): 44c43d90 41016e98
  I/DEBUG ( 29): 44c43d94 0001
  I/DEBUG 

[android-developers] Re: SurfaceFlinger and permitions

2009-04-27 Thread Guian

nobody can help?

On 24 avr, 17:24, Guian guiandou...@gmail.com wrote:
 I'm porting my app on the t-mobile G1. this app uses OpenGL (using the
 glSurfaceView from API demo )

 my app works fine on the emulator with these minor errors :

 04-24 16:57:04.957: ERROR/GLLogger(213): couldn't load libhgl.so
 library (Cannot find library)
 04-24 16:57:05.147: DEBUG/SurfaceFlinger(45): pid 213 requesting gpu
 surface (current owner = -1)
 04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
 pmem_gpu1: No such file or directory
 04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
 pmem_gpu0: No such file or directory
 04-24 16:57:05.157: DEBUG/SurfaceFlinger(45): pid 213 requesting gpu
 surface (current owner = -2)
 04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
 pmem_gpu1: No such file or directory
 04-24 16:57:05.157: ERROR/MemoryHeapBase(45): error opening /dev/
 pmem_gpu0: No such file or directory

 when lauching it on the G1 errors become :
 and the app simply close.

 D/SurfaceFlinger(18083): pid 18620 requesting gpu core (owner = -1)
 D/SurfaceFlinger(18083): pid 18620 requesting gpu surface (current
 owner = -1)
 D/SurfaceFlinger(18083): gpu surface granted to pid 18620
 D/SurfaceFlinger(18083): pid 18620 requesting gpu surface (current
 owner = 18620)
 D/SurfaceFlinger(18083): gpu surface granted to pid 18620
 I/ActivityManager(18083): Displayed activity
 com.mypackage.package/.Test: 11906 ms
 D/EGL.oem (18620): SMI region at virtual=0x45648000, physical=0x0,
 size=7340032 offset=0
 D/EGL.oem (18620): EBI1 region at virtual=0x45d48000,
 physical=0x1650, size=8388608 offset=1228800
 D/EGL.oem (18620): REGS region at virtual=0x44c44000,
 physical=0xa000, size=1048576, offset=0
 D/dalvikvm(18620): GC freed 1754 objects / 95936 bytes in 108ms
 D/dalvikvm(18620): GC freed 309 objects / 15832 bytes in 92ms
 D/dalvikvm(18620): GC freed 63 objects / 2152 bytes in 93ms
 D/dalvikvm(18620): GC freed 70 objects / 2592 bytes in 91ms
 I/ActivityManager(18083): Process com.navigaia.android (pid 18319) has
 died.
 D/dalvikvm(18620): GC freed 44 objects / 1576 bytes in 118ms
 D/dalvikvm(18620): GC freed 52 objects / 1856 bytes in 93ms
 D/dalvikvm(18620): GC freed 50 objects / 1784 bytes in 92ms
 D/dalvikvm(18620): GC freed 52 objects / 1840 bytes in 91ms
 D/dalvikvm(18620): GC freed 50 objects / 1784 bytes in 94ms
 D/dalvikvm(18620): GC freed 44 objects / 1560 bytes in 95ms
 D/dalvikvm(18620): GC freed 52 objects / 1840 bytes in 120ms
 D/dalvikvm(18620): GC freed 50 objects / 1784 bytes in 92ms
 D/dalvikvm(18620): GC freed 44 objects / 1568 bytes in 91ms
 D/dalvikvm(18620): GC freed 44 objects / 1576 bytes in 92ms
 D/dalvikvm(18620): GC freed 52 objects / 2576 bytes in 93ms
 I/ActivityManager(18083): Process
 com.smartcapsules.cooking.android.taster (pid 18288) has died.
 I/DEBUG ( 29): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 *** ***
 I/DEBUG ( 29): Build fingerprint: 'android-devphone1/dream_devphone/
 dream/trout:1.1/UNLOCKED/142608:userdebug/test-keys'
 I/DEBUG ( 29): pid: 18620, tid: 18636  com.myPackage.package 
 I/DEBUG ( 29): signal 11 (SIGSEGV), fault addr 00c0
 I/DEBUG ( 29): r0 0018 r1 001a94d8 r2 0001 r3 
 I/DEBUG ( 29): r4 001aa4d8 r5 001a94d8 r6 ad31a3fc r7 
 I/DEBUG ( 29): r8 fffe r9  10 0001 fp deadbeef
 I/DEBUG ( 29): ip  sp 44c43d78 lr 8012eaac pc 80123250 cpsr
 0010
 I/DEBUG ( 29): #00 pc 80123250 /system/lib/libhgl.so
 I/DEBUG ( 29): #01 lr 8012eaac /system/lib/libhgl.so
 I/DEBUG ( 29): stack:
 I/DEBUG ( 29): 44c43d38 0320
 I/DEBUG ( 29): 44c43d3c afe35d78
 I/DEBUG ( 29): 44c43d40 001e62d0 [heap]
 I/DEBUG ( 29): 44c43d44 001aac70 [heap]
 I/DEBUG ( 29): 44c43d48 ffcf
 I/DEBUG ( 29): 44c43d4c 
 I/DEBUG ( 29): 44c43d50 ffe0
 I/DEBUG ( 29): 44c43d54 8012eaac /system/lib/libhgl.so
 I/DEBUG ( 29): 44c43d58 001aac70 [heap]
 I/DEBUG ( 29): 44c43d5c 8012ea00 /system/lib/libhgl.so
 I/DEBUG ( 29): 44c43d60 001aa4d8 [heap]
 I/DEBUG ( 29): 44c43d64 001a94d8 [heap]
 I/DEBUG ( 29): 44c43d68 ad31a3fc /system/lib/libandroid_runtime.so
 I/DEBUG ( 29): 44c43d6c 
 I/DEBUG ( 29): 44c43d70 df002777
 I/DEBUG ( 29): 44c43d74 e3a070ad
 I/DEBUG ( 29): #00 44c43d78 44c43dc0
 I/DEBUG ( 29): 44c43d7c 
 I/DEBUG ( 29): 44c43d80 ad31a3fc /system/lib/libandroid_runtime.so
 I/DEBUG ( 29): 44c43d84 41016eb4
 I/DEBUG ( 29): 44c43d88 44c43da0
 I/DEBUG ( 29): 44c43d8c 41016eac
 I/DEBUG ( 29): 44c43d90 41016e98
 I/DEBUG ( 29): 44c43d94 0001
 I/DEBUG ( 29): 44c43d98 acb15524
 I/DEBUG ( 29): 44c43d9c ad00d9f8 /system/lib/libdvm.so
 I/DEBUG ( 29): 44c43da0 41092718
 I/DEBUG ( 29): 44c43da4 001e0ee8 [heap]
 I/DEBUG ( 29): 44c43da8 ad31a3fc /system/lib/libandroid_runtime.so
 I/DEBUG ( 29): 44c43dac 
 I/DEBUG ( 29): 44c43db0 3072
 I/DEBUG ( 29): 44c43db4 001e0ee8 [heap]
 I/DEBUG ( 29): 44c43db8 44c43dc0
 I/DEBUG ( 29): 44c43dbc ad041211 /system/lib/libdvm.so