After updating qts qnap and gpu nvidia KO

Do not upgrade your qnap to QTS version 4.5.3.1652 Build 20210428, you will lose the Nvidia GPU function for video encoding.

@ilboss

What’s up?

Known breakage ? Nvidia GPU DRV pack lagging behind?

yesterday (april 29th) the 5.0.2 update was released but it doesn’t work, it no longer detects the gpu on the memory and temperature capacity and obviously does not work with plex transcoding! I’m mad black with qnap! it is not the first time that these problems have happened.

Going back to 4.5.2 ?

I try to go back, but by now I have the 5.0.2 drivers I would not want them to be those.

you can uninstall the existing drivers and go to their downloads web page to manually get the GPU_DRV package

in fact, going back with the 4.0.2 drivers everything works.
i reported the problem to qnap.
They are just zero!

So I renew the appeal, do not update for now!

TO ALL READING HERE:

I see what changed.

I have the 4.0.2 drivers on 4.5.2 firmware and it changed at this point.

I’m working on our HQ Lab system now (TS-877 GT1050)

I see the new drivers aren’t reporting card data correctly.
I also see the most important part – File locations changed.

Since I don’t know what QNAP is up to, I’m going to change the packaging such that it will follow it wherever they end up storing it.

This will mean:

  1. If you upgrade NVIDIA_GPU_DRV – Restart PMS
  2. Upgrade QTS – Restart PMS

There is no way I can get any better than to go look at where the files are stored AS I start PMS.

While not the most elegant solution, it is the most bullet-proof solution.

I’ve isolated the problem with QNAP.
Specifically, they specify the drivers as being in location DRIVER_ROOT which is /opt/NVIDIA. HOWEVER, They have moved the binaries to /share/*/.qpkg/NVIDIA_GPU_DRV/usr/lib

This is likely going to be broken for some time – until QNAP fixes it
I will do my best to keep something working by hand- building

TO ALL FOLLOWING HERE:

We worked it out.
I have the patch file which can be applied to PMS 1.23.0.4459.

This patch file addresses the Nvidia GPU driver issue on QNAP.

I have further changes to make for the packaging to complete this as Engineering formalizes and finalizes their work.

I would appreciate volunteers to confirm my testing here.

If anyone with X86_64 and Nvidia GPU who has a problem with QNAP PMS crashing the moment you start to transcode a video, and are interested in applying these two patches,

Please speak up.

I will PM them to you.

hi chuck, so do you advise me to put back the qts 4.5.3 with the new 5.0.2 drivers and try the beta version of PMS? now i’m back to 4.5.2 and everything works. I am not convinced that the new drivers with QTS 4.5.3 do not detect the fan speed, the ram and the temperature of the nvidia gpu. What do you advise?

What we found was the case where the Nvidia drivers would request memory of zero length (a bug in their code).

We gave them back that block.

They proceeded to write to it. :boom:

The drivers I have in the lab are 4.0.2. It will not let me have 5.0.2 drivers yet.

I did notice the QTS update moved the Nvidia drivers to /share/CACHEDEV1_DATA/.qpkg/NVIDIA_GPU_DRV and away from /opt/NVIDIA_GPU_DRV

This is good but also broke my old installer because they didn’t update the linkages. They simply abandoned and left dangling variables to nothingness.

If you are running. Great

If you want to test this, to confirm we have both backward and forward compatibility, that would be great.

I leave the decision in your hands.

I’ve been through various attempts to get my system running again. Current combination:

TVS-873
QTS 4.5.3
downgraded nVidia drivers to 4.0.2
downgraded PMS to 1.22.3

HW decoding works and PMS doesn’t crash. I have the option to upgrade to 5.0.2 but doing so leaves me with no HW decoding in PMS and blank GPU Info in the QTS UI. PMS 1.23.0 crashes in all scenarios when something tries to use decoding. Directplay works fine.

that’s right, for now I have gone back to qts 4.5.2 and driver 4.0.2 and pms 1.22.3.4392.

Now I’m waiting for news from qnap, I hope they will release a fix on nvidia drivers soon, because that’s the problem.

Staying at PMS 1.22.3 is not going to be a viable solution.

The reason is:

  1. 1.23.0 is where the new compiler (build) tools are used
  2. “Faster , Smaller” binaries are the result.
  3. We tested the hell out of it for the past 6 months and fixed everything we found.
  4. To date, we found two issues
    a. ARMv7 - which was immediately fixed and released in 1.23.0.4459
    b. This Nvidia issue, which will be fixed in 1.23.1 because 1.23.1 is about to be released anyway. I have the patch (what’ll change in 1.23.1) in hand.

Bite the bullet now or later. What’s the choice?

ok, so do you recommend to update the PMS anyway but stay on qts 4.5.2 and nvidia driver 4.0.2? Or upgrade to qts 4.5.3 and nvidia driver 5.0.2?

My goal here is multi-fold.

  1. Support both 4.0.2 and 5.0.2 Nvidia drivers
  2. Support QTS and Hero
  3. Somehow make this all work in PMS 1.23.x and above.

If you’ll work with me today, I’m going to be spending the time to finish my packaging work.

I’d like to be able to present you with a package to install and run.

If that package runs, regardless of what’s installed, then we’re good to go.

That said, perhaps:

  1. Test on what is installed – confirm this configuration
  2. Change one thing - whether it be QTS or driver – confirm success.
  3. Change final element - confirm it also works.
1 Like

I’d be happy to help. TS-473 with Quadro. QTS is on 4.5.3 and 5.0.2 driver installed. Haven’t been able to use 1.23 as anything that gets played crashes Plex. so happy to try anything.
All still works on 1.22

Miracle Worker mode engaged; Nacelles charged.

I would very much like feedback as soon as possible.
I want to include this in PMS 1.23.1 which goes to testing tomorrow.

  1. Suppports older and new driver versions
  2. Supports older and new 4.5.3 QTS version
  3. Adds support for QuTS Nvidia Driver handling.

Fixes:

  1. Crash engaging HW transcoding
  2. Ignoring of QTS / Container / Virtualization Station modes

Just installed. Plex crashed as soon as clicking play on anything. Rebooting the NAS just in case.

@Gouldin

I tested this on the HQ TS-877 with 4.0.2 drivers & QTS 4.5.2.1566

Should be no problem.

If it still doesn’t work after, I have a few things for you to grab (if you don’t mind)