[Guide] Hardware Transcoding: The JDM way! QuickSync and NVENC

So maybe someone can give their input on this. I encountered a NFS problem…“Stale File Handle” which from googling basically means that the NFS server changed and I gather wasn’t reflected on the client end so it borked it. I ended up doing a sudo umount -f /plexmedia and then sudo mount -a which took care of the problem.

Is there some ways to prevent that from happening? All I did was tidy up the server share by deleting some stuff.

this is one option you can use to avoid this issue:

ok, I’m coming from a windows environment, so please forgive the lack of knowledge

I understand the setup of ubuntu and the plex setup, but the way I have my setup is 2 separate NAS boxes, and this will replace my primary PMS/transcoder box

Why am I setting up Unraid? is it to facilitate the remote connections?

Unraid is the OS that a large majority of the people around here use for their storage servers. If you already have another OS on your NAS, you should be able to keep using it, you’ll just need to figure out how to export the media via NFS. If you’re not sure how to do that, you can make a separate post in #technology:tech-support or ask for help in the Discord tech support channel. Once you have the media shared via NFS, you can use the remainder of the guide above to set up Plex on the dedicated box.

1 Like

thank you so much for the quick reply.
the 2 NAS’ will be readybuilt appliances (sacrilege , I know), but per the documentation do support NFS
so I would set them up to share via nfs, and then use the rest of the guide to mount them so PMS on Ubuntu can see them and I’m good to go. yes?

Yep, as long as you can get the files exported from your NAS appliances via NFS, you can follow the rest of the guide pretty much as written.

1 Like

Thanks so much for the great writeup, @JDM_WAAAT!

I’m currently implementing this, finally migrating from a single windows box to a SuperMicro 846 unRAID NAS + Ubuntu Quicksync combo. Since it’s been a while since someone asked this question, is it safe to use Ubuntu 19.10 or should I hunt for a 19.04 download?

You can try 19.10, but I haven’t validated its functionality yet. Last I heard, there were some outstanding issues.

I love the idea of a seperate NAS Killer and a QuickSync transcoding box.
I’m testing this with two J1900 builds. One as a NAS Killer and the other as the PlexBox.
I’m thinking about using the NAS for storing my media but syncing it to the PlexBox.
This way I have a backup of my media on my NAS and Plex can use local storage for accessing the media.
What do you think about this?

I followed the guide and did something wrong somewhere.

I have a NAS with unraid and using the hp 290 running ubuntu 19.04.

I did the df -h command to see my mounted drives and the media shares from unraid don’t show up.

Not sure what to do to troubleshoot this.

UNRAID shares:

Ubuntu ftsab file: /mnt/4ktv nfs defaults,noatime 0 0 /mnt/4kmovies nfs defaults,noatime 0 0 /mnt/tv nfs defaults,noatime 0 0 /mnt/movies nfs defaults,noatime 0 0

Do you have your unraid NFS permissions set correctly?

I think so, they are set to Private. Same user name/pw for ubuntu user and unraid user.

Edit: I updated the password for my unraid/ubuntu user to ensure it was the same, rebooted and ran df -h and the drives are now mounted.

Thanks for the help, awesome guide!

hmmm just wondering,
is it really needed for a dummy plug when using igpu transcodes?
I followed ur guide, but using ubuntu18.04 and nfs from my NAS. When transcode, both top and bottom shows hw which means its transcoding, but I didn’t plug in anything.

From what I understand dummy plug needed if you don’t have the machine plugged into a monitor.

this is what i read here too,
but mine didn’t plug anything and hw transcoding works.
but on ubuntu 18.04,
this is why i asked.

here is a screenshot1584893574(1)

18.04 is not recommended.

What are your reasons for recommending 19.04 over the LTS (18.04). Would the LTS not be preferred for long term stability?

19.10 will actually be the new recommendation when I have time to update the guide.
18.04 does not support all of the necessary codecs and whatnot for HW transcoding.

Thanks that’s good to know.

My server is too old to have quicksync hardware but I was reading through the guide out of curiosity.