Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android / RenderScript issues #2

Open
demantz opened this issue Dec 17, 2014 · 1 comment
Open

Android / RenderScript issues #2

demantz opened this issue Dec 17, 2014 · 1 comment

Comments

@demantz
Copy link
Owner

demantz commented Dec 17, 2014

I am completely new to RenderScript. I had a lot of issues getting it to work for me just because of the weak documentation. I made many mistakes and might still have errors in my code.

But it seems like RenderScript is also still not as stable as I thought at the beginning. So I start this issue to collect and discuss some links to Android bug reports which might affect this DSP library.
(Background for my research is the fact that the DSP library seems to crash on many different devices/android-images for no reason)

@demantz
Copy link
Owner Author

demantz commented Dec 17, 2014

On Nexus 7 2012 with Android 4.3 (API level 18):

D/dalvikvm(10005): Late-enabling CheckJNI
I/ANDROID_DSP_BENCHMARK(10005): onCreate: log path: /storage/emulated/0/android_dsp_lib_benchmark_log.txt
I/ANDROID_DSP_BENCHMARK(10005): Benchmark for the Android DSP library version 1.03 by Dennis Mantz.
I/ANDROID_DSP_BENCHMARK(10005): Device Manufacturer: asus
I/ANDROID_DSP_BENCHMARK(10005): Device Model: Nexus 7
I/ANDROID_DSP_BENCHMARK(10005): API-Level: 18
I/ANDROID_DSP_BENCHMARK(10005):
D/dalvikvm(10005): GC_CONCURRENT freed 192K, 4% free 7671K/7932K, paused 392ms+1ms, total 417ms
D/libEGL (10005): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL (10005): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL (10005): loaded /system/lib/egl/libGLESv2_tegra.so
D/OpenGLRenderer(10005): Enabling debug mode 0
I/Choreographer(10005): Skipped 40 frames! The application may be doing too much work on its main thread.
E/RenderScript_jni(10005): No GC methods
D/dalvikvm(10005): No JNI_OnLoad found in /system/lib/libRSSupport.so 0x4216df18, skipping init
E/dalvikvm(10005): ERROR: couldn't find native method
E/dalvikvm(10005): Requested: Landroid/support/v8/renderscript/RenderScript;._nInit:()V
E/dalvikvm(10005): JNI posting fatal error: RegisterNatives failed for 'android/support/v8/renderscript/RenderScript', aborting
I/dalvikvm(10005): "main" prio=5 tid=1 NATIVE

Related links:
https://code.google.com/p/android/issues/detail?id=71347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant