mirror of
				https://github.com/keylase/nvidia-patch.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	@@ -1,7 +1,7 @@
 | 
			
		||||
NVENC and NvFBC patches for Nvidia drivers
 | 
			
		||||
==========================================
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
 | 
			
		||||
[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
 | 
			
		||||
 | 
			
		||||
@@ -190,6 +190,7 @@ If you want to donate, please send it to your favorite open source organizations
 | 
			
		||||
| 535.104.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.104.05/NVIDIA-Linux-x86_64-535.104.05.run) |
 | 
			
		||||
| 535.104.12 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/535.104.12/NVIDIA-Linux-x86_64-535.104.12.run) |
 | 
			
		||||
| 535.113.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.113.01/NVIDIA-Linux-x86_64-535.113.01.run) |
 | 
			
		||||
| 545.23.06 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/545.23.06/NVIDIA-Linux-x86_64-545.23.06.run) |
 | 
			
		||||
 | 
			
		||||
## Synopsis
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -940,6 +940,12 @@
 | 
			
		||||
                    "nvenc_patch": true,
 | 
			
		||||
                    "nvfbc_patch": true,
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/tesla/535.104.12/NVIDIA-Linux-x86_64-535.104.12.run"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "version": "545.23.06",
 | 
			
		||||
                    "nvenc_patch": true,
 | 
			
		||||
                    "nvfbc_patch": true,
 | 
			
		||||
                    "driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/545.23.06/NVIDIA-Linux-x86_64-545.23.06.run"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "example": {
 | 
			
		||||
 
 | 
			
		||||
@@ -180,6 +180,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["535.104.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
 | 
			
		||||
    ["535.104.12"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
 | 
			
		||||
    ["535.113.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
 | 
			
		||||
    ["545.23.06"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
declare -A object_list=(
 | 
			
		||||
@@ -308,6 +309,7 @@ declare -A object_list=(
 | 
			
		||||
    ["535.104.05"]='libnvidia-fbc.so'
 | 
			
		||||
    ["535.104.12"]='libnvidia-fbc.so'
 | 
			
		||||
    ["535.113.01"]='libnvidia-fbc.so'
 | 
			
		||||
    ["545.23.06"]='libnvidia-fbc.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							@@ -219,6 +219,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["535.104.05"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["535.104.12"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["535.113.01"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["545.23.06"]='s/\xe8\xc5\x8f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x8f\xfe\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
declare -A object_list=(
 | 
			
		||||
@@ -384,6 +385,7 @@ declare -A object_list=(
 | 
			
		||||
    ["535.104.05"]='libnvidia-encode.so'
 | 
			
		||||
    ["535.104.12"]='libnvidia-encode.so'
 | 
			
		||||
    ["535.113.01"]='libnvidia-encode.so'
 | 
			
		||||
    ["545.23.06"]='libnvidia-encode.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user