Created by: tracedgod
Purpose of proposed changes
Add support for Linux Driver version 525.89.02
Essential steps taken
-
Testing NvENC (See Notes) -
Testing NvFBC
Notes
I tried to run the test ffmpeg command given in the wiki, but I receive the following error:
[h264_nvenc @ 0x55e98e2b0680] OpenEncodeSessionEx failed: out of memory (10): (no details)
Segmentation fault
I tried to run the same command on the official non-patched drivers, and still receive the error:
ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \
-f lavfi -i testsrc -t 50 \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null -
I was able to get the following command to run on both official non-patched, as well as the patched drivers and it runs with no issue:
ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \
-f lavfi -i testsrc -t 50 \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null -
Not sure if this means this patch is not working, I have not tested patched previous driver versions to see if the error happens on those versions as well.
I have not tested the NvFBC patch.
For reference, the card I am utilizing this patch for is an NVIDIA Quadro P400
which is installed into my Home Rack Server running Proxmox as the Host OS, which then is passed through to an LXC container running my Plex instance for hardware decoding use.