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

windows: add patches for legacy dch 474xx drivers #753

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

guihkx
Copy link
Contributor

@guihkx guihkx commented Jan 25, 2024

Purpose of proposed changes

This PR adds patches for 474.04, 474.30, 474.44 and 474.64 DCH drivers for Windows.

Please note that I've only actually tested this on version 474.64 (the latest one).

However, since the offsets I used for 474.64 also worked on these older versions, they are likely safe as well. 🤞

Essential steps taken

I've generated the offsets with:

./win/tools/autopatch/autopatch.py 474.04 474.30 474.44 474.64 \
  -S 8BF085C0750549892FEB 89450885C07504 \
  -R 89450885C075048937EB 33C08945087504 \
  -T 'Display.Driver/nvencodeapi64.dl_' 'Display.Driver/nvencodeapi.dl_'

Then, I downloaded 32-bit/64-bit FFmpeg builds from here, and ran the test command successfully, on both builds.

Generated with:

./win/tools/autopatch/autopatch.py 474.04 \
  -S 8BF085C0750549892FEB 89450885C07504 \
  -R 89450885C075048937EB 33C08945087504 \
  -T 'Display.Driver/nvencodeapi64.dl_' 'Display.Driver/nvencodeapi.dl_'
./win/tools/autopatch/autopatch.py 474.30 \
  -S 8BF085C0750549892FEB 89450885C07504 \
  -R 89450885C075048937EB 33C08945087504 \
  -T 'Display.Driver/nvencodeapi64.dl_' 'Display.Driver/nvencodeapi.dl_'
Generated with:

./win/tools/autopatch/autopatch.py 474.44 \
  -S 8BF085C0750549892FEB 89450885C07504 \
  -R 89450885C075048937EB 33C08945087504 \
  -T 'Display.Driver/nvencodeapi64.dl_' 'Display.Driver/nvencodeapi.dl_'
Generated with:

./win/tools/autopatch/autopatch.py 474.64 \
  -S 8BF085C0750549892FEB 89450885C07504 \
  -R 89450885C075048937EB 33C08945087504 \
  -T 'Display.Driver/nvencodeapi64.dl_' 'Display.Driver/nvencodeapi.dl_'
@jailuthra jailuthra merged commit b63013c into keylase:master Jan 25, 2024
@guihkx guihkx deleted the win-474xx-legacy branch January 25, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants