Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia patch error #664

Open
linmuqin opened this issue Jun 15, 2023 · 12 comments
Open

nvidia patch error #664

linmuqin opened this issue Jun 15, 2023 · 12 comments
Labels

Comments

@linmuqin
Copy link

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

@jailuthra
Copy link
Collaborator

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

@linmuqin
Copy link
Author

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

@jailuthra
Copy link
Collaborator

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
Copy link
Collaborator

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

@linmuqin
Copy link
Author

It runs successfully, but the result is wrong
image

@linmuqin
Copy link
Author

linmuqin commented Jun 15, 2023

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

@linmuqin
Copy link
Author

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?

@jailuthra
Copy link
Collaborator

@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.

@linmuqin
Copy link
Author

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
Copy link
Author

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

@jailuthra
Copy link
Collaborator

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

@linmuqin
Copy link
Author

Awesome, thank you so much for your patience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants