alturismo Posted March 29 Share Posted March 29 43 minutes ago, Shadowmists said: If I try to play the video from the Unraid Plex server, it comes up to a screen where the file gets to about 33% and stays there when trying to view the file though the Roku . It shows buffering though the web app when I look to see what is going on. if I try to use the web browser it just goes to a black screen and does not progress ok, looking like a issue with decoding the video may try the following, stop the container, delete the codec folder located in your appdata plex subsection sample location \appdata\PlexMediaServer\Library\Application Support\Plex Media Server 44 minutes ago, Shadowmists said: Running from plexinc/pms-docker. Computer is Ryzen 3900x with 32Gb of ram and Server is up to date. then you are actually in the wrong Thread here ... this is the plex linuxserver Thread ... not the plexinc one 48 minutes ago, Shadowmists said: Video card was in the windows plex server for transcoding, it is Nvidia RTX A2000. I followed a video on getting the video card added into the unraid server from Spaceinvader one, how to use GPU transcoding on Emby or Plex container. I few things were different and we ended using using the Nvideia-Driver, ich777's Repository from the app store. did not make a difference. well ... so on your windows Server you where using a GPU, did you look into it if its actually transcoding using your roku ? and about adding it to plex on unraid, there is a manual on the nvidia plugin page ... page 1, incl. pictures also there, did you check if its actually using it ? may rather look at the plexinc thread as this is the wrong place actually Quote Link to comment
Shadowmists Posted March 31 Share Posted March 31 Thanks for looking and showing me the codex folder. I saw other post where people talked about a tmp file in there. I stopped the docker and I fixed a permission issue and deleted it like you said. Restarted the Docker and issue looks to be resloved. Thanks. 1 Quote Link to comment
kteach Posted April 1 Share Posted April 1 Plex Appears to be Transcoding when not in use I noticed one of my cores was always at 100% in the unRaid dashboard. A simple htop in the console shows it's coming from Plex. Except, when I go to my plex server in a browser it reports no activity. I checked conversions, nothing there. I also checked all my settings and I have nothing set to optimize, or transcode. I've been using Plex forever and I've never set it to optimize or pre-transcode, etc. I love this container, just not sure what to do. Oh, if I stop it and then restart it goes away and I can use Plex like normal. Then, some indeterminate time (within 24 hrs) it starts up again. unRaid 6.12.6 Lastest patch on the Plex Container (I ran an update, problem re-occurred) This is the last bit of my log Critical: libusb_init failed Stopping Plex Media Server. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 40-plex-first-run: executing... [cont-init.d] 40-plex-first-run: exited 0. [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0. [cont-init.d] 50-plex-update: executing... [cont-init.d] 50-plex-update: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. Critical: libusb_init failed Stopping Plex Media Server. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 40-plex-first-run: executing... [cont-init.d] 40-plex-first-run: exited 0. [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0. [cont-init.d] 50-plex-update: executing... [cont-init.d] 50-plex-update: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. Critical: libusb_init failed Thank you for any help! Quote Link to comment
axipher Posted April 1 Share Posted April 1 6 minutes ago, kteach said: Plex Appears to be Transcoding when not in use I noticed one of my cores was always at 100% in the unRaid dashboard. A simple htop in the console shows it's coming from Plex. Except, when I go to my plex server in a browser it reports no activity. I checked conversions, nothing there. I also checked all my settings and I have nothing set to optimize, or transcode. I've been using Plex forever and I've never set it to optimize or pre-transcode, etc. I love this container, just not sure what to do. Oh, if I stop it and then restart it goes away and I can use Plex like normal. Then, some indeterminate time (within 24 hrs) it starts up again. unRaid 6.12.6 Lastest patch on the Plex Container (I ran an update, problem re-occurred) This is the last bit of my log Critical: libusb_init failed Stopping Plex Media Server. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 40-plex-first-run: executing... [cont-init.d] 40-plex-first-run: exited 0. [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0. [cont-init.d] 50-plex-update: executing... [cont-init.d] 50-plex-update: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. Critical: libusb_init failed Stopping Plex Media Server. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 40-plex-first-run: executing... [cont-init.d] 40-plex-first-run: exited 0. [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... [cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0. [cont-init.d] 50-plex-update: executing... [cont-init.d] 50-plex-update: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. Critical: libusb_init failed Thank you for any help! Do you have any Scheduled Tasks in Plex? They have a section in server settings and a set time that you can compare to when you typically see CPU usage peg 1 core 100% This could be audio normalizing, video thumbnail generation, intro/credit detection, local metadata updates, database backups, etc. Some of those settings might be on libraries themselves. Quote Link to comment
kteach Posted April 1 Share Posted April 1 8 minutes ago, axipher said: Do you have any Scheduled Tasks in Plex? They have a section in server settings and a set time that you can compare to when you typically see CPU usage peg 1 core 100% This could be audio normalizing, video thumbnail generation, intro/credit detection, local metadata updates, database backups, etc. Some of those settings might be on libraries themselves. OK, yes, I have all the same things checked as you. I guess it could be doing any of those things. That said, it is around 10:00am and my time matches your picture. So the tasks should have stopped right? Thank you for the quick reply! Quote Link to comment
axipher Posted April 1 Share Posted April 1 22 minutes ago, kteach said: OK, yes, I have all the same things checked as you. I guess it could be doing any of those things. That said, it is around 10:00am and my time matches your picture. So the tasks should have stopped right? Thank you for the quick reply! I'm no expert on all the other things Plex server does in the background, but if it starts pretty much on an hour mark, it is more than likely some automated task or clean-up happening. In Settings at the bottom, there is a Console Menu that lets you see the active logs of the server and you might be able to search through that to see what is using up your CPU in Plex. Quote Link to comment
kteach Posted April 1 Share Posted April 1 26 minutes ago, axipher said: I'm no expert on all the other things Plex server does in the background, but if it starts pretty much on an hour mark, it is more than likely some automated task or clean-up happening. In Settings at the bottom, there is a Console Menu that lets you see the active logs of the server and you might be able to search through that to see what is using up your CPU in Plex. Thank you. There is nothing there now which is causing any CPU hit (since I restarted the container) I'll check the console again next time I notice the one core going 100%. It surprisingly chatty IMO . Here is an example of a couple of seconds (attached picture) Quote Link to comment
Riboflavin Posted April 6 Share Posted April 6 I installed the Plex container and everything seems to be up and running properly. I've opened the appropriate port and enable remote sharing, however despite some clients working I can't seem to connect via app.plex.com because it says it is unable to connect securely (I have SSL set to preferred). I think this must be some sort of problem with my cert, or the lack of a cert generated by Plex or something. If I access my server IP https://192.168.50.11 I can access the Unraid UI (after ignoring the self signed cert error). However if I try to load the Plex UI over SSL like https://192.168.50.11:32400/web I Just get an instant failure "192.168.50.11 unexpectedly closed the connection. ERR_CONNECTION_CLOSED". I'm assuming this is why Plex is saying that it can't establish a remote connection securely but I guess I'm not really sure. Any tips or advice would be appreciated. Quote Link to comment
alturismo Posted April 7 Share Posted April 7 9 hours ago, Riboflavin said: I'm assuming this is why Plex is saying that it can't establish a remote connection securely but I guess I'm not really sure. Any tips or advice would be appreciated. may as starter ... https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/ but in the end, i assume almost all are using a reverse proxy to access their services vie SSL ... so setup a reverse proxy like Nginx Proxy Manager, swag, traefik, ... and access your services vie htts then ... Quote Link to comment
KniggeR Posted April 19 Share Posted April 19 how to repair a library? at the moment i just can play 20% of my files and i am not able to add new files Quote Link to comment
alturismo Posted April 20 Share Posted April 20 15 hours ago, KniggeR said: how to repair a library? at the moment i just can play 20% of my files and i am not able to add new files as this is not the Plex support ... may take a look here https://support.plex.tv/articles/repair-a-corrupted-database/ Quote Link to comment
Boudreaux Posted April 27 Share Posted April 27 (edited) UPDATE: I fixed the playback error part, even though i did this a couple times, i once again deleted the Codecs folder and started the server again and it started working. I would still like to know if the whole old version of server is normal, or if i need to do somethign else to get it updated. Thanks. Hi, question, Plex has been running great but all of a sudden i seem to be having issue playing back some media, even stuff i was able to play like 30 mins ago. I added a new movie to my collection and went to play, and after a few seconds of trying to load, it came back Playback Error. I then tried to play a movie i just watched, and same issue. Its a mixture of things that will play and things that wont. I did a restart and update to the latest version of unraid. I am using linuxserver resp and noticed that while it says updated on April 18th, and no update availble in docker, on the plex server, it shows im running version 1.31.3.6868 and latest is like 1.40. Is this common, i dont really recall as since installing, i never had to worry about it. Edited April 27 by Boudreaux Quote Link to comment
Phil Ash Posted May 1 Share Posted May 1 (edited) I have been trying to get plex to use my Nvidia GPU for transcoding and have followed all the instructions However, when streaming content remote Plex is still using the CPU redlining it while the GPU is not doing anything What am I missing. I have also had the variable NVIDIA_DRIVER_CAPABILITIES with set to all but that did not seem to do anything either and removed that since. If anyone has been able to make this work I would be very grateful for a pointer in the right direction. I have read and also followed the instructions at the top of this topic. This did not work and the CPU keeps being used by plex to transcode. The GPU seems not to be doing anything while the CPU is redlining. I have also used the setting where --runtime=nvidia was put in the extra parameters. Did not make any difference. GPU still not been used by plex. Thanks Edited May 1 by Phil Ash added information Quote Link to comment
alturismo Posted May 1 Share Posted May 1 7 hours ago, Phil Ash said: What am I missing. may start reading the howto ... page 1 on the plugin page ... including pictures ... hint, --runtime... extra parameter ... but just read the manual. Quote Link to comment
Phil Ash Posted May 1 Share Posted May 1 5 hours ago, alturismo said: may start reading the howto ... page 1 on the plugin page ... including pictures ... hint, --runtime... extra parameter ... but just read the manual. I read and followed the howto which did not give the desired result. I then found a more recent explanation that said that the --runtime=nvidia should not be in the extra parameters but in the additional parameters should be and in the extra parameters what I put in there. Neither options made the GPU be used by plex. Whatever I tried Plex keeps using the cpu to transcode Quote Link to comment
alturismo Posted May 2 Share Posted May 2 7 hours ago, Phil Ash said: I then found a more recent explanation that said that the --runtime=nvidia should not be in the extra parameters but in the additional parameters should be and in the extra parameters what I put in there. the proper one is what i linked ... .../dev/dri is for Intel / AMD devices ... (igpu or dgpu) and not Nvidia ... nevermind. Quote Link to comment
Phil Ash Posted May 2 Share Posted May 2 17 hours ago, alturismo said: the proper one is what i linked ... .../dev/dri is for Intel / AMD devices ... (igpu or dgpu) and not Nvidia ... nevermind. It would help if you'd tell me what the proper one is to link as I am at a loss. Quote Link to comment
alturismo Posted May 3 Share Posted May 3 5 hours ago, Phil Ash said: It would help if you'd tell me what the proper one is to link as I am at a loss. i already linked it 3 posts up ... Quote Link to comment
Phil Ash Posted May 15 Share Posted May 15 On 5/3/2024 at 4:38 AM, alturismo said: i already linked it 3 posts up ... I am really sorry but I'm not very good at clues. I have given a full description of what I have done and am getting nothing but vague clues that are no real help to solve why my GPU is not being used by plex when streaming my media remote Quote Link to comment
napalmyourmom Posted May 19 Share Posted May 19 I recently starting having an issue where Plex does not startup correctly (see screenshot). It just gets to "Starting Plex Media Server. . . (you can ignore the libusb_init error)" in red and does not continue from there. I have tried uninstalling and reinstalling from Previous Apps but I get the same behavior. Not sure where to start with troubleshooting. Before I blow this container away and start from scratch, I was hoping someone on here will be able to help. Thanks! Quote Link to comment
bobdole199534 Posted July 2 Share Posted July 2 I'm having issues getting my hardware accelerated Transcoding to work with my nvidia GPU. Plex is using my CPU. This is what I have set up. I have the unraid drivers set up and plex pass. Is there any way to check if my GPU is passing through to docker all? I tried setting up headless steam for a while and I had a bunch of issues and I wasn't sure it was working with that either. Quote Link to comment
wgstarks Posted July 2 Share Posted July 2 Have you tried transcoding to a physical location instead of ram? Quote Link to comment
bobdole199534 Posted July 2 Share Posted July 2 I just removed all the ram transcoding stuff and it still doesn’t use my gpu. Quote Link to comment
wgstarks Posted July 2 Share Posted July 2 You can also remove host key 3. Not sure if that will make a difference though. Quote Link to comment
wgstarks Posted July 2 Share Posted July 2 The gpu statistics plugin will show you how many apps are actively using the gpu at any given time. Quote Link to comment
Recommended Posts
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.