The GPU report error during running some unity-3D application

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The GPU report error during running some unity-3D application

3,413件の閲覧回数
feifeihu
Contributor II

We are using imx6dl running Android 4.4.3(kernel 3.10.53). Currently , we meet a random problem:

During starting a game application(仙境传说RO) (installed from 仙境传说RO - 心动网络 ), following crash logs are gotten from logcat and a blank pruple screen is shown for some minutes before the application UI shows: 

03-14 14:14:52.065 145 145 I sf_frame_dur: [com.xd.ro.roapk/com.xindong.RODevelop.UnitySavePicActivity,0,0,0,2,2,0,0]
03-14 14:14:52.075 829 875 D GsmSST : [GsmSST] SST.getAllCellInfo(): X size=0 list=null
03-14 14:14:52.075 829 875 D GsmSST : [GsmSST] getCellLocation(): X empty mCellLoc and CellInfo mCellLoc=[-1,-1,-1]
03-14 14:14:52.105 145 506 E BufferQueue: [SurfaceView] queueBuffer: BufferQueue has been abandoned!
03-14 14:14:52.115 3102 3174 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -19
03-14 14:14:52.115 145 506 E BufferQueue: [SurfaceView] dequeueBuffer: BufferQueue has been abandoned!
03-14 14:14:52.115 145 3078 E BufferQueue: [SurfaceView] query: BufferQueue has been abandoned!
03-14 14:14:52.125 145 189 E BufferQueue: [com.android.settings/com.android.settings.SystemInfoActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
03-14 14:14:52.135 3102 3125 E v_egl : Window has been abandoned! return value: -19
03-14 14:14:52.135 3102 3125 E libEGL : EGLBoolean eglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, EGLContext):783 error 300b (EGL_BAD_NATIVE_WINDOW)
03-14 14:14:52.145 3102 3125 E Unity : [EGL] Unable to acquire context: EGL_BAD_NATIVE_WINDOW: A NativeWindowType argument does not refer to a valid native window.
03-14 14:14:52.145 3102 3125 E Unity :
03-14 14:14:52.145 3102 3125 E Unity : (Filename: ./Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 235)
03-14 14:14:52.145 3102 3125 E Unity :
03-14 14:14:52.155 3102 3125 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
03-14 14:14:52.175 145 506 E BufferQueue: [SurfaceView] query: BufferQueue has been abandoned!
03-14 14:14:52.175 3102 3174 E v_egl : Window has been abandoned! return value: -19
03-14 14:14:52.175 3102 3174 E libEGL : EGLBoolean eglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, EGLContext):783 error 300b (EGL_BAD_NATIVE_WINDOW)
03-14 14:14:52.175 3102 3174 E Unity : [EGL] Unable to acquire context: EGL_BAD_NATIVE_WINDOW: A NativeWindowType argument does not refer to a valid native window.
03-14 14:14:52.175 3102 3174 E Unity :
03-14 14:14:52.175 3102 3174 E Unity : (Filename: ./Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 235)
03-14 14:14:52.175 3102 3174 E Unity :
03-14 14:14:52.185 3102 3174 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
03-14 14:14:52.275 374 403 I am_activity_launch_time: [0,-1505958704,com.android.settings/.SystemInfoActivity,566,566]
03-14 14:14:52.275 374 403 I ActivityManager: Displayed com.android.settings/.SystemInfoActivity: +566ms
03-14 14:14:52.625 145 145 I sf_frame_dur: [com.android.settings/com.android.settings.Setting,30,0,0,2,6,0,0]
03-14 14:14:53.245 3102 3174 E Unity : -------- GLSL link failed, no info log provided.
03-14 14:14:53.245 3102 3174 E Unity :
03-14 14:14:53.245 3102 3174 E Unity : (Filename: Line: 655)
03-14 14:14:53.245 3102 3174 E Unity :
03-14 14:14:53.255 3102 3174 E Unity : -------- GLSL link failed, no info log provided.
03-14 14:14:53.255 3102 3174 E Unity :
03-14 14:14:53.255 3102 3174 E Unity : (Filename: Line: 655)
03-14 14:14:53.255 3102 3174 E Unity :
03-14 14:14:53.255 3102 3174 E Unity : -------- GLSL link failed, no info log provided.
03-14 14:14:53.255 3102 3174 E Unity :
03-14 14:14:53.255 3102 3174 E Unity : (Filename: Line: 655)
03-14 14:14:53.255 3102 3174 E Unity :
03-14 14:14:53.255 3102 3174 E Unity : -------- GLSL link failed, no info log provided.
03-14 14:14:53.255 3102 3174 E Unity :
03-14 14:14:53.255 3102 3174 E Unity : (Filename: Line: 655)
03-14 14:14:53.255 3102 3174 E Unity :
03-14 14:14:53.355 374 525 V WifiHW : "IFNAME=wlan0 SIGNAL_POLL" command sent.
03-14 14:14:53.705 3102 3102 I UnityAgent: init the sdk with '900029929'
03-14 14:14:53.915 3102 3106 D dalvikvm: GC_CONCURRENT freed 306K, 32% free 3667K/5348K, paused 4ms+10ms, total 73ms
03-14 14:14:54.175 3102 3102 D dalvikvm: Trying to load lib /data/app-lib/com.xd.ro.roapk-1/libBugly.so 0xa5bce980
03-14 14:14:54.175 3102 3102 D dalvikvm: Added shared lib /data/app-lib/com.xd.ro.roapk-1/libBugly.so 0xa5bce980
03-14 14:14:54.175 3102 3102 I CrashReport: native library loaded
03-14 14:14:54.175 3102 3102 I CrashReport: backup java method success
03-14 14:14:54.175 3102 3102 I CrashReport: back up java classes success
03-14 14:14:54.175 3102 3102 I CrashReport: base = 0xbe107000
03-14 14:14:54.175 3102 3102 I CrashReport: stacksize = 8M
03-14 14:14:54.175 3102 3102 I CrashReport: guardsize = 4096
03-14 14:14:54.205 3102 3102 I CrashReport: getted buglyline com/tencent/bugly/crashreport/
03-14 14:14:54.205 3102 3102 I CrashReport: it is default prefix
03-14 14:14:54.205 3102 3102 I CrashReport: register native log methods success
03-14 14:14:54.205 3102 3102 I CrashReport: register native key-value methods success
03-14 14:14:54.205 3102 3102 I CrashReport: register native methods success
03-14 14:14:54.205 3102 3102 I CrashReport: setLogMode 6 current 4
03-14 14:14:54.215 3102 3102 E CrashReportInfo: *************************************** POWERED BY bugly.qq.com ***********************************
03-14 14:14:54.235 3102 3102 E CrashReportInfo: Unity中的libmono.so进行了信号处理,为了避免处理冲突libBugly.so将关闭信号处理,导致无法上报Native异常(SIGSEGV,SIGABRT,SIGFPE,SIGBUS)
03-14 14:14:54.235 3102 3102 E CrashReportInfo: 要解决这个问题,你需要在导出的Android项目中,在Activity.onCreate()中初始化Bugly(CrashReport.initCrashReport())
03-14 14:14:54.235 3102 3102 E CrashReportInfo: 了解更多信息,可以参考 <<Bugly(Android) 更多配置和FAQ.pdf>>
03-14 14:14:54.235 3102 3102 E CrashReportInfo: ***************************************************************************************************
03-14 14:14:54.235 3102 3102 E CrashReportInfo: *************************************** POWERED BY bugly.qq.com ***********************************
03-14 14:14:54.235 3102 3102 E CrashReportInfo: libBugly.so is disabled to capture Native Crash(Signal SIGSEGV,SIGABRT,SIGFPE,SIGBUS)
03-14 14:14:54.235 3102 3102 E CrashReportInfo: Because in unity project "libmono.so" registered "Signal hanlder" earlier than libBugly.so
03-14 14:14:54.235 3102 3102 E CrashReportInfo: We recommend you to export your project to Android Project ,and call "CrashReport.initCrashReport()" in "Activity.onCreate()"
03-14 14:14:54.235 3102 3102 E CrashReportInfo: For more detail , please read <<Bugly(Android) 更多配置和FAQ.pdf>> for help.
03-14 14:14:54.235 3102 3102 E CrashReportInfo: ***************************************************************************************************
03-14 14:14:54.245 3102 3102 E CrashReport: unregistd unity signal!

Could you please help check if this is caused by GPU or the application itself?

Thanks!

ラベル(4)
0 件の賞賛
返信
2 返答(返信)

2,154件の閲覧回数
feifeihu
Contributor II

please pay attention to :

03-14 14:14:52.105 145 506 E BufferQueue: [SurfaceView] queueBuffer: BufferQueue has been abandoned!
03-14 14:14:52.115 3102 3174 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -19
03-14 14:14:52.115 145 506 E BufferQueue: [SurfaceView] dequeueBuffer: BufferQueue has been abandoned!
03-14 14:14:52.115 145 3078 E BufferQueue: [SurfaceView] query: BufferQueue has been abandoned!
03-14 14:14:52.125 145 189 E BufferQueue: [com.android.settings/com.android.settings.SystemInfoActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
03-14 14:14:52.135 3102 3125 E v_egl : Window has been abandoned! return value: -19
03-14 14:14:52.135 3102 3125 E libEGL : EGLBoolean eglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, EGLContext):783 error 300b (EGL_BAD_NATIVE_WINDOW)

Thanks.

0 件の賞賛
返信

2,154件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Feifei

since L3.10.53 many gpu errata fixes were implemented so

recommended to try latest 4.1.x kernels on

i.MX 6 / i.MX 7 Series Software and Development Tool|NXP 

Fixed gpu errata are described in Release Notes included in Doc package on

that link, please check sect.Graphics, Table  New features "Bug Fixes".

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信