Posts: 178
Joined: Oct 2008
Reputation:
0
McGeagh
Team-XBMC ARM Developer
Posts: 178
well theres your problem....
"ERROR: EGL Error: Could not create surface"
EGL is failing to get set up correctly. It cant create a surface...
Did you compile natively or crosscompiled?
Since you are launching xbmc through a terminal, have you exported DISPLAY to be :0 ?
Can you test an example GLES app to see if it works?
This seems like a system issue, not XBMC
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
you might try trunk, tg2 code was merged in and issues fixed recently.
Posts: 70
Joined: Feb 2010
Reputation:
0
I have not been able to compile trunk on Tegra yet but I have compiled Dharma with PVR from dushmaniac and I noticed that addons/library.xbmc.addon/libXBMC_addon.h needs to include a define for ARMEL (if I am not wrong) to load the suitable library:
#define ADDON_DLL "/library.xbmc.addon/libXBMC_addon-arm.so
Also in addons/library.xbmc.pvr/libXBMC_pvr.h:
#define PVR_HELPER_DLL "/library.xbmc.pvr/libXBMC_pvr-arm.so"
and in: addons/library.xbmc.gui/libXBMC_gui.h
#define GUI_HELPER_DLL "/library.xbmc.gui/libXBMC_gui-arm.so"
Furthermore, could someone explain me what is the branch "staging" at opdenkamp repository or the diferences with master? I suppose Dharma branch contains a version more stable than master but I don't kno w about staging.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
staging is diffs staged for inclusion in mainline...
Posts: 11
Joined: Mar 2011
Reputation:
0
hfkou
Junior Member
Posts: 11
2011-03-10, 03:37
(This post was last modified: 2011-03-10, 10:39 by hfkou.)
above issue is solved, 2 more issues:
1. Try to play a 1080p .mov format video (ISO Media, Apple QuickTime movie), it goes very slow, but the same file plays well using "./omxplayer2 -i". Try another .avi format video (RIFF little-endian data, AVI, 854 x 480, ~30 fps, video: DivX 5, audio: MPEG-1 Layer 3, stereo, 44100 Hz), it goes better/smoothly. Sound works for both cases. Any suggestions about how to improve the performance for xbmc on tegra 250 kit? and why xbmc is much slower than omxplayer2?
2. Using the default Confluence skin and install addons for video, music, picture .... then back to the top level, check addons - enabled, but nothing happen once click(or press enter) on any of the new installed addon, here is the logging:
00:33:25 T:1106283952 M:830693376 INFO: initializing python engine.
00:33:25 T:1106283952 M:830693376 DEBUG: Loading: /usr/local/share/xbmc/system/python/python26-arm.so
00:33:25 T:1106283952 M:830693376 ERROR: Unable to load /usr/local/share/xbmc/system/python/python26-arm.so, reason: /usr/local/share/xbmc/system/python/python26-arm.so: cannot open shared object file: No such file or directory
00:33:25 T:1106283952 M:830693376 FATAL: Python: error loading python24.dll
00:33:28 T:1106283952 M:830312448 INFO: initializing python engine.
00:33:28 T:1106283952 M:830312448 DEBUG: Loading: /usr/local/share/xbmc/system/python/python26-arm.so
00:33:28 T:1106283952 M:830312448 ERROR: Unable to load /usr/local/share/xbmc/system/python/python26-arm.so, reason: /usr/local/share/xbmc/system/python/python26-arm.so: cannot open shared object file: No such file or directory
00:33:28 T:1106283952 M:830312448 FATAL: Python: error loading python24.dll
00:33:30 T:1106283952 M:830013440 INFO: initializing python engine.
00:33:30 T:1106283952 M:830013440 DEBUG: Loading: /usr/local/share/xbmc/system/python/python26-arm.so
00:33:30 T:1106283952 M:830013440 ERROR: Unable to load /usr/local/share/xbmc/system/python/python26-arm.so, reason: /usr/local/share/xbmc/system/python/python26-arm.so: cannot open shared object file: No such file or directory
00:33:30 T:1106283952 M:830013440 FATAL: Python: error loading python24.dll
00:33:31 T:1106283952 M:829767680 INFO: initializing python engine.
00:33:31 T:1106283952 M:829767680 DEBUG: Loading: /usr/local/share/xbmc/system/python/python26-arm.so
00:33:31 T:1106283952 M:829767680 ERROR: Unable to load /usr/local/share/xbmc/system/python/python26-arm.so, reason: /usr/local/share/xbmc/system/python/python26-arm.so: cannot open shared object file: No such file or directory
00:33:31 T:1106283952 M:829767680 FATAL: Python: error loading python24.dll
00:33:32 T:1106283952 M:829952000 INFO: initializing python engine.
00:33:32 T:1106283952 M:829952000 DEBUG: Loading: /usr/local/share/xbmc/system/python/python26-arm.so
00:33:32 T:1106283952 M:829952000 ERROR: Unable to load /usr/local/share/xbmc/system/python/python26-arm.so, reason: /usr/local/share/xbmc/system/python/python26-arm.so: cannot open shared object file: No such file or directory
00:33:32 T:1106283952 M:829952000 FATAL: Python: error loading python24.dll
00:33:34 T:1106283952 M:829890560 INFO: initializing python engine.
00:33:34 T:1106283952 M:829890560 DEBUG: Loading: /usr/local/share/xbmc/system/python/python26-arm.so
00:33:34 T:1106283952 M:829890560 ERROR: Unable to load /usr/local/share/xbmc/system/python/python26-arm.so, reason: /usr/local/share/xbmc/system/python/python26-arm.so: cannot open shared object file: No such file or directory
00:33:34 T:1106283952 M:829890560 FATAL: Python: error loading python24.dll
Posts: 178
Joined: Oct 2008
Reputation:
0
McGeagh
Team-XBMC ARM Developer
Posts: 178
thats most likely because python and arm dont like each other. We are, slowly, working to fix this.
Posts: 6
Joined: May 2010
Reputation:
0
The xbmc-tegra2 branch had been merged back to xbmc master and should compile fine. Dharma does not have the latest OMX patches which are required to get full hardware acceleration and thus does not really support tegra2.
For optimal performance you should use the following configure call
./configure --enable-gles --enable-tegra --enable-openmax --enable-external-python --disable-pulse
Once you've installed xbmc you should run xbmc.bin directly from the binary directory. Otherwise you'll get an X11 error.
Posts: 11
Joined: Mar 2011
Reputation:
0
hfkou
Junior Member
Posts: 11
2011-03-21, 22:27
(This post was last modified: 2011-03-22, 00:05 by hfkou.)
download code through "git clone git://github.com/xbmc/xbmc.git", then "git pull" and build it, so far it always fail at the "make" step, the last error message on 3/19 is "cores/VideoRenderers/RenderManager.h:119: error: âCOpenMaxâ has not been declared".
also tried Phaeodaria's xbmc-tegra2 branch and get:
xbmc/cores/VideoRenderers/VideoRenderer.a(OverlayRenderer.o): In function OVERLAY::CRenderer::Convert(CDVDOverlay*, double)': /home/ubuntu/xbmc/xbmc-tegra2/xbmc/cores/VideoRenderers/OverlayRenderer.cpp:296: undefined reference to OVERLAY::COverlayGlyphGL::COverlayGlyphGL(CDVDOverlaySSA, double)' /home/ubuntu/xbmc/xbmc-tegra2
So, the latest xbmc(after 10.0) on Tegr2 is still not reaching the ok-to-compile stage yet(?)