[Support] Linuxserver.io - Plex Media Server


Recommended Posts

11 hours ago, SelfSD said:

Heads up to anyone running 6.8.3.

 

Plex Media Server was just updated to 1.20.2 on the public side, so your GPU accelerated hardware encoding will stop working if you update.

 

@linuxserver.io's beta 29 and @ich777's custom beta 30 build has a newer driver that is compatible with this latest release of Plex Media Server.

Only affects nvidia, not intel

  • Like 1
Link to comment

So I have absolutely no idea where to start reporting this problem or what to give out as I can't see anything in the Plex debug logs, docker logs or Unraid logs. I thought it might be a disk I/O issue but it's not. Maybe someone else can test this and confirm if it's a isolated issue for me or something that's more widespread.

 

When running the LSIO Plex container on a separate VLAN, it struggles to send out the next buffer segment to any devices on the LAN, causing the video to stop and wait until it catches up. Sometimes it manages to send out the next segment before the playback catches up but it does not  It appears to work fine outside of my own network.

 

VLANs are controlled by a Unifi Dream Machine Pro, running through a MikroTik S+RJ10 with the VLAN passed through and 10Gbit on all ports to a Mellanox ConnectX-3 on my server.

 

Unraid 6.9.0 beta 30

Edited by SelfSD
I'm stupid and forgot to mention unraid version.
Link to comment

Does anyone know what the "Force HW Acceleration" setting is when you edit the container? My assumption is maybe it's intended to keep your hardware transcoding enabled through updates so you don't have to manually modify files, but I can't find any documentation about it.  That's probably hopeful thinking, but figured I'd see if anyone knew. Thanks for any input!

 

 image.thumb.png.56f4c82252608e10e5ab4f223035cc9a.png

Edited by eir3ann
Added clarification
Link to comment
On 10/7/2020 at 6:51 AM, SelfSD said:

Heads up to anyone running 6.8.3.

 

Plex Media Server was just updated to 1.20.2 on the public side, so your GPU accelerated hardware encoding will stop working if you update.

 

@linuxserver.io's beta 29 and @ich777's custom beta 30 build has a newer driver that is compatible with this latest release of Plex Media Server.

Or you can use @ich777's Unraid-Kernel-Helper docker to build the 6.8.3 kernel with the latest NVIDIA drivers or just download the pre-compiled 6.8.3 w/ them from the docker thread located: here!

Edited by MowMdown
  • Like 1
Link to comment
17 hours ago, eir3ann said:

Does anyone know what the "Force HW Acceleration" setting is when you edit the container? My assumption is maybe it's intended to keep your hardware transcoding enabled through updates so you don't have to manually modify files, but I can't find any documentation about it.  That's probably hopeful thinking, but figured I'd see if anyone knew. Thanks for any input!

 

 image.thumb.png.56f4c82252608e10e5ab4f223035cc9a.png

That is something you have added.

Link to comment

I was directed to this forum for a question I have about hardware acceleration Encoding not working. 

I'm wondering if this is what @SelfSD is talking about. 

Unraid Nvidia 6.8.3 installed.

Nvidia Driver version is 440.59.

Linux Server Plex docker running plexpass version 1.20.3.3437.

 

Any help is appreciated. 

 

Here is my post from another forum: 

I'm using some left over pc parts just to get started, but they've been working fine. 

 

I have an intel 4790K cpu with a Gigabyte Z97X-UD5H-BK motherboard. 

My appdata folder is on an nvme drive under Unassigned Devices. 

My transcoding folder is under appdata/PMSlinux folder on that nvme.

 

I installed the Unraid Nvidia plugin.

Installed the 6.8.3 image. 

Switched to the linux server plex docker. I was using the official plexinc docker. 

Added the --runtime=nvidia to extra parameters in the Advanced section.

Added my guid to the Nvidia Visible Devices parameter.

 

I started a movie and transcoded down in resolution, but gpustats and Plex shows only that Decoding is taking place. My cpu is still doing the Encode. 

This is much better than no hardware acceleration only, but since Plex finally got around to allowing both Decode and Encode to take place, I would like to take advantage of it. 

The GTX1060 does have both decode and encode chips per the matrix. 

 

Hopefully I just missed something silly and it's an easy fix that someone here could spot. 

Any help is much appreciated. 

 

Link to comment
32 minutes ago, FQs19 said:

I was directed to this forum for a question I have about hardware acceleration Encoding not working. 

I'm wondering if this is what @SelfSD is talking about. 

Unraid Nvidia 6.8.3 installed.

Nvidia Driver version is 440.59.

Linux Server Plex docker running plexpass version 1.20.3.3437.

 

Any help is appreciated. 

 

Here is my post from another forum: 

I'm using some left over pc parts just to get started, but they've been working fine. 

 

I have an intel 4790K cpu with a Gigabyte Z97X-UD5H-BK motherboard. 

My appdata folder is on an nvme drive under Unassigned Devices. 

My transcoding folder is under appdata/PMSlinux folder on that nvme.

 

I installed the Unraid Nvidia plugin.

Installed the 6.8.3 image. 

Switched to the linux server plex docker. I was using the official plexinc docker. 

Added the --runtime=nvidia to extra parameters in the Advanced section.

Added my guid to the Nvidia Visible Devices parameter.

 

I started a movie and transcoded down in resolution, but gpustats and Plex shows only that Decoding is taking place. My cpu is still doing the Encode. 

This is much better than no hardware acceleration only, but since Plex finally got around to allowing both Decode and Encode to take place, I would like to take advantage of it. 

The GTX1060 does have both decode and encode chips per the matrix. 

 

Hopefully I just missed something silly and it's an easy fix that someone here could spot. 

Any help is much appreciated. 

 

Did you enable both decode and encode in the plex settings?

Link to comment
2 hours ago, saarg said:

That is something you have added.

Well that would explain it! I must have done that when I was messing with getting it working the first time.  Been so long I completely don't remember doing it, but thank you for your response.  Feeling pretty dumb right now!

Link to comment
5 hours ago, FQs19 said:

Unraid Nvidia 6.8.3 installed.

Nvidia Driver version is 440.59.

Linux Server Plex docker running plexpass version 1.20.3.3437.

That's exactly your problem problem. Driver version 440.59 is not supported after PMS 1.20.2. You need at least driver version 450.51 on linux.

 

If you don't want to update to a beta release (thanks @MowMdown 😄 Didn't notice that he had a non-beta prebuilt!) head on over to the link below and get the "Unraid Custom nVidia builtin v6.8.3" version and copy the 8 files from the ZIP onto your flash drive.

 

Don't forget to make a flash backup before doing so!

 

You might have a new GPU UUID after upgrading but you can still get that from the LSIO Nvidia plugin page, or grab the Unraid Kernel Helper and it will show there too.

 

 

  • Thanks 2
Link to comment
3 minutes ago, SelfSD said:

That's exactly your problem problem. Driver version 440.59 is not supported after PMS 1.20.2. You need at least driver version 450.51 on linux.

 

If you don't want to update to a beta release (thanks @MowMdown 😄 Didn't notice that he had a non-beta prebuilt!) head on over to the link below and get the "Unraid Custom nVidia builtin v6.8.3" version and copy the 8 files from the ZIP onto your flash drive.

 

Don't forget to make a flash backup before doing so!

 

You might have a new GPU UUID after upgrading but you can still get that from the LSIO Nvidia plugin page, or grab the Unraid Kernel Helper and it will show there too.

 

 

I was afraid the driver on 6.8.3 was the problem. 

Thank you so much for providing that information. 

This is my first unraid system and didn't feel comfortable upgrading to the 6.9.0 betas, but it looks like that's the route i should take. 

 

Thanks to all for your help. 

  • Like 1
Link to comment

No problem!

 

I have been running 6.9.0 beta 30 for just over a week now without any problems. I had some issues on 6.8.3 and 6.9.0 beta 29 which seems to have all been solved in beta 30 as it has been rock solid with an uptime of almost 9 days now, which is a new record for my old AMD system in a long while now lol.

  • Like 2
Link to comment

This is cross post from the Plex forum https://forums.plex.tv/t/unraid-4k-playback-broken/643647 as I thought this might be an issue with the server release above 1.19.5.3112-b23ab3896-ls114.

 

Server Version#: 6.8.3
Apple TV Player Version#: 7.7

 

Sadly since Plex Linuxserver version 1.19.5.3112-b23ab3896-ls114 , 4K will no longer playback certain .mkv files. What is confusing is some of the Movies or TV shows encoded with exactly the same .mkv format actually play, but most of them don’t. When monitoring the Plex server dashboard I noticed that when playback is invoked on a Apple TV 4K the server does not pick up that I’m trying to playback anything. On some movies, the dashboard will show ‘buffering’ and not play anything at all.

I’ve tried all the versions after 1.19.5.3112-b23ab3896-ls114 but none of them work after this release. For proper HDR 4K stable and almost instant playback this version works with Direct Play. 

 

So, I have downgraded to 1.19.5.3112-b23ab3896-ls114 

If anybody out there knows a solution that would be just fantastic!

Edited by Jase
Update
Link to comment
4 hours ago, zerolim1t said:

Could someone tell me how i can revert back to a good version of Plex to get HW acceleration working again?

From the instructions linked in the first post- 

Quote

Valid settings for VERSION are:-

IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT

docker: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.

latest: will update plex to the latest version available that you are entitled to.

public: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.

<specific-version>: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.

 

Link to comment

Server Version#: 1.20.3.3437
Player Version#: 4.34.4


I noticed some media won’t play in plex on any player. I have tried on windows, apple tv, ios, etc. The media works perfectly fine if I play the source file but it won’t play through plex. I have tried with hardware encoding on and off. Neither works. Below are the logs. Any help would be appreciated.

 

 

Oct 18, 2020 22:44:19.507 [0x145537bfd700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.507 [0x1455369f4700] ERROR - [Transcoder] [h264 @ 0x15255c0] Invalid NAL unit size (0 > 5231).
Oct 18, 2020 22:44:19.507 [0x1454a95fa700] ERROR - [Transcoder] [h264 @ 0x15255c0] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.508 [0x1454abdfe700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.508 [0x1455367f3700] ERROR - [Transcoder] [h264 @ 0x1541dc0] Invalid NAL unit size (0 > 5007).
Oct 18, 2020 22:44:19.508 [0x1454aa401700] ERROR - [Transcoder] [h264 @ 0x1541dc0] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.509 [0x1455363f1700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.509 [0x145537bfd700] ERROR - [Transcoder] [h264 @ 0x155e600] Invalid NAL unit size (0 > 5123).
Oct 18, 2020 22:44:19.510 [0x1455369f4700] ERROR - [Transcoder] [h264 @ 0x155e600] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.510 [0x1454a95fa700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.510 [0x1454abdfe700] ERROR - [Transcoder] [h264 @ 0x157ae40] Invalid NAL unit size (0 > 4656).
Oct 18, 2020 22:44:19.511 [0x1455367f3700] ERROR - [Transcoder] [h264 @ 0x157ae40] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.511 [0x14554565f700] DEBUG - Streaming Resource: Usage: 586kbps of WAN bandwidth, 2 streaming transcode slots, and 1 static transcode slots across 3 sessions
Oct 18, 2020 22:44:19.511 [0x1454aa401700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.511 [0x1455343e1700] VERBOSE - It took 0.0 sec to serialize a list with 1 elements.
Oct 18, 2020 22:44:19.511 [0x1455363f1700] ERROR - [Transcoder] [h264 @ 0x1597680] Invalid NAL unit size (0 > 4467).
Oct 18, 2020 22:44:19.511 [0x145537bfd700] ERROR - [Transcoder] [h264 @ 0x1597680] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.512 [0x14554545e700] DEBUG - Completed: [192.168.1.2:61405] 200 GET /hubs/home/recentlyAdded?type=1&personal=1&includeExternalMedia=1 (57 live) TLS GZIP Page 0-15 8ms 1068 bytes (pipelined: 38)
Oct 18, 2020 22:44:19.512 [0x1455369f4700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.512 [0x1454a95fa700] ERROR - [Transcoder] [h264 @ 0x15b3e80] Invalid NAL unit size (0 > 4995).
Oct 18, 2020 22:44:19.512 [0x1454abdfe700] ERROR - [Transcoder] [h264 @ 0x15b3e80] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.513 [0x1455367f3700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.513 [0x1454aa401700] ERROR - [Transcoder] [h264 @ 0x1415140] Invalid NAL unit size (0 > 9919).
Oct 18, 2020 22:44:19.513 [0x1455363f1700] ERROR - [Transcoder] [h264 @ 0x1415140] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.513 [0x1455343e1700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.513 [0x145537bfd700] ERROR - [Transcoder] [h264 @ 0x1424c80] Invalid NAL unit size (0 > 6633).
Oct 18, 2020 22:44:19.514 [0x1455369f4700] ERROR - [Transcoder] [h264 @ 0x1424c80] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.514 [0x1454a95fa700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.514 [0x1454abdfe700] ERROR - [Transcoder] [h264 @ 0x14414c0] Invalid NAL unit size (0 > 6660).
Oct 18, 2020 22:44:19.514 [0x1455367f3700] ERROR - [Transcoder] [h264 @ 0x14414c0] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.515 [0x14554525d700] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.

Link to comment
1 hour ago, whatupcraig said:

Server Version#: 1.20.3.3437
Player Version#: 4.34.4


I noticed some media won’t play in plex on any player. I have tried on windows, apple tv, ios, etc. The media works perfectly fine if I play the source file but it won’t play through plex. I have tried with hardware encoding on and off. Neither works. Below are the logs. Any help would be appreciated.

 

 

Oct 18, 2020 22:44:19.507 [0x145537bfd700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.507 [0x1455369f4700] ERROR - [Transcoder] [h264 @ 0x15255c0] Invalid NAL unit size (0 > 5231).
Oct 18, 2020 22:44:19.507 [0x1454a95fa700] ERROR - [Transcoder] [h264 @ 0x15255c0] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.508 [0x1454abdfe700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.508 [0x1455367f3700] ERROR - [Transcoder] [h264 @ 0x1541dc0] Invalid NAL unit size (0 > 5007).
Oct 18, 2020 22:44:19.508 [0x1454aa401700] ERROR - [Transcoder] [h264 @ 0x1541dc0] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.509 [0x1455363f1700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.509 [0x145537bfd700] ERROR - [Transcoder] [h264 @ 0x155e600] Invalid NAL unit size (0 > 5123).
Oct 18, 2020 22:44:19.510 [0x1455369f4700] ERROR - [Transcoder] [h264 @ 0x155e600] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.510 [0x1454a95fa700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.510 [0x1454abdfe700] ERROR - [Transcoder] [h264 @ 0x157ae40] Invalid NAL unit size (0 > 4656).
Oct 18, 2020 22:44:19.511 [0x1455367f3700] ERROR - [Transcoder] [h264 @ 0x157ae40] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.511 [0x14554565f700] DEBUG - Streaming Resource: Usage: 586kbps of WAN bandwidth, 2 streaming transcode slots, and 1 static transcode slots across 3 sessions
Oct 18, 2020 22:44:19.511 [0x1454aa401700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.511 [0x1455343e1700] VERBOSE - It took 0.0 sec to serialize a list with 1 elements.
Oct 18, 2020 22:44:19.511 [0x1455363f1700] ERROR - [Transcoder] [h264 @ 0x1597680] Invalid NAL unit size (0 > 4467).
Oct 18, 2020 22:44:19.511 [0x145537bfd700] ERROR - [Transcoder] [h264 @ 0x1597680] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.512 [0x14554545e700] DEBUG - Completed: [192.168.1.2:61405] 200 GET /hubs/home/recentlyAdded?type=1&personal=1&includeExternalMedia=1 (57 live) TLS GZIP Page 0-15 8ms 1068 bytes (pipelined: 38)
Oct 18, 2020 22:44:19.512 [0x1455369f4700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.512 [0x1454a95fa700] ERROR - [Transcoder] [h264 @ 0x15b3e80] Invalid NAL unit size (0 > 4995).
Oct 18, 2020 22:44:19.512 [0x1454abdfe700] ERROR - [Transcoder] [h264 @ 0x15b3e80] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.513 [0x1455367f3700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.513 [0x1454aa401700] ERROR - [Transcoder] [h264 @ 0x1415140] Invalid NAL unit size (0 > 9919).
Oct 18, 2020 22:44:19.513 [0x1455363f1700] ERROR - [Transcoder] [h264 @ 0x1415140] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.513 [0x1455343e1700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.513 [0x145537bfd700] ERROR - [Transcoder] [h264 @ 0x1424c80] Invalid NAL unit size (0 > 6633).
Oct 18, 2020 22:44:19.514 [0x1455369f4700] ERROR - [Transcoder] [h264 @ 0x1424c80] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.514 [0x1454a95fa700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Oct 18, 2020 22:44:19.514 [0x1454abdfe700] ERROR - [Transcoder] [h264 @ 0x14414c0] Invalid NAL unit size (0 > 6660).
Oct 18, 2020 22:44:19.514 [0x1455367f3700] ERROR - [Transcoder] [h264 @ 0x14414c0] Error splitting the input into NAL units.
Oct 18, 2020 22:44:19.515 [0x14554525d700] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.

Probably better to ask plex directly.

Link to comment

Hi everyone,

i strugling to get this docker working.

if i start the docker it seems fine, in the logs it tells me to log in on the webui and restart, i guess for authentication of my account. 

When i try to log in it says "no soup for me, the server i'm trying to acces refuses acces, check if i'm using an account that has acces to this server"  . i checked my username and password on the plex website and they are correct. 

I'm using an unassinged disk for my app data, could this be the problem, file permissions etc.?

i tried changing the permission to rwx for everyone but no succes there.

i wanted to start a new server after having a crash in another docker wich wiped every docker running on the same pinned cpu cores.

the other dockers reinstalled fine, but the plex docker that i used before didn't, so i wiped it completly and thought i'd try this one.

 Any ideas?

thanks in advance

Link to comment

Got this weird issue today.  Opening the plex webui from Unraid only shows 1 user.  It's missing the main user and all other users.  If you log into the plex app via a browser, all users are shown.  I haven't upgraded the plex app to the latest version yet since I am running the nvidia plugin and I heard it does not have support for the latest drivers for transcoding.

 

Any idea how to fix this?  Thanks.

 

(fixed the issue... had something to do with the browser... clearing cache reset everything)

Edited by Mogo
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.