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
2d31a42d
Commit
2d31a42d
authored
Jul 20, 2023
by
Jai Luthra
Committed by
GitHub
Jul 20, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #685 from detiam/master
linux: patch for 535.86.05
parents
d62b1005
a3d15fe8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
0 deletions
+11
-0
README.md
README.md
+1
-0
drivers.json
drivers.json
+6
-0
patch-fbc.sh
patch-fbc.sh
+2
-0
patch.sh
patch.sh
+2
-0
No files found.
README.md
View file @
2d31a42d
...
...
@@ -184,6 +184,7 @@ If you want to donate, please send it to your favorite open source organizations
| 530.41.03 | YES | YES |
[
Driver link
](
http://international.download.nvidia.com/XFree86/Linux-x86_64/530.41.03/NVIDIA-Linux-x86_64-530.41.03.run
)
|
| 535.43.02 | YES | YES |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/NVIDIA-Linux-x86_64-535.43.02.run
)
|
| 535.54.03 | YES | YES |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run
)
|
| 535.86.05 | YES | YES |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run
)
|
## Synopsis
...
...
drivers.json
View file @
2d31a42d
...
...
@@ -905,6 +905,12 @@
"nvenc_patch"
:
true
,
"nvfbc_patch"
:
true
,
"driver_url"
:
"https://international.download.nvidia.com/XFree86/Linux-x86_64/525.125.06/NVIDIA-Linux-x86_64-525.125.06.run"
},
{
"version"
:
"535.86.05"
,
"nvenc_patch"
:
true
,
"nvfbc_patch"
:
true
,
"driver_url"
:
"https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run"
}
],
"example"
:
{
...
...
patch-fbc.sh
View file @
2d31a42d
...
...
@@ -174,6 +174,7 @@ declare -A patch_list=(
[
"530.41.03"
]=
's/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
[
"535.43.02"
]=
's/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
[
"535.54.03"
]=
's/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
[
"535.86.05"
]=
's/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
)
declare
-A
object_list
=(
...
...
@@ -296,6 +297,7 @@ declare -A object_list=(
[
"530.41.03"
]=
'libnvidia-fbc.so'
[
"535.43.02"
]=
'libnvidia-fbc.so'
[
"535.54.03"
]=
'libnvidia-fbc.so'
[
"535.86.05"
]=
'libnvidia-fbc.so'
)
check_version_supported
()
{
...
...
patch.sh
View file @
2d31a42d
...
...
@@ -213,6 +213,7 @@ declare -A patch_list=(
[
"530.41.03"
]=
's/\xe8\xc5\x6b\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x6b\xfe\xff\x29\xc0\x41\x89\xc4/g'
[
"535.43.02"
]=
's/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g'
[
"535.54.03"
]=
's/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g'
[
"535.86.05"
]=
's/\xe8\x05\xa0\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x05\xa0\xfe\xff\x29\xc0\x41\x89\xc4/g'
)
declare
-A
object_list
=(
...
...
@@ -372,6 +373,7 @@ declare -A object_list=(
[
"530.41.03"
]=
'libnvidia-encode.so'
[
"535.43.02"
]=
'libnvidia-encode.so'
[
"535.54.03"
]=
'libnvidia-encode.so'
[
"535.86.05"
]=
'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