Server Version#: 1.40.4.8679
I have encountered a persistent issue with GPU transcoding in Plex on my QNAP TS-473A after each reboot. Despite configuring everything correctly, the GPU transcoding settings are not retained, and Plex defaults to auto mode, disabling hardware acceleration. Here is a detailed description of the problem, potential workarounds, and the root cause analysis.
Symptoms
- Hardware Transcoding Settings Not Retained:
• After every reboot, Plex loses the GPU transcoding settings.
• The settings revert to auto mode, and hardware acceleration is disabled.
- Manual Intervention Required:
• Each time the NAS is rebooted, I have to manually delete the HardwareDevicePath from the Preferences.xml file.
• After deleting the HardwareDevicePath, I can select the GPU in Plex transcoder settings.
• However, the problem reappears after the next reboot.
Technical Details
Here are the critical settings from the Preferences.xml file that need to be configured for GPU transcoding:
TranscoderUseHardware=“1”
TranscoderUseHardwareDecoding=“1”
HardwareAcceleratedCodecs=“1”
HardwareDevicePath=“10de:1f82:1462:8d92@0000:01:00.0”
HardwareAcceleratedTranscodeGpu=“1”
TranscoderH264BackgroundPreset=“veryslow”
TranscoderThrottleBuffer=“120”
TranscoderQuality=“1”
Steps to Reproduce the Problem
-
Configure Plex to use GPU for hardware transcoding.
-
Reboot the QNAP NAS.
-
Observe that Plex loses the GPU transcoding settings and reverts to auto mode.
-
Manually delete HardwareDevicePath from Preferences.xml.
-
Restart NAS and reconfigure Plex to use GPU transcoding.
-
Observe the same issue upon the next reboot.
Identified Cause
The issue appears to be that Plex starts too quickly after the NAS reboot, before the GPU drivers are fully initialized. This causes Plex to default to auto mode and disable hardware acceleration.
Workaround
A simple workaround that I found after multiple tests is to restart the Plex server manually after the QNAP system has fully booted. This ensures that the Nvidia drivers are loaded and Plex can recognize the GPU.
Proposed Solution
Plex should provide an option to either:
-
Restart the Plex server with a delay after the QNAP system starts to ensure the Nvidia drivers are fully loaded.
-
Introduce a built-in delay in the Plex server startup process to wait for the Nvidia drivers to initialize.
Conclusion
This issue seems to be a bug in the way Plex interacts with the QNAP NAS during startup. By ensuring the Plex server starts only after the Nvidia drivers are fully initialized, the GPU transcoding settings can be retained. Plex or QNAP should consider addressing this issue in future updates.
Screenshots
I have attached a few screenshots that illustrate the problem and the necessary configuration steps:
-
Plex Transcoder Settings
-
Hardware Transcoding Device
-
Preferences.xml Settings
YouTube Explanation
Here is a [YouTube video: https://www.youtube.com/watch?v=RZL5hRZEEnU&t=637s] where someone explains the problem by changing the Hardware-Device-Path. However, this solution only works because the server is restarted, which does not address the root problem.
By following these steps, you can mitigate the issue of losing GPU transcoding settings on Plex after a QNAP NAS reboot. Hopefully PLEX will address this issue. There no way to contact PLEX directly…




