Linux Nvidia Driver: Difference between revisions
From Leo's Notes
This page was last edited on 15 June 2017, at 18:54.
No edit summary |
|||
| Line 13: | Line 13: | ||
}} | }} | ||
Looking at the advanced settings in the blob, there is a {{code|--apply-patch}} parameter which takes in a patch as well... | Looking at the advanced settings in the blob, there is a {{code|--apply-patch}} parameter which takes in a patch as well, but this only creates a custom .run file rather than applying the patch and then doing the install. | ||
== Silent Install == | |||
{{highlight|lang=terminal|code= | |||
./nvidia.run \ | |||
--no-x-check \ | |||
--silent \ | |||
--no-nouveau-check \ | |||
--disable-nouveau \ | |||
--run-nvidia-xconfig \ | |||
--opengl-headers \ | |||
--install-libglvnd \ | |||
--dkms -k `uname -r` | |||
}} | |||
== Patches == | == Patches == | ||
Revision as of 18:54, 15 June 2017
Manually Patching
On new kernels, the Nvidia driver will probably need to be patched even if it is the most recent driver.
To extract and apply a patch on the proprietary Nvidia drivers:
# ./nvidia.run -x
# cd NVIDIA-Linux-x86_64-375.66
# patch -p1 -i ../linux-4.11.patch
## Run the installer like you normally would on the nvidia driver blob
# ./nvidia-installer
Looking at the advanced settings in the blob, there is a --apply-patch parameter which takes in a patch as well, but this only creates a custom .run file rather than applying the patch and then doing the install.
Silent Install
./nvidia.run \
--no-x-check \
--silent \
--no-nouveau-check \
--disable-nouveau \
--run-nvidia-xconfig \
--opengl-headers \
--install-libglvnd \
--dkms -k `uname -r`