• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

NVEnc patch not working whilst installing

C0D3 M4513R

New Member
Joined
Jun 11, 2023
Messages
1 (0.00/day)
When I tried to install updated Nvidia Drivers (love this tool for making those expert tweaks so simple) I noticed a new option to Disable the artificial NVENC Steam Limit, via a patch.
When I select the checkbox for that, the patch
Code:
535.98 / GeForce / DCH
is automatically selected.
When I then configured all things to my liking, I hit Next.
I am then immediately hit with this error, in a seperate Window:
Code:
Error applying NVEnc patch: nvencodeapi.dl_ not found

I have managed to get this error, by simply doing the following:
  1. Install best driver for my hardware
  2. Next (Driver Version)
  3. Next (Components)
  4. Check "Show Expert Tweaks"
  5. Check "Apply NVENC Video Encoding Session Limit Patch (Experimental)
  6. Next (Installation Tweaks)
  7. Observe the Error described above
I am using NVCleanstall v1.15.1.

Actually seems like this is a known problem:
----------------------
I had a little look at the files and the patch being applied.
The patch below does not even apply to the file that is being downloaded to "%TMP%\NVCleanstall\Display.Driver".

------------------------
Okay, so I "just" needed to subtract "0xC00" from the offsets listed, because https://github.com/Deltafox79/Win_1...60ad02133eafca011/Win_1337_Patch/1337.cs#L150
And then I could apply the patches manually.
-------------------------
I applied the patches according to https://github.com/keylase/nvidia-patch/blob/3358c5d92e61d42c1557432e82ccda445d3fa082/win/README.md (so just download the Win 1337 Patching utiltity and apply the 1337 patch files to their binary couterparts)
-------------------------
Okay, so it seems that manually applying the patch, not selecting the "Apply NVENC Video Encoding Session Limit Patch" checkbox works.
I assume this is a simple typo somewhere....
 
Last edited:
Not sure why it's still not fixed, even though it was reported previously...

1686975800535.png
 
Also seeing this issue had to do it without the Session limit patch. Is W1zzard back from computex yet to fix?
 
I am getting the same error.



Manually patched driver works just fine
 

Attachments

  • 1686989983358.png
    1686989983358.png
    7.2 KB · Views: 131
Manually patched driver works just fine
For me it seems it doesn't...
1686997636999.png
1686997676186.png

The error changes a bit meaning the patch changed something, but the test still ends in an error.

Tested it with the 536.09 DCH (Hotfix) & 536.23 DCH drivers, always the same conversion error in the end.
 
Problem found .. in the past NV shipped nvencodeapi.dl_ as compressed files, now they are shipping the uncompressed .dll files. NVCleanstall is always looking for the .dl_ file. This will be fixed in next release

Edit: Please test the attached build and feedback
 

Attachments

Last edited:
Problem found .. in the past NV shipped nvencodeapi.dl_ as compressed files, now they are shipping the uncompressed .dll files. NVCleanstall is always looking for the .dl_ file. This will be fixed in next release

Edit: Please test the attached build and feedback
Works great!
 
I didnt get this error when using with 517.40 studio drivers paired with NVCleanstall 1.16.

Ahh its the fixed version. :)

v1.16.0 (June 19th, 2023)​


  • Added support for disabling Ansel
  • Added a new install action "Copy Folder", which copies the NVCleanstall output directory to a folder of your choice
  • Fixed "auto-accept unsigned driver warning" not working on Windows 10
  • Fixed crashes on systems with English (United States) culture settings and decimal separator set to a value other than '.'
  • Fixed NVEnc patch not working on newer driver versions
 
Back
Top