[LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: [LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips? (/showthread.php?tid=35139)
- jefrey99 - 2010-03-23 21:47
Oh and yes all of the VPU / GPU drivers are released
- McGeagh - 2010-03-23 23:07
I am familiar with the SoC but didnt realise the GPU SDK was released. Interesting...
Anyways, yes I have come across that error before.
In the makefile, it sets the dir to look in the x86 dir, change that to look at the equivalent arm dir that exists in ffmpeg already. Note that libswscale does not have this equivalent dir for arm. For that lib, just omit those files as it can do without them.
Hope that helps.
Please check the arm-camelot branch for how I do it if you are stuck.
- McGeagh - 2010-03-24 12:19
Hmm, and you say the sgx demos run fine?
That log is telling me that it cant pick up the sgx drivers. GL vendor/renderer/version/extensions should not be blank. they arent blank for me and mines a beagleboard too.
What version of the SGX SDK are you testing with? What revision beagleboard are you working with?
Ive only tested with version 3.00.00.05, 6, 8 and 9... with 9 being the one im currently working on.
I briefly tested the later 3.01.00.02 but failed to get it working (hung on SDL Poll Event), but i didnt get those issues in my xbmc.log.
- djhalmy - 2010-03-24 13:55
I'm using the version 3.01.00.02 of the SGX SDK and the test and demos run perfectly. My beagleboard is the revision C4.
The reason to install the version 3.01.00.02 of the SGX SDK was that I 'm using the distro Angstrom whit an uImage for kernel 2.6.32. By the other hand from the angstrom distibution packages you only can download the later version of the libomap3 and for that I', using the version 3.01.00.02.
I don't use OpenEmbedded and for that I don't create packages ipk of SDK_3.00.00.09.bin. Do you Know any way to generate packages ipk without using OpenEmbedded? I had several problems trying to use it.
But I'm very interested in use the later 3.01.00.02 because this version is appropriate for my kernel 2.6.32.
Other thing, When you tested the version 3.01.00.02, what was your xbmc.log? what GL vendor/renderer/version/extensions did you obtain? In theory, GL vendor/renderer/version/extensions are asigned by glew.h.
Thanks for your free time
- McGeagh - 2010-03-25 12:30
there is no glew in OpenGL ES btw.
Im running on a C3 board, and using Ubuntu, not Angstrom. Perhaps thats a possibility why my first attempt at 3.01.00.02 didnt work... ill look into it later. (Im also using kernel version 2.6.29)
As for my log:
As im not using angstrom, i dont need to generate ipk files, so therefore dont know of alternatives to OE.
- djhalmy - 2010-03-25 14:13
Hi, what do you mean when you tell: there is no glew in OpenGL ES ? Do you refer to that instead of it uses glew.h uses gl2.h?
When I print GL vendor/renderer/version/extensions in RenderSystemGLES.cpp they are the same that gl2.h file ascribes but when it runs the function of gl2.h glGetString( GL vendor/renderer/version/extensions) it fails. I will try to investigate why.
- McGeagh - 2010-03-25 15:55
glew is the GL extension wrangler... for OpenGL
There is no glew equivalent for OpenGL ES.
You shouldnt be using glew.h anywhere.
Regardless of this, glGetString is a standard GL ES call, not glew, so talking about getting the vendor/version/etc has nothing to do with glew.
I am unsure why your glGetString calls fails, as mine hasnt ever failed. (By fail, i assume you mean it returns a blank string)
I refer to gl2extimg.h because it includes gl2ext.h, gl2platform.h and gl2.h (I may change this as gl2extimg.h is specific to the GPU)
It still seems to be pointing to an issue with the driver, and not xbmc's code.
Let me know how it goes.
Drivers for Ubuntu - vane.xbmc - 2010-03-25 18:01
Could you let me know how you install the SGX drivers on Ubuntu for BeagleBoard. I'm looking for the compiled ones, I don't want to compile them with OpenEmbedded. I suppose you need more than simply copy some archives from the SDK.
Also, I'm developing with Angstrom. In this case, I've installed the drivers with opkg. There are some pre-built ipk packages.
- McGeagh - 2010-03-26 12:11
(for older versions, just look in the wiki revision history, or elsewhere. its been well documented).
Drivers for Ubuntu - vane.xbmc - 2010-03-26 14:10
Ok, thank you, I've already seen this page, but I want not to compile the kernel and modules with these scripts:
I was looking for a compiled ones.