From fc546e45d3cbedb79b891ae2a37a0bf96be3a7d5 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Wed, 2 Mar 2022 16:19:38 +0530 Subject: [PATCH] linux: patch for 390.147 --- README.md | 1 + drivers.json | 6 ++++++ patch.sh | 2 ++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 04fb0d9..9910680 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 375.39 | YES | NO | [Driver link](https://download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run) | | 390.77 | YES | NO | [Driver link](https://download.nvidia.com/XFree86/Linux-x86_64/390.77/NVIDIA-Linux-x86_64-390.77.run) | | 390.87 | YES | NO | [Driver link](https://download.nvidia.com/XFree86/Linux-x86_64/390.87/NVIDIA-Linux-x86_64-390.87.run) | +| 390.147 | YES | NO | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/390.147/NVIDIA-Linux-x86_64-390.147.run) | | 396.24 | YES | NO | [Driver link](https://download.nvidia.com/XFree86/Linux-x86_64/396.24/NVIDIA-Linux-x86_64-396.24.run) | | 396.26 | YES | NO | [Driver link](https://international.download.nvidia.com/tesla/396.26/NVIDIA-Linux-x86_64-396.26.run) | | 396.37 | YES | NO | [Driver link](https://international.download.nvidia.com/tesla/396.37/NVIDIA-Linux-x86_64-396.37.run) | diff --git a/drivers.json b/drivers.json index 225798b..ca933a9 100644 --- a/drivers.json +++ b/drivers.json @@ -697,6 +697,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.54/NVIDIA-Linux-x86_64-510.54.run" + }, + { + "version": "390.147", + "nvenc_patch": true, + "nvfbc_patch": false, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/390.147/NVIDIA-Linux-x86_64-390.147.run" } ], "example": { diff --git a/patch.sh b/patch.sh index 688bccd..bba5c37 100755 --- a/patch.sh +++ b/patch.sh @@ -58,6 +58,7 @@ declare -A patch_list=( ["375.39"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' ["390.77"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' ["390.87"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' + ["390.147"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' ["396.24"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g' ["396.26"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g' ["396.37"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g' #added info from https://github.com/keylase/nvidia-patch/issues/6#issuecomment-406895356 @@ -184,6 +185,7 @@ declare -A object_list=( ["375.39"]='libnvidia-encode.so' ["390.77"]='libnvidia-encode.so' ["390.87"]='libnvidia-encode.so' + ["390.147"]='libnvidia-encode.so' ["396.24"]='libnvidia-encode.so' ["396.26"]='libnvidia-encode.so' ["396.37"]='libnvidia-encode.so'