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
6a9d1ff8
Commit
6a9d1ff8
authored
Dec 01, 2019
by
Vladislav Yarmak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fbc: rewrite autogen and linux readme to accomodate to new patch kind
parent
153b1bc3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
46 deletions
+66
-46
README.md
README.md
+43
-38
tools/readme-autogen/readme_autogen.py
tools/readme-autogen/readme_autogen.py
+14
-5
tools/readme-autogen/templates/linux_driver_row.tmpl
tools/readme-autogen/templates/linux_driver_row.tmpl
+1
-0
tools/readme-autogen/templates/linux_link_row.tmpl
tools/readme-autogen/templates/linux_link_row.tmpl
+0
-1
tools/readme-autogen/templates/linux_nolink_row.tmpl
tools/readme-autogen/templates/linux_nolink_row.tmpl
+0
-1
tools/readme-autogen/templates/linux_readme_master.tmpl
tools/readme-autogen/templates/linux_readme_master.tmpl
+6
-1
tools/readme-autogen/templates/markdown_false.tmpl
tools/readme-autogen/templates/markdown_false.tmpl
+1
-0
tools/readme-autogen/templates/markdown_true.tmpl
tools/readme-autogen/templates/markdown_true.tmpl
+1
-0
No files found.
README.md
View file @
6a9d1ff8
...
@@ -10,44 +10,49 @@ Requirements:
...
@@ -10,44 +10,49 @@ Requirements:
-
x86
\_
64 system architecture
-
x86
\_
64 system architecture
-
GNU/Linux operating system
-
GNU/Linux operating system
-
nvenc-compatible gpu (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder)
-
nvenc-compatible gpu (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder)
-
Nvidia driver. Patch available for:
-
Nvidia driver. Patch available for versions in version table below.
-
[
375.39
](
https://download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run
)
-
[
390.77
](
https://download.nvidia.com/XFree86/Linux-x86_64/390.77/NVIDIA-Linux-x86_64-390.77.run
)
## Version Table
-
[
390.87
](
https://download.nvidia.com/XFree86/Linux-x86_64/390.87/NVIDIA-Linux-x86_64-390.87.run
)
-
[
396.24
](
https://download.nvidia.com/XFree86/Linux-x86_64/396.24/NVIDIA-Linux-x86_64-396.24.run
)
| Version | NVENC patch | NVFBC patch | Driver link |
-
[
396.26
](
https://international.download.nvidia.com/tesla/396.26/NVIDIA-Linux-x86_64-396.26.run
)
|---------|-------------|-------------|-------------|
-
[
396.37
](
https://international.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run
)
| 375.39 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run
)
|
-
[
396.54
](
https://download.nvidia.com/XFree86/Linux-x86_64/396.54/NVIDIA-Linux-x86_64-396.54.run
)
| 390.77 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/390.77/NVIDIA-Linux-x86_64-390.77.run
)
|
-
410.48
| 390.87 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/390.87/NVIDIA-Linux-x86_64-390.87.run
)
|
-
[
410.57
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.57/NVIDIA-Linux-x86_64-410.57.run
)
| 396.24 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/396.24/NVIDIA-Linux-x86_64-396.24.run
)
|
-
[
410.73
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.73/NVIDIA-Linux-x86_64-410.73.run
)
| 396.26 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/396.26/NVIDIA-Linux-x86_64-396.26.run
)
|
-
[
410.78
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run
)
| 396.37 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run
)
|
-
[
410.79
](
https://international.download.nvidia.com/tesla/410.79/NVIDIA-Linux-x86_64-410.79.run
)
| 396.54 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/396.54/NVIDIA-Linux-x86_64-396.54.run
)
|
-
[
410.93
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.93/NVIDIA-Linux-x86_64-410.93.run
)
| 410.48 | :heavy_check_mark: | :x: | |
-
[
410.104
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/410.104/NVIDIA-Linux-x86_64-410.104.run
)
| 410.57 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.57/NVIDIA-Linux-x86_64-410.57.run
)
|
-
[
415.18
](
https://download.nvidia.com/XFree86/Linux-x86_64/415.18/NVIDIA-Linux-x86_64-415.18.run
)
| 410.73 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.73/NVIDIA-Linux-x86_64-410.73.run
)
|
-
[
415.25
](
https://download.nvidia.com/XFree86/Linux-x86_64/415.25/NVIDIA-Linux-x86_64-415.25.run
)
| 410.78 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run
)
|
-
[
415.27
](
https://download.nvidia.com/XFree86/Linux-x86_64/415.27/NVIDIA-Linux-x86_64-415.27.run
)
| 410.79 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/410.79/NVIDIA-Linux-x86_64-410.79.run
)
|
-
[
418.30
](
https://download.nvidia.com/XFree86/Linux-x86_64/418.30/NVIDIA-Linux-x86_64-418.30.run
)
| 410.93 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/410.93/NVIDIA-Linux-x86_64-410.93.run
)
|
-
[
418.43
](
https://download.nvidia.com/XFree86/Linux-x86_64/418.43/NVIDIA-Linux-x86_64-418.43.run
)
| 410.104 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/410.104/NVIDIA-Linux-x86_64-410.104.run
)
|
-
[
418.56
](
https://download.nvidia.com/XFree86/Linux-x86_64/418.56/NVIDIA-Linux-x86_64-418.56.run
)
| 415.18 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/415.18/NVIDIA-Linux-x86_64-415.18.run
)
|
-
[
418.67
](
https://international.download.nvidia.com/tesla/418.67/NVIDIA-Linux-x86_64-418.67.run
)
| 415.25 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/415.25/NVIDIA-Linux-x86_64-415.25.run
)
|
-
[
418.74
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/418.74/NVIDIA-Linux-x86_64-418.74.run
)
| 415.27 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/415.27/NVIDIA-Linux-x86_64-415.27.run
)
|
-
[
418.87.00
](
https://international.download.nvidia.com/tesla/418.87/NVIDIA-Linux-x86_64-418.87.00.run
)
| 418.30 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/418.30/NVIDIA-Linux-x86_64-418.30.run
)
|
-
[
418.87.01
](
https://international.download.nvidia.com/tesla/418.87/NVIDIA-Linux-x86_64-418.87.01.run
)
| 418.43 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/418.43/NVIDIA-Linux-x86_64-418.43.run
)
|
-
[
418.88
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/418.88/NVIDIA-Linux-x86_64-418.88.run
)
| 418.56 | :heavy_check_mark: | :x: |
[
Driver link
](
https://download.nvidia.com/XFree86/Linux-x86_64/418.56/NVIDIA-Linux-x86_64-418.56.run
)
|
-
[
430.09
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.09/NVIDIA-Linux-x86_64-430.09.run
)
| 418.67 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/418.67/NVIDIA-Linux-x86_64-418.67.run
)
|
-
[
430.14
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.14/NVIDIA-Linux-x86_64-430.14.run
)
| 418.74 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/418.74/NVIDIA-Linux-x86_64-418.74.run
)
|
-
[
430.26
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run
)
| 418.87.00 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/418.87/NVIDIA-Linux-x86_64-418.87.00.run
)
|
-
[
430.34
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run
)
| 418.87.01 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/418.87/NVIDIA-Linux-x86_64-418.87.01.run
)
|
-
[
430.40
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run
)
| 418.88 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/418.88/NVIDIA-Linux-x86_64-418.88.run
)
|
-
[
430.50
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.50/NVIDIA-Linux-x86_64-430.50.run
)
| 430.09 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.09/NVIDIA-Linux-x86_64-430.09.run
)
|
-
[
435.17
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/435.17/NVIDIA-Linux-x86_64-435.17.run
)
| 430.14 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.14/NVIDIA-Linux-x86_64-430.14.run
)
|
-
[
435.21
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run
)
| 430.26 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run
)
|
-
[
440.26
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run
)
| 430.34 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run
)
|
-
[
440.31
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run
)
| 430.40 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run
)
|
-
[
440.33.01
](
https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run
)
| 430.50 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/430.50/NVIDIA-Linux-x86_64-430.50.run
)
|
-
[
440.36
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/440.36/NVIDIA-Linux-x86_64-440.36.run
)
| 435.17 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/435.17/NVIDIA-Linux-x86_64-435.17.run
)
|
| 435.21 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run
)
|
| 440.26 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run
)
|
| 440.31 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run
)
|
| 440.33.01 | :heavy_check_mark: | :x: |
[
Driver link
](
https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run
)
|
| 440.36 | :heavy_check_mark: | :heavy_check_mark: |
[
Driver link
](
https://international.download.nvidia.com/XFree86/Linux-x86_64/440.36/NVIDIA-Linux-x86_64-440.36.run
)
|
## Synopsis
## Synopsis
...
...
tools/readme-autogen/readme_autogen.py
View file @
6a9d1ff8
...
@@ -23,15 +23,24 @@ WIN_SERIES_LABELS = {
...
@@ -23,15 +23,24 @@ WIN_SERIES_LABELS = {
def
linux_readme
(
data
):
def
linux_readme
(
data
):
master_tmpl
=
template
(
'linux_readme_master.tmpl'
)
master_tmpl
=
template
(
'linux_readme_master.tmpl'
)
nolink_row_tmpl
=
template
(
'linux_nolink_row.tmpl'
,
True
)
row_tmpl
=
template
(
'linux_driver_row.tmpl'
,
True
)
link_row_tmpl
=
template
(
'linux_link_row.tmpl'
,
True
)
link_tmpl
=
template
(
'markdown_link.tmpl'
,
True
)
md_true
=
template
(
'markdown_true.tmpl'
,
True
)
.
substitute
()
md_false
=
template
(
'markdown_false.tmpl'
,
True
)
.
substitute
()
drivers
=
sorted
(
data
[
'drivers'
],
key
=
linux_driver_key
)
drivers
=
sorted
(
data
[
'drivers'
],
key
=
linux_driver_key
)
def
row_gen
():
def
row_gen
():
for
drv
in
drivers
:
for
drv
in
drivers
:
driver_url
=
drv
.
get
(
'driver_url'
)
driver_url
=
drv
.
get
(
'driver_url'
)
t
=
nolink_row_tmpl
if
driver_url
is
None
else
link_row_tmpl
if
driver_url
:
yield
t
.
substitute
(
driver_version
=
drv
[
'version'
],
driver_link
=
link_tmpl
.
substitute
(
text
=
"Driver link"
,
url
=
driver_url
)
driver_url
=
driver_url
)
else
:
driver_link
=
''
nvenc_patch
=
md_true
if
drv
[
'nvenc_patch'
]
else
md_false
nvfbc_patch
=
md_true
if
drv
[
'nvfbc_patch'
]
else
md_false
yield
row_tmpl
.
substitute
(
version
=
drv
[
'version'
],
nvenc_patch
=
nvenc_patch
,
nvfbc_patch
=
nvfbc_patch
,
driver_link
=
driver_link
)
version_list
=
"
\n
"
.
join
(
row_gen
())
version_list
=
"
\n
"
.
join
(
row_gen
())
latest_version
=
drivers
[
-
1
][
'version'
]
latest_version
=
drivers
[
-
1
][
'version'
]
example_driver
=
find_driver
(
drivers
,
example_driver
=
find_driver
(
drivers
,
...
...
tools/readme-autogen/templates/linux_driver_row.tmpl
0 → 100644
View file @
6a9d1ff8
| $version | $nvenc_patch | $nvfbc_patch | $driver_link |
tools/readme-autogen/templates/linux_link_row.tmpl
deleted
100644 → 0
View file @
153b1bc3
- [$driver_version]($driver_url)
tools/readme-autogen/templates/linux_nolink_row.tmpl
deleted
100644 → 0
View file @
153b1bc3
- $driver_version
tools/readme-autogen/templates/linux_readme_master.tmpl
View file @
6a9d1ff8
...
@@ -10,7 +10,12 @@ Requirements:
...
@@ -10,7 +10,12 @@ Requirements:
- x86\_64 system architecture
- x86\_64 system architecture
- GNU/Linux operating system
- GNU/Linux operating system
- nvenc-compatible gpu (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder)
- nvenc-compatible gpu (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder)
- Nvidia driver. Patch available for:
- Nvidia driver. Patch available for versions in version table below.
## Version Table
| Version | NVENC patch | NVFBC patch | Driver link |
|---------|-------------|-------------|-------------|
$version_list
$version_list
## Synopsis
## Synopsis
...
...
tools/readme-autogen/templates/markdown_false.tmpl
0 → 100644
View file @
6a9d1ff8
:x:
tools/readme-autogen/templates/markdown_true.tmpl
0 → 100644
View file @
6a9d1ff8
:heavy_check_mark:
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