Wednesday, October 19, 2011

Re: [android-developers] Ice cream sandwich gpu emulation issue

Gpu emulation is not supported yet.

On Oct 19, 2011 3:33 PM, "sebastian_bugiu" <sebastian.bugiu.reloaded@gmail.com> wrote:
If I have gpu emulation off everything works fine, if I turn emulation
on then I get something like this in logcat

I/DEBUG   (   32): Build fingerprint: 'generic/google_sdk/generic:
4.0.1/ICS_MR0/202595:eng/test-keys'
I/DEBUG   (   32): pid: 193, tid: 194  >>> /system/bin/surfaceflinger
<<<
I/DEBUG   (   32): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault
addr 0000002b
I/DEBUG   (   32):  r0 00000000  r1 ffff0ff0  r2 00020000  r3 0000002b
I/DEBUG   (   32):  r4 00010400  r5 00010320  r6 00010320  r7 0000fde0
I/DEBUG   (   32):  r8 00000001  r9 000103e8  10 00000000  fp 00000001
I/DEBUG   (   32):  ip 40123ee4  sp 100ffd00  lr 40ff9c93  pc
40ff9c96  cpsr 60000030
I/DEBUG   (   32):  d0  4290000000000000  d1  000000a043200000
I/DEBUG   (   32):  d2  000000a03f800000  d3  0000000000000000
I/DEBUG   (   32):  d4  0000000000000000  d5  41ab2c4596000000
I/DEBUG   (   32):  d6  3f800000d2f1a9fc  d7  3f80000043200000
I/DEBUG   (   32):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (   32):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (   32):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (   32):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (   32):  scr 00000010
I/DEBUG   (   32):
I/DEBUG   (   32):          #00  pc 0000dc96  /system/lib/egl/
libGLES_android.so (eglMakeCurrent)
I/DEBUG   (   32):          #01  pc 0000b40c  /system/lib/libEGL.so
(eglMakeCurrent)
I/DEBUG   (   32):          #02  pc 0001820a  /system/lib/
libsurfaceflinger.so (_ZN7android15DisplayHardware4initEj)
I/DEBUG   (   32):          #03  pc 000185aa  /system/lib/
libsurfaceflinger.so
(_ZN7android15DisplayHardwareC1ERKNS_2spINS_14SurfaceFlingerEEEj)
I/DEBUG   (   32):          #04  pc 0001dcbc  /system/lib/
libsurfaceflinger.so (_ZN7android14SurfaceFlinger10readyToRunEv)
I/DEBUG   (   32):          #05  pc 00020c6a  /system/lib/libutils.so
(_ZN7android6Thread11_threadLoopEPv)
I/DEBUG   (   32):          #06  pc 000212d0  /system/lib/libutils.so
I/DEBUG   (   32):          #07  pc 00012e08  /system/lib/libc.so
(__thread_entry)
I/DEBUG   (   32):          #08  pc 00012958  /system/lib/libc.so
(pthread_create)
I/DEBUG   (   32):
I/DEBUG   (   32): code around pc:
I/DEBUG   (   32): 40ff9c74 69076808 f8d4b1fc f8d9948c 03d02000
I/DEBUG   (   32): 40ff9c84 42a7d502 e008d1ec f7ffb13f f8d7faed
I/DEBUG   (   32): 40ff9c94 6819348c 3080f421 f8d96018 03d12000
I/DEBUG   (   32): 40ff9ca4 4a3ad470 610c6811 3000f8d9 3080f443
I/DEBUG   (   32): 40ff9cb4 0000f8c9 b13fe066 fad6f7ff 348cf8d7
I/DEBUG   (   32):
I/DEBUG   (   32): code around lr:
I/DEBUG   (   32): 40ff9c70 49470a00 69076808 f8d4b1fc f8d9948c
I/DEBUG   (   32): 40ff9c80 03d02000 42a7d502 e008d1ec f7ffb13f
I/DEBUG   (   32): 40ff9c90 f8d7faed 6819348c 3080f421 f8d96018
I/DEBUG   (   32): 40ff9ca0 03d12000 4a3ad470 610c6811 3000f8d9
I/DEBUG   (   32): 40ff9cb0 3080f443 0000f8c9 b13fe066 fad6f7ff
I/DEBUG   (   32):
I/DEBUG   (   32): stack:
I/DEBUG   (   32):     100ffcc0  0001040c
I/DEBUG   (   32):     100ffcc4  00000001
I/DEBUG   (   32):     100ffcc8  00000000
I/DEBUG   (   32):     100ffccc  100ffcfc
I/DEBUG   (   32):     100ffcd0  40123f14
I/DEBUG   (   32):     100ffcd4  40123ec4
I/DEBUG   (   32):     100ffcd8  00000001
I/DEBUG   (   32):     100ffcdc  40123f14
I/DEBUG   (   32):     100ffce0  40123ec4
I/DEBUG   (   32):     100ffce4  40123ec4
I/DEBUG   (   32):     100ffce8  00010398
I/DEBUG   (   32):     100ffcec  0000fe98
I/DEBUG   (   32):     100ffcf0  000141b8
I/DEBUG   (   32):     100ffcf4  4010c43f  /system/lib/libEGL.so
I/DEBUG   (   32):     100ffcf8  df0027ad
I/DEBUG   (   32):     100ffcfc  00000000
I/DEBUG   (   32): #00 100ffd00  00000001
I/DEBUG   (   32):     100ffd04  00010320
I/DEBUG   (   32):     100ffd08  000141b8
I/DEBUG   (   32):     100ffd0c  00000001
I/DEBUG   (   32):     100ffd10  00010398
I/DEBUG   (   32):     100ffd14  40ff9bcd  /system/lib/egl/
libGLES_android.so
I/DEBUG   (   32):     100ffd18  00010398
I/DEBUG   (   32):     100ffd1c  00000000
I/DEBUG   (   32):     100ffd20  000141b8
I/DEBUG   (   32):     100ffd24  4010e40f  /system/lib/libEGL.so
I/DEBUG   (   32): #01 100ffd28  40125b7c
I/DEBUG   (   32):     100ffd2c  00010398
I/DEBUG   (   32):     100ffd30  00010398
I/DEBUG   (   32):     100ffd34  000141b8
I/DEBUG   (   32):     100ffd38  00000001
I/DEBUG   (   32):     100ffd3c  0000fc48
I/DEBUG   (   32):     100ffd40  00000001
I/DEBUG   (   32):     100ffd44  100ffdc8
I/DEBUG   (   32):     100ffd48  00010398
I/DEBUG   (   32):     100ffd4c  00000004
I/DEBUG   (   32):     100ffd50  0000fe98
I/DEBUG   (   32):     100ffd54  4002543c
I/DEBUG   (   32):     100ffd58  40020bb0  /system/lib/
libsurfaceflinger.so
I/DEBUG   (   32):     100ffd5c  4001820d  /system/lib/
libsurfaceflinger.so
D/dalvikvm(  189): GC_FOR_ALLOC freed 215K, 53% free 963K/2048K,
paused 41ms
D/dalvikvm(  189): GC_EXPLICIT freed 43K, 51% free 1017K/2048K, paused
2ms+2ms
D/dalvikvm(  189): GC_EXPLICIT freed 27K, 49% free 1046K/2048K, paused
2ms+2ms
D/AndroidRuntime(  196):
D/AndroidRuntime(  196): >>>>>> AndroidRuntime START
com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime(  196): CheckJNI is ON


The funny thing is the first time I tried it worked so I tried
BasicGLSurfaceView sample app. It installed and I managed to run the
app line by line (without getting anything on screen) and all I got
was 0x500 (GL_INVALID_ENUM) on glBindTexture(). Then after restarting
the emulator I started getting the invalid enum in logcat and ever
since I couldn't get android emulator to start running with gpu
emulator on. And now I don't get even that error I get that stack
trace that I printed.

I must mention that I am running Ubuntu 11.10 Oneiric Ocelot on a Core
2 Duo 2Ghz processor with 3GB and AMD radeon 3470 with drivers version
11.8 (not the post-release ones).

Thanks!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment