cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

chenmo
Adept I

glDrawElements caused null reference in libMaliEmulator.dll

Hi guys, I am integrating Mali ES Emulator into UE4. After some modification it can run, but caused a null reference. Here is the stack:

->nvoglv64.dll!000000005116a090() Unknown
   nvoglv64.dll!00000000508d7fcc() Unknown
   opengl32.dll!00007ff873ab35ba() Unknown
   libMaliEmulator.dll!00007ff81fd93811() Unknown
   libMaliEmulator.dll!00007ff81fcde960() Unknown
   libMaliEmulator.dll!00007ff81fe14fad() Unknown
   libMaliEmulator.dll!00007ff81fe17cc5() Unknown
   libMaliEmulator.dll!00007ff81fe10c43() Unknown
   libMaliEmulator.dll!00007ff81fd45ba8() Unknown

->UE4Editor-OpenGLDrv-Win64-Debug.dll!FOpenGLDynamicRHI::RHIDrawIndexedPrimitive(FRHIIndexBuffer * IndexBufferRHI, unsigned int PrimitiveType, int BaseVertexIndex, unsigned int FirstInstance, unsigned int NumVertices, unsigned int StartIndex, unsigned int NumPrimitives, unsigned int NumInstances) Line 2885 C++

I have nether the debugable version .dll nor the source code of libMaliEmulator.dll, I don't know what happend in the dll  and how to slove it directly.

What's the possible reason of this issue? 

Thanks in advance.

0 Likes
3 Replies
chenmo
Adept I

Could I got a debugable .dll for developing? If so it could make my developing easier and faster I think. : )

0 Likes

Sorry, we are not allowed to provide such a dll file to our user.

We can discuss the related issue here, if you think it's a driver bug, just post the minimal code which can reproduce here, our engineer will solve your problems. 

Thanks very much!

0 Likes
chenmo
Adept I

After I have spent some time for debugging, I noticed that the compiler print some log info, e.g. 

[2020.01.14-12.46.19:333][ 0]LogRHI: Warning: [API][Error][Notification][8739] GLES: (gles::_after_gl_shader_source_call 55) ERROR LOG MALI:
=====

====

but without a compile error when glCompileShader is called.How to turn the log info on insted of "===="?

0 Likes