there is a strange bug with new android 5.0.1 and Adreno driver in OpenGl ES 1.x, was working fine on 4.4.2 and previous versions and is working fine on S800 (on my note 3 on android 5.0)
everything is ok in opengl es 2.0 but take a look of what i have with 1.1, can you help me please :
r0 9749e6b4 r1 00000001 r2 00000003 r3 00000002
r4 9749e6ac r5 a911b11c r6 00000083 r7 9749e72c
r8 930ef4c0 r9 af3458cc sl 00200002 fp 918f0000
ip 930ef4cc sp 9749e68c lr a9041053 pc a9039386 cpsr 68030030
backtrace:
#00 pc 00128386 /system/vendor/lib/egl/libGLESv2_adreno.so (A4xFormatUtils::TpSwizzle(EsxFormat const*, TPL1_TPMEMOBJPARAM0REG*)+153)
#01 pc 0013004f /system/vendor/lib/egl/libGLESv2_adreno.so (A4xTextureObject::UpdateMemObj(A4xContext*, unsigned int, unsigned int, unsigned int, unsigned int, EsxDimensionType, EsxFormat const*, A4xTextureMemobjFields*, int, EsxSamplerDesc const*)+2270)
#02 pc 00130765 /system/vendor/lib/egl/libGLESv2_adreno.so (A4xTextureObject::UpdateTexRegs(A4xContext*, EsxSamplerDesc const*)+364)
#03 pc 0013dc0d /system/vendor/lib/egl/libGLESv2_adreno.so (A4xContext::ValidateTexSamplers()+600)
#04 pc 0013c499 /system/vendor/lib/egl/libGLESv2_adreno.so (A4xContext::ValidateState(EsxDrawDescriptor const*)+1232)
#05 pc 0013c795 /system/vendor/lib/egl/libGLESv2_adreno.so (A4xContext::HwValidateGfxState(EsxDrawDescriptor const*)+4)
#06 pc 0010933b /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateGfxState(EsxDrawDescriptor const*)+402)
#07 pc 0010c5a7 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int)+258)
#08 pc 000b1705 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlDrawElements(unsigned int, int, unsigned int, void const*)+48)
#09 pc 000de42d /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+52)
#10 pc 000a9bdd /system/vendor/lib/egl/libGLESv2_adreno.so (glDrawElements+40)
#11 pc 00011a21 /system/vendor/lib/egl/libGLESv1_CM_adreno.so (glDrawElements+104)
It's a bit hard to diagnose just from the trace. Are you able to provide us with a sample apk and instructions so that we can verify on a few builds? Which device has the 5.0.1 build installed which the app is crashing on? Also can you provide more of the exact build information (e.g. date) from the Settings/About screen and any Adreno-EGL log statements from the android log?
tested on Nexus 6 last Firmware from google and on Note 4 Qualcomm based, both have the same error and they run both on 5.0.1.
you can get the try version from http://www.fpsece.net, click on purshase button then get the Donate version to download APK.
you need a PS1 iso to run my software, once you copied iso to your device just run my software and once the cover menu appear stay pressed onto Game cover and choose Video then OpenGL high definition.
go back to cover menu then press onto the game cover to run the game. you'll see the first crash which happen onto a Glclearcolor just before the eglswap. it seems to be related to context, but i'm not sure as it's internal to Adreno opengl2 driver.
I have commented the glclearcolor, and strangely many OpenGL commands run correctly (like Polygons without texture) until it need to draw a texture like in previous log.
If you need help to run my program, contact me.
Thanks for the details...Unfortunately I don't think we'll able to proceed with these steps given the legal issues we're bound by. If there's some way to package up an apk without the iso dependancy, we'll be able take a closer look.
you can load this small homebrew here: http://psxdev.net/homebrew/files/fly_little_bat_v0.5b.zip , no legal problem
Uncompress this zip file then copy the file fly_little_bat.bin to your device.
Run fpse, as it won't find any known cd it will print you the advanced menu,
First choose SETTINGS then MISC and VIDEO then VIDEO MODE, then select Opengl high definition
go back to main menu and choose load game, and select the bin file. you'll see immediatly the problem.
is it ok all i described?
Thanks for providing the updated files. Given our current workload, It will take us a bit of time to analyze this issue. Thanks for being patient..
it seems i'm not alone facing such problem, the OpenGL ES 1.x wrapper seems bugged... but there is perhaps a workaround.
Let me know the status of your investigations please.
Schtruck, here they always asks for example/sample apk. If you can provide it you'll speed up the process and likely it'll be fixed in newer consumer drivers revisions (no guarantee that consumers will get them as the part of update though. There are some devices that still uses v14 on Kitkat, and those on lollipop most likely to stay on v84 forever, as the OEMs often doesn't include newer revisions with updates), it can take ages to get fixed without an example apk provided. Like the glbufferrange/glbuffersubdata bugs on adreno drivers which exists for 2 years already and wasn't fixed yet. That happened because no one provided sample apk which hitting those bugs. That's just how it works here
apk can be downloaded as you can see in my previous posts. all is in Qualcomm support hands.
I know.. But here you get a perfect example of sample apk
We have duplicated the crash with the provided files and are working with our driver team to better understand the problem.
Good, just remember that this crash does not happen on the Galaxy Note 3 with S800 and Lollipop 5.0, but happen with Note 4 S805 with Android 5.0.2. ANd Nexus 6 with Android 5.0 , 5.0.2 and 5.1.
any news about your investigations? all seems related to the new Qualcomm video driver for lollipop.
hello, i found a shader compilation crash, and this looks similar to this topic.
it occurs only on adreno 420 & 430 based devices. (snapdragon 805 & 810) - like note4, nexus6, htc one m9, and with android 5.x.
the shader: (it works on every other gpu, and it seems a driver bug)
------------------------------------------------------
Schtuck - This crash is still an open issue that we have duplicated and are investigating. I don't have further update currently.
Mister,
No update with this problem? still happen on Android 5.1.1 on all qualcomm platforms now
it could be a stack limit problem i think, as it's Java managed now since ART.
I know JVM Alloc 1mb for each Program Stack, but it's one stack everything, and i suppose Java, C , and OpenGL thread and rendering.
maybe growing this stack could fix this problem.
what do you think?
real racing 3 game is not loading game data and just crashes.