GPU Transcoding

QNAP TVS-H1688x
Server: 1.27.2.5929:
Card: Geforce GTX 1650

My Qnap shows support for hardware encoding, I have the Nvidia drivers installed and the resource use is set to QTS Mode. Under Transcoder Use Hardware acceleration and hardware accelerated video transcoding are selected. With all that my system does not use the Nvidia card. I put in a ticket with QNAP and after some testing it showed that the card is working properly with their media server. Any ideas on how I can get plex to use the card?

Thanks

@angrywilson

Are you aware the Xeon W-1250 in your NAS already supports HW transcoding?

We have a TVS-1288 in our lab running QTS and, to date, I’ve not been able to overload the QSV ASIC (I don’t have 2Gbps bandwidth from our HQ Lab).

If you want to use the Nvidia instead of the onboard QSV, I can give you those instructions.

I would appreciate the instructions, I would like to benchmark the two. I would think that the Nvidia card would have a higher processing power. I often transcode movies in bunches so time does matter.

On QNAP, already built into the package is a “PlexData” shared folder mechanism.

This PlexData shared folder links the QPKG internal storage to FileStation.

All you need to do is:

  1. Stop PMS
  2. Create a shared folder, anywhere you want, named PlexData (exact case)
  3. Start PMS
  4. Open FileStation → PlexData
  5. You will see a Plex Media Server folder link.

When you click Plex Media Server, it will actually open the storage location under .qpkg/PlexMediaServer.

This mechanism makes it easy to do backups, fix what’s broken, and make custom edits of your “Preferences.xml”

  1. After PMS starts up ok, you can stop it

  2. Make certain the QNAP Text Editor app is installed.

  3. In FileStation, open PlexData/PlexMediaServer

  4. Right-click ‘Preferences.xml’ → Open with Text Editor

  5. go to the last line , before the closing />

  6. This is where we specify which GPU to use.
    a. /dev/dri/renderD128 is the QSV ASIC in the CPU
    b. /dev/dri/renderD129 is the first Nvidia GPU card you have installed.

  7. To the Preferences.xml file, add HardwareDevicePath="/dev/dri/renderD129"
    (be certain to have a space before and after the preference)
    It will look like:
    SomePref="Value" HardwareDevicePath="/dev/dri/renderD129" />

  8. SAVE the file

  9. Start PMS

  10. To change back to the QSV ASIC (with PMS stopped), either -
    a. Change 129 → 128 and save
    b. Remove the entire preference=value and save

Secondary reference:

Thank you for those detailed instructions. I just realized that half of my movies fail instantly when I try and download them/transcode. I assume that is because of the format type.

Before I post this next issue I thought I would ask you since you clearly know the system inside and out. Ever since the last update I cannot download two movies in a row. I successfully download/transcode one movie. Then the next movie basically thinks that it is making progress but it never starts to transcode. I have to go onto my qnap and stop and start the service. Then it will transcode one movie again. It also keeps adding download lines to the dashboard. See attached.

Thanks for any help

Screenshot 2022-07-11 112544

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.