linux: add support for driver 595.80 and 610.43.02#1083
Conversation
|
Testing PR #1083 on Unraid 7.3.1 with NVIDIA driver 610.43.02 and an RTX 2080 Ti. Environment: I tested the PR branch: git clone --branch 610.43.02 --single-branch https://github.com/Gelmo/nvidia-patch.git /tmp/nvidia-patch-pr1083
cd /tmp/nvidia-patch-pr1083
bash ./patch.shThe patch script reported success: However, after applying the patch, NVENC encoding failed immediately using this FFmpeg test: docker run --rm --runtime=nvidia \
-e NVIDIA_VISIBLE_DEVICES=all \
-e NVIDIA_DRIVER_CAPABILITIES=all \
jrottenberg/ffmpeg:6.1-nvidia \
-hide_banner \
-loglevel verbose \
-f lavfi -i testsrc2=size=1920x1080:rate=30 \
-t 30 \
-c:v h264_nvenc \
-preset p4 \
-f null -With the patched library, the test exited almost immediately and showed: I then restored the original backup library: cp -a /opt/nvidia/libnvidia-encode-backup/libnvidia-encode.so.610.43.02 /usr/lib64/libnvidia-encode.so.610.43.02
ldconfigAfter restoring the original library, the same FFmpeg NVENC test worked and So on my setup, the PR patch applies and reports Let me know if you want the SHA1/SHA256 hashes of the patched and original libraries or any additional logs. |
|
@MystifiedSky Thank you for testing! This confirms that the issue is not just on my end. I will look further into this. Looks like the changes are a bit more significant this time around but I should be able to find it pretty easily once I can dedicate more time to it. MAYBE later tonight, but likely not until tomorrow or Saturday. At least NvFBC is working for now; it's just NvENC that needs to be fixed. On the bright side, whatever we find should work for most of 610.x |
|
@MystifiedSky I believe I've gotten it working! No issues on my end. Can you test with the latest commit and let me know the results? |
Fixes: #1081
Fixes: #1079
Note: I am not running 595.80 so I am unable to test. I did confirm the patched string, so this is expected to work. Someone running this driver should test.
I did test 610.43.02 with the samples from Capture_Linux_v9.0.0, which was successful. Likewise, I'm able to record with gpu-screen-recorder