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.
 | 
			
		||||
 | 
			
		||||
@@ -149,6 +149,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
 | 
			
		||||
| 470.57.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run) |
 | 
			
		||||
| 470.62.02 | YES | YES |  |
 | 
			
		||||
| 470.63.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.63.01/NVIDIA-Linux-x86_64-470.63.01.run) |
 | 
			
		||||
| 470.74 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run) |
 | 
			
		||||
 | 
			
		||||
## Synopsis
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										60
									
								
								drivers.json
									
									
									
									
									
								
							
							
						
						
									
										60
									
								
								drivers.json
									
									
									
									
									
								
							@@ -620,6 +620,12 @@
 | 
			
		||||
                    "version": "470.62.02",
 | 
			
		||||
                    "nvenc_patch": true,
 | 
			
		||||
                    "nvfbc_patch": true
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "version": "470.74",
 | 
			
		||||
                    "nvenc_patch": true,
 | 
			
		||||
                    "nvfbc_patch": true,
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "example": {
 | 
			
		||||
@@ -3149,6 +3155,60 @@
 | 
			
		||||
                    "patch64_url": "win7_x64/471.96/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "win7_x64/471.96/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/471.96/471.96-desktop-win8-win7-64bit-international-whql.exe"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "os": "win10",
 | 
			
		||||
                    "product": "GeForce",
 | 
			
		||||
                    "version": "472.12",
 | 
			
		||||
                    "variant": "Studio Driver",
 | 
			
		||||
                    "patch64_url": "win10_x64/nsd_472.12/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "win10_x64/nsd_472.12/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/472.12/472.12-desktop-win10-win11-64bit-international-nsd-whql.exe"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "os": "win10",
 | 
			
		||||
                    "product": "GeForce",
 | 
			
		||||
                    "version": "472.12",
 | 
			
		||||
                    "variant": "",
 | 
			
		||||
                    "patch64_url": "win10_x64/472.12/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "win10_x64/472.12/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/472.12/472.12-desktop-win10-win11-64bit-international-whql.exe"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "os": "win7",
 | 
			
		||||
                    "product": "GeForce",
 | 
			
		||||
                    "version": "472.12",
 | 
			
		||||
                    "variant": "",
 | 
			
		||||
                    "patch64_url": "win7_x64/472.12/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "win7_x64/472.12/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/472.12/472.12-desktop-win8-win7-64bit-international-whql.exe"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "os": "win10",
 | 
			
		||||
                    "product": "Quadro",
 | 
			
		||||
                    "version": "472.12",
 | 
			
		||||
                    "variant": "",
 | 
			
		||||
                    "patch64_url": "win10_x64/quadro_472.12/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "win10_x64/quadro_472.12/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/472.12/472.12-quadro-rtx-desktop-notebook-win10-win11-64bit-international-whql.exe"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "os": "ws2012",
 | 
			
		||||
                    "product": "Quadro",
 | 
			
		||||
                    "version": "472.12",
 | 
			
		||||
                    "variant": "",
 | 
			
		||||
                    "patch64_url": "ws2012_x64/quadro_472.12/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "ws2012_x64/quadro_472.12/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/472.12/472.12-quadro-rtx-winserv-2012r2-64bit-international-whql.exe"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "os": "ws2016",
 | 
			
		||||
                    "product": "Quadro",
 | 
			
		||||
                    "version": "472.12",
 | 
			
		||||
                    "variant": "",
 | 
			
		||||
                    "patch64_url": "ws2016_x64/quadro_472.12/nvencodeapi64.1337",
 | 
			
		||||
                    "patch32_url": "ws2016_x64/quadro_472.12/nvencodeapi.1337",
 | 
			
		||||
                    "driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/472.12/472.12-quadro-rtx-winserv-2016-2019-64bit-international-whql.exe"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -119,6 +119,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["470.57.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
    ["470.62.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
    ["470.63.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
    ["470.74"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
declare -A object_list=(
 | 
			
		||||
@@ -194,6 +195,7 @@ declare -A object_list=(
 | 
			
		||||
    ["470.57.02"]='libnvidia-fbc.so'
 | 
			
		||||
    ["470.62.02"]='libnvidia-fbc.so'
 | 
			
		||||
    ["470.63.01"]='libnvidia-fbc.so'
 | 
			
		||||
    ["470.74"]='libnvidia-fbc.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								patch.sh
									
									
									
									
									
								
							@@ -156,6 +156,7 @@ declare -A patch_list=(
 | 
			
		||||
    ["470.57.02"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["470.62.02"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["470.63.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g'
 | 
			
		||||
    ["470.74"]='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=(
 | 
			
		||||
@@ -267,6 +268,7 @@ declare -A object_list=(
 | 
			
		||||
    ["470.57.02"]='libnvidia-encode.so'
 | 
			
		||||
    ["470.62.02"]='libnvidia-encode.so'
 | 
			
		||||
    ["470.63.01"]='libnvidia-encode.so'
 | 
			
		||||
    ["470.74"]='libnvidia-encode.so'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
check_version_supported () {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								win/win10_x64/472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								win/win10_x64/472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
>nvencodeapi.dll
 | 
			
		||||
000000000003D738:89->33
 | 
			
		||||
000000000003D739:45->C0
 | 
			
		||||
000000000003D73A:08->89
 | 
			
		||||
000000000003D73B:85->45
 | 
			
		||||
000000000003D73C:C0->08
 | 
			
		||||
							
								
								
									
										5
									
								
								win/win10_x64/472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/win10_x64/472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi64.dll
 | 
			
		||||
00000000000437AC:8B->33
 | 
			
		||||
00000000000437AD:F0->C0
 | 
			
		||||
00000000000437AE:85->8B
 | 
			
		||||
00000000000437AF:C0->F0
 | 
			
		||||
							
								
								
									
										6
									
								
								win/win10_x64/nsd_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								win/win10_x64/nsd_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
>nvencodeapi.dll
 | 
			
		||||
000000000003D738:89->33
 | 
			
		||||
000000000003D739:45->C0
 | 
			
		||||
000000000003D73A:08->89
 | 
			
		||||
000000000003D73B:85->45
 | 
			
		||||
000000000003D73C:C0->08
 | 
			
		||||
							
								
								
									
										5
									
								
								win/win10_x64/nsd_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/win10_x64/nsd_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi64.dll
 | 
			
		||||
00000000000437AC:8B->33
 | 
			
		||||
00000000000437AD:F0->C0
 | 
			
		||||
00000000000437AE:85->8B
 | 
			
		||||
00000000000437AF:C0->F0
 | 
			
		||||
							
								
								
									
										6
									
								
								win/win10_x64/quadro_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								win/win10_x64/quadro_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
>nvencodeapi.dll
 | 
			
		||||
000000000003D738:89->33
 | 
			
		||||
000000000003D739:45->C0
 | 
			
		||||
000000000003D73A:08->89
 | 
			
		||||
000000000003D73B:85->45
 | 
			
		||||
000000000003D73C:C0->08
 | 
			
		||||
							
								
								
									
										5
									
								
								win/win10_x64/quadro_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/win10_x64/quadro_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi64.dll
 | 
			
		||||
00000000000437AC:8B->33
 | 
			
		||||
00000000000437AD:F0->C0
 | 
			
		||||
00000000000437AE:85->8B
 | 
			
		||||
00000000000437AF:C0->F0
 | 
			
		||||
							
								
								
									
										5
									
								
								win/win7_x64/472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/win7_x64/472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi.dll
 | 
			
		||||
00000000000242C9:8B->33
 | 
			
		||||
00000000000242CA:D8->C0
 | 
			
		||||
00000000000242CB:85->8B
 | 
			
		||||
00000000000242CC:DB->D8
 | 
			
		||||
							
								
								
									
										5
									
								
								win/win7_x64/472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/win7_x64/472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi64.dll
 | 
			
		||||
0000000000028A25:8B->33
 | 
			
		||||
0000000000028A26:F0->C0
 | 
			
		||||
0000000000028A27:85->8B
 | 
			
		||||
0000000000028A28:C0->F0
 | 
			
		||||
							
								
								
									
										5
									
								
								win/ws2012_x64/quadro_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/ws2012_x64/quadro_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi.dll
 | 
			
		||||
00000000000242C9:8B->33
 | 
			
		||||
00000000000242CA:D8->C0
 | 
			
		||||
00000000000242CB:85->8B
 | 
			
		||||
00000000000242CC:DB->D8
 | 
			
		||||
							
								
								
									
										5
									
								
								win/ws2012_x64/quadro_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/ws2012_x64/quadro_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi64.dll
 | 
			
		||||
0000000000028A25:8B->33
 | 
			
		||||
0000000000028A26:F0->C0
 | 
			
		||||
0000000000028A27:85->8B
 | 
			
		||||
0000000000028A28:C0->F0
 | 
			
		||||
							
								
								
									
										6
									
								
								win/ws2016_x64/quadro_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								win/ws2016_x64/quadro_472.12/nvencodeapi.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
>nvencodeapi.dll
 | 
			
		||||
000000000003D738:89->33
 | 
			
		||||
000000000003D739:45->C0
 | 
			
		||||
000000000003D73A:08->89
 | 
			
		||||
000000000003D73B:85->45
 | 
			
		||||
000000000003D73C:C0->08
 | 
			
		||||
							
								
								
									
										5
									
								
								win/ws2016_x64/quadro_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								win/ws2016_x64/quadro_472.12/nvencodeapi64.1337
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
>nvencodeapi64.dll
 | 
			
		||||
00000000000437AC:8B->33
 | 
			
		||||
00000000000437AD:F0->C0
 | 
			
		||||
00000000000437AE:85->8B
 | 
			
		||||
00000000000437AF:C0->F0
 | 
			
		||||
		Reference in New Issue
	
	Block a user