nvidia-patch icon indicating copy to clipboard operation
nvidia-patch copied to clipboard

nvidia patch error

Open linmuqin opened this issue 1 year ago • 12 comments

Hello, I get the attached offset error when trying to apply nvencodeapi64.1337 to nvEncodeAPI64.dll.Already restarted and it doesn't work Please help me image

Graphics card driver version: 512.15 Graphics card model: NVIDIA GeForce RTX 3060 The attachments are nvEncodeAPI64.dll and nvencodeapi64.1337 files

linmuqin avatar Jun 15 '23 03:06 linmuqin

From the error looks like you're trying to patch an already patched driver?

Can you try testing if your session limit is already removed? https://github.com/keylase/nvidia-patch/wiki/Verify-NVENC-patch

jailuthra avatar Jun 15 '23 03:06 jailuthra

Thank you for your reply, I downloaded and placed it in any directory, but an error was reported when I ran it. Do you want to place it in the same directory as the nvidia-patch file? image

linmuqin avatar Jun 15 '23 04:06 linmuqin

Hmm no need it should run from anywhere. Looks like the steps to test in wiki are out of date as something changed in ffmpeg.

Will test it on my machine later.

jailuthra avatar Jun 15 '23 04:06 jailuthra

Oh wait maybe it's your powershell that is causing issue with line breaks. @linmuqin can you try the following script instead https://github.com/keylase/nvidia-patch/raw/master/win/tools/patch-tester/patch-tester.ps1

jailuthra avatar Jun 15 '23 04:06 jailuthra

It runs successfully, but the result is wrong image

linmuqin avatar Jun 15 '23 04:06 linmuqin

My graphics card driver version and the files used are attached, How to deal with it, thank you very @jailuthra image download.zip

linmuqin avatar Jun 15 '23 04:06 linmuqin

I actually had it patched before and recently changed the graphics card. Do I need to apply the patch again, does the previous one still work?

linmuqin avatar Jun 15 '23 06:06 linmuqin

@linmuqin Yeah looks like your driver is too old for latest ffmpeg.

But if you patched driver before, and only changed graphics card and did not update driver, it should still be patched.

You can just try using it for whatever purpose you were using before (encoding or framecapture) - if you see any issues around session limit maybe then try to reinstall driver and patch again.

jailuthra avatar Jun 15 '23 09:06 jailuthra

Yes, when I started coding it gave an error, I guess it needs to be patched again as soon as the video card is changed. A workaround I found was to reinstall the graphics driver so I could patch again.

linmuqin avatar Jun 15 '23 09:06 linmuqin

Want to ask, once I apply the patch, how long do I need to apply again, in other words, what is his expiry date

linmuqin avatar Jun 15 '23 09:06 linmuqin

there's no expiry unless you update or reinstall the driver.

jailuthra avatar Jun 15 '23 09:06 jailuthra

Awesome, thank you so much for your patience

linmuqin avatar Jun 16 '23 02:06 linmuqin