mirror of
				https://github.com/keylase/nvidia-patch.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	Merge pull request #545 from mirolm/master
linux: nvenc patch for 515.57
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
NVENC and NvFBC patches for Nvidia drivers
 | 
					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.
 | 
					[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -167,6 +167,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
 | 
				
			|||||||
| 510.73.08 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.73.08/NVIDIA-Linux-x86_64-510.73.08.run) |
 | 
					| 510.73.08 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.73.08/NVIDIA-Linux-x86_64-510.73.08.run) |
 | 
				
			||||||
| 515.43.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.43.04/NVIDIA-Linux-x86_64-515.43.04.run) |
 | 
					| 515.43.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.43.04/NVIDIA-Linux-x86_64-515.43.04.run) |
 | 
				
			||||||
| 515.48.07 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/515.48.07/NVIDIA-Linux-x86_64-515.48.07.run) |
 | 
					| 515.48.07 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/515.48.07/NVIDIA-Linux-x86_64-515.48.07.run) |
 | 
				
			||||||
 | 
					| 515.57 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/515.57/NVIDIA-Linux-x86_64-515.57.run) |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Synopsis
 | 
					## Synopsis
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -745,6 +745,12 @@
 | 
				
			|||||||
                    "nvenc_patch": true,
 | 
					                    "nvenc_patch": true,
 | 
				
			||||||
                    "nvfbc_patch": true,
 | 
					                    "nvfbc_patch": true,
 | 
				
			||||||
                    "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.73.08/NVIDIA-Linux-x86_64-510.73.08.run"
 | 
					                    "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.73.08/NVIDIA-Linux-x86_64-510.73.08.run"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    "version": "515.57",
 | 
				
			||||||
 | 
					                    "nvenc_patch": true,
 | 
				
			||||||
 | 
					                    "nvfbc_patch": true,
 | 
				
			||||||
 | 
					                    "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/515.57/NVIDIA-Linux-x86_64-515.57.run"
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            "example": {
 | 
					            "example": {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -147,6 +147,7 @@ declare -A patch_list=(
 | 
				
			|||||||
    ["510.73.08"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
					    ["510.73.08"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
				
			||||||
    ["515.43.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
					    ["515.43.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
				
			||||||
    ["515.48.07"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
					    ["515.48.07"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
				
			||||||
 | 
					    ["515.57"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
declare -A object_list=(
 | 
					declare -A object_list=(
 | 
				
			||||||
@@ -242,6 +243,7 @@ declare -A object_list=(
 | 
				
			|||||||
    ["510.73.08"]='libnvidia-fbc.so'
 | 
					    ["510.73.08"]='libnvidia-fbc.so'
 | 
				
			||||||
    ["515.43.04"]='libnvidia-fbc.so'
 | 
					    ["515.43.04"]='libnvidia-fbc.so'
 | 
				
			||||||
    ["515.48.07"]='libnvidia-fbc.so'
 | 
					    ["515.48.07"]='libnvidia-fbc.so'
 | 
				
			||||||
 | 
					    ["515.57"]='libnvidia-fbc.so'
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
check_version_supported () {
 | 
					check_version_supported () {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							@@ -186,6 +186,7 @@ declare -A patch_list=(
 | 
				
			|||||||
    ["510.73.08"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
					    ["510.73.08"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
				
			||||||
    ["515.43.04"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
					    ["515.43.04"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
				
			||||||
    ["515.48.07"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
					    ["515.48.07"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
				
			||||||
 | 
					    ["515.57"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
declare -A object_list=(
 | 
					declare -A object_list=(
 | 
				
			||||||
@@ -318,6 +319,7 @@ declare -A object_list=(
 | 
				
			|||||||
    ["510.73.08"]='libnvidia-encode.so'
 | 
					    ["510.73.08"]='libnvidia-encode.so'
 | 
				
			||||||
    ["515.43.04"]='libnvidia-encode.so'
 | 
					    ["515.43.04"]='libnvidia-encode.so'
 | 
				
			||||||
    ["515.48.07"]='libnvidia-encode.so'
 | 
					    ["515.48.07"]='libnvidia-encode.so'
 | 
				
			||||||
 | 
					    ["515.57"]='libnvidia-encode.so'
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
check_version_supported () {
 | 
					check_version_supported () {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user