Jump to content
linuxserver.io

[Plugin] Linuxserver.io - Unraid Nvidia

1253 posts in this topic Last Reply

Recommended Posts

9 minutes ago, sturmstar said:

How or where would I do that? In the script? I could test it right now...

Yes, inside the script "Plex Transcoder", change it to :

 

#!/bin/sh 

exec /usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@"

 

Share this post


Link to post
4 hours ago, DrAg0n141 said:

Hi, i am installed the Patches Nvidia Unraid Build. All is fine in watch nvidia-smi it shows a process. But my CPU usage is very high. I am using a GTX 1050ti. Someone knows my problem? I am need to use the Patch?

 

Thanks for the help.

Did you create the DECoding patch too?  if you just enable hw transcode, the CPU is still decoding.  With the "workaround patch", it also hw decode instead of CPU decode.  There is some drawback to the workaround, but i find it very good for now.

Share this post


Link to post
5 minutes ago, Pducharme said:

Yes, inside the script "Plex Transcoder", change it to :

 

#!/bin/sh 

exec /usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@"

 

Confirmed! I just tested it. Works perfectly! Thank you very much - just wondering why this didn't popup yet... anyway thanks for the quick response and solution!

 

best regards

Share this post


Link to post
Just now, sturmstar said:

Confirmed! I just tested it. Works perfectly! Thank you very much - just wondering why this didn't popup yet... anyway thanks for the quick response and solution!

 

best regards

You welcome.  Looks like i'll have to update my script to add the "exec" too.  Thanks for testing it.

Share this post


Link to post
1 minute ago, sturmstar said:

Confirmed! I just tested it. Works perfectly! Thank you very much - just wondering why this didn't popup yet... anyway thanks for the quick response and solution!

 

best regards

Awesome and thanks for testing! This is killer. I’m picking up a 1660 ti today to see if I can fix my poor decode quality and with this, now I’m super excited. 

Share this post


Link to post
1 minute ago, depreciated_ said:

Awesome and thanks for testing! This is killer. I’m picking up a 1660 ti today to see if I can fix my poor decode quality and with this, now I’m super excited. 

Be aware that the 1660Ti requires driver 419.17+, and the Unraid Plugin is at 410.78, and the Slackware source is at 418.x ,so you'll have to wait for :

 

1. Slackware to update to 419.17+

2. LS.io to update the Unraid NVIDIA to have that version.

 

Share this post


Link to post
2 minutes ago, Pducharme said:

Be aware that the 1660Ti requires driver 419.17+, and the Unraid Plugin is at 410.78, and the Slackware source is at 418.x ,so you'll have to wait for :

 

1. Slackware to update to 419.17+

2. LS.io to update the Unraid NVIDIA to have that version.

 

Yeah I’m patiently waiting.  The return period on my 1050 ti is up today so it’s going back.  Just getting prepped at this point.

Share this post


Link to post
24 minutes ago, sturmstar said:

Confirmed! I just tested it. Works perfectly! Thank you very much - just wondering why this didn't popup yet... anyway thanks for the quick response and solution!

 

best regards

Updated the user script on the previous page to add "exec" to the file that's created.  Thanks for looking into this.

 

On my 1050ti I've been getting high CPU usage on occasion too.

Share this post


Link to post
2 hours ago, depreciated_ said:

Yeah I’m patiently waiting.  The return period on my 1050 ti is up today so it’s going back.  Just getting prepped at this point.

The 1050 ti is more than capable of doing pretty much anything (encoding and decoding) why swap it out?

Share this post


Link to post

Hey all, got my P2000 in over the weekend and I just wanted to say thanks for this awesome plugin!   Working VERY well and I'm impressed with how much of a difference it's made not killing my CPUs with transcodes.

Edited by MisterLas

Share this post


Link to post

@Pducharme
What would the whole script look like? I don't really know where to add that extra line to fix the parsing of decoding.
I appreciate the help!

#!/bin/sh 

con="plex"

echo ""
echo "<font color='red'><b>Applying hardware decode patch...</b></font>"
echo "<hr>"

docker exec -i $con mv "/usr/lib/plexmediaserver/Plex Transcoder" "/usr/lib/plexmediaserver/Plex Transcoder2"docker exec -i $con /bin/sh -c 'printf"#!/bin/sh\n/usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "\""\$@"\""" > "/usr/lib/plexmediaserver/Plex Transcoder";'
docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex Transcoder"
docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@""
docker restart $con

echo ""
echo "<font color='red'><b>Done!</b></font>"

 

Share this post


Link to post
1 hour ago, MowMdown said:

The 1050 ti is more than capable of doing pretty much anything (encoding and decoding) why swap it out?

I've been doing a lot of testing with the 1050ti and rtx 2080's in the past few days.  In regards to decoding on linux, the video quality on 4k content is very poor with pascal.  The new turing architecture uses much better decoder on the chip and for another 80 bucks, its worth it for me to upgrade to an 1660.  Also more vram :)

 

https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/technologies/turing-architecture/NVIDIA-Turing-Architecture-Whitepaper.pdf

Share this post


Link to post
3 minutes ago, blinside995 said:

@Pducharme
What would the whole script look like? I don't really know where to add that extra line to fix the parsing of decoding.
I appreciate the help!


#!/bin/sh 

con="plex"

echo ""
echo "<font color='red'><b>Applying hardware decode patch...</b></font>"
echo "<hr>"

docker exec -i $con mv "/usr/lib/plexmediaserver/Plex Transcoder" "/usr/lib/plexmediaserver/Plex Transcoder2"docker exec -i $con /bin/sh -c 'printf"#!/bin/sh\n/usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "\""\$@"\""" > "/usr/lib/plexmediaserver/Plex Transcoder";'
docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex Transcoder"
docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@""
docker restart $con

echo ""
echo "<font color='red'><b>Done!</b></font>"

 

Just there (in first Line starting with docker exec) :

 

"#!/bin/sh\nexec /usr/lib/plexmediaserver/

Edited by Pducharme

Share this post


Link to post
2 minutes ago, blinside995 said:

What would the whole script look like? I don't really know where to add that extra line to fix the parsing of decoding.
I appreciate the help!

Go back to the previous page where you got this script from and recreate it using that - it's been updated with the exec command in place.  Also note in the one you've just quoted there is a line break missing, so two commands are on a single line (in other words, replace it with the new version).

Share this post


Link to post
4 minutes ago, Cessquill said:

Go back to the previous page where you got this script from and recreate it using that - it's been updated with the exec command in place.  Also note in the one you've just quoted there is a line break missing, so two commands are on a single line (in other words, replace it with the new version).

Done an done. Thank you so much for making the script seems to work great.
I'm clueless with scripting. 

Share this post


Link to post
8 minutes ago, Pducharme said:

Just there (in first Line starting with docker exec) :

 

"#!/bin/sh\nexec /usr/lib/plexmediaserver/

Thanks for the super fast reply! Cessquill, updated the script posted earlier so, I grabbed that. 

Share this post


Link to post
5 minutes ago, blinside995 said:

Done an done. Thank you so much for making the script seems to work great.
I'm clueless with scripting. 

Not a problem.  I'm not far ahead of you.

 

I'm sure there's a more efficient way of scripting it, since I'm just literally converting each step of the manual process into a docker command.

Share this post


Link to post
12 minutes ago, Cessquill said:

Not a problem.  I'm not far ahead of you.

 

I'm sure there's a more efficient way of scripting it, since I'm just literally converting each step of the manual process into a docker command.

I'm sure if someone has a better way they'll let you know. It's the internet after all. haha. 
My plex seems to of died. It won't play anything. 

Share this post


Link to post

Hello! Small question.

I have an old AMD Phenom X6 1045T with 24G of ram. I currently run Plex on it.  

Do you think my setup can handle some transcode using a Quadro P2000?

Is it a good "route" to go or I'm better to change my hardware (CPU, Ram) with newer stuff... Like Intel i5.

I'm OK for a 500$ upgrade... 

Tks for your help!

 

Regards,

 

 

Share this post


Link to post
6 minutes ago, speedmax1979 said:

Hello! Small question.

I have an old AMD Phenom X6 1045T with 24G of ram. I currently run Plex on it.  

Do you think my setup can handle some transcode using a Quadro P2000?

Is it a good "route" to go or I'm better to change my hardware (CPU, Ram) with newer stuff... Like Intel i5.

I'm OK for a 500$ upgrade... 

Tks for your help!

 

Regards,

 

 

Next month cheapest turing 1650 comes out. Best to wait for that.

 

Even with it's "2" streams

Share this post


Link to post

Just ordered a used Quadro P1000 card on ebay! I have a question though. I see that the Quadro P1000 has a transcode limit of 2. If there is a 3rd video that gets requested to be transcoded, does it drop down to the CPU to handle or will it get rejected? I'd love unlimited transcoding but it looks like the software limits it on this card.

Share this post


Link to post
21 minutes ago, bonedrums said:

Just ordered a used Quadro P1000 card on ebay! I have a question though. I see that the Quadro P1000 has a transcode limit of 2. If there is a 3rd video that gets requested to be transcoded, does it drop down to the CPU to handle or will it get rejected? I'd love unlimited transcoding but it looks like the software limits it on this card.

CPU if stream limit is reached.

Share this post


Link to post
13 minutes ago, Dazog said:

CPU if stream limit is reached.

Thanks! If I need an unlimited transcode quantity I'll make sure to upgrade the card! Thanks everyone for all of your work on this amazing feature set for unraid. Very cool!!!

Share this post


Link to post
3 hours ago, Dazog said:

Next month cheapest turing 1650 comes out. Best to wait for that.

 

Even with it's "2" streams

Ok, Tks for your answer. 
But, is a P2000 can work with my curent setup?

AMD Phenom X6 1045T with 24G of ram.

Did someone try this card with an older CPU like mine?

Tks,

Edited by speedmax1979

Share this post


Link to post
2 minutes ago, speedmax1979 said:

Ok, Tks for your answer. 
But, is a P2000 can work with my curent setup?

AMD Phenom X6 1045T with 24G of ram.

Did someone try this card with an older CPU like mine?

Tks,

I'm running my new P2000 (got it this weekend) in conjunction with dual L5640s.   They're not the slowest, but rather old, and I saw major improvements since bringing the quadro in the mix.

Share this post


Link to post

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.