NVIDIA Quadro P2000 transcoding issue

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)

GPU appears as a hardware transcoding device (and HDR tone mapping is disabled) :
image

Transcoding issue:

In short, everything I have tried will not enable hardware transcoding with this GPU.

Can someone please provide some insight? Thank you !

Log in attachments
Plex Media Server Logs_2023-11-18_00-10-06.zip (759.3 KB)

PMS sees your GPU.

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”.

Hi !
To test the capabilities of transcoding of the P2000, I use my web browser (Opera) and I don’t think it supports ASS subtitles.

Burn Subtitles” is already configured in “Automatic”:
image

What I find surprising, when I set my CPU’s graphics chip (UHD Graphics 630) and the same player, HW transcoding works.
image

( Log with UHD 630 in attachments)
Plex Media Server Logs_2023-11-18_18-09-37.zip (2.7 MB)

Given you have a QSV-capable CPU, now we can see HW transcoding works in the container.

Have you confirmed the card is compatible with your QNAP model ?

Yeah, and to be more specific (sorry for the omission), it’s a Leadtek NVIDIA P2000 5G, which is compatible

Do you have the card configured in QTS mode ?
(Control Panel - Hardware)

Restart PMS if you change this setting

Plex looks for the card this way:

  1. /sbin/gpuhal_app -l (see if card detected)

  2. Looks to see if (/sbin/gpuhal_app -s slot_number)
    – Drivers installed
    – QTS mode (not assigned to a VM or container)

My card was already configured in QTS mode.

Result of /sbin/gpuhal_app (command did in QNAP SSH terminal’s):

It makes no sense unless the QNAP version of the Nvidia driver has a problem.

From our TS-877

[~] # gpuhal_app -l
f:NVIDIA Corporation:GP107 [GeForce GTX 1050 Ti]:external:7
[~] # gpuhal_app -s f
active_status=2,real_status=2,driverqpkg=NVIDIA_GPU_DRV,driver_installed=1,in_used=none,transcode=1,display=1,pcie_slot=1,pcie_vp=1,va_type=none
[~] # 

PMS finds and works with this.

The one difference I see and continue to be concerned about is you’re using Docker versus us using the native app.

Other than having more scripting tools available to update docker, there is no advantage to using docker (transcoding is the same)

I am wondering if, because you’re using Docker / Container Station, You need to switch the GPU handling to ‘Container Station Mode’

Have you tried this?

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!

The main thing is that it works now

Here’s a little trick I use.

  1. ssh-copy-id admin@qnap – allows me to setup for scp without password interaction
  2. scp filename.qpkg admin@qnap:/share/Public – Put the qnap package file (downloaded however you like) in /share/Public
  3. ssh admin@qnap chmod +x /share/Public/filename.qpkg
  4. ssh admin@qnap /share/Public/filename.qpkg
  5. ssh admin@qnap /etc/init.d/plex.sh restart

How’s that for automation :hammer: ? :rofl:

@SlaughtyY

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

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