Server Version#: 1.32.7.7621
QNAP TVS-672X
NVIDIA Quadro P2000
I bought a NVIDIA Quadro P2000 based on QNAP compatibility list: Compatibility List - QNAP in order to use it to transcode video stream. After installing NVIDIA Drivers and map the device in my docker compose (PLEX is hosted in container station), GPU isn’t used to transcode.
Driver currently in use: 515.48.07 (nvidia-smi result in my plex container)
What’s happening here is the ASS subtitles are forcing CPU involvement.
(Hardware is suppressed)
Nov 18, 2023 00:07:05.060 [139814399597368] DEBUG - [Req#dc/Transcode] Streaming Resource: Reached Decision id=87184 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=330019 part=(id=351595 decision=transcode container=mp4 protocol=dash streams=(Video=(id=987695 decision=copy width=3840 height=1608) Audio=(id=987696 decision=transcode bitrate=256 encoder=aac channels=2 rate=48000) Subtitle=(id=987698 decision=transcode bitrate=2147483647 encoder=ass languageCode=fra location=sidecar))))
Nov 18, 2023 00:07:05.063 [139814526004024] DEBUG - Completed: [172.29.64.8:60886] 200 GET /video/:/transcode/universal/decision
Does your player support ASS subtitles ? It appears not.
If it does, do you have the playback settings to “Always Burn”?
If so, change to “Automatic”.
I’ve just carried out a number of tests during the afternoon:
QTS mode
Container Station mode
Creating alone with a docker compose file
Creating Plex as a container through QNAP UI interface
Creating Plex as a container through QNAP CLI
None of the tests were conclusive, so I proceeded to the last test, using the native application and… There were no problems.
The advantage of Docker was that it was easy to maintain and there was a single stack for all the services which work in parallel. After several modifications, I restored an environment similar to the previous one. I’m disappointed that it didn’t work with Docker, too bad!
I must apologize for not remembering everything about Docker-on-QNAP behavior.
Docker is generic and runs on all hosts
Plex on native QNAP is customized for QTS/QuTS.
It’s for this reason, you’ll not get Nvidia support from any of the docker images without customization to add the QNAP drivers & libraries to the environment prior to PMS launch.
Native works because I added the support to the QPKG