Issue with GPU Pass through Plex


Recommended Posts

So I had to reinstall Unriad from scratch the other day and I cant get Plex to do my transcoding via GPU.  Also Im running a video that is in 1080p MKV. Any Ideas?

 

Plex Log:

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-01-18 15:14:52.177172 [info] System information Linux Tower 5.10.1-Unraid #1 SMP Thu Dec 17 11:41:39 PST 2020 x86_64 GNU/Linux
2021-01-18 15:14:52.201214 [info] OS_ARCH defined as 'x86-64'
2021-01-18 15:14:52.221184 [info] PUID defined as '99'
2021-01-18 15:14:52.480569 [info] PGID defined as '100'
2021-01-18 15:14:52.868399 [info] UMASK defined as '000'
2021-01-18 15:14:52.885771 [info] Permissions already set for volume mappings
2021-01-18 15:14:52.926420 [info] Deleting files in /tmp (non recursive)...
2021-01-18 15:14:52.951459 [info] TRANS_DIR defined as '/config/transcode'
2021-01-18 15:14:52.996714 [info] Starting Supervisor...
2021-01-18 15:14:53,612 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2021-01-18 15:14:53,612 INFO Set uid to user 0 succeeded
2021-01-18 15:14:53,615 INFO supervisord started with pid 7
2021-01-18 15:14:54,616 INFO spawned: 'plexmediaserver' with pid 68
2021-01-18 15:14:54,617 INFO spawned: 'shutdown-script' with pid 69
2021-01-18 15:14:54,617 INFO reaped unknown pid 8 (exit status 0)
2021-01-18 15:14:55,619 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-18 15:14:55,619 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-18 15:21:46,850 DEBG 'plexmediaserver' stderr output:
Connection to 45.56.124.90 closed by remote host.

2021-01-18 17:32:39,855 WARN received SIGTERM indicating exit request
2021-01-18 17:32:39,855 DEBG killing shutdown-script (pid 69) with signal SIGTERM
2021-01-18 17:32:39,856 INFO waiting for plexmediaserver, shutdown-script to die
2021-01-18 17:32:39,856 DEBG 'shutdown-script' stdout output:
[info] Initialising shutdown of process(es) '^/usr/lib/plexmediaserver/Plex Media Server' ...

2021-01-18 17:32:40,082 DEBG 'plexmediaserver' stdout output:
Critical: libusb_init failed

2021-01-18 17:32:40,139 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22816299422288 for <Subprocess at 22816299943056 with name plexmediaserver in state RUNNING> (stdout)>
2021-01-18 17:32:40,139 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22816299942000 for <Subprocess at 22816299943056 with name plexmediaserver in state RUNNING> (stderr)>
2021-01-18 17:32:40,139 INFO exited: plexmediaserver (exit status 0; expected)
2021-01-18 17:32:40,139 DEBG received SIGCHLD indicating a child quit
2021-01-18 17:32:41,142 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22816299423056 for <Subprocess at 22816299422384 with name shutdown-script in state STOPPING> (stdout)>
2021-01-18 17:32:41,142 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22816299465456 for <Subprocess at 22816299422384 with name shutdown-script in state STOPPING> (stderr)>
2021-01-18 17:32:41,142 INFO stopped: shutdown-script (exit status 0)
2021-01-18 17:32:41,142 DEBG received SIGCHLD indicating a child quit
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-01-18 17:54:38.191768 [info] System information Linux Tower 5.10.1-Unraid #1 SMP Thu Dec 17 11:41:39 PST 2020 x86_64 GNU/Linux
2021-01-18 17:54:38.245349 [info] OS_ARCH defined as 'x86-64'
2021-01-18 17:54:38.273548 [info] PUID defined as '99'
2021-01-18 17:54:38.324841 [info] PGID defined as '100'
2021-01-18 17:54:38.579617 [info] UMASK defined as '000'
2021-01-18 17:54:38.596205 [info] Permissions already set for volume mappings
2021-01-18 17:54:38.645578 [info] Deleting files in /tmp (non recursive)...
2021-01-18 17:54:38.670245 [info] TRANS_DIR defined as '/config/transcode'
2021-01-18 17:54:38.691702 [info] Starting Supervisor...
2021-01-18 17:54:39,734 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2021-01-18 17:54:39,734 INFO Set uid to user 0 succeeded
2021-01-18 17:54:39,737 INFO supervisord started with pid 7
2021-01-18 17:54:40,739 INFO spawned: 'plexmediaserver' with pid 61
2021-01-18 17:54:40,740 INFO spawned: 'shutdown-script' with pid 62
2021-01-18 17:54:40,740 INFO reaped unknown pid 8 (exit status 0)
2021-01-18 17:54:41,741 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-18 17:54:41,741 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-18 17:57:09,903 WARN received SIGTERM indicating exit request
2021-01-18 17:57:09,903 DEBG killing shutdown-script (pid 62) with signal SIGTERM
2021-01-18 17:57:09,904 INFO waiting for plexmediaserver, shutdown-script to die
2021-01-18 17:57:09,904 DEBG 'shutdown-script' stdout output:
[info] Initialising shutdown of process(es) '^/usr/lib/plexmediaserver/Plex Media Server' ...

2021-01-18 17:57:09,940 DEBG 'plexmediaserver' stdout output:
Critical: libusb_init failed

2021-01-18 17:57:09,973 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22401804075600 for <Subprocess at 22401804596368 with name plexmediaserver in state RUNNING> (stdout)>
2021-01-18 17:57:09,973 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22401804595312 for <Subprocess at 22401804596368 with name plexmediaserver in state RUNNING> (stderr)>
2021-01-18 17:57:09,973 INFO exited: plexmediaserver (exit status 0; expected)
2021-01-18 17:57:09,973 DEBG received SIGCHLD indicating a child quit
2021-01-18 17:57:10,975 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22401804076368 for <Subprocess at 22401804075696 with name shutdown-script in state STOPPING> (stdout)>
2021-01-18 17:57:10,975 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22401804118768 for <Subprocess at 22401804075696 with name shutdown-script in state STOPPING> (stderr)>
2021-01-18 17:57:10,975 INFO stopped: shutdown-script (exit status 0)
2021-01-18 17:57:10,975 DEBG received SIGCHLD indicating a child quit
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-01-18 17:57:15.191207 [info] System information Linux Tower 5.10.1-Unraid #1 SMP Thu Dec 17 11:41:39 PST 2020 x86_64 GNU/Linux
2021-01-18 17:57:15.208290 [info] OS_ARCH defined as 'x86-64'
2021-01-18 17:57:15.225229 [info] PUID defined as '99'
2021-01-18 17:57:15.243896 [info] PGID defined as '100'
2021-01-18 17:57:15.580328 [info] UMASK defined as '000'
2021-01-18 17:57:15.596773 [info] Permissions already set for volume mappings
2021-01-18 17:57:15.614379 [info] Deleting files in /tmp (non recursive)...
2021-01-18 17:57:15.632131 [info] TRANS_DIR defined as '/config/transcode'
2021-01-18 17:57:15.649321 [info] Starting Supervisor...
2021-01-18 17:57:15,748 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2021-01-18 17:57:15,749 INFO Set uid to user 0 succeeded
2021-01-18 17:57:15,750 INFO supervisord started with pid 6
2021-01-18 17:57:16,752 INFO spawned: 'plexmediaserver' with pid 60
2021-01-18 17:57:16,753 INFO spawned: 'shutdown-script' with pid 61
2021-01-18 17:57:16,753 INFO reaped unknown pid 7 (exit status 0)
2021-01-18 17:57:17,754 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-18 17:57:17,754 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-18 18:03:50,197 WARN received SIGTERM indicating exit request
2021-01-18 18:03:50,197 DEBG killing shutdown-script (pid 61) with signal SIGTERM
2021-01-18 18:03:50,197 INFO waiting for plexmediaserver, shutdown-script to die
2021-01-18 18:03:50,197 DEBG 'shutdown-script' stdout output:
[info] Initialising shutdown of process(es) '^/usr/lib/plexmediaserver/Plex Media Server' ...

2021-01-18 18:03:50,241 DEBG 'plexmediaserver' stdout output:
Critical: libusb_init failed

2021-01-18 18:03:50,270 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 23244627526224 for <Subprocess at 23244628046992 with name plexmediaserver in state RUNNING> (stdout)>
2021-01-18 18:03:50,270 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 23244628045936 for <Subprocess at 23244628046992 with name plexmediaserver in state RUNNING> (stderr)>
2021-01-18 18:03:50,270 INFO exited: plexmediaserver (exit status 0; expected)
2021-01-18 18:03:50,270 DEBG received SIGCHLD indicating a child quit
2021-01-18 18:03:51,272 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 23244627526992 for <Subprocess at 23244627526320 with name shutdown-script in state STOPPING> (stdout)>
2021-01-18 18:03:51,272 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 23244627569392 for <Subprocess at 23244627526320 with name shutdown-script in state STOPPING> (stderr)>
2021-01-18 18:03:51,272 INFO stopped: shutdown-script (exit status 0)
2021-01-18 18:03:51,273 DEBG received SIGCHLD indicating a child quit
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-01-18 18:09:31.335475 [info] System information Linux Tower 5.10.1-Unraid #1 SMP Thu Dec 17 11:41:39 PST 2020 x86_64 GNU/Linux
2021-01-18 18:09:31.352423 [info] OS_ARCH defined as 'x86-64'
2021-01-18 18:09:31.369270 [info] PUID defined as '99'
2021-01-18 18:09:31.387454 [info] PGID defined as '100'
2021-01-18 18:09:31.695287 [info] UMASK defined as '000'
2021-01-18 18:09:31.711679 [info] Permissions already set for volume mappings
2021-01-18 18:09:31.728730 [info] Deleting files in /tmp (non recursive)...
2021-01-18 18:09:31.746232 [info] TRANS_DIR defined as '/config/transcode'
2021-01-18 18:09:31.763377 [info] Starting Supervisor...
2021-01-18 18:09:31,863 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2021-01-18 18:09:31,863 INFO Set uid to user 0 succeeded
2021-01-18 18:09:31,864 INFO supervisord started with pid 6
2021-01-18 18:09:32,866 INFO spawned: 'plexmediaserver' with pid 60
2021-01-18 18:09:32,867 INFO spawned: 'shutdown-script' with pid 61
2021-01-18 18:09:32,868 INFO reaped unknown pid 7 (exit status 0)
2021-01-18 18:09:33,868 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-18 18:09:33,869 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-01-18 18:42:45.805760 [info] System information Linux Tower 5.10.1-Unraid #1 SMP Thu Dec 17 11:41:39 PST 2020 x86_64 GNU/Linux
2021-01-18 18:42:45.973863 [info] OS_ARCH defined as 'x86-64'
2021-01-18 18:42:46.027196 [info] PUID defined as '99'
2021-01-18 18:42:46.182844 [info] PGID defined as '100'
2021-01-18 18:42:46.829077 [info] UMASK defined as '000'
2021-01-18 18:42:46.845695 [info] Permissions already set for volume mappings
2021-01-18 18:42:46.948785 [info] Deleting files in /tmp (non recursive)...
2021-01-18 18:42:47.018534 [info] TRANS_DIR defined as '/config/transcode'
2021-01-18 18:42:47.112587 [info] Starting Supervisor...
2021-01-18 18:42:58,211 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2021-01-18 18:42:58,211 INFO Set uid to user 0 succeeded
2021-01-18 18:42:58,324 INFO supervisord started with pid 6
2021-01-18 18:42:59,326 INFO spawned: 'plexmediaserver' with pid 60
2021-01-18 18:42:59,327 INFO spawned: 'shutdown-script' with pid 61
2021-01-18 18:42:59,327 INFO reaped unknown pid 7 (exit status 0)
2021-01-18 18:43:00,327 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-18 18:43:00,327 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-18 18:43:01,962 DEBG 'plexmediaserver' stderr output:
Plex Media Server is already running. Will not start...

2021-01-18 18:43:01,962 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22373460030032 for <Subprocess at 22373460550800 with name plexmediaserver in state RUNNING> (stdout)>
2021-01-18 18:43:01,963 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22373460549744 for <Subprocess at 22373460550800 with name plexmediaserver in state RUNNING> (stderr)>
2021-01-18 18:43:01,963 INFO exited: plexmediaserver (exit status 1; not expected)
2021-01-18 18:43:01,963 DEBG received SIGCHLD indicating a child quit
2021-01-18 18:43:02,965 INFO spawned: 'plexmediaserver' with pid 66
2021-01-18 18:43:03,966 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds

gpu.PNG

nvid.PNG

plex.PNG

tower-diagnostics-20210118-2004.zip

plug.PNG

Edited by Spucoly2
oops
Link to comment
On 1/19/2021 at 10:45 PM, Spucoly2 said:

Any Takers????

two questions/suggestions:-

1. i see from the nvidia plugin screenshot that it shows two options with radio buttons for 'select preferred driver version' neither are selected, have you tried selecting one?.

2. how are you verifying that hw transcoding is not taking place?, keep in mind if you stream internally then transcoding will most likely not happen as it will probably be a direct stream, try switching to 3G/4G/5G on your phone or tablet then stream from plex and check for the magic 'hw' in the details of the stream in plex ui - if you have a fast internet connection it is still possible it will be a direct stream so try to force the bitrate down on your device to force it transcode.

 

if its working you should see this in plex ui, note (hw):-

 

image.png.1fcc7499ee0925e9fec3cab9ba0a905d.png

  • Thanks 1
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.