keylase / nvidia-patch

This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
3.43k stars 268 forks source link

On Windows, users must be instructed to patch the files in C:\Windows\System32\DriverStore\FileRepository\nvm*.inf_amd64_* #427

Open doctorpangloss opened 3 years ago

doctorpangloss commented 3 years ago

Otherwise some applications will not load the patch.

Snawoot commented 3 years ago

I suppose it's true for drivers installed by Windows Updates, not by bundle from Nvidia site. Right?

doctorpangloss commented 3 years ago

I suppose it's true for drivers installed by Windows Updates, not by bundle from Nvidia site. Right?

No, drivers from NVIDIA will need this patch.

doctorpangloss commented 3 years ago

As a followup, anyone using the DCH drivers must update these. Most users will have DCH drivers.

ajansveld commented 2 years ago

@doctorpangloss I noticed the same, were you able to patch the files in this directory? Seems like it might be harder than just running the patcher as System.

doctorpangloss commented 2 years ago

As an update, I have successfully patched these files by taking permissions of them.

Kheopsian commented 1 year ago

Precisely, how should we patch these files, and what file ? Because, I installed the new driver, patched it, did the bump for limit. Using ffmpeg test i can start a lot of stream, but when I try plex transcoding, I'm still limited to 5

doctorpangloss commented 1 year ago

Install gsudo, then run the copy commands as Trusted Installer:

choco install -y gsudo
sudo --ti cp source.dll C:/Windows/.../destination.dll

Alternatively, use icacls to temporarily take ownership of the destination, then revert to trusted installer. Maybe consult ChatGPT for details.