McGeagh Wrote:EGL is failing to get set up correctly. It cant create a surface...
Did you compile natively or crosscompiled?
natively
McGeagh Wrote:Since you are launching xbmc through a terminal, have you exported DISPLAY to be :0 ?
Yes
McGeagh Wrote:Can you test an example GLES app to see if it works?
This seems like a system issue, not XBMC
A strange thing has happened:
I was able to run this example:
./nvtest ./gles2_gears --Twinsys x11 -1
provided by tegra inside L4T (it displays the same as glxgears).
I was able to run it with and without X server running, but with X server the gears were much slower than without X server, so when XBMC seemed that it did't found GL, I suppossed X server was not able to use OpenGL and I thought module tegra_drv.so from /usr/lib/xorg/modules/drivers should be loaded and it was not being loading.
The strange thing is that NOW (after installing XBMC dependencies) ./nvtest ./gles2_gears --Twinsys x11 -1 give me this:
>>> EGL failed to create window surface! Exiting..
I am going to install the system again, but it will take me a few hours...