Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nvidia-patch
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
nvidia-patch
Commits
c4c81085
Commit
c4c81085
authored
Feb 11, 2022
by
Jai Luthra
Committed by
Jai Luthra
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linux: Fix nvenc bytecode for 510.xx
parent
5c852409
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
drivers.json
drivers.json
+1
-1
patch.sh
patch.sh
+3
-1
No files found.
drivers.json
View file @
c4c81085
...
...
@@ -688,7 +688,7 @@
},
{
"version"
:
"510.47.03"
,
"nvenc_patch"
:
fals
e
,
"nvenc_patch"
:
tru
e
,
"nvfbc_patch"
:
true
,
"driver_url"
:
"https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run"
}
...
...
patch.sh
View file @
c4c81085
...
...
@@ -175,7 +175,8 @@ declare -A patch_list=(
[
"495.29.05"
]=
's/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
[
"495.44"
]=
's/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
[
"495.46"
]=
's/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
[
"510.39.01"
]=
's/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
[
"510.39.01"
]=
's/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
[
"510.47.03"
]=
's/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
)
declare
-A
object_list
=(
...
...
@@ -298,6 +299,7 @@ declare -A object_list=(
[
"495.44"
]=
'libnvidia-encode.so'
[
"495.46"
]=
'libnvidia-encode.so'
[
"510.39.01"
]=
'libnvidia-encode.so'
[
"510.47.03"
]=
'libnvidia-encode.so'
)
check_version_supported
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment