On QNAP, already built into the package is a “PlexData” shared folder mechanism.
This PlexData shared folder links the QPKG internal storage to FileStation.
All you need to do is:
- Stop PMS
- Create a shared folder, anywhere you want, named
PlexData(exact case) - Start PMS
- Open FileStation → PlexData
- You will see a
Plex Media Serverfolder link.
When you click Plex Media Server, it will actually open the storage location under .qpkg/PlexMediaServer.
This mechanism makes it easy to do backups, fix what’s broken, and make custom edits of your “Preferences.xml”
-
After PMS starts up ok, you can stop it
-
Make certain the QNAP Text Editor app is installed.
-
In FileStation, open PlexData/PlexMediaServer
-
Right-click ‘Preferences.xml’ → Open with Text Editor
-
go to the last line , before the closing
/> -
This is where we specify which GPU to use.
a. /dev/dri/renderD128 is the QSV ASIC in the CPU
b. /dev/dri/renderD129 is the first Nvidia GPU card you have installed. -
To the Preferences.xml file, add
HardwareDevicePath="/dev/dri/renderD129"
(be certain to have a space before and after the preference)
It will look like:
SomePref="Value" HardwareDevicePath="/dev/dri/renderD129" /> -
SAVE the file
-
Start PMS
-
To change back to the QSV ASIC (with PMS stopped), either -
a. Change 129 → 128 and save
b. Remove the entire preference=value and save
Secondary reference: