diff --git a/README.md b/README.md index 81f057f..8749690 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Requirements: - [435.17](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.17/NVIDIA-Linux-x86_64-435.17.run) - [435.21](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run) - [440.26](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run) + - [440.31](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run) ## Synopsis diff --git a/patch.sh b/patch.sh index a081678..f53dd37 100755 --- a/patch.sh +++ b/patch.sh @@ -79,6 +79,7 @@ declare -A patch_list=( ["435.17"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["435.21"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' + ["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' ) declare -A object_list=( @@ -116,6 +117,7 @@ declare -A object_list=( ["435.17"]='libnvcuvid.so' ["435.21"]='libnvcuvid.so' ["440.26"]='libnvcuvid.so' + ["440.31"]='libnvcuvid.so' ) check_version_supported () {