金鱼草设备上的Andr​​oid应用程序dequeuebuffer错误 [英] android application dequeuebuffer error on snapdragon device

查看:2846
本文介绍了金鱼草设备上的Andr​​oid应用程序dequeuebuffer错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行我们的Snapdragon设备上的Andr​​oid应用程序,当我得到了一些奇怪的崩溃,但一点效果很好在其他设备上。 下面是一些日志处理死之前:

I got some strange crash when running our android application on snapdragon device, but thing works well on other devices. Here are some logs before process die:

W/Adreno-EGLSUB( 3075): <DequeueBuffer:583>: dequeue native buffer fail: Unknown error 2147483646, buffer=0x0, handle=0x0
W/Adreno-EGLSUB( 3075): <SwapBuffers:1300>: Invalid native buffer. Failed to queueBuffer
W/Adreno-EGLSUB( 3075): <updater_thread:456>: native buffer is NULL
D/QCUtilClass( 2464): extended extractor not needed, return default.

E/BufferQueue(  357): [xxx.xxxx.xxxxx(our game app)] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
W/Adreno-EGLSUB( 3075): <DequeueBuffer:583>: dequeue native buffer fail: Invalid argument, buffer=0x0, handle=0x0
W/Adreno-ES20( 3075): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
W/Adreno-EGL( 3075): <qeglDrvAPI_eglSwapBuffers:3590>: EGL_BAD_SURFACE

......

.....

任何帮助将AP preciate。 谢谢你。

Any help will be appreciate. Thanks.

推荐答案

看起来像它从这里发射<一href="https://android.googlesource.com/platform/frameworks/native/+/tools_r21/libs/gui/BufferQueue.cpp"相对=nofollow> BufferQueue 线401缓冲区大小队列构造函数中进行初始化。

Looks like it's fired from here BufferQueue line 401. Buffer size initialized inside queue constructor.

尝试禁用硬件加速Android清单。看起来这是要去帮助。如果是这样,这样做编程方式取决于操作系统版本或设备的CPU。更喜欢它的现代化的Andr​​oid操作系统版本的bug。

Try to disable hardware acceleration in Android manifest. Looks like it's gonna help. If so, do this programmatically depend on OS version or device CPU. More like it's modern Android OS version bug.

这篇关于金鱼草设备上的Andr​​oid应用程序dequeuebuffer错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆