mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-21 21:17:20 +00:00
Merge pull request #11 from niXta1/master
added 410.57, 410.73, 410.78 + added url for download 410.78
This commit is contained in:
commit
67879d644d
11
README.md
11
README.md
@ -14,13 +14,14 @@ Tested on Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86_64)
|
||||
### Download driver
|
||||
http://us.download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run
|
||||
http://us.download.nvidia.com/XFree86/Linux-x86_64/396.24/NVIDIA-Linux-x86_64-396.24.run
|
||||
http://us.download.nvidia.com/XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run
|
||||
|
||||
### Install driver 396.24
|
||||
### Install driver (410.78)
|
||||
```bash
|
||||
mkdir /opt/nvidia && cd /opt/nvidia
|
||||
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/396.24/NVIDIA-Linux-x86_64-396.24.run
|
||||
chmod +x ./NVIDIA-Linux-x86_64-396.24.run
|
||||
./NVIDIA-Linux-x86_64-396.24.run
|
||||
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run
|
||||
chmod +x ./NVIDIA-Linux-x86_64-410.78.run
|
||||
./NVIDIA-Linux-x86_64-410.78.run
|
||||
```
|
||||
|
||||
### Check driver
|
||||
@ -50,5 +51,3 @@ https://habr.com/post/262563/
|
||||
If you experience `CreateBitstreamBuffer failed: out of memory (10)`, then you have to lower buffers number used for every encoding session. If you are using `ffmpeg`, consider using this [patch](https://gist.github.com/Snawoot/70ae403716c698cb86ab015626d72bd4).
|
||||
|
||||
|
||||
|
||||
|
||||
|
3
patch.sh
3
patch.sh
@ -43,6 +43,9 @@ declare -A patch_list=(
|
||||
# libnvidia-encode.so @ 0x15a45; test->sub, jne->nop-nop-nop-nop-nop-nop
|
||||
["396.54"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g'
|
||||
["410.48"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g'
|
||||
["410.57"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g'
|
||||
["410.73"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g'
|
||||
["410.78"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g'
|
||||
)
|
||||
|
||||
driver_version=$(/usr/bin/nvidia-smi --query-gpu=driver_version --format=csv,noheader,nounits | head -n 1)
|
||||
|
Loading…
Reference in New Issue
Block a user