keylase / nvidia-patch

This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

535.43.24 support (AV1 enc/dec)

TimCook1 opened this issue · comments

Nvidia has started releasing beta drivers that support AV1 enc/dec support. The latest version is 535.43.24, would be great to be able to unlock streams on these versions.

https://developer.nvidia.com/vulkan-driver

  • Nvidia driver version: 535.43.24
  • GPU Model: -
  • OS: Ubuntu 22.04.3
  • I'm willing to participate in testing of new patch version

@TimCook1 Nvidia released 535.43.25 immediately afterwards, so I have patched that (same patch should work on older driver too I guess).

Can you test #755 unlocks the encoder for you? Steps are in the wiki

root@server1:/home/user/nvidia# ./patch.sh
Detected nvidia driver version: 535.43.24
libnvidia-encode.so
Error: Could not find bytes '\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4' to patch in '/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.535.43.24'.

I believe these drivers are a unique branch for Vulkan support so they may differ from the mainline.

That worked with .25

Detected nvidia driver version: 535.43.25
libnvidia-encode.so
Attention! Backup not found. Copying current libnvidia-encode.so to backup.
585b6b05499ca35b41e8aa2e571ef51a26acb677 /opt/nvidia/libnvidia-encode-backup/libnvidia-encode.so.535.43.25
84a17cfcd21e1a1e77be49bf4657af13169de645 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.535.43.25
Patched!