QNAP Hardware: TVS-872x-i5 (Intel i5-8400)
Video card: ZOTAC GAMING GeForce GTX 1650 LP 4GB GDDR6 (ZT-T16520H-10L)
QNAP OS: QUTS Hero h5.0.0.2069
Server Version#: 1.27.2
Player Version#: N/A, Google TV w/ Chromecast
NVidia Kernel Driver: 5.0.1.2045 (provided by QNAP)
NVidia GPU Driver: 5.0.4.1 (provided by QNAP)
NVidia chipset: Turing TU117
NVidia NVDec: 4th gen
NVidia NVEnc: 6th gen
Plex Pass: Yes
More detailed hardware breakdown at the cross-post:
https://forum.qnap.com/viewtopic.php?f=182&t=167052
I have a new QNAP NAS as my media server for my 4K Vision/Atmos theater and I was dissatisfied with the transcoding performance offered by the onboard graphics on the Core i5. I added the graphics card above specifically for Plex to use for these situations. Following the QNAP instructions, I adjusted Plex’s Preferences.xml file to include the tag HardwareDevicePath="/dev/dri/renderD129", which I confirmed exists for my system. The result from this is that transcoding no longer works at all. Neither nvenc nor vaapi are working with this value being set.
Logs look like:
Jul 12, 2022 22:23:22.199 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: hardware transcoding: testing API nvenc
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Error — [Req#31ff/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Error — [Req#31ff/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Could not create hardware context for h264_nvenc
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: hardware transcoding: testing API vaapi
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Error — [Req#31ff/Transcode] [FFMPEG] - libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Error — [Req#31ff/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Could not create hardware context for hevc
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
Jul 12, 2022 22:23:22.200 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: hardware transcoding: testing API nvdec
Jul 12, 2022 22:23:22.201 [0x7fe776f28b38] Error — [Req#31ff/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 12, 2022 22:23:22.201 [0x7fe776f28b38] Error — [Req#31ff/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 12, 2022 22:23:22.201 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 12, 2022 22:23:22.201 [0x7fe776f28b38] Debug — [Req#31ff/Transcode] Could not create hardware context for hevc
While I did use a particular graphics card not specifically included on the QNAP compatibility list, other GTX 1650 cards are listed and in the QuTS interface everything suggests it ought to work:
Not using any virtualization or passthrough, and the unit is headless.
Anyone seen this before? I’m stuck.
