From 402be2ad9c64123b159b8fd778542ce01c59bece Mon Sep 17 00:00:00 2001 From: Irene Chi <12470297+cydia2020@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:46:31 +1000 Subject: [PATCH] debian: add support for 580.159.04 --- README.md | 1 + drivers.json | 6 ++++++ patch-fbc.sh | 1 + patch.sh | 1 + 4 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 4c04e0a..efe4ca5 100644 --- a/README.md +++ b/README.md @@ -263,6 +263,7 @@ If you want to donate, please send it to your favorite open source organizations | 580.126.09 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/580.126.09/NVIDIA-Linux-x86_64-580.126.09.run) | | 580.142 | YES | YES | [Driver link](https://download.nvidia.com/XFree86/Linux-x86_64/580.142/NVIDIA-Linux-x86_64-580.142.run) | | 580.159.03 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-drivers-580_580.159.03-1_amd64.deb) | +| 580.159.04 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-drivers-580_580.159.04-1_amd64.deb) | | 590.44.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/590.44.01/NVIDIA-Linux-x86_64-590.44.01.run) | | 590.48.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/590.48.01/NVIDIA-Linux-x86_64-590.48.01.run) | | 595.45.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/595.45.04/NVIDIA-Linux-x86_64-595.45.04.run) | diff --git a/drivers.json b/drivers.json index 90c7aec..da3e5b6 100644 --- a/drivers.json +++ b/drivers.json @@ -1392,6 +1392,12 @@ "nvfbc_patch": true, "driver_url": "https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-drivers-580_580.159.03-1_amd64.deb" }, + { + "version": "580.159.04", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-drivers-580_580.159.04-1_amd64.deb" + }, { "version": "595.45.04", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index 8485ace..cc04376 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -258,6 +258,7 @@ declare -A patch_list=( ["580.126.09"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["580.142"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["580.159.03"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' + ["580.159.04"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["590.44.01"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["590.48.01"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["595.45.04"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' diff --git a/patch.sh b/patch.sh index d44182d..9f3ba51 100755 --- a/patch.sh +++ b/patch.sh @@ -297,6 +297,7 @@ declare -A patch_list=( ["580.126.09"]='s/\xe8\x81\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x81\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["580.142"]='s/\xe8\x81\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x81\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["580.159.03"]='s/\xe8\x81\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x81\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' + ["580.159.04"]='s/\xe8\x81\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x81\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["590.44.01"]='s/\xe8\x41\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x41\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["590.48.01"]='s/\xe8\x41\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x41\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["595.45.04"]='s/\xe8\x51\x21\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x51\x21\xfe\xff\x29\xc0\x41\x89\xc6/g'