PMS 1.41.0.8930 QNAP package broken

When booting, if NVIDIA_GPU_DRV has been installed first, it will be running before PMS starts. There is no Start/Stop/Enable/Disable control. It always starts.

QNAP processes the installed packages list sequentially (Ignoring the RC_NUM value .. which they document they do) during boot.

Therefore, If NVIDIA is installed first, PMS will see it.
If the GPU is not supported for transcoding then Plex will attempt to use it but will fail at transcode time.

When PMS starts on 64-bit machines, it looks for the GPU card to respond.
If it does,

  1. Makes certain it finds the drivers
  2. Makes certain the card is not assigned to a VM or container (in QTS mode)
  3. Conditions met, it adds the GPU driver libraries to the environment for PMS to use

This process has been working since Nvidia support was added.

I was attempting to resolve the timing issue where folks added a Nvidia GPU and drivers AFTER PMS was installed (which means the drivers start after PMS does.. and PMS won’t find it at startup)

For most of us, drivers are loaded permanently into the OS.
QNAP does it differently because of their nonvolatile OS DOM chip on the motherboard. The Nvidia drivers weren’t added there nor did QNAP deem it appropriate to support a user-installed driver library directory set.

I think I have this figured out now.
My only challenge is, as PMS starts, How long to wait for the Nvidia drivers to become ready before proceeding (when to abandon the card and continue without it). Theoretically, it should be ready but I’ve learned to be pessimistic

I have an ā€œENGINEER’S BUILDā€ (mine - hahahaha)

of a PMS alpha build (from Engineering) but with my solution in it.

Might there be anyone with a 64-bit machine and Nvidia card willing to try it?

As it is already late here, I will be able to test tomorrow after 17:30 GMT+2 if no one else is up to the challenge

Been a useful app on my server for a few years now.

@ChuckPa
Pinged you on WhatsApp if you still need testing the alpha build

@broncogr

Thanks. Havent looked there yet. I tried our lab machine and broke it

:rofl:

Have more work to do lol

Version 1.41.0.8994 installed without issues.

Confirmed installation without issues on QuTS