[Android General] mebitek:
Hi I got a strange antutu 2d error on a rom porting (kk 4.4.3 aosp)

When antutu runs the 2d test I get a black screen with a white stripe on the right side of the screen. Antutu 2d score is 0.

However all 2d graphics works fine.

I tried to update the libMali.so library, libEGL.so, libGLES*, gralloc library and formware one but I get no success.

The error I get on logs is

D/MALI ( 3609): _gles_debug_vreport_to_main_log:1472: glHint::'target' argument was not a valid GLenum for this function.

D/MALI ( 3609): #00 pc 0000b747 /system/lib/libutils.so (android::CallStack::CallStack(char const*, int, int)+14)

D/MALI ( 3609): #01 pc 000ec5a7 /system/lib/libMali.so (MtkMali_DumpCallStack+14)

D/MALI ( 3609): #02 pc 00035804 /system/lib/libMali.so

D/MALI ( 3609): #03 pc 00035e4c /system/lib/libMali.so

D/MALI ( 3609): #04 pc 0003606c /system/lib/libMali.so

D/MALI ( 3609): #05 pc 0002aab0 /system/lib/libMali.so

D/MALI ( 3609): #06 pc 00014300 /system/lib/libMali.so (shim_glHint+56)

D/MALI ( 3609): #07 pc 0001e90c /system/lib/libdvm.so (dvmPlatformInvoke+112)

D/MALI ( 3609): #08 pc 0004fbbd /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+484)

D/MALI ( 3609): #09 pc 00027ce8 /system/lib/libdvm.so

D/MALI ( 3609): #10 pc 0002f2f0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)

D/MALI ( 3609): #11 pc 0002c7d4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+188)

D/MALI ( 3609): #12 pc 00062ef9 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+340)

D/MALI ( 3609): #13 pc 00062f1d /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)

D/MALI ( 3609): #14 pc 000575c5 /system/lib/libdvm.so

D/MALI ( 3609): #15 pc 0000d600 /system/lib/libc.so (__thread_entry+72)

E/MALI ( 3609): _gles_set_error:90: [WARNING]Mali GLES errorcode: 500

D/MALI ( 3609): #00 pc 0000b747 /system/lib/libutils.so (android::CallStack::CallStack(char const*, int, int)+14)

D/MALI ( 3609): #01 pc 000ec5a7 /system/lib/libMali.so (MtkMali_DumpCallStack+14)

D/MALI ( 3609): #02 pc 00030140 /system/lib/libMali.so

D/MALI ( 3609): #03 pc 00014318 /system/lib/libMali.so (shim_glHint+80)

D/MALI ( 3609): #04 pc 0001e90c /system/lib/libdvm.so (dvmPlatformInvoke+112)

D/MALI ( 3609): #05 pc 0004fbbd /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+484)

D/MALI ( 3609): #06 pc 00027ce8 /system/lib/libdvm.so

D/MALI ( 3609): #07 pc 0002f2f0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)

D/MALI ( 3609): #08 pc 0002c7d4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+188)

D/MALI ( 3609): #09 pc 00062ef9 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+340)

D/MALI ( 3609): #10 pc 00062f1d /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)

D/MALI ( 3609): #11 pc 000575c5 /system/lib/libdvm.so

D/MALI ( 3609): #12 pc 0000d600 /system/lib/libc.so (__thread_entry+72)

W/MALI ( 3609): _gles_set_error:93: [WARNING]Mali GLES errorcode: 500

in stock rom the 2d test is good and also in other roms.

I tried to flash the latest original stock boot.img always with no success.

Do you have some suggestion to fix this annoying problem?

thanks

regards

Claudio

P.S. here a video of another device getting the same error: https://www.youtube.com/watch?v=2WGTkpxXxvA