From 99b5e73f59d7757daa3cafd8c5c43a71ccad1704 Mon Sep 17 00:00:00 2001 From: niXta1 <20064891+niXta1@users.noreply.github.com> Date: Sat, 24 Nov 2018 18:55:03 +0100 Subject: [PATCH 1/2] Update patch.sh for 410.57 410.73 410.78 Tested working on a GTX 1050TI under Ubuntu Server 18.04. --- patch.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/patch.sh b/patch.sh index 66e74fb..6a7a1a4 100755 --- a/patch.sh +++ b/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) From d2541045483bc8606f3d8b711aabedd43d7724ae Mon Sep 17 00:00:00 2001 From: niXta1 <20064891+niXta1@users.noreply.github.com> Date: Sat, 24 Nov 2018 19:13:12 +0100 Subject: [PATCH 2/2] Update for 410.78 Update Readme for current Linux Long Lived Driver, 410.78. This driver supports all GPU's of today. --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f0b7158..1fb3804 100644 --- a/README.md +++ b/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). - -