diff --git a/README.md b/README.md index a6bf562..5e9dffb 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 455.50.03 | NO | YES | | | 460.27.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.27.04/NVIDIA-Linux-x86_64-460.27.04.run) | | 460.32.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run) | -| 460.39 | NO | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run) | +| 460.39 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index e623edf..7fae239 100644 --- a/drivers.json +++ b/drivers.json @@ -504,7 +504,7 @@ }, { "version": "460.39", - "nvenc_patch": false, + "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run" }, diff --git a/patch.sh b/patch.sh index d498079..aa8be01 100755 --- a/patch.sh +++ b/patch.sh @@ -135,8 +135,9 @@ declare -A patch_list=( ["455.46.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.46.04"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.50.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' - ["460.27.04"]='s/\x85\xc0\x41\x89\xc4\x0f\x85/\x31\xc0\x41\x89\xc4\x0f\x85/g' - ["460.32.03"]='s/\x85\xc0\x41\x89\xc4\x0f\x85/\x31\xc0\x41\x89\xc4\x0f\x85/g' + ["460.27.04"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' + ["460.32.03"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' + ["460.39"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ) declare -A object_list=( @@ -229,6 +230,7 @@ declare -A object_list=( ["455.50.02"]='libnvidia-encode.so' ["460.27.04"]='libnvidia-encode.so' ["460.32.03"]='libnvidia-encode.so' + ["460.39"]='libnvidia-encode.so' ) check_version_supported () {