mirror of
				https://github.com/keylase/nvidia-patch.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	Add support for Linux 510.54
This commit is contained in:
		@@ -158,6 +158,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
 | 
			
		||||
| 495.46 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.46/NVIDIA-Linux-x86_64-495.46.run) |
 | 
			
		||||
| 510.39.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.39.01/NVIDIA-Linux-x86_64-510.39.01.run) |
 | 
			
		||||
| 510.47.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run) |
 | 
			
		||||
| 510.54 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.54/NVIDIA-Linux-x86_64-510.54.run) |
 | 
			
		||||
 | 
			
		||||
## Synopsis
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -691,6 +691,12 @@
 | 
			
		||||
                    "nvenc_patch": true,
 | 
			
		||||
                    "nvfbc_patch": true,
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "version": "510.54",
 | 
			
		||||
                    "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"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "example": {
 | 
			
		||||
 
 | 
			
		||||
@@ -139,6 +139,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["495.46"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
    ["510.39.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
    ["510.47.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
    ["510.54"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
declare -A object_list=(
 | 
			
		||||
@@ -226,6 +227,7 @@ declare -A object_list=(
 | 
			
		||||
    ["495.46"]='libnvidia-fbc.so'
 | 
			
		||||
    ["510.39.01"]='libnvidia-fbc.so'
 | 
			
		||||
    ["510.47.03"]='libnvidia-fbc.so'
 | 
			
		||||
    ["510.54"]='libnvidia-fbc.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							@@ -177,6 +177,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["495.46"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["510.39.01"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["510.47.03"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["510.54"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
declare -A object_list=(
 | 
			
		||||
@@ -300,6 +301,7 @@ declare -A object_list=(
 | 
			
		||||
    ["495.46"]='libnvidia-encode.so'
 | 
			
		||||
    ["510.39.01"]='libnvidia-encode.so'
 | 
			
		||||
    ["510.47.03"]='libnvidia-encode.so'
 | 
			
		||||
    ["510.54"]='libnvidia-encode.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user