• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

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:
Joined
May 19, 2015
Messages
75 (0.02/day)
Processor Ryzen 7 7700X
Motherboard Asus ROG Strix X670E-F Gaming WiFi
Memory F5-6000J3038F16GX2-FX5
Not sure why it's still not fixed, even though it was reported previously...

1686975800535.png
 

Otosan

New Member
Joined
Jun 16, 2023
Messages
1 (0.00/day)
Also seeing this issue had to do it without the Session limit patch. Is W1zzard back from computex yet to fix?
 

the4anoni

New Member
Joined
Feb 7, 2021
Messages
13 (0.01/day)
I am getting the same error.



Manually patched driver works just fine
 

Attachments

  • 1686989983358.png
    1686989983358.png
    7.2 KB · Views: 71
Joined
May 19, 2015
Messages
75 (0.02/day)
Processor Ryzen 7 7700X
Motherboard Asus ROG Strix X670E-F Gaming WiFi
Memory F5-6000J3038F16GX2-FX5
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.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,146 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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

  • NVCleanstall.exe
    3.8 MB · Views: 139
Last edited:
Joined
Jul 10, 2020
Messages
25 (0.02/day)
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!
 
Joined
Feb 1, 2019
Messages
2,746 (1.41/day)
Location
UK, Leicester
System Name Main PC
Processor 13700k
Motherboard Asrock Z690 Steel Legend D4 - Bios 13.02
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE 10G
Storage 1TB 980 PRO (OS, games), 2TB SN850X (games), 2TB DC P4600 (work), 2x 3TB WD Red, 2x 4TB WD Red
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
Software Windows 10 21H2 LTSC
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
 
Top