@jonathanmcalroy said:
With the release of Pi3, this thread can finally die!Well done everyone.
?!
@jonathanmcalroy said:
With the release of Pi3, this thread can finally die!Well done everyone.
?!
@jonathanmcalroy said:
With the release of Pi3, this thread can finally die!Well done everyone.
Why? Do you expect everyone to rush out and buy one?
The content in this topic is relevant to both RPi2 and RPi3.
Perhaps the OP can change the title!
Regards
@blindpet yes, I installed the package as well, the /var/lib stuff is just the state, didnât want it to forget which episodes I watched already.
For me transcoding is still broken, I am not sure what I did. As youâre using a different distro it might be something in my userspace, but Iâm unsure how to debug it. As far as I can tell PMS brings all the libs with it that it needs.
I still get SIGBUS from the transcoding process and strace is not helping
mmap2(NULL, 823296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x68726000 futex(0x32ab784, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x32ab764, 22) = 1 clock_gettime(CLOCK_MONOTONIC, {474, 213319438}) = 0 clock_gettime(CLOCK_MONOTONIC, {474, 219319646}) = 0 clock_gettime(CLOCK_MONOTONIC, {474, 225244646}) = 0 futex(0x3791284, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x3791280, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 futex(0x3791310, FUTEX_WAKE_PRIVATE, 1) = 1 mmap2(NULL, 823296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x6865d000 futex(0x32ab784, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x32ab764, 24) = 1 clock_gettime(CLOCK_MONOTONIC, {474, 240309490}) = 0 clock_gettime(CLOCK_MONOTONIC, {474, 246464281}) = 0 futex(0x37913dc, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x37913d8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 futex(0x3791468, FUTEX_WAKE_PRIVATE, 1) = 1 mmap2(NULL, 823296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x68594000 futex(0x32ab874, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...> +++ killed by SIGBUS +++
Seems to have an issue with mmapping files. I updated the firmware and some related packages (ntfs-3g because Iâm having my filestorage on ntfs) but no effect.
Iâd like to try an older version but the package repository just has current.
@mthiesen Have you tried disabling mmapping?
Doesnât Plex use sqlite for the database? Seems like it may be worth jsut moving the database and the metadata on a fresh install.
@blindpet I moved 15GB of data, donât know what is actually needed. How do I disable mmapping?
Unfortunately I have no idea mthiesen and Google doesnât seem to be too helpful, it may be a built-in feature of Plex or the distro you are using.
If you have the time I would start fresh, install Plex and make sure you can playback video on whatever distro you are using (I will of course recommend my working and tested image with transcoding enabled). After that copy the database first and see if it still works, then the metadata etc testing as you go along.
Are you sure the /var/lib/plexmediaserver folder is owned by the plex user (or the user you are running Plex as)?
@uglymagoo just tested the downgrade to the 0.9.14.6 version you linked and this version works for me on my Pi3, transcoding does not crash anymore. I upgraded back to 0.9.15.6.1714-7be11e1-1~jessie and see the same issue again.
So it is actually something in 0.9.15.6 that doesnât work with either the Pi3 or my freshly installed Raspbian Jessy (I guess that people would scream more loudly if it was broken in general on the Pi2s they are running right now)
@mthiesen have you rpi-update recently? Just to reiterate I have the latest Plex from the repo working on the Pi 3 with transcoding, latest kernel as of this past weekend.
@mthiesen said:
@uglymagoo just tested the downgrade to the 0.9.14.6 version you linked and this version works for me on my Pi3, transcoding does not crash anymore. I upgraded back to 0.9.15.6.1714-7be11e1-1~jessie and see the same issue again.So it is actually something in 0.9.15.6 that doesnât work with either the Pi3 or my freshly installed Raspbian Jessy (I guess that people would scream more loudly if it was broken in general on the Pi2s they are running right now)
Wait⊠could we please clarify: Pi3 is able to transcode video? I just read in this thread that it is not possible as the ARM processor is way to weak for this taskâŠ
@mthiesen have you rpi-update recently? Just to reiterate I have the latest Plex from the repo working on the Pi 3 with transcoding, latest kernel as of this past weekend.
@noreason you can force transcoding but it does not mean it is guaranteed to successfully transcode all video.
OK wow wow wowâŠ
Do you have any good tutorial on how to activate it (besides the one i followed a few days ago and posted a few pages earlier and failed)? If it is really alle to transcode this would be the best server to get⊠One transcode for one mobile device would be perfectly fine!
@blindpet Iâm basically running that in a loop by now. Iâm currently on firmware kernel 852, so that is current. Still a chance that it is a library problem between what Iâm running and what youâre running. But mine is by now a pretty stock Jessy. Or a strange configuration problem with any of the more hardware related options.
@noreason from how I understand it you just have to install Plex Media Server from the package, transcoding should work. Whether or not it is fast enough for your usecase is hard to say.
@noreason that is the tutorial that I used (and created) so it does work :P. If you have trouble then use the Minibian image at the bottom of the Plex guide (it is compatible with the Pi 3). I am posting a separate Pi 3 tutorial tomorrow with the image all ready to go with transcoding forced as well.
Just to clear things up with transcoding as has been done previously: transcoding for audio only does not need to be forced and will work on the Pi devices out of the box. Video transcoding must be forced and is not guaranteed to transcode all video perfectly, it will just attempt to the best of the Piâs ability. This applies to the Pi 2 and the Pi 3, Banana Pi, Orange Pi etc.
@blindpet said:
@noreason that is the tutorial that I used (and created) so it does work :P. If you have trouble then use the Minibian image at the bottom of the Plex guide (it is compatible with the Pi 3). I am posting a separate Pi 3 tutorial tomorrow with the image all ready to go with transcoding forced as well.Just to clear things up with transcoding as has been done previously: transcoding for audio only does not need to be forced and will work on the Pi devices out of the box. Video transcoding must be forced and is not guaranteed to transcode all video perfectly, it will just attempt to the best of the Piâs ability. This applies to the Pi 2 and the Pi 3, Banana Pi, Orange Pi etc.
Thanks! Will your tutorial be âcompatibleâ with the latest raspbian jessie as well? My Pi 3 is fully set up including various other software and i have no time to start all new from the beginning
For a Linux Newbie this is kind of time consuming ![]()
If transcoding for video could be enabled by a simple edit, i would give it a try⊠strangely i got error messages using your latest tutorial but i will definitely check out your new tutorial as this feature would raise the use case of this Pi 3 for me to a whole other level
So i guess its definitely worth to check it out (although someone stated above that his XVID files were not nearly transcoded fast enoughâŠ)
@noreason I donât know if I will test Raspbian Jessie as it seems to have errors (see @mthiesen post), I prefer to use what works ;). To be clear the current Plex Pi 2 guide works on the Pi 3, the new guide will only include uglymagooâs repository method.
WIth the prepared image you literally flash it and expand the sd card and Plex is working already. Then you just mount your media and start configuring Plex.
The simple edit is in the tutorial as well. It shows you how to find the javascript file and which lines to edit if the automated method fails for you for some reason. I try to make the tutorials as friendly as possible, constructive feedback for improvement is always welcome
I have many older XviD files that transcode perfectly, it seems to depend more on the resolution and bitrate of the XviD files rather than the codec itself, the XviD that failed for me was 1080p, havenât tested 720p yet.
@blindpet Sounds great! I will definitely try to follow your guide
Thanks in advance for helping out new people like me! 
Maybe thereâs a new thread for the PI3, but I will try my luck here. Being a very happy camper when it comes to Plex running on a PI2 server, the only thing I have been missing is the possibility to run it with subtitles (streamed to a Chromecast). Might subtitles work if using the Pi3 as a server?
bengt_a the subtitles is a problem (last I checked) with the Chromecast plugin as it uses the non-modified javascript file. You can override this by doing some quite involved workaround.
Guys, any of you try installing pms on retropie? If yes then how is the performance?