Jump to content


Photo

The state of Plex Media Center on Linux


  • Please log in to reply
53 replies to this topic

#21 jaaps

jaaps

    Dedicated Member

  • Members
  • PipPipPip
  • 188 posts

Posted 08 December 2011 - 02:58 PM

How long did the build take on your ion?


Didn't really measured the time. I went to do other things while it was compiling. But with an atom processor it takes a long time of course.
I'll compile a new version with the changes some time today and I'll record the time it takes.

Running PMS + PlexConnect on a headless Ubuntu server. Clients: Apple TV 3 and iPad.


#22 mtehonica

mtehonica

    Dedicated Member

  • Members
  • PipPipPip
  • 216 posts
  • Location: Syracuse, NY

Posted 08 December 2011 - 06:11 PM

Didn't really measured the time. I went to do other things while it was compiling. But with an atom processor it takes a long time of course.
I'll compile a new version with the changes some time today and I'll record the time it takes.


I haven't measured it but my ION with D525 processor definitely takes over an hour to build.

#23 jaaps

jaaps

    Dedicated Member

  • Members
  • PipPipPip
  • 188 posts

Posted 08 December 2011 - 07:22 PM

I've compiled the latest version from a clean directory.
This is the output from "time make -j2"

real 42m48.148s
user 79m43.415s
sys 4m51.546s

Running PMS + PlexConnect on a headless Ubuntu server. Clients: Apple TV 3 and iPad.


#24 gewalker

gewalker

    Member

  • Members
  • PipPip
  • 40 posts
  • Location: Herndon, VA

Posted 08 December 2011 - 07:38 PM

I've compiled the latest version from a clean directory.
This is the output from "time make -j2"

real 42m48.148s
user 79m43.415s
sys 4m51.546s


That's really quite good for an atom. How's the app run?

#25 Soli

Soli

    Dedicated Member

  • Members
  • PipPipPip
  • 247 posts

Posted 09 December 2011 - 05:44 PM

You're definitely going to have to build some libraries of your own on Hardy. The boost libs need to be at least 1.42 in order to support all of the functions used in the code. You can get the sources from the boost libraries site and should be able to build them yourself, though.

No idea what else you'll run into. Let us know!

Crystal HD, I can't speak to as I have no relevant hardware to test on. If someone wants to donate an ATV1, I'll be happy to look at building on it.

I asked Sam (from Crystalbuntu) to have a look at it, and he said yes.
I dont know if you know the reason to use Hardy on ATV, but it is because it works better according to some people. (although myself cant see why a newer kernel shouldnt work more or less the same) But the most important reason is that that the Nvidia driver that lets us use HDMI sound wont build on newer kernels. Since I believe you forked XBMC seperately from Plex OSx/Win, I also believe there is a chance that the BCM70015 works too.

#26 gewalker

gewalker

    Member

  • Members
  • PipPip
  • 40 posts
  • Location: Herndon, VA

Posted 09 December 2011 - 06:04 PM

I asked Sam (from Crystalbuntu) to have a look at it, and he said yes.
I dont know if you know the reason to use Hardy on ATV, but it is because it works better according to some people. (although myself cant see why a newer kernel shouldnt work more or less the same) But the most important reason is that that the Nvidia driver that lets us use HDMI sound wont build on newer kernels. Since I believe you forked XBMC seperately from Plex OSx/Win, I also believe there is a chance that the BCM70015 works too.


The plex-linux code is forked from the laika sources as of a month or so ago. I need to pull in the possible changes at some time soon.

#27 Berylium

Berylium

    Member

  • Members
  • PipPip
  • 20 posts

Posted 16 December 2011 - 01:01 AM

The plex-linux code is forked from the laika sources as of a month or so ago. I need to pull in the possible changes at some time soon.


Which means, unfortunately, that the BCM70015 will not work when the Linux code is brought up to speed with the current Laika code. Dashing any ATV1 hopes unless your ATV1 has a BCM70012 in it, something I've never seen amongst in the handful of people I know who run XBMC on their ATV1s. Could change in the future, though, so here's hoping.

-berylium

#28 daenney

daenney

    Member

  • Members
  • PipPip
  • 35 posts
  • Location: Netherlands

Posted 18 December 2011 - 12:06 PM

I have a small question because the topic is starting to confuse me. It's called the Plex Media Center for Linux but is often referred to as server and then sometimes as client.

What I basically want to know is, will this thing run headless? I just want it to be my library / media server without an actual GUI on it. My TV and Mac are the actual clients, not my main server.

#29 gewalker

gewalker

    Member

  • Members
  • PipPip
  • 40 posts
  • Location: Herndon, VA

Posted 18 December 2011 - 10:17 PM

I have a small question because the topic is starting to confuse me. It's called the Plex Media Center for Linux but is often referred to as server and then sometimes as client.

What I basically want to know is, will this thing run headless? I just want it to be my library / media server without an actual GUI on it. My TV and Mac are the actual clients, not my main server.


Daenny: It's a pretty common confusion. Starting with the new version, "Laika" the Plex Media Server and the Plex Media Center are separate packages. If you just want a headless server, go to plexapp.com and download the plex Media Server for linux. That'll work just fine. This thread is about building the Plex Media Center, the client application, on Linux (which is a new development). The Media Server (server) and Media Center (client) are completely separate and do not depend on one another.

#30 Soli

Soli

    Dedicated Member

  • Members
  • PipPipPip
  • 247 posts

Posted 19 December 2011 - 08:59 PM

Which means, unfortunately, that the BCM70015 will not work when the Linux code is brought up to speed with the current Laika code. Dashing any ATV1 hopes unless your ATV1 has a BCM70012 in it, something I've never seen amongst in the handful of people I know who run XBMC on their ATV1s. Could change in the future, though, so here's hoping.

-berylium

I always presumed Laika was forked from Dharma 10.1. Since Dharma supported the bcm70015, I figured that Laika lacking support for the BCM70015 was just a overseen setting or something similiar, rather than a real bug.

And just two days ago we go this confirmation: http://forums.plexap...post__p__223109

#31 Berylium

Berylium

    Member

  • Members
  • PipPip
  • 20 posts

Posted 19 December 2011 - 11:53 PM

I always presumed Laika was forked from Dharma 10.1. Since Dharma supported the bcm70015, I figured that Laika lacking support for the BCM70015 was just a overseen setting or something similiar, rather than a real bug.

And just two days ago we go this confirmation: http://forums.plexap...post__p__223109


Excellent news! Now to see if this thing will build on Hardy Heron on an ATV1…

#32 Thor263

Thor263

    Member

  • Members
  • PipPip
  • 28 posts
  • Location: Minneapolis, MN

Posted 20 December 2011 - 04:06 PM

Excellent news! Now to see if this thing will build on Hardy Heron on an ATV1…


Yes, I definitely was happy it was a simple change and I do hope that the compile option for the Crystal HD new api usage will be changed officially too. The other post Dharma changes for Crystal HD that I've looked at seem to be addressing specific situations that have cropped up and not the core functionality.

Looking forward to the Linux client too. :)

#33 daenney

daenney

    Member

  • Members
  • PipPip
  • 35 posts
  • Location: Netherlands

Posted 26 January 2012 - 11:35 AM

Daenny: It's a pretty common confusion. Starting with the new version, "Laika" the Plex Media Server and the Plex Media Center are separate packages. If you just want a headless server, go to plexapp.com and download the plex Media Server for linux. That'll work just fine. This thread is about building the Plex Media Center, the client application, on Linux (which is a new development). The Media Server (server) and Media Center (client) are completely separate and do not depend on one another.


Sorry for the late reply but thanks, makes the whole thing a lot clearer :).

#34 Wookiehk

Wookiehk

    Member

  • Members
  • PipPip
  • 23 posts

Posted 12 February 2012 - 04:13 AM

followed the instructions and built my own version on 11.10. Had to install a bunch of lib boost stuff, but otherwise no worries.

Build time on Amd 945 x4 about 15 minutes.

Now i will see if i can break it.


EDIT: Well that didint take long! The plex client cant play any media. PMS is on the same subnet, thus PMC can see the categories and the associted files and thumbs, but it cant play any of the media. Log file looks like this:

12:59:46 T:140598266799872 M: 0%    INFO: Plex Server Manager: Computed best server to be [diskstation-plex] (192.168.3.4:32400) with score 61.
12:59:46 T:140598266799872 M: 0%    INFO: SERVERS:
12:59:46 T:140598266799872 M: 0%    INFO:   * diskstation-plex [192.168.3.4:32400] local: 0 live: 1 (37df665a8435f6c7c553a7c04fe5762362c55df3) count: 2
12:59:48 T:140598275192576 M: 0%    INFO: Manual Server Scanner: About to manually test server 127.0.0.1 (deleted: 0)
12:59:48 T:140598275192576 M: 0%  NOTICE: PlexDirectory::GetDirectory(http://127.0.0.1:32400)
12:59:48 T:140597744031488 M: 0%   DEBUG: thread start, auto delete: 0
12:59:48 T:140597744031488 M: 0%   DEBUG: FileCurl::Open(0x7fdf963f9bd8) http://127.0.0.1:32400/
12:59:48 T:140597744031488 M: 0% WARNING: FillBuffer: curl failed with code 7
12:59:48 T:140597744031488 M: 0%   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
12:59:48 T:140597744031488 M: 0%   DEBUG: FileCurl::Close(0x7fdf963f9bd8) http://127.0.0.1:32400/
12:59:48 T:140597744031488 M: 0%   DEBUG: Thread 140597744031488 terminating
12:59:48 T:140598275192576 M: 0%    INFO: Manual Server Scanner: About to manually test server 192.168.3.4 (deleted: 0)
12:59:48 T:140598275192576 M: 0%  NOTICE: PlexDirectory::GetDirectory(http://192.168.3.4:32400)
12:59:48 T:140597744031488 M: 0%   DEBUG: thread start, auto delete: 0
12:59:48 T:140597744031488 M: 0%   DEBUG: FileCurl::Open(0x7fdf963f9bd8) http://192.168.3.4:32400/
12:59:48 T:140597744031488 M: 0%   DEBUG: FileCurl::Close(0x7fdf963f9bd8) http://192.168.3.4:32400/
12:59:48 T:140597744031488 M: 0%   DEBUG: Thread 140597744031488 terminating
12:59:48 T:140598275192576 M: 0%    INFO: Asked to check whether [192.168.3.4] is localhost => 0
12:59:58 T:140598275192576 M: 0%    INFO: Manual Server Scanner: About to manually test server 127.0.0.1 (deleted: 0)
12:59:58 T:140598275192576 M: 0%  NOTICE: PlexDirectory::GetDirectory(http://127.0.0.1:32400)
12:59:58 T:140597744031488 M: 0%   DEBUG: thread start, auto delete: 0
12:59:58 T:140597744031488 M: 0%   DEBUG: FileCurl::Open(0x7fdf963f9bd8) http://127.0.0.1:32400/
12:59:58 T:140597744031488 M: 0% WARNING: FillBuffer: curl failed with code 7
12:59:58 T:140597744031488 M: 0%   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
12:59:58 T:140597744031488 M: 0%   DEBUG: FileCurl::Close(0x7fdf963f9bd8) http://127.0.0.1:32400/
12:59:58 T:140597744031488 M: 0%   DEBUG: Thread 140597744031488 terminating
12:59:58 T:140598275192576 M: 0%    INFO: Manual Server Scanner: About to manually test server 192.168.3.4 (deleted: 0)
12:59:58 T:140598275192576 M: 0%  NOTICE: PlexDirectory::GetDirectory(http://192.168.3.4:32400)
12:59:58 T:140597744031488 M: 0%   DEBUG: thread start, auto delete: 0
12:59:58 T:140597744031488 M: 0%   DEBUG: FileCurl::Open(0x7fdf963f9bd8) http://192.168.3.4:32400/
12:59:58 T:140597744031488 M: 0%   DEBUG: FileCurl::Close(0x7fdf963f9bd8) http://192.168.3.4:32400/
12:59:58 T:140597744031488 M: 0%   DEBUG: Thread 140597744031488 terminating
12:59:58 T:140598275192576 M: 0%    INFO: Asked to check whether [192.168.3.4] is localhost => 0


PMS is on 192.168.3.4


Any ideas?

Norco 4224, 4 x 6 x 2TB ZFS z2. Dual Xeon.


#35 joypunk

joypunk

    Member

  • Members
  • PipPip
  • 15 posts

Posted 14 February 2012 - 08:35 PM

Didn't see this (more active) thread down here and posted up in the PMS Linux section... figured I'd add it down here now that I know about this thread.

Installing on Crunchbang 10 (based on Debian)

Followed your steps to get the source:

git clone git@github.com:gewalker/plex-linux.git
cd plex-linux
git submodule init
git submodule update

Next pulled in the libraries from the readme (for Ubuntu 11.04), substituting the two that were not in the Debian Stable repos (replaced libbost1.46-all-dev with libboost1.42-all-dev and libglew1.6-dev with libglew1.5-dev):

sudo apt-get install libboost1.42-all-dev libglew1.5-dev yasm gettext build-essential autoconf autopoint libtool libx11-dev libgl1-mesa-dev libxrender-dev portaudio19-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev libmad0-dev libsamplerate-dev libogg-dev libvorbis-dev libbz2-1.0 libbz2-dev libwavpack-dev libmpeg2-4-dev libfribidi-dev libsqlite3-dev libpng-dev libpcre3-dev libcdio-dev libmysqlclient-dev libmodplug-dev libfaad-dev libflac-dev libsmbclient-dev libsdl-mixer1.2-dev libxt-dev libxtst-dev libxmu-dev libxinerama-dev libcurl4-gnutls-dev libdbus-1-dev libhal-storage-dev libhal-dev libpulse-dev libavahi-common-dev libavahi-client-dev libxrandr-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev liba52-dev libdts-dev libfaad-dev libmpeg2-4-dev libass-dev libflac-dev libwavpack-dev python-dev gawk gperf nasm libbluetooth-dev zlib1g-dev libmms-dev libsmbclient-dev libtiff4-dev libiso9660-dev libssl-dev libmicrohttpd-dev libmodplug-dev libssh-dev libsdl-image1.2-dev cmake libmysqlclient-dev libsmbclient-dev libxrandr-dev mesa-utils liblzo2-dev libjasper-dev unzip zip

Then continued to follow the steps to configure and build Plex.

./bootstrap
./configure
make -j2
sudo make install

All done! No errors!

Everything works great, except, just like using PMC via Wine you cannot exit the program. Selecting "Quit" will cause the program to freeze and you have to use the backsession terminal (hold ctrl-alt-f4) to kill the processes. I can live with that, though.

#36 zAo

zAo

    Dedicated Member

  • Members
  • PipPipPip
  • 118 posts

Posted 21 February 2012 - 09:52 AM

I know that the current version is not even stable, but are there plans to run PMC on Wayland instead of Xorg? Since Wayland is lightweight and super speedy and; XBMC will soon be on Wayland too.

#37 Skippy

Skippy

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 22 March 2012 - 04:10 PM

Disregard...

#38 obumbratum

obumbratum

    Member

  • Members
  • PipPip
  • 10 posts

Posted 27 March 2012 - 10:34 PM

Didn't see this (more active) thread down here and posted up in the PMS Linux section... figured I'd add it down here now that I know about this thread.

Installing on Crunchbang 10 (based on Debian)

Followed your steps to get the source:

git clone git@github.com:gewalker/plex-linux.git
cd plex-linux
git submodule init
git submodule update



Next pulled in the libraries from the readme (for Ubuntu 11.04), substituting the two that were not in the Debian Stable repos (replaced libbost1.46-all-dev with libboost1.42-all-dev and libglew1.6-dev with libglew1.5-dev):

sudo apt-get install libboost1.42-all-dev libglew1.5-dev yasm gettext build-essential autoconf autopoint libtool libx11-dev libgl1-mesa-dev libxrender-dev portaudio19-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev libmad0-dev libsamplerate-dev libogg-dev libvorbis-dev libbz2-1.0 libbz2-dev libwavpack-dev libmpeg2-4-dev libfribidi-dev libsqlite3-dev libpng-dev libpcre3-dev libcdio-dev libmysqlclient-dev libmodplug-dev libfaad-dev libflac-dev libsmbclient-dev libsdl-mixer1.2-dev libxt-dev libxtst-dev libxmu-dev libxinerama-dev libcurl4-gnutls-dev libdbus-1-dev libhal-storage-dev libhal-dev libpulse-dev libavahi-common-dev libavahi-client-dev libxrandr-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev liba52-dev libdts-dev libfaad-dev libmpeg2-4-dev libass-dev libflac-dev libwavpack-dev python-dev gawk gperf nasm libbluetooth-dev zlib1g-dev libmms-dev libsmbclient-dev libtiff4-dev libiso9660-dev libssl-dev libmicrohttpd-dev libmodplug-dev libssh-dev libsdl-image1.2-dev cmake libmysqlclient-dev libsmbclient-dev libxrandr-dev mesa-utils liblzo2-dev libjasper-dev unzip zip



Then continued to follow the steps to configure and build Plex.

./bootstrap
./configure
make -j2
sudo make install



All done! No errors!

Everything works great, except, just like using PMC via Wine you cannot exit the program. Selecting "Quit" will cause the program to freeze and you have to use the backsession terminal (hold ctrl-alt-f4) to kill the processes. I can live with that, though.


w00p! I can attest that I have done exactly this and everything is working perfectly, *including* the 'Quit' function. Thanks for posting the needed mods. :D

#39 dcplaya

dcplaya

    Member

  • Members
  • PipPip
  • 68 posts

Posted 29 March 2012 - 01:56 PM

Any update on how this is running on Ubuntu Hardy and the Apple TV with a HD card addon? I just bought one and XBMC with the PleXBMC addon is ok but not as good as I want it to be

#40 chiliblue

chiliblue

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 03 April 2012 - 10:18 PM

Hi,

Had a go at compiling this today and all goes just fine...until I 'sudo make install'

Copying XBMC binary to /usr/local/lib/xbmc/xbmc.bin

install: cannot stat `xbmc.bin': No such file or directory
make: *** [install-binaries] Error 1

I can't argue with it there doesn't appear to be a xbmc.bin

I imagine I am missing something pretty basic, any ideas

Chiliblue




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users