This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: Graphics Demos cannot works.

Genius 3186 points

Part Number: PROCESSOR-SDK-AM335X

Hi

I am testing AM335x SoC with TMDSSK3358 + Processor-SDK-Linux-AM335X 08.02.00.24.

And tried Graphics Demos.

However there are errors and Demos doesnot work.

How to run demos?

Error Log:

1.ChameleonMan

root@am335x-evm:/usr/bin/SGX/demos/DRM# ./OGLES2ChameleonMan
display failed to set mode: Permission denied
display failed to set mode: Permission denied
display failed to set mode: Permission denied
display failed to set mode: Permission denied
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glClear: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawArrays: Can't prepare to draw [0, ]
eglSwapBuffers failed
Segmentation fault (core dumped)

2. ExampleUI

root@am335x-evm:/usr/bin/SGX/demos/DRM# ./OGLES2ExampleUI
display failed to set mode: Permission denied
display failed to set mode: Permission denied
display failed to set mode: Permission denied
display failed to set mode: Permission denied
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glClear: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawArrays: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawArrays: Can't prepare to draw [0, ]
eglSwapBuffers failed
Segmentation fault (core dumped)

3.MagicLantern

root@am335x-evm:/usr/bin/SGX/demos/DRM# ./OGLES2MagicLantern
display failed to set mode: Permission denied
display failed to set mode: Permission denied
display failed to set mode: Permission denied
display failed to set mode: Permission denied
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glClear: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawElements: Can't prepare to draw [0, ]
PVRImageDrawableGetNativeInfo: Image get buffers call failed
PVR:(Error): KEGLGetDrawableParameters: Couldn't recreate drawable
 [0, ]
PVR:(Error): PrepareToDraw: Invalid drawable [0, ]
PVR:(Error): glDrawArrays: Can't prepare to draw [0, ]
eglSwapBuffers failed
Segmentation fault (core dumped)

Thanks,

GR