SDK版本:ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install
SGX版本:Graphics_SDK_setuplinux_4_09_00_01_hardfp_minimal_demos
SGX编译命令:make CROSS_COMPILE=arm-linux-gnueabihf- BUILD=debug OMAPES=8.x FBDEV=yes PM_RUNTIME=1 all
执行rc.pvr start,正常,执行应用程序 EGL初始化出错,log如下,请帮忙看看是什么原因:
root@am335x-evm:/opt/gfxsdkdemos/ogles# ./OGLESEvilSkullCan't open keypad input device (/dev/input/event0)
Can't open remote control input device (/dev/ttyS1)
PVR: Hint: Setting WindowSystem to libpvrPVR2D_FRONTWSEGL.so
PVR:(Error): PVRSRVMetricsTimeNow: using (potentially) low resolution timer [95, /pvr_metrics.c]
PVR:PVR: Memory Stats
PVR: ————
PVR:PVR: High Water Mark = 4144 bytes
PVR:PVR: 4144 bytes still allocated in 1 allocations
PVR:PVR: 1 – 4144 bytes at 0xeb5b0 – eurasiacon/imgegl/tls.c:32
PVR:PVR:(Warning): PVR2DEnumerateDevices: display device name too long, truncating [142, /pvr2dinit.c]
PVR:PVR: Memory Stats
PVR: ————
PVR:PVR: High Water Mark = 4144 bytes
PVR:PVR: 4144 bytes still allocated in 1 allocations
PVR:PVR: 1 – 4144 bytes at 0xeb5b0 – eurasiacon/imgegl/tls.c:32
PVR:PVR:(Error): ConvertPVRSRVPixelFormatToPVR2D: Invalid format 0 [64, /pvr2dmode.c]
PVR:(Error): PVR2DGetDeviceInfo: Invalid primary pixel format [155, /pvr2dmode.c]
PVR:PVR: Memory Stats
PVR: ————
PVR:PVR: High Water Mark = 4144 bytes
PVR:PVR: 4144 bytes still allocated in 1 allocations
PVR:PVR: 1 – 4144 bytes at 0xeb5b0 – eurasiacon/imgegl/tls.c:32
PVR:PVR:(Warning): HW Recovery stats: Host: 0 uKernel: 0 [130, /sgxrender_context.c]
PVR:PVR: Memory Stats
PVR: ————
PVR:PVR: High Water Mark = 4144 bytes
PVR:PVR: 4144 bytes still allocated in 1 allocations
PVR:PVR: 1 – 4144 bytes at 0xeb5b0 – eurasiacon/imgegl/tls.c:32
PVR:Exit message has been set to: "PVRShell: Unable to initialise EGL
".
PVRShell: EGL Error (EGL_NOT_INITIALIZED)
InitAPI failed!
PVRShell: Unable to initialise EGL
root@am335x-evm:/opt/gfxsdkdemos/ogles#
谢谢!
Shine:
请问用的是AM335x哪款器件?是自己的板子吗?
是否有参考过下面的user guide?http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide
wolf war:
回复 Shine:
你好,是自己的板子, 参照Starter Kit画的