Plex Media Center Linux Build Reports

I used these PPAs to install on Ubuntu 13.10

ppa:plexapp/plexht

ppa:jon-severinsson/ffmpeg

ppa:nathan-renniewaldock/xbmc-build-deps

Nice !

Is anyone here having issues with the Sleep / shutdown menu not working under ubuntu 13.10 ?

seems quit will work, but Shutdown will do quit, and sleep will do nothing ...

Hey guys,

Discovered Plex a few days ago via my Synology NAS (DS413) and seeing how awesome it was I realized I could finally move away from XBMC+MySQL, provided there was a linux client, and there was indeed!

I wrote a PKGBUILD (build script for Arch Linux) and submitted it to the AUR over here: https://aur.archlinux.org/packages/plex-home-theater/

I also provide builds on my unofficial repo over here: http://pkgbuild.com/~alucryd/alucryd/

And I will soon set up nightly builds of plex-home-theater-git and serve packages on the same repo.

PHT seems to work like a charm on Arch (haven't tried sleep and shutdown though, I don't need them since I don't use it standalone). Now there are a couple of (hopefully helpful) things I'd like to report:

  • If you take a look at the script, you'll see that I don't put everything in /opt, this is usually considered very bad practice in Arch Linux, all the more for packages that can reside in /usr with a few changes.
  • So I've moved /usr/share/XBMC to /usr/share/plexhometheater, I know PHT is based on XBMC, but it makes more sense to me to do this, plus it does not conflict with XBMC itself.
  • I've also moved /usr/bin/system to /usr/lib/plexhometheater/system, libs in /usr/bin is awful, they belong in /usr/lib (I've created a symlink for now since their path is harcoded, a custom ldconfig conf file won't do). FYI, our xbmc package provides them in /usr/lib/xbmc/system.
  • Here is the report from namcap, our package checking tool: http://pastebin.com/XmkS9xHv ; You'll notice some ffmpeg libs have the executable stack set which may not be intended. Also, it seems the ffmpeg libs prior being renamed are still referenced in the binary, which is most likely not intended as well.
  • I tried to build PHT with our ffmpeg  but to no avail, we have 2.1 in our repos atm (FYI, XBMC Gotham alpha9 builds and runs fine with it). Please find the relevant build log part here: http://pastebin.com/j4pCzSZa

And that is all, no lib incompatibility afaict apart from ffmpeg, and I'm sure I could package external cpluff and cximage/imagelib from source. Though I don't believe CMake looks for those particular external libs atm. Anyway, thx for your time and for the linux support!

Edit: Forgot to mention that if the above issues are solved and the package reaches 10 votes in the AUR, I will be able to provide builds in our official repos instead of the currently unofficial one. Please note that getting pht to play nice with ffmpeg 2.1 is secondary, I can ship a custom ffmpeg like I do now (and like it's done in our xbmc package too).

Wow, releases are going quickly now.  I haven't even installed 1.0.2, 1.0.4 is already here.  What an amazing work.  Believe it or not, I didn't even know that PHT for Linux is not officially supported.  Way to go, community, thanks to all working so hard to make this work.

Wow, releases are going quickly now. I haven't even installed 1.0.2, 1.0.4 is already here. What an amazing work. Believe it or not, I didn't even know that PHT for Linux is not officially supported. Way to go, community, thanks to all working so hard to make this work.


PHT for Linux is supported, there just isn't official builds, only community ones. See this thread for Linux community builds: https://forums.plexapp.com/index.php/topic/87253-linux-builds/#entry505687 All through the development of PHT Linux bugs have been addressed just as much as Mac/Windows bugs.


- Mark

After installing newest libcec from here

https://launchpad.net/~nathan-renniewaldock/+archive/xbmc-build-deps/+build/4540266

I got Plex Home Theater up and running.  I am having a problem with the displays though. When I open PHT in fullscreen screen #1 it defaults to the VGA monitor and blanks out my TV. I have set the Phillips TV as the primary monitor but this does nothing after opening plex. I unplugged the VGA monitor and PTH works fine on the TV even in fullscreen mode.  

I can the display back on the settings but they usually end up stacked on top of each other so that I can't really use either one of them. I assume it has something to do with the display driver but I was wondering if anyone else has had a similar problem or fixes for it. 

Setup:

Nvidia GeForce 640 

-1 monitor in the VGA port

-1 Phillips tv in HDMI

Any help would be appreciated. 

Not much you can do about this apart from running one X server per screen (multihead setup) and launching plex on the second one. You can also export SDL_VIDEO_FULLSCREEN_HEAD=1, that way plex will launch on your secondary screen (which is your TV), but you won't be able to interact with your main screen.

BTW, there's a new typo introduced in a recent commit: 'client/PlexServer.h' should be 'Client/PlexServer.h' in 'plex/Client/PlexTranscoderClient.cpp'.

BTW, there's a new typo introduced in a recent commit: 'client/PlexServer.h' should be 'Client/PlexServer.h' in 'plex/Client/PlexTranscoderClient.cpp'.


Its already fixed and has been pushed to the public repo.


- Mark

Its already fixed and has been pushed to the public repo.


- Mark

Nice, thx for the quick fix!

Hello,

I have tried to get PHT running on my old old laptop. I followed the easy guide since I'm running Xubuntu and added the repo's and then installed. That had no problem.

When I go to launch PHT I cannot get it to launch. The first time I try (replicated by removing .plexht directory) I get the splash screen for a few moments and then it crashes back to the desktop. Future launches do not appear to do anything. When accessing over ssh (exporting the display to :0.0) I run plexhometheater.sh at which point I receive a "Segmentation fault (core dumped)" and I get this log at "~/.plexht/temp/plexhometheater.log" http://paste.ubuntu.com/6719018/

I do not see anything in the plexhometheater.log that looks to be a problem.

Any suggestions would be appreciated!

FRITZ|FRITZ

Below is system specific information that may be useful for debugging:

optimus@prime:~$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 9
model name	: Intel(R) Pentium(R) M processor 1600MHz
stepping	: 5
microcode	: 0x7
cpu MHz		: 1600.000
cache size	: 1024 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: pae fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 tm pbe bts est tm2
bogomips	: 3197.08
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 32 bits virtual
power management:

optimus@prime:~$ uname -a
Linux prime 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:25:33 UTC 2013 i686 i686 i686 GNU/Linux

optimus@prime:~$ sudo lshw -c video
[sudo] password for optimus: 
  *-display               
       description: VGA compatible controller
       product: RV250/M9 GL [Mobility FireGL 9000/Radeon 9000]
       vendor: Advanced Micro Devices [AMD] nee ATI
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 01
       width: 32 bits
       clock: 66MHz
       capabilities: agp agp-2.0 pm vga_controller bus_master vga_palette cap_list rom
       configuration: driver=radeon latency=32 mingnt=8
       resources: irq:11 memory:e8000000-efffffff ioport:c000(size=256) memory:fcff0000-fcffffff memory:fc000000-fc01ffff

Of possible importance is that I can successfully run PleXBMC on frodo v12.3 and the gotham builds I have tested have ran but had other issues so i rolled back. I have also tried pure OPENELEC and have run into a pretty much similar issue to the one i'm facing with PHT. I had to use a nightly build to get OE to even boot (ironically because it added more generic support for old ATI graphics cards) to a splash screen but that is as far as I got... an infinite loop of it launching and crashing...

Also upon initially launching PHT I checked and did see it register as a player via the iOS app before it crashed. It would be nice if the iOS plex app didn't exclude my PleXBMC setup from the possible players which is one of the reasons why i'm looking to switch to a pure plex solution.

Setup and running Plex Media Center.

Issues - Had to disable all DTS sound options in order for sound to play.

Computer - Toshiba Qosmio AV-650 laptop

OS - Ubuntu 14.04LTS 32-bit

CPU - Intel T2500 2.0GHz

RAM - 4 GB (using 3.2)