Race condition with nvidia gpu

Server Version#: 1.40.1
Player Version#:any

Hi, I had previously had HW encoding running on my qnap qts installed plex server. Through me installing some unsupported hardware I broke the nvidia GPU driver installer. Today I swapped out that hardware with supported hardware and the nvidia gpu became functional again.

But I discovered a race condition with the plex server, as both the nvidia gpu drivers and plex QTS start up in QTS, its possible for plex to start before the nvidia driver has fully done its thing, that meant that if I leave plex at start up, I wont have hw encoding. But if I stop and start it later, the gpu is fully functional and then it will work. I think this might be made worse because I installed the nvidia GPU driver after plex and I think services might start up in install order.

work around: stop plex; start plex.

Took me an age to figure out after reading the plex.sh.

Have you fixed (uninstalled and properly reinstalled) the Nvidia GPU drivers ?
(there is a manual method included with the package)

You also have the ability to change whether or not the GPU is activated for Plex in Control Panel → Hardware

The race condition you speak of is controlled by QNAP. They determine the application startup order.

My start script takes a fraction of a second to run, determine whether a GPU is available to use, and launch Plex.

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