How To - Installing Plex on Ubuntu 12.10 64bit




Thanks a ton! Works great on my 64bit install. I would love this for 32bit... I would love to try it on my tablet with 32bit xubuntu install.


--



Hey, sorry for the late reply.

The gfx is an Intel GMA X3100 in a T61-7659 14" laptop. The thing is pretty much stock except for a wireless upgrade and a ram upgrade.
I've since done a full reinstall of Debian Wheezy 64 and it still does it. I'll look into a different video driver from the stock one, but I was under the impression that Intel was very linux friendly.


I added this line in 12.10 32bit and didn't work

Plex works flawlessly but video playback doesn't work. It says Please Wait...then that disappears and nothing happens, FYI

Thanks for the detailed step-by-step guide. I’ve successfully built PMC on two 12.04 LTS 64-bit systems now. It works flawlessly on one and the other has no audio. I had to change two things in your process for 12.04 64-bit:





For 12.04 LTS:




Change libboost1.49-all-dev to libboost-all-dev

**For 12.04 LTS:**



Change /usr/lib/x86_64-linux-gnu/libfaad.so to /usr/lib/libfaad.so

The box with the broken audio is an Intel ATOM w/ NVIDIA ION GPU. I use it as a MythTV frontend. Audio is through HDMI. When I run pmc, I get a message "there is no soundcard". Any guidance as to where I should start looking to fix this?

Thanks again.

bpeabody, for your ION box (same as me), are you using the full 12.04 version or the minimal in dedicated mode? if it’s minimal, I,ve been trying to get it working without succes, can you tell me what are the missing steps (compared to the first post) to make it work and boot directly in Plex?



Thank you!




claudius139, I’m running the mythbuntu 12.04 distro on my ION box. It’s a stripped down distro based on Ubuntu with myth already included. The only changes I had to make to kejar original instruction were the two previously mentioned. Like I said, I don’t have the audio working yet, but everything else is working fine.



I got the HDMI sound to work on my Intel Atom/Nvidia GPU. I created a .asoundrc file in my home directory and set the default pcm device to hdmi. Relaunched Plex and presto, sound over hdmi.

Step-by-step:

Create .asoundrc in the home directory of the user that will run Plex Media Client (pmc). In this file, you'll tell ALSA (linux sound driver) what device to use as the default sound device. In my case, my hdmi device is 'hdmi:NVidia'.


cd ~<br />
echo 'pcm.!default hdmi:NVidia' > .asoundrc



Your hdmi device may be called something else. You can find it's name by using aplay -L


aplay -L<br />
null<br />
    Discard all samples (playback) or generate zero samples (capture)<br />
pulse<br />
    PulseAudio Sound Server<br />
sysdefault:CARD=NVidia<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    Default Audio Device<br />
front:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    Front speakers<br />
surround40:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    4.0 Surround output to Front and Rear speakers<br />
surround41:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    4.1 Surround output to Front, Rear and Subwoofer speakers<br />
surround50:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    5.0 Surround output to Front, Center and Rear speakers<br />
surround51:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers<br />
surround71:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers<br />
hdmi:CARD=NVidia,DEV=0<br />
    HDA NVidia, HDMI 0<br />
    HDMI Audio Output<br />
dmix:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    Direct sample mixing device<br />
dmix:CARD=NVidia,DEV=3<br />
    HDA NVidia, HDMI 0<br />
    Direct sample mixing device<br />
dsnoop:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    Direct sample snooping device<br />
dsnoop:CARD=NVidia,DEV=3<br />
    HDA NVidia, HDMI 0<br />
    Direct sample snooping device<br />
hw:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    Direct hardware device without any conversions<br />
hw:CARD=NVidia,DEV=3<br />
    HDA NVidia, HDMI 0<br />
    Direct hardware device without any conversions<br />
plughw:CARD=NVidia,DEV=0<br />
    HDA NVidia, ALC662 rev1 Analog<br />
    Hardware device with all software conversions<br />
plughw:CARD=NVidia,DEV=3<br />
    HDA NVidia, HDMI 0<br />
    Hardware device with all software conversions<br />




Plex client is working great on this lightweight machine. Intel Atom w/ NVidia ION GPU running Mythbuntu 12.04 64-bit distro.

After all the installation how its the management of the files? do he steam the content true network or read the files directly?



Just wanted to note I'm also very interested in this...would be great to have a streamlined build that can be easily installed on my Nvidia ION / Atom box (Acer Aspire Revo 1600)


I would be extremely interested in something like this.


Just wanted to see if you ever got it working on 32-bit Ubuntu and what steps you took to make it happen. I have an 32-bit Atom box so I'm out of luck trying any of these 64-bit build reports.

So it turns out the box I have (Acer Aspire Revo R1600) is actually 64-bit (Atom 230 1.6Ghz) so I was able to get everything working successfully with the help of this thread. Thanks for everyones tips!



P.S for anyone wanting to start plex on startup, follow 8.1 Step 5a here:



http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU



except in the final step, modify




to:


Also, if anyone experiences any problem with jumpiness/glitchiness with HD videos, allowing plex to run completely without a GUI in the background taking up resources completely solved that issue.

Awesome guide, worked fine for me on x86 Xubuntu 12.10 with the one semi-obvious tweak of



export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libbz2.so:/usr/lib/libfaad.so"


to

export LD_PRELOAD="/usr/lib/i386-linux-gnu/libbz2.so:/usr/lib/i386-linux-gnu/libfaad.so"



Ok the second part took some digging, but still not bad :)

One question, I'm also having an issue with random green dots in the playback. Sorta like the chroma key being green and it shows through here and there. If I use youtube in chrome, or FireFox, I don't see this behavior. I haven't tried installing VLC or anything else that might use different codecs.

Anyone have suggestions? I'm not that great with Linux, so good directions are appreciated :)

I'm running this on a Dell laptop that has Mobile GM965/GL960 graphics. If I run lshw or other utilities, my driver shows up as "i915." I did some reading and thought it should be "intel" but I can't seem to find anything to change which driver is loaded. I did try adding "nomodeset" to my grub file for boot options, but this caused a blank screen after boot and I had to use terminal session to revert the changes.

--Edit
Seemed lazy of me to not test this out. I installed VLC and used a flash drive to test out a random video file. If I play the video through plex, I get the green spekled dots (not bad, but enough to be irritating). However, if I play the video through VLC then there are no dots. I guess this means my drivers are (somewhat?) ok, and it's just something about the codecs that plex is using.

That sound true?

The Intel GMA drivers have always had issues, they even did/do the green speccling in Windows every once in a while.



Th reason it’s OK through VLC etc is because there is probably a work around using the raw frame buffer.



Just have a google for corruption intel gma drivers ubuntu to see what I mean, some build have graphics issues even on the desktop.



I’ve not used GMA drivers for a good while now, so don’t know the state of them nowadays, have a look about, there’s open source versions of some drivers for some cards that were meant to be better, or just get a cheap ATI/nVidia

My client almost runs flawlessly, but I have been running to a slight issue. When I use the client, I run into constant buffering of the media. Since this is nearly every 30 seconds or so, this as been somewhat painful. I started doing troubleshooting, because I knew there must have been an issue with the interface. After banging my head many times, I happened to use the web interface to watch the media and had not a single stop or buffer issue. So what do I need to do so that I am not having buffering issue. I am wondering if I am having a QoS issue since I do have a lot of rules in place for QoS. When the client is running, does it communicate through port 32400? If so, maybe I just need to either exempt or raise the priority to premium. Of course, while this would work for a single host, I need to see what I can do to make all of the clients work quickly.

Just a heads up: I got this to work on Ubuntu 12.10 32bit by adding this line



export LD_PRELOAD="/usr/lib/i386-linux-gnu/libbz2.so:/usr/lib/i386-linux-gnu/libfaad.so"



where the guide says to put this line


export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libbz2.so:/usr/lib/x86_64-linux-gnu/libfaad.so"



Thanks so much for the guide! This is great.

I was running through in 13.04 x64 and hit the following.  Any ideas? 

make[1]: Leaving directory `/home/tommy/plex-linux/xbmc'
tommy@Ubuntu:~/plex-linux$ 
tommy@Ubuntu:~/plex-linux$ 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

Hi guys,

i just get my HP microserver n54l with an ATI6450 graphic and would like to install plex on an usb drive. But unfortunately i don´t have any linux skills. Is anybody going to help me with it? Maybe i could open up a ssh connection for you? Would be awesome. Who wants to help pls send me a pm. Thank you.

I was running through in 13.04 x64 and hit the following.  Any ideas? 

make[1]: Leaving directory `/home/tommy/plex-linux/xbmc'
tommy@Ubuntu:~/plex-linux$ 
tommy@Ubuntu:~/plex-linux$ 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 am getting the same error on Linux Mint 15 which is based on Ubuntu 13.04.

Can anyone help us please :)

I was running through in 13.04 x64 and hit the following.  Any ideas? 

make[1]: Leaving directory `/home/tommy/plex-linux/xbmc'
tommy@Ubuntu:~/plex-linux$ 
tommy@Ubuntu:~/plex-linux$ 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'm having this issue as well on Ubuntu 13.10. Any thoughts?