linux: 430.40 driver

This commit is contained in:
Vladislav Yarmak 2019-07-29 17:45:28 +03:00
parent 0b149e8720
commit 4721e3efce
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# nvidia-patch # nvidia-patch
![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-430.34-brightgreen.svg) ![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-430.40-brightgreen.svg)
This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -37,6 +37,7 @@ Requirements:
- [430.14](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.14/NVIDIA-Linux-x86_64-430.14.run) - [430.14](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.14/NVIDIA-Linux-x86_64-430.14.run)
- [430.26](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run) - [430.26](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run)
- [430.34](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run) - [430.34](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run)
- [430.40](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run)
Tested on Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86\_64) Tested on Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86\_64)
@ -59,11 +60,11 @@ DESCRIPTION
## Step-by-Step guide ## Step-by-Step guide
Examples are provided for driver version 430.34. All commands are runned as root. Examples are provided for driver version 430.40. All commands are runned as root.
### Download driver ### Download driver
[https://international.download.nvidia.com/XFree86/Linux-x86\_64/430.34/NVIDIA-Linux-x86\_64-430.34.run](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run) [https://international.download.nvidia.com/XFree86/Linux-x86\_64/430.40/NVIDIA-Linux-x86\_64-430.40.run](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run)
### Install driver ### Install driver
@ -71,9 +72,9 @@ Make sure you have kernel headers and compiler installed before running Nvidia d
```bash ```bash
mkdir /opt/nvidia && cd /opt/nvidia mkdir /opt/nvidia && cd /opt/nvidia
wget https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run wget https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run
chmod +x ./NVIDIA-Linux-x86_64-430.34.run chmod +x ./NVIDIA-Linux-x86_64-430.40.run
./NVIDIA-Linux-x86_64-430.34.run ./NVIDIA-Linux-x86_64-430.40.run
``` ```
### Check driver ### Check driver

View File

@ -64,6 +64,7 @@ declare -A patch_list=(
["430.14"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["430.14"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
["430.26"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["430.26"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
["430.34"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["430.34"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
["430.40"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
) )
declare -A object_list=( declare -A object_list=(
@ -93,6 +94,7 @@ declare -A object_list=(
["430.14"]='libnvcuvid.so' ["430.14"]='libnvcuvid.so'
["430.26"]='libnvcuvid.so' ["430.26"]='libnvcuvid.so'
["430.34"]='libnvcuvid.so' ["430.34"]='libnvcuvid.so'
["430.40"]='libnvcuvid.so'
) )
NVIDIA_SMI="$(command -v nvidia-smi)" NVIDIA_SMI="$(command -v nvidia-smi)"