mirror of
				https://github.com/keylase/nvidia-patch.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	Merge pull request #415 from vdv/master
linux: add nvenc patch version 470.42.01
This commit is contained in:
		@@ -144,7 +144,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
 | 
			
		||||
| 465.24.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.24.02/NVIDIA-Linux-x86_64-465.24.02.run) |
 | 
			
		||||
| 465.27 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run) |
 | 
			
		||||
| 465.31 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.31/NVIDIA-Linux-x86_64-465.31.run) |
 | 
			
		||||
| 470.42.01 | NO | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run) |
 | 
			
		||||
| 470.42.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run) |
 | 
			
		||||
 | 
			
		||||
## Synopsis
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -594,7 +594,7 @@
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "version": "470.42.01",
 | 
			
		||||
                    "nvenc_patch": false,
 | 
			
		||||
                    "nvenc_patch": true,
 | 
			
		||||
                    "nvfbc_patch": true,
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run"
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							@@ -151,6 +151,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["465.24.02"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["465.27"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["465.31"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["470.42.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
declare -A object_list=(
 | 
			
		||||
@@ -257,6 +258,7 @@ declare -A object_list=(
 | 
			
		||||
    ["465.24.02"]='libnvidia-encode.so'
 | 
			
		||||
    ["465.27"]='libnvidia-encode.so'
 | 
			
		||||
    ["465.31"]='libnvidia-encode.so'
 | 
			
		||||
    ["470.42.01"]='libnvidia-encode.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user