Raspberry Pi

Update:



I got cmake to 23%, then crashed on a windowing related bug. I was expecting this, and it comes down to defining the right includes in CMake (which involves reverse engineering the xbmc build process).



My specific error is





GUIInfoManager.cpp

:2247:15: error: ‘g_Windowing’ was not declared in this scope





I suspect that solving this problem will lead to either a finished build, or at least much further into the cmake process ( 50, 70% maybe), since the videocore compatibility is the main issue with the port.



I’ll be spending all day tomorrow on this, and expect i’ll end up using a good number temporary dirty hacks to get around it… hopefully they’ll manifest into useable patches :wink:

Fixed that problem, I got it up to 60% today and ran into an error that caused me to have to restart. It may very well finish… we’ll see :wink:



Even if it does finish, the best I can hope for is a running GUI right now, since I am not even trying to link OMXPlayer. Though, my experience with pyplex should make this pretty easy when the time comes to get the payload delivered :wink:




Hey Dale,

Great to hear that it is coming along, im sure a lot of people are really excited and waiting to hear how you go. I know i am.



I Got the build to 100% done, but it failed in linking. I screwed up some GLES2 stuff, but am patching it now. It is quite likely that I will have this fixed by tomorrow... I'm very hopeful that I'll have a running GUI within 24 hours.

God i need some sleep...


I have been following your progress and you are doing great work! I can't wait till you get this going as it will make tons of people happy! I know I'll be happy to be able to run plex directly on my RPi!


To be honest - there'll be thousands of happy poeple ;-)


GREAT NEWS!


It tries to link OpenGL instead of OpenGLESv2... can't figure out why. So damn close.

I'm throwing every hack i can think of at it.


You my friend are a legend. I'm with everyone else, excited to see what comes of this. Finally I might have a Plex solution for my bedroom that doesn't include making a shelf for a mac mini or putting new holes in my walls for cabling.

:)

I ordered my Pi this week, and i am a plex fan.



I must admit that the idea of having a nice pi client for plex would be really awesome.

I’ll definitely be keeping an eye on you progress man ! :stuck_out_tongue:

oops - Double post :slight_smile:



I think the Plex people have done some mods to the XBMC OpenGL code, they might also have listed OpenGL as a manual link target (I wouldnt be surprised at all).

Do you have your build environment / modified code posted anywhere? I'd love to get a look at it, I spent a few days trying this myself (And got nowhere as close as you have0


https://github.com/dalehamel/plex-home-theatre

https://github.com/dalehamel/PlexOverlay

The main thing to look at is plex/CMakeModules/CMakeConfigRpi.cmake

Back in December (December 24th, 2012 9:59 am to be precise), Elan hinted in the comments of THIS that a Raspberry Pi Plex Client might be in development.



Here is the comment…



Has anyone heard anything further from him regarding this?


:huh:

http://xbmc.org/natethomas/2013/01/29/xbmc-12-0-frodo/



Support for the Raspberry PI



Does this help you in any way Dale?




I've been talking with him and he's very pleased with my progress : )

Well everyone, I DID IT!!!



I got it building and linking today completely!!



A few caveats:


  • It is unuseably slow right now - all the fan art uses way too much CPU. We’ll need to strip out a lot of this fluff to get it to perform
  • It doesn’t actually play video, because I haven’t built OMXPlayer yet. That won’t be too hard though, it just doesn’t make sense to do it until the gui is faster.



    Using dirty redraw method 3 with 0 ms seems to be the best performance wise. I’ll need to patch the mediastream skin to stop being such a CPU whore.



    I’m going to take a break for a few days, I really need some sleep. Like, badly. And a shower. And some food.

That is awesome :slight_smile:

Champion!



Hey!

Guess what - it sure does need it! I have got it building and running, but the display gets really choppy when loading all of the thumbs. If you still want to help, I'll help get you set up with a build.