Skip to content

linux: add support for driver 595.80 and 610.43.02#1083

Open
Gelmo wants to merge 2 commits into
keylase:masterfrom
Gelmo:610.43.02
Open

linux: add support for driver 595.80 and 610.43.02#1083
Gelmo wants to merge 2 commits into
keylase:masterfrom
Gelmo:610.43.02

Conversation

@Gelmo

@Gelmo Gelmo commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

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

@MystifiedSky

Copy link
Copy Markdown

Testing PR #1083 on Unraid 7.3.1 with NVIDIA driver 610.43.02 and an RTX 2080 Ti.

Environment:

OS: Unraid 7.3.1
GPU: NVIDIA GeForce RTX 2080 Ti
Driver: 610.43.02
NVIDIA-SMI: 610.43.02
CUDA UMD Version: 13.3
Docker runtime: NVIDIA runtime via Unraid NVIDIA Driver plugin

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.sh

The patch script reported success:

Detected nvidia driver version: 610.43.02
libnvidia-encode.so
Attention! Backup not found. Copying current libnvidia-encode.so to backup.
Patched!

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:

ERROR: driverInitFileInfo 578 result=11
ERROR: init 664 result=11
ERROR: init 250 result=11

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
ldconfig

After restoring the original library, the same FFmpeg NVENC test worked and nvidia-smi showed ffmpeg actively using the GPU:

GPU Memory Usage: ~358 MiB
Process: ffmpeg

So on my setup, the PR patch applies and reports Patched!, but the patched libnvidia-encode.so.610.43.02 breaks NVENC initialization. Restoring the original backup library immediately makes NVENC work again.

Let me know if you want the SHA1/SHA256 hashes of the patched and original libraries or any additional logs.

@Gelmo

Gelmo commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

@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

@Gelmo

Gelmo commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

@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?

@Gelmo Gelmo marked this pull request as ready for review June 14, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New driver support (versionv 595.80) New driver support (version 610.43)

2 participants