yes. that is what I have installed. Will uninstall and reinstall to make sure. using QTS ver 4.4.3.1354 dated 7/2/2020
uninstalled and reinstalled nvidia driver from qnap app store. card is set for qts. nas was restarted. tried a few different transcodes, same this, ones that showed as HW transcod, not using GPU. more logs attached Plex Media Server Logs_2020-07-08_13-03-42.zip (5.6 MB)
Please look at the system log. I write any errors there.
If you examine plex.sh
( /share/*/.qpkg/PlexMed*/plex.sh
) you can see where I query the QNAP utility to obtain the status and determine if a card is available for use.
I run through the list of returned cards and look for the first qualifying card.
I would like you to also look in /dev/dri
at the shell level.
Let me know which device entries you see (ls -la /dev/dri
)
While at the command line , please let me know the output of
gpuhal_app -l
ok. the plex.sh script is there. How can I tell if it is finding the card ? out of requested commands is below
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ls -la /dev/dri
total 0
drwxr-xr-x 2 admin administrators 120 2020-07-08 12:47 ./
drwxr-xr-x 19 admin administrators 22720 2020-07-08 12:48 …/
crw-rw-rw- 1 admin administrators 226, 0 2020-07-08 08:41 card0
crw-rw-rw- 1 admin administrators 226, 1 2020-07-08 12:47 card1
crw-rw-rw- 1 admin administrators 226, 128 2020-07-08 08:41 renderD128
crw-rw-rw- 1 admin administrators 226, 129 2020-07-08 12:47 renderD129
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # gpuhal_app -l
0:Intel Corporation:HD Graphics 630:internal:2
1:NVIDIA Corporation:GP106 [GeForce GTX 1060 3GB]:external:7
just as I wrote above, from the command line:
- List all the cards in the system
gpuhal_app -l
-
Find the one(s) labeled NVIDIA
-
The number which precedes the name (column 1) is the enumeration (GPU ID). This is a hexidecimal number. It’s common to see
f
(15 hex)
gpuhal_app -s GPU_ID_NUMBER_HERE
- Now look for:
a. driver_installed=1
b. real_status=2
If both of those exist, the card is considered viable.
here is the code fragment where these tests are performed and then how I get the path to where the drivers are installed (which I pass to PMS)
# Test this card, get the entire line
CANDIDATE=$(head -$CURRENT_GPU $TEMPFILE | tail -1)
# Test if NVIDIA card installed
NVIDIA=$(echo $CANDIDATE | grep NVIDIA | wc -l)
if [ $NVIDIA -gt 0 ]; then
# Extract GPU_ID from candidate info, and get status.
GPU_ID=$(echo $CANDIDATE | awk -F: '{print $1}')
GPU_STATUS=$(gpuhal_app -s $GPU_ID)
# Are the GPU Drivers installed?
if [ $(echo $GPU_STATUS | grep driver_installed=1 | wc -l) -gt 0 ]; then
# Is the GPU in QTS mode?
if [ $(echo $GPU_STATUS | grep real_status=2 | wc -l) -gt 0 ]; then
# Get the QPKG package name.
GPU_QPKG=$(echo $GPU_STATUS | sed -e 's/^.*driverqpkg=//' | sed -e 's/,.*$//')
# Get NVIDIA driver-env.sh information. (where all the variables are)
GPU_SH=$(/sbin/getcfg $GPU_QPKG Install_Path -f /etc/config/qpkg.conf)/driver-env.sh
ok, so, it loks like drive installed and real status is correct
gpuhal_app -s 1
active_status=2,real_status=2,driverqpkg=NVIDIA_GPU_DRV,driver_installed=1,in_used=ubuntu-hd,transcode=1,display=1,pcie_slot=1,pcie_vp=1
So , how do we get plex to use it ?
what’s the make & model? (many manufacturers use Nvidia chips)
I ask because if the status information is there, the board interface logic is working but does not indicate whether there’s power to run the actual transcode engine.
This might be what’s failing — PMS is testing it and not able to get the needed status using the Nvidia drivers.
ZOTAC GeForce GT 1030 2GB GDDR5 64-bit PCIe 3.0 DirectX 12 HDCP Ready Low
Profile Video Card ZT-P10300A-10L
i chose one that was on qnap compatability list
what is this please?
in_used=ubuntu-hd
What do you have assigned to it / hooked up to? The card looks like it’s committed elsewhere.
transcode=1,display=1
there was an ubuntu VM . I removed it completely. tried transcoding again. still the same Plex Media Server Logs_2020-07-08_23-17-33.zip (4.9 MB)
when you query the GPU now, has the VM reference been removed?
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
Thanks for that.
Everything is as it should be.
If QTS isn’t allowing PMS to see the PCIe then it must be the QNAP firmware blocking it. (there are a number of models where PCIe GPUs cannot be used – QNAP blocked)
There is nothing I can do about this. I can only suggest you verify with QNAP the card can be used, in that NAS model, with Plex.
ok. thanks for all you efforts
the gtx 1030 graphics card does not support hardware transcoding, it takes at least a gtx 1050ti.
The issue isn’t the GT1030, that’s not a good post to be flagged as the solution. The TVS series simply doesn’t support QTS mode despite the GUI seeming to allow it. The HCL on QNAPs site clearly shows this - TVS models only support container station and virtualization station regardless of GPU model. This is why the OP switching to a 1060 made no difference.
Tldr for some ridiculous reason the TVS series still doesn’t actually support QTS mode for GPU
I think because the TVS has the GPU integrated on CPU and qnap does not allow to use an external gpu in the qts container.
QTS does allow external GPUs in containers.
The issue here is their inconsistency across the families (TS and TVS).
The integrated video is not really properly enumerated & available to anything other than QNAP applications. This is also in need of remedy.
I am working with their new PM on correcting & unifying this.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.