From 0fa91702480a85c70e23b51203c4ac0b25a20b65 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Fri, 6 Jan 2023 16:45:30 +0530 Subject: [PATCH] README: Recommend nvidia official installer (#605) Some distributions keep changing the location of the nvenc and nvfbc libraries, and patch script cannot find it. Recommend using the official installer instead. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e7c7162..98b7c9c 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ Examples are provided for driver version 430.50. All commands are executed as ro ### Download and install driver -Skip this step if you already have installed driver with version supported by this patch (from distro packages, for example). +Skip this step if you already have installed driver with version supported by this patch. Make sure you have kernel headers and compiler installed before running Nvidia driver installer. Kernel headers and compiler are required to build nvidia kernel module. Recommended way to do this is to install `dkms` package, if it is available in your distro. This way `dkms` package will pull all required dependencies to allow building kernel modules and kernel module builds will be automated in a reliable fashion. @@ -251,6 +251,8 @@ bash ./patch.sh You're all set! +**Note:** Sometimes distribution installed drivers are not found by the patch script. In that case, please uninstall the nvidia driver using your distribution package manager, and install it using the steps [above](#download-and-install-driver). + ## Rollback If something got broken you may restore patched driver from backup: